Commit d2cac68e authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski

ARM: dts: exynos: Add ADC node to Exynos5410 and Odroid XU

Move the ADC from exynos5420.dtsi to a shared file between Exynos5410 and
Exynos542x: exynos54xx.dtsi.  Enable the ADC on Odroid XU board.
Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
parent 893bffa9
......@@ -85,6 +85,11 @@ link0_codec: simple-audio-card,codec {
};
};
&adc {
vdd-supply = <&ldo10_reg>;
status = "okay";
};
&audi2s0 {
status = "okay";
};
......
......@@ -260,6 +260,12 @@ cpu3_thermal: cpu3-thermal {
};
};
&adc {
clocks = <&clock CLK_TSADC>;
clock-names = "adc";
samsung,syscon-phandle = <&pmu_system_controller>;
};
&arm_a15_pmu {
interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
status = "okay";
......
......@@ -550,18 +550,6 @@ dsi@14500000 {
status = "disabled";
};
adc: adc@12d10000 {
compatible = "samsung,exynos-adc-v2";
reg = <0x12D10000 0x100>;
interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clock CLK_TSADC>;
clock-names = "adc";
#io-channel-cells = <1>;
io-channel-ranges;
samsung,syscon-phandle = <&pmu_system_controller>;
status = "disabled";
};
hsi2c_8: i2c@12e00000 {
compatible = "samsung,exynos5250-hsi2c";
reg = <0x12E00000 0x1000>;
......@@ -1365,6 +1353,12 @@ gpu_thermal: gpu-thermal {
};
};
&adc {
clocks = <&clock CLK_TSADC>;
clock-names = "adc";
samsung,syscon-phandle = <&pmu_system_controller>;
};
&dp {
clocks = <&clock CLK_DP1>;
clock-names = "dp";
......
......@@ -96,6 +96,15 @@ watchdog: watchdog@101d0000 {
interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
};
adc: adc@12d10000 {
compatible = "samsung,exynos-adc-v2";
reg = <0x12d10000 0x100>;
interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
#io-channel-cells = <1>;
io-channel-ranges;
status = "disabled";
};
/* i2c_0-3 are defined in exynos5.dtsi */
hsi2c_4: i2c@12ca0000 {
compatible = "samsung,exynos5250-hsi2c";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment