summaryrefslogtreecommitdiff
path: root/arch/arm/dts/zynq-7000.dtsi
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2015-07-22 10:38:45 +0200
committerMichal Simek <michal.simek@xilinx.com>2015-07-28 11:56:21 +0200
commitbece06ce0ce3810cd60930da7ef97e75960da673 (patch)
treee71948dafac8bd7115059899bf292173f6c5ba51 /arch/arm/dts/zynq-7000.dtsi
parentfb1a5061f08b5b4bbd41b789a1f31883c6062a7a (diff)
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>
Diffstat (limited to 'arch/arm/dts/zynq-7000.dtsi')
-rw-r--r--arch/arm/dts/zynq-7000.dtsi10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/dts/zynq-7000.dtsi b/arch/arm/dts/zynq-7000.dtsi
index fc5dd4d4a3..326ab6766c 100644
--- a/arch/arm/dts/zynq-7000.dtsi
+++ b/arch/arm/dts/zynq-7000.dtsi
@@ -21,6 +21,7 @@
reg = <0>;
clocks = <&clkc 3>;
clock-latency = <1000>;
+ cpu0-supply = <&regulator_vccpint>;
operating-points = <
/* kHz uV */
666667 1000000
@@ -44,6 +45,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>;