diff options
author | Adam Sampson <ats@offog.org> | 2015-10-10 21:15:21 +0100 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2015-10-13 20:44:09 +0200 |
commit | 8a880ee6dab647b9acdced3d4d5bcdbafca78254 (patch) | |
tree | 08241273873f42cb81181146ffd561e472f94516 /arch/arm/boot/dts/sun7i-a20-pcduino3-nano.dts | |
parent | 39140480b66b49a6a0e7dadc4b9cd738395a8c4f (diff) | |
download | blackbird-obmc-linux-8a880ee6dab647b9acdced3d4d5bcdbafca78254.tar.gz blackbird-obmc-linux-8a880ee6dab647b9acdced3d4d5bcdbafca78254.zip |
ARM: dts: sun7i: Add regulator configuration for pcDuino v3 Nano
The power configuration on this board is the same as the pcDuino v3.
This will enable frequency/voltage scaling over the standard A20
operating points from 144 MHz to 960 MHz.
Tested using cpufreq-ljt-stress-test on two pcDuino v3 Nano boards; also
tested successfully with voltages reduced by 0.025 V.
Signed-off-by: Adam Sampson <ats@offog.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun7i-a20-pcduino3-nano.dts')
-rw-r--r-- | arch/arm/boot/dts/sun7i-a20-pcduino3-nano.dts | 35 |
1 files changed, 31 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/sun7i-a20-pcduino3-nano.dts b/arch/arm/boot/dts/sun7i-a20-pcduino3-nano.dts index b3047783eb97..beac431aa594 100644 --- a/arch/arm/boot/dts/sun7i-a20-pcduino3-nano.dts +++ b/arch/arm/boot/dts/sun7i-a20-pcduino3-nano.dts @@ -82,6 +82,10 @@ status = "okay"; }; +&cpu0 { + cpu-supply = <®_dcdc2>; +}; + &ehci0 { status = "okay"; }; @@ -108,13 +112,9 @@ status = "okay"; axp209: pmic@34 { - compatible = "x-powers,axp209"; reg = <0x34>; interrupt-parent = <&nmi_intc>; interrupts = <0 IRQ_TYPE_LEVEL_LOW>; - - interrupt-controller; - #interrupt-cells = <1>; }; }; @@ -171,6 +171,33 @@ status = "okay"; }; +#include "axp209.dtsi" + +®_dcdc2 { + regulator-always-on; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1400000>; + regulator-name = "vdd-cpu"; +}; + +®_dcdc3 { + regulator-always-on; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1400000>; + regulator-name = "vdd-int-pll"; +}; + +®_ldo1 { + regulator-name = "vdd-rtc"; +}; + +®_ldo2 { + regulator-always-on; + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3000000>; + regulator-name = "avcc"; +}; + /* A single regulator (U24) powers both USB host ports. */ ®_usb1_vbus { pinctrl-0 = <&usb1_vbus_pin_pcduino3_nano>; |