meta-bbb/recipes-kernel/linux/files/0002-onboard-led-init-disable.patch
Thomas Klaehn 3a4bbafea7 Kernel: activate LED support.
Signed-off-by: Thomas Klaehn <tkl@blackfinn.de>
2017-10-23 10:21:24 +02:00

38 lines
1.1 KiB
Diff

diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi
index 3e32dd18fd25..695634c7c895 100644
--- a/arch/arm/boot/dts/am335x-bone-common.dtsi
+++ b/arch/arm/boot/dts/am335x-bone-common.dtsi
@@ -31,28 +31,28 @@
led2 {
label = "beaglebone:green:heartbeat";
gpios = <&gpio1 21 GPIO_ACTIVE_HIGH>;
- linux,default-trigger = "heartbeat";
+ linux,default-trigger = "none"; /* heartbeat */
default-state = "off";
};
led3 {
label = "beaglebone:green:mmc0";
gpios = <&gpio1 22 GPIO_ACTIVE_HIGH>;
- linux,default-trigger = "mmc0";
+ linux,default-trigger = "none"; /* mmc0 */
default-state = "off";
};
led4 {
label = "beaglebone:green:usr2";
gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>;
- linux,default-trigger = "cpu0";
+ linux,default-trigger = "none"; /* cpu0 */
default-state = "off";
};
led5 {
label = "beaglebone:green:usr3";
gpios = <&gpio1 24 GPIO_ACTIVE_HIGH>;
- linux,default-trigger = "mmc1";
+ linux,default-trigger = "none"; /* mmc1 */
default-state = "off";
};
};