From: Wook Song Date: Wed, 28 Jun 2017 06:18:06 +0000 (+0900) Subject: arm64: dts: exynos5433: Add exynos-avs device node X-Git-Tag: submit/tizen/20170807.013143~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=77e16995bcd2faa42fdad347adec8a922ea3261b;p=platform%2Fkernel%2Flinux-exynos.git arm64: dts: exynos5433: Add exynos-avs device node This patch adds exynos AVS device tree node for Exynos5433. Since the AVS device driver for Exynos5433 requries the phandle of the syscon node for chipid register set, this patch also adds the "syscon" compatible property to the exynos-chipid binding node. Change-Id: Icef5aba65fac3864553ebdac233181015bb2f393 Signed-off-by: Wook Song Signed-off-by: Chanwoo Choi --- diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi b/arch/arm64/boot/dts/exynos/exynos5433.dtsi index 2957e904fa1a..309d0b802dbd 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi @@ -166,9 +166,9 @@ ranges = <0x0 0x0 0x0 0x18000000>; dma-ranges; - chipid@10000000 { - compatible = "samsung,exynos4210-chipid"; - reg = <0x10000000 0x100>; + chipid: chipid@10000000 { + compatible = "samsung,exynos4210-chipid","syscon"; + reg = <0x10000000 0x10000>; }; sysram@02020000 { @@ -263,6 +263,51 @@ samsung,disp-sysreg = <&syscon_disp>; }; + exynos_avs_cpu0: exynos-avs@0 { + compatible = "samsung,exynos5433-avs"; + samsung,chipid-syscon = <&chipid>; + resource = <&cpu0>; + operating-points = < + 1300000 1125000 + 1200000 1075000 + 1100000 1037500 + 1000000 1000000 + 900000 950000 + 800000 925000 + 700000 887500 + 600000 862500 + 500000 837500 + 400000 800000 + >; + samsung,avs-type-cpu-little; + status = "disabled"; + }; + + exynos_avs_cpu4: exynos-avs@1 { + compatible = "samsung,exynos5433-avs"; + samsung,chipid-syscon = <&chipid>; + resource = <&cpu4>; + operating-points = < + 1900000 1212500 + 1800000 1175000 + 1700000 1137500 + 1600000 1087500 + 1500000 1050000 + 1400000 1025000 + 1300000 1000000 + 1200000 975000 + 1100000 950000 + 1000000 925000 + 900000 900000 + 800000 900000 + 700000 900000 + 600000 900000 + 500000 900000 + >; + samsung,avs-type-cpu-big; + status = "disabled"; + }; + cmu_peric: clock-controller@14c80000 { compatible = "samsung,exynos5433-cmu-peric"; reg = <0x14c80000 0x1000>;