Skip to contentSkip to conversation

ARM: shmobile: r8a7778: Update DTS to include CPU frequency

PATCH In review Magnus Damm 1 participant 1 message Aug 20, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 3/10 ARM: shmobile: r8a7778: Update DTS to include CPU frequency

From: Magnus Damm <[email protected]>

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.

---

 arch/arm/boot/dts/r8a7778.dtsi |    6 ++++++
 1 file changed, 6 insertions(+)
arch/arm/boot/dts/r8a7778.dtsi +6 -0
@@ -23,8 +23,14 @@
 	interrupt-parent = <&gic>;
 
 	cpus {
+		#address-cells = <1>;
+		#size-cells = <0>;
+
 		cpu@0 {
+			device_type = "cpu";
 			compatible = "arm,cortex-a9";
+			reg = <0>;
+			clock-frequency = <800000000>;
 		};
 	};