Commit 47a6b0ef authored by Alexander Syring's avatar Alexander Syring Committed by Maxime Ripard

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: default avatarAlexander Syring <alex@asyring.de>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent 69e3a946
...@@ -267,6 +267,10 @@ &reg_ahci_5v { ...@@ -267,6 +267,10 @@ &reg_ahci_5v {
#include "axp209.dtsi" #include "axp209.dtsi"
&ac_power_supply {
status = "okay";
};
&reg_dcdc2 { &reg_dcdc2 {
regulator-always-on; regulator-always-on;
regulator-min-microvolt = <1000000>; regulator-min-microvolt = <1000000>;
...@@ -323,6 +327,10 @@ &usb_otg { ...@@ -323,6 +327,10 @@ &usb_otg {
status = "okay"; status = "okay";
}; };
&usb_power_supply {
status = "okay";
};
&usbphy { &usbphy {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>; pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment