ARM: dts: s5pv210: Add an ADC node
authorJonathan Bakker <xc-racer2@live.ca>
Fri, 1 May 2020 23:50:14 +0000 (16:50 -0700)
committerKrzysztof Kozlowski <krzk@kernel.org>
Mon, 4 May 2020 15:13:04 +0000 (17:13 +0200)
The exynos-adc driver now supports the S5PV210, so add the DT
node so that devices can use it.

Signed-off-by: Jonathan Bakker <xc-racer2@live.ca>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm/boot/dts/s5pv210.dtsi

index 2ad642f..30a0c39 100644 (file)
                        };
                };
 
+               adc: adc@e1700000 {
+                       compatible = "samsung,s5pv210-adc";
+                       reg = <0xe1700000 0x1000>;
+                       interrupt-parent = <&vic2>;
+                       interrupts = <23>, <24>;
+                       clocks = <&clocks CLK_TSADC>;
+                       clock-names = "adc";
+                       #io-channel-cells = <1>;
+                       io-channel-ranges;
+                       status = "disabled";
+               };
+
                spi0: spi@e1300000 {
                        compatible = "samsung,s5pv210-spi";
                        reg = <0xe1300000 0x1000>;