From d44b2c760005dacca97e07b6ce4b18e5edcf0b51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Jirman?= Date: Wed, 8 Nov 2017 21:57:45 +0100 Subject: [PATCH 026/464] ARM: dts: sun8i-a83t-tbs-a711: Add flash led support --- arch/arm/boot/dts/allwinner/sun8i-a83t-tbs-a711.dts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/allwinner/sun8i-a83t-tbs-a711.dts b/arch/arm/boot/dts/allwinner/sun8i-a83t-tbs-a711.dts index 62355c497b74..b6b46e57d0ed 100644 --- a/arch/arm/boot/dts/allwinner/sun8i-a83t-tbs-a711.dts +++ b/arch/arm/boot/dts/allwinner/sun8i-a83t-tbs-a711.dts @@ -61,6 +61,15 @@ chosen { stdout-path = "serial0:115200n8"; }; + leds { + compatible = "gpio-leds"; + + flash_led { + label = "flash"; + gpios = <&pio 1 3 GPIO_ACTIVE_HIGH>; + }; + }; + backlight: backlight { compatible = "pwm-backlight"; pwms = <&pwm 0 50000 PWM_POLARITY_INVERTED>; -- 2.34.1