From: Bichao Zheng Date: Tue, 11 Dec 2018 02:59:09 +0000 (+0800) Subject: gpio-led: g12b: add system led control for w400 [2/2] X-Git-Tag: hardkernel-4.9.236-104~2017 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=459d5c28ba9a63376a79f8a00dbecb2fbfc0da57;p=platform%2Fkernel%2Flinux-amlogic.git gpio-led: g12b: add system led control for w400 [2/2] PD#SWPL-3008 Problem: g12b_w400 need add led control Solution: Add system led control for w400 Verify: g12b_w400 Change-Id: I7b27af95c92f06bb0ca89e00aeccc65f398dad70 Signed-off-by: Bichao Zheng --- diff --git a/arch/arm/boot/dts/amlogic/g12b_a311d_w400.dts b/arch/arm/boot/dts/amlogic/g12b_a311d_w400.dts index d2a7199..5b3f477 100644 --- a/arch/arm/boot/dts/amlogic/g12b_a311d_w400.dts +++ b/arch/arm/boot/dts/amlogic/g12b_a311d_w400.dts @@ -148,6 +148,16 @@ }; }; + gpioleds { + compatible = "gpio-leds"; + status = "okay"; + sys_led { + label="sys_led"; + gpios=<&gpio_ao GPIOAO_11 GPIO_ACTIVE_HIGH>; + default-state ="on"; + }; + }; + cvbsout { compatible = "amlogic, cvbsout-g12b"; dev_name = "cvbsout"; diff --git a/arch/arm64/boot/dts/amlogic/g12b_a311d_w400.dts b/arch/arm64/boot/dts/amlogic/g12b_a311d_w400.dts index 7093d2c..011d5a4 100644 --- a/arch/arm64/boot/dts/amlogic/g12b_a311d_w400.dts +++ b/arch/arm64/boot/dts/amlogic/g12b_a311d_w400.dts @@ -149,6 +149,16 @@ }; }; + gpioleds { + compatible = "gpio-leds"; + status = "okay"; + sys_led { + label="sys_led"; + gpios=<&gpio_ao GPIOAO_11 GPIO_ACTIVE_HIGH>; + default-state ="on"; + }; + }; + cvbsout { compatible = "amlogic, cvbsout-g12b"; dev_name = "cvbsout";