summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMykyta Dorokhin <mykyta.dorokhin@globallogic.com>2016-09-14 20:58:30 +0300
committerMykyta Dorokhin <mykyta.dorokhin@globallogic.com>2016-09-14 20:58:30 +0300
commit251875c6eab18acd841dcaa8809b3faad19d17b4 (patch)
treeb089af4f5767adda9d5ebe844c90a50beb1cbc6b
parent1e29eefb77ba7d10d5214bd3361a85c0a0fa7849 (diff)
downloadmeta-multitech-251875c6eab18acd841dcaa8809b3faad19d17b4.tar.gz
meta-multitech-251875c6eab18acd841dcaa8809b3faad19d17b4.tar.bz2
meta-multitech-251875c6eab18acd841dcaa8809b3faad19d17b4.zip
mtp: Set led-status ON while booting and heartbeat while running
-rw-r--r--recipes-kernel/linux/linux-3.12.27/mtp/linux-3.12-mtp-device-tree.patch16
1 files 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 {