From 251875c6eab18acd841dcaa8809b3faad19d17b4 Mon Sep 17 00:00:00 2001 From: Mykyta Dorokhin Date: Wed, 14 Sep 2016 20:58:30 +0300 Subject: mtp: Set led-status ON while booting and heartbeat while running --- .../linux-3.12.27/mtp/linux-3.12-mtp-device-tree.patch | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/recipes-kernel/linux/linux-3.12.27/mtp/linux-3.12-mtp-device-tree.patch b/recipes-kernel/linux/linux-3.12.27/mtp/linux-3.12-mtp-device-tree.patch index 494d2bb..27e8df2 100644 --- a/recipes-kernel/linux/linux-3.12.27/mtp/linux-3.12-mtp-device-tree.patch +++ b/recipes-kernel/linux/linux-3.12.27/mtp/linux-3.12-mtp-device-tree.patch @@ -2,7 +2,7 @@ Index: linux-3.12.27/arch/arm/boot/dts/mtp.dts =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 +++ linux-3.12.27/arch/arm/boot/dts/mtp.dts 2015-01-13 13:58:20.766078428 -0600 -@@ -0,0 +1,214 @@ +@@ -0,0 +1,210 @@ +/* + * DTS file for Multi-Tech Systems MTP Hardware + */ @@ -185,27 +185,23 @@ Index: linux-3.12.27/arch/arm/boot/dts/mtp.dts + + leds { + compatible = "gpio-leds"; -+ pa24 { ++ pc25 { + label = "led-status"; -+ gpios = <&pioA 24 GPIO_ACTIVE_LOW>; ++ gpios = <&pioC 25 GPIO_ACTIVE_HIGH>; + linux,default-trigger = "default-on"; + }; + pc15 { -+ label = "led-a"; ++ label = "led-lora"; + gpios = <&pioC 15 GPIO_ACTIVE_LOW>; + }; + pc16 { -+ label = "led-b"; ++ label = "led-cd"; + gpios = <&pioC 16 GPIO_ACTIVE_LOW>; + }; + pc20 { -+ label = "led-c"; ++ label = "led-wifi"; + gpios = <&pioC 20 GPIO_ACTIVE_LOW>; + }; -+ pc25 { -+ label = "led-d"; -+ gpios = <&pioC 25 GPIO_ACTIVE_LOW>; -+ }; + }; + + i2c@0 { -- cgit v1.2.3