From 6c096e1d9a48522613f55eafb0a001cf2bdfda34 Mon Sep 17 00:00:00 2001 From: The-going <48602507+The-going@users.noreply.github.com> Date: Sun, 23 Jan 2022 16:43:53 +0300 Subject: [PATCH 051/153] arm:arm64:dts: Add leds axp20x charger --- arch/arm/boot/dts/allwinner/axp209.dtsi | 5 +++++ arch/arm/boot/dts/allwinner/axp22x.dtsi | 5 +++++ arch/arm/boot/dts/allwinner/axp81x.dtsi | 5 +++++ arch/arm64/boot/dts/allwinner/axp803.dtsi | 5 +++++ 4 files changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/allwinner/axp209.dtsi b/arch/arm/boot/dts/allwinner/axp209.dtsi index ca240cd6f..85000fdb4 100644 --- a/arch/arm/boot/dts/allwinner/axp209.dtsi +++ b/arch/arm/boot/dts/allwinner/axp209.dtsi @@ -69,6 +69,11 @@ axp_gpio: gpio { #gpio-cells = <2>; }; + axp_led: led { + compatible = "x-powers,axp20x-led"; + status = "disabled"; + }; + battery_power_supply: battery-power { compatible = "x-powers,axp209-battery-power-supply"; status = "disabled"; diff --git a/arch/arm/boot/dts/allwinner/axp22x.dtsi b/arch/arm/boot/dts/allwinner/axp22x.dtsi index f79650afd..91c66b245 100644 --- a/arch/arm/boot/dts/allwinner/axp22x.dtsi +++ b/arch/arm/boot/dts/allwinner/axp22x.dtsi @@ -62,6 +62,11 @@ axp_adc: adc { #io-channel-cells = <1>; }; + axp_led: led { + compatible = "x-powers,axp20x-led"; + status = "disabled"; + }; + battery_power_supply: battery-power { compatible = "x-powers,axp221-battery-power-supply"; status = "disabled"; diff --git a/arch/arm/boot/dts/allwinner/axp81x.dtsi b/arch/arm/boot/dts/allwinner/axp81x.dtsi index a4b1be159..9a432a0dc 100644 --- a/arch/arm/boot/dts/allwinner/axp81x.dtsi +++ b/arch/arm/boot/dts/allwinner/axp81x.dtsi @@ -64,6 +64,11 @@ axp_gpio: gpio { #gpio-cells = <2>; }; + axp_led: led { + compatible = "x-powers,axp20x-led"; + status = "disabled"; + }; + battery_power_supply: battery-power { compatible = "x-powers,axp813-battery-power-supply"; status = "disabled"; diff --git a/arch/arm64/boot/dts/allwinner/axp803.dtsi b/arch/arm64/boot/dts/allwinner/axp803.dtsi index 422be59f5..3ad8967a1 100644 --- a/arch/arm64/boot/dts/allwinner/axp803.dtsi +++ b/arch/arm64/boot/dts/allwinner/axp803.dtsi @@ -28,6 +28,11 @@ axp_gpio: gpio { #gpio-cells = <2>; }; + axp_led: led { + compatible = "x-powers,axp20x-led"; + status = "disabled"; + }; + battery_power_supply: battery-power { compatible = "x-powers,axp803-battery-power-supply", "x-powers,axp813-battery-power-supply"; -- 2.35.3