标签:rk3288 linux led heartbeat 驱动
平台:瑞芯的rk3288
作者:fulinux
*****本文允许转载,不过请注明出处:http://blog.csdn.net/fulinus****
diff --git a/arch/arm/boot/dts/rk3288-tb_8846.dts b/arch/arm/boot/dts/rk3288-tb_8846.dts index c92d973..91ad1da 100644 --- a/arch/arm/boot/dts/rk3288-tb_8846.dts +++ b/arch/arm/boot/dts/rk3288-tb_8846.dts @@ -6,6 +6,16 @@ #include "vtl_ts_sdk8846.dtsi" / { + leds { + compatible = "gpio-leds"; + led0 { + label = "led0"; + gpios = <&gpio5 GPIO_B5 GPIO_ACTIVE_HIGH>; + linux,default-trigger = "heartbeat"; + default-state = "off"; + }; + }; + fiq-debugger { status = "okay"; };
标签:rk3288 linux led heartbeat 驱动
原文地址:http://blog.csdn.net/fulinus/article/details/46623849