]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: rockchip: add tsadc node
authorPaweł Jarosz <paweljarosz3691@gmail.com>
Tue, 19 Jan 2016 12:09:21 +0000 (13:09 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 26 Jan 2016 00:10:55 +0000 (01:10 +0100)
Add the device node for the TSADC found on rk3066.

Signed-off-by: Paweł Jarosz <paweljarosz3691@gmail.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rk3066a.dtsi

index 56922730d285e72b0faf5617c4efd6502dec80ec..cb0a552e0b181674365aa0285ae7b92d73dc746b 100644 (file)
@@ -190,6 +190,16 @@ timer@2003a000 {
                clock-names = "timer", "pclk";
        };
 
+       tsadc: tsadc@20060000 {
+               compatible = "rockchip,rk3066-tsadc";
+               reg = <0x20060000 0x100>;
+               clocks = <&cru SCLK_TSADC>, <&cru PCLK_TSADC>;
+               clock-names = "saradc", "apb_pclk";
+               interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
+               #io-channel-cells = <1>;
+               status = "disabled";
+       };
+
        usbphy: phy {
                compatible = "rockchip,rk3066a-usb-phy", "rockchip,rk3288-usb-phy";
                rockchip,grf = <&grf>;