diff options
author | Soren Brinkmann <soren.brinkmann@xilinx.com> | 2014-05-02 14:07:32 -0700 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2014-05-16 14:54:14 +0200 |
commit | e1e22df1380d689209ddfab061847cc541941667 (patch) | |
tree | be3021ec2aff9caf74e60e867413e5ffe0d1c636 | |
parent | f7b1e9b5bc87a379c9746091aae4de4ece4e7931 (diff) | |
download | op-kernel-dev-e1e22df1380d689209ddfab061847cc541941667.zip op-kernel-dev-e1e22df1380d689209ddfab061847cc541941667.tar.gz |
ARM: zynq: dt: Add a fixed regulator for CPU voltage
To silence the warning
cpufreq_cpu0: failed to get cpu0 regulator: -19
from the cpufreq driver regarding a missing regulator,
add a fixed regulator to the DT.
Zynq does not support voltage scaling and the CPU rail should always be
supplied with 1 V, hence it is added in the SOC-level dtsi.
Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
-rw-r--r-- | arch/arm/boot/dts/zynq-7000.dtsi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/zynq-7000.dtsi b/arch/arm/boot/dts/zynq-7000.dtsi index c494f96..d13cdc3 100644 --- a/arch/arm/boot/dts/zynq-7000.dtsi +++ b/arch/arm/boot/dts/zynq-7000.dtsi @@ -25,6 +25,7 @@ reg = <0>; clocks = <&clkc 3>; clock-latency = <1000>; + cpu0-supply = <®ulator_vccpint>; operating-points = < /* kHz uV */ 666667 1000000 @@ -48,6 +49,15 @@ reg = < 0xf8891000 0x1000 0xf8893000 0x1000 >; }; + regulator_vccpint: fixedregulator@0 { + compatible = "regulator-fixed"; + regulator-name = "VCCPINT"; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1000000>; + regulator-boot-on; + regulator-always-on; + }; + amba { compatible = "simple-bus"; #address-cells = <1>; |