浏览代码

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

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>
Magnus Damm 11 年之前
父节点
当前提交
869f92aed2
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      arch/arm/boot/dts/r8a7778.dtsi

+ 6 - 0
arch/arm/boot/dts/r8a7778.dtsi

@@ -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>;
 		};
 	};