From: Chen-Yu Tsai Date: Tue, 6 Jan 2015 02:35:23 +0000 (+0800) Subject: ARM: dts: sun4i: Add cpu clock reference and operating points to dtsi X-Git-Tag: v4.0-rc1~69^2~14^2~39 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7294be5dbf6cdbc0b7dbe484096db7dcff45e59b;p=platform%2Fkernel%2Flinux-exynos.git ARM: dts: sun4i: Add cpu clock reference and operating points to dtsi The cpu core is clocked from the "cpu" clock. Add a reference to it in the first cpu node. Also add "cpu0" label to the node. The operating points were taken from the A10 FEX files in the sunxi-boards repository. All FEX files have the same settings. Signed-off-by: Chen-Yu Tsai Signed-off-by: Maxime Ripard --- diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi index 5aae86c..f33752d 100644 --- a/arch/arm/boot/dts/sun4i-a10.dtsi +++ b/arch/arm/boot/dts/sun4i-a10.dtsi @@ -55,10 +55,23 @@ 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 */ + 1056000 1500000 + 1008000 1400000 + 912000 1350000 + 864000 1300000 + 624000 1250000 + >; + #cooling-cells = <2>; + cooling-min-level = <0>; + cooling-max-level = <4>; }; };