ARM: dts: sun5i: Add cpu clock reference and operating points to dtsi
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / sun5i-a13.dtsi
index b3c3573f8fbc396163efb6869bd8a2b33b6a8afc..dee2aa5bc9ed08567f1452b8a18c435fd67638fb 100644 (file)
        cpus {
                #address-cells = <1>;
                #size-cells = <0>;
-               cpu@0 {
+
+               cpu0: cpu@0 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a8";
                        reg = <0x0>;
+                       clocks = <&cpu>;
+                       clock-latency = <244144>; /* 8 32k periods */
+                       operating-points = <
+                               /* kHz    uV */
+                               1104000 1500000
+                               1008000 1400000
+                               912000  1350000
+                               864000  1300000
+                               624000  1200000
+                               576000  1200000
+                               432000  1200000
+                               >;
+                       #cooling-cells = <2>;
+                       cooling-min-level = <0>;
+                       cooling-max-level = <6>;
                };
        };