From: Magnus Damm Date: Wed, 20 Aug 2014 13:02:27 +0000 (+0900) Subject: ARM: shmobile: r8a7778: Update DTS to include CPU frequency X-Git-Tag: firefly_0821_release~176^2~3111^2~31^2~7 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=869f92aed207f2f6e595ea41c841bd9ad0c0d0d4;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: Simon Horman --- diff --git a/arch/arm/boot/dts/r8a7778.dtsi b/arch/arm/boot/dts/r8a7778.dtsi index ecfdf4b01b5a..315ec62cb96b 100644 --- a/arch/arm/boot/dts/r8a7778.dtsi +++ b/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>; }; };