aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
diff options
context:
space:
mode:
authorAlexander Syring <alex@asyring.de>2017-04-03 11:12:45 +0200
committerMaxime Ripard <maxime.ripard@free-electrons.com>2017-04-03 13:47:44 +0200
commit47a6b0ef3c34521583965cec08766a9628d402e3 (patch)
treec5a458917300ea840546c078c5903982eaf5cc88 /arch/arm/boot/dts/sun7i-a20-cubietruck.dts
parentARM: dts: sun5i: Add interrupt for display backend (diff)
downloadlinux-dev-47a6b0ef3c34521583965cec08766a9628d402e3.tar.xz
linux-dev-47a6b0ef3c34521583965cec08766a9628d402e3.zip
ARM: sun7i: cubietruck: enable ACIN und USB power supply subnode
The Cubietruck has an AXP209 PMIC and can be power-supplied by ACIN via the CHG-IN pin or by USB. This enables the ACIN and the USB power supply subnode in the DT. Signed-off-by: Alexander Syring <alex@asyring.de> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun7i-a20-cubietruck.dts')
-rw-r--r--arch/arm/boot/dts/sun7i-a20-cubietruck.dts8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
index feb995d29799..102903e83bd2 100644
--- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
+++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
@@ -267,6 +267,10 @@
#include "axp209.dtsi"
+&ac_power_supply {
+ status = "okay";
+};
+
&reg_dcdc2 {
regulator-always-on;
regulator-min-microvolt = <1000000>;
@@ -323,6 +327,10 @@
status = "okay";
};
+&usb_power_supply {
+ status = "okay";
+};
+
&usbphy {
pinctrl-names = "default";
pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;