ARM: sun7i: cubietruck: enable ACIN und USB power supply subnode
authorAlexander Syring <alex@asyring.de>
Mon, 3 Apr 2017 09:12:45 +0000 (11:12 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 3 Apr 2017 11:47:44 +0000 (13:47 +0200)
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>
arch/arm/boot/dts/sun7i-a20-cubietruck.dts

index feb995d..102903e 100644 (file)
 
 #include "axp209.dtsi"
 
+&ac_power_supply {
+       status = "okay";
+};
+
 &reg_dcdc2 {
        regulator-always-on;
        regulator-min-microvolt = <1000000>;
        status = "okay";
 };
 
+&usb_power_supply {
+       status = "okay";
+};
+
 &usbphy {
        pinctrl-names = "default";
        pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;