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

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
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -256,6 +256,14 @@

#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 @@
	status = "okay";
};

&usb_power_supply {
	status = "okay";
};

&usbphy {
	pinctrl-names = "default";
	pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;