arm64: dts: exynos5433: Add exynos-avs device node 74/136274/3
authorWook Song <wook16.song@samsung.com>
Wed, 28 Jun 2017 06:18:06 +0000 (15:18 +0900)
committerWook Song <wook16.song@samsung.com>
Mon, 17 Jul 2017 08:59:39 +0000 (17:59 +0900)
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 <wook16.song@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
arch/arm64/boot/dts/exynos/exynos5433.dtsi

index 2957e904fa1ab40dd30d7f789ded924de5eb1408..309d0b802dbd7bb910d5259c0efbc39debd272c9 100644 (file)
                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 {
                        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>;