From: wdc Date: Mon, 7 Jul 2014 08:39:25 +0000 (+0800) Subject: 3036: open uart pinctrl and clk X-Git-Tag: firefly_0821_release~4916^2~289 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1d8a87537763f19ee960655f4221de92a3914042;p=firefly-linux-kernel-4.4.55.git 3036: open uart pinctrl and clk --- diff --git a/arch/arm/boot/dts/rk3036.dtsi b/arch/arm/boot/dts/rk3036.dtsi index b7ddf761a0f1..d970a9fb382a 100755 --- a/arch/arm/boot/dts/rk3036.dtsi +++ b/arch/arm/boot/dts/rk3036.dtsi @@ -107,12 +107,12 @@ interrupts = ; #address-cells = <1>; #size-cells = <0>; - //pinctrl-names = "default"; - //pinctrl-0 = <&spi0_txd &spi0_rxd &spi0_clk &spi0_cs0 &spi0_cs1>; + pinctrl-names = "default"; + pinctrl-0 = <&spi0_txd &spi0_rxd &spi0_clk &spi0_cs0 &spi0_cs1>; rockchip,spi-src-clk = <0>; num-cs = <2>; - //clocks =<&clk_spi0>, <&clk_gates7 12>; - //clock-names = "spi","pclk_spi0"; + clocks =<&clk_spi0>, <&clk_gates7 12>; + clock-names = "spi","pclk_spi0"; //dmas = <&pdma 8>, <&pdma 9>; //#dma-cells = <2>; //dma-names = "tx", "rx"; @@ -130,8 +130,8 @@ reg-io-width = <4>; dmas = <&pdma 2>, <&pdma 3>; #dma-cells = <2>; - //pinctrl-names = "default"; - //pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>; + pinctrl-names = "default"; + pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>; status = "disabled"; }; @@ -146,8 +146,8 @@ reg-io-width = <4>; dmas = <&pdma 4>, <&pdma 5>; #dma-cells = <2>; - //pinctrl-names = "default"; - //pinctrl-0 = <&uart1_xfer &uart1_cts &uart1_rts>; + pinctrl-names = "default"; + pinctrl-0 = <&uart1_xfer>; status = "disabled"; }; @@ -162,8 +162,8 @@ reg-io-width = <4>; dmas = <&pdma 6>, <&pdma 7>; #dma-cells = <2>; - //pinctrl-names = "default"; - //pinctrl-0 = <&uart2_xfer>; + pinctrl-names = "default"; + pinctrl-0 = <&uart2_xfer>; status = "disabled"; }; @@ -261,10 +261,10 @@ interrupts = ; #address-cells = <1>; #size-cells = <0>; - //pinctrl-names = "default", "gpio"; - //pinctrl-0 = <&i2c0_sda &i2c0_scl>; - //pinctrl-1 = <&i2c0_gpio>; - //gpios = <&gpio0 GPIO_B7 GPIO_ACTIVE_LOW>, <&gpio0 GPIO_C0 GPIO_ACTIVE_LOW>; + pinctrl-names = "default", "gpio"; + pinctrl-0 = <&i2c0_sda &i2c0_scl>; + pinctrl-1 = <&i2c0_gpio>; + gpios = <&gpio0 GPIO_B7 GPIO_ACTIVE_LOW>, <&gpio0 GPIO_C0 GPIO_ACTIVE_LOW>; clocks = <&clk_gates8 4>; rockchip,check-idle = <1>; status = "disabled";