summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sun4i-a10-gemei-g9.dts
diff options
context:
space:
mode:
authorPriit Laes <plaes@plaes.org>2015-11-06 18:54:44 +0100
committerMaxime Ripard <maxime.ripard@free-electrons.com>2015-11-17 09:40:07 +0100
commitbc1e2718696e1488392cb1bacc5379300520cebd (patch)
treeffa61d476dc90ab56ebfaa3b2a78d55f19fe7f62 /arch/arm/boot/dts/sun4i-a10-gemei-g9.dts
parentARM: dts: sun4i: inet9f-rev03: Add support for game buttons / joysticks (diff)
downloadlinux-bc1e2718696e1488392cb1bacc5379300520cebd.tar.xz
linux-bc1e2718696e1488392cb1bacc5379300520cebd.zip
ARM: dts: sun4i: gemei-g9: Convert to use axp209 regulator nodes
Add regulator nodes for axp209 using the axp209.dtsi include. Signed-off-by: Priit Laes <plaes@plaes.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun4i-a10-gemei-g9.dts')
-rw-r--r--arch/arm/boot/dts/sun4i-a10-gemei-g9.dts35
1 files changed, 31 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/sun4i-a10-gemei-g9.dts b/arch/arm/boot/dts/sun4i-a10-gemei-g9.dts
index 3f0aeb8288cd..6b4c29db3387 100644
--- a/arch/arm/boot/dts/sun4i-a10-gemei-g9.dts
+++ b/arch/arm/boot/dts/sun4i-a10-gemei-g9.dts
@@ -72,6 +72,10 @@
* Touchscreen - gt801_2plus1 @ i2c adapter 2 @ 0x48
*/
+&cpu0 {
+ cpu-supply = <&reg_dcdc2>;
+};
+
&ehci0 {
status = "okay";
};
@@ -86,15 +90,13 @@
status = "okay";
axp209: pmic@34 {
- compatible = "x-powers,axp209";
reg = <0x34>;
interrupts = <0>;
-
- interrupt-controller;
- #interrupt-cells = <1>;
};
};
+#include "axp209.dtsi"
+
&i2c1 {
pinctrl-names = "default";
pinctrl-0 = <&i2c1_pins_a>;
@@ -146,6 +148,31 @@
status = "okay";
};
+&reg_dcdc2 {
+ regulator-always-on;
+ regulator-min-microvolt = <1000000>;
+ regulator-max-microvolt = <1400000>;
+ regulator-name = "vdd-cpu";
+};
+
+&reg_dcdc3 {
+ regulator-always-on;
+ regulator-min-microvolt = <1250000>;
+ regulator-max-microvolt = <1250000>;
+ regulator-name = "vdd-int-dll";
+};
+
+&reg_ldo1 {
+ regulator-name = "vdd-rtc";
+};
+
+&reg_ldo2 {
+ regulator-always-on;
+ regulator-min-microvolt = <3000000>;
+ regulator-max-microvolt = <3000000>;
+ regulator-name = "avcc";
+};
+
&reg_usb1_vbus {
status = "okay";
};