From e44b3121c8ed8f9ffcc7d9fb2e49b02c1a743026 Mon Sep 17 00:00:00 2001 From: Chanwoo Choi Date: Fri, 27 Mar 2015 02:13:43 +0900 Subject: [PATCH] arm64: dts: Add RTC and ADC dt node for exynos5433 This patch adds RTC (Real Time Clock) dt node for Exynos5433 SoC and adds ADC dt node for Exynos5433 SoC. The commit c1b501564c98 ("iio: adc: exynos_adc: Add support for exynos7") commit supports the ADC for Exynos7. Exynos5433's ADC IP is the same with Exynos7's ADC IP. Exynos5433 has a little different from ADCv2 on ADC_CON2 register. Exynos5433 doesn't contain OSEL/ESEL /HIGHF of ADC_CON2. Signed-off-by: Chanwoo Choi Acked-by: Inki Dae Signed-off-by: Kukjin Kim --- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi b/arch/arm64/boot/dts/exynos/exynos5433.dtsi index 35e39fd08755..444a5c494994 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi @@ -815,6 +815,24 @@ clock-names = "clkout16"; clocks = <&xxti>; }; + + rtc: rtc@10590000 { + compatible = "samsung,exynos3250-rtc"; + reg = <0x10590000 0x100>; + interrupts = <0 385 0>, <0 386 0>; + status = "disabled"; + }; + + adc: adc@14d10000 { + compatible = "samsung,exynos7-adc"; + reg = <0x14d10000 0x100>; + interrupts = <0 438 0>; + clock-names = "adc"; + clocks = <&cmu_peric CLK_PCLK_ADCIF>; + #io-channel-cells = <1>; + io-channel-ranges; + status = "disabled"; + }; }; timer { -- 2.39.5