Commit f4100266 authored by Harald Geyer's avatar Harald Geyer Committed by Maxime Ripard

ARM: dts: sun7i: Enable power supplies on A20-OLinuxIno-Micro

The axp209.dtsi defines nodes for ac, usb and battery supplies for a
while now. This patch enables these nodes for the A20-Olinuxino-Micro,
which has connectors for all three of them.

The patch was run-tested against linux-next-20170825.
Signed-off-by: default avatarHarald Geyer <harald@ccbib.org>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent e34e681f
...@@ -256,6 +256,14 @@ usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 { ...@@ -256,6 +256,14 @@ usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 {
#include "axp209.dtsi" #include "axp209.dtsi"
&ac_power_supply {
status = "okay";
};
&battery_power_supply {
status = "okay";
};
&reg_dcdc2 { &reg_dcdc2 {
regulator-always-on; regulator-always-on;
regulator-min-microvolt = <1000000>; regulator-min-microvolt = <1000000>;
...@@ -330,6 +338,10 @@ &usb_otg { ...@@ -330,6 +338,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