diff options
author | Harald Geyer <harald@ccbib.org> | 2017-08-29 19:08:10 +0200 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2017-09-17 12:04:27 +0200 |
commit | f41002663ff37b8a210674c780c9b76181cdd366 (patch) | |
tree | 9a0e06356d6a82735700f676d294894afe4f1728 /arch/arm/boot/dts | |
parent | ARM: dts: sun7i: Add dts file for A20-OLinuXino-MICRO-eMMC (diff) | |
download | linux-f41002663ff37b8a210674c780c9b76181cdd366.tar.xz linux-f41002663ff37b8a210674c780c9b76181cdd366.zip |
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>
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r-- | arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts b/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts index 0b7403e4d687..a351ac7db388 100644 --- a/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts +++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts @@ -256,6 +256,14 @@ #include "axp209.dtsi" +&ac_power_supply { + status = "okay"; +}; + +&battery_power_supply { + status = "okay"; +}; + ®_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>; |