gpio-led: g12b: add system led control for w400 [2/2]
authorBichao Zheng <bichao.zheng@amlogic.com>
Tue, 11 Dec 2018 02:59:09 +0000 (10:59 +0800)
committerLuan Yuan <luan.yuan@amlogic.com>
Tue, 18 Dec 2018 05:47:19 +0000 (13:47 +0800)
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 <bichao.zheng@amlogic.com>
arch/arm/boot/dts/amlogic/g12b_a311d_w400.dts
arch/arm64/boot/dts/amlogic/g12b_a311d_w400.dts

index d2a7199..5b3f477 100644 (file)
                };
        };
 
+       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";
index 7093d2c..011d5a4 100644 (file)
                };
        };
 
+       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";