From: wdc Date: Mon, 21 Jul 2014 06:52:29 +0000 (+0800) Subject: 312x: add saradc dts X-Git-Tag: firefly_0821_release~4916^2~195 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=52eb48ea722f05ae4d4808f368e2996617a51356;p=firefly-linux-kernel-4.4.55.git 312x: add saradc dts --- diff --git a/arch/arm/boot/dts/rk312x.dtsi b/arch/arm/boot/dts/rk312x.dtsi index 33ba15e2d7ba..5cc92dae68e5 100755 --- a/arch/arm/boot/dts/rk312x.dtsi +++ b/arch/arm/boot/dts/rk312x.dtsi @@ -17,6 +17,7 @@ i2c0 = &i2c0; i2c1 = &i2c1; i2c2 = &i2c2; + i2c3 = &i2c3; // spi0 = &spi0; }; @@ -133,7 +134,7 @@ dmas = <&pdma 4>, <&pdma 5>; #dma-cells = <2>; pinctrl-names = "default"; - // pinctrl-0 = <&uart1_xfer>; + // pinctrl-0 = <&uart1_xfer &uart1_cts &uart1_rts>; status = "disabled"; }; @@ -221,6 +222,19 @@ status = "disabled"; }; + adc: adc@2006c000 { + compatible = "rockchip,saradc"; + reg = <0x2006c000 0x100>; + interrupts = ; + #io-channel-cells = <1>; + io-channel-ranges; + rockchip,adc-vref = <1800>; + clock-frequency = <1000000>; + //clocks = <&clk_saradc>, <&clk_gates7 1>; + //clock-names = "saradc", "pclk_saradc"; + status = "disabled"; + }; + pwm0: pwm@20050000 { compatible = "rockchip,rk-pwm"; reg = <0x20050000 0x10>;