ARM: shmobile: r8a7778: Update DTS to include CPU frequency
authorMagnus Damm <damm+renesas@opensource.se>
Wed, 20 Aug 2014 13:02:27 +0000 (22:02 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 5 Dec 2014 00:59:24 +0000 (09:59 +0900)
Add CPU Frequency information to the r8a7778 DTS file. This
will allow us to use the shared C code on r8a7778 and BockW
which reads out the clock frequency from DT and calculates the
delay settings from there.

Also add other missing CPU information to the r8a7778 DTS.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
(cherry picked from commit 869f92aed207f2f6e595ea41c841bd9ad0c0d0d4)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7778.dtsi

index ecfdf4b..315ec62 100644 (file)
        interrupt-parent = <&gic>;
 
        cpus {
+               #address-cells = <1>;
+               #size-cells = <0>;
+
                cpu@0 {
+                       device_type = "cpu";
                        compatible = "arm,cortex-a9";
+                       reg = <0>;
+                       clock-frequency = <800000000>;
                };
        };