PD#165027: gpio-led: g12a_s905d2_u200 add system led
1.Turns on green light when booting and resume.
2.Turns off green light,turns on red light when suspend and shutdown
Change-Id: I170b4745b320a5525fe128c025f2670103950922
Signed-off-by: bichao.zheng <bichao.zheng@amlogic.com>
};
};
+ gpioleds {
+ compatible = "gpio-leds";
+ status = "okay";
+
+ sys_led {
+ label="sys_led";
+ gpios=<&gpio_ao GPIOAO_11 GPIO_ACTIVE_HIGH>;
+ default-state ="on";
+ retain-state-suspended;
+ linux,default-trigger="cpu0";
+ };
+ };
+
cvbsout {
compatible = "amlogic, cvbsout-g12a";
dev_name = "cvbsout";