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: Harald Geyer <harald@ccbib.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
This commit is contained in:
Harald Geyer 2017-08-29 19:08:10 +02:00 committed by Maxime Ripard
parent e34e681f24
commit f41002663f
1 changed files with 12 additions and 0 deletions

View File

@ -256,6 +256,14 @@ usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 {
#include "axp209.dtsi"
&ac_power_supply {
status = "okay";
};
&battery_power_supply {
status = "okay";
};
&reg_dcdc2 {
regulator-always-on;
regulator-min-microvolt = <1000000>;
@ -330,6 +338,10 @@ &usb_otg {
status = "okay";
};
&usb_power_supply {
status = "okay";
};
&usbphy {
pinctrl-names = "default";
pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;