diff options
author | Hans de Goede <hdegoede@redhat.com> | 2015-08-24 00:37:23 +0200 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2015-09-27 10:21:19 +0200 |
commit | 5fed0cbf4f65ff91694e64899cdcca67c59a5767 (patch) | |
tree | 946fb1012d95913a70aaa5c92b0bd9851843d2dd /arch/arm/boot/dts/sun4i-a10-inet97fv2.dts | |
parent | cb8b85a89ac80d9a15ad518b7fc74a360c59e5c2 (diff) | |
download | lwn-5fed0cbf4f65ff91694e64899cdcca67c59a5767.tar.gz lwn-5fed0cbf4f65ff91694e64899cdcca67c59a5767.zip |
ARM: dts: sun4i: inet97fv2: Add regulator nodes
Use axp209.dtsi and add regulator nodes for the regulators used on the
inet97fv2 tablet.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun4i-a10-inet97fv2.dts')
-rw-r--r-- | arch/arm/boot/dts/sun4i-a10-inet97fv2.dts | 35 |
1 files changed, 31 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/sun4i-a10-inet97fv2.dts b/arch/arm/boot/dts/sun4i-a10-inet97fv2.dts index 51621c568382..69e22bda1d7e 100644 --- a/arch/arm/boot/dts/sun4i-a10-inet97fv2.dts +++ b/arch/arm/boot/dts/sun4i-a10-inet97fv2.dts @@ -61,6 +61,10 @@ }; }; +&cpu0 { + cpu-supply = <®_dcdc2>; +}; + &ehci1 { status = "okay"; }; @@ -71,15 +75,13 @@ status = "okay"; axp209: pmic@34 { - compatible = "x-powers,axp209"; reg = <0x34>; interrupts = <0>; - - interrupt-controller; - #interrupt-cells = <1>; }; }; +#include "axp209.dtsi" + &mmc0 { pinctrl-names = "default"; pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_reference_design>; @@ -90,6 +92,31 @@ status = "okay"; }; +®_dcdc2 { + regulator-always-on; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1400000>; + regulator-name = "vdd-cpu"; +}; + +®_dcdc3 { + regulator-always-on; + regulator-min-microvolt = <1250000>; + regulator-max-microvolt = <1250000>; + regulator-name = "vdd-int-dll"; +}; + +®_ldo1 { + regulator-name = "vdd-rtc"; +}; + +®_ldo2 { + regulator-always-on; + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3000000>; + regulator-name = "avcc"; +}; + ®_usb2_vbus { status = "okay"; }; |