summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2017-08-07 19:08:19 -0500
committerJohn Klug <john.klug@multitech.com>2017-08-07 19:08:19 -0500
commite3ff5d0144332e52a4a7df518e2b5265bdb49422 (patch)
tree3f9c4c1f66745f3ff62a4a7402d04475ac6fb67c /recipes-kernel/linux
parentf263b4bb5af5d3a6fd12d3e31c7d6b4a3f1f25b4 (diff)
downloadmeta-multitech-e3ff5d0144332e52a4a7df518e2b5265bdb49422.tar.gz
meta-multitech-e3ff5d0144332e52a4a7df518e2b5265bdb49422.tar.bz2
meta-multitech-e3ff5d0144332e52a4a7df518e2b5265bdb49422.zip
Add chip select to SPI bus, and remove alias which breaks device creation for SPI0_NPCS2
Diffstat (limited to 'recipes-kernel/linux')
-rw-r--r--recipes-kernel/linux/linux-3.12.70/mtcap/linux-3.12-mtcap-device-tree.patch18
1 files changed, 11 insertions, 7 deletions
diff --git a/recipes-kernel/linux/linux-3.12.70/mtcap/linux-3.12-mtcap-device-tree.patch b/recipes-kernel/linux/linux-3.12.70/mtcap/linux-3.12-mtcap-device-tree.patch
index 474f606..7054c64 100644
--- a/recipes-kernel/linux/linux-3.12.70/mtcap/linux-3.12-mtcap-device-tree.patch
+++ b/recipes-kernel/linux/linux-3.12.70/mtcap/linux-3.12-mtcap-device-tree.patch
@@ -1,8 +1,7 @@
-Index: linux-3.12.27/arch/arm/boot/dts/mtcap.dts
-===================================================================
---- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ linux-3.12.27/arch/arm/boot/dts/mtcap.dts 2015-01-13 13:58:20.766078428 -0600
-@@ -0,0 +1,210 @@
+diff -Naru linux-3.12.70.orig/arch/arm/boot/dts/mtcap.dts linux-3.12.70/arch/arm/boot/dts/mtcap.dts
+--- linux-3.12.70.orig/arch/arm/boot/dts/mtcap.dts 1969-12-31 18:00:00.000000000 -0600
++++ linux-3.12.70/arch/arm/boot/dts/mtcap.dts 2017-07-24 14:29:39.205366275 -0500
+@@ -0,0 +1,215 @@
+/*
+ * DTS file for Multi-Tech Systems MTCAP Hardware
+ */
@@ -93,14 +92,19 @@ Index: linux-3.12.27/arch/arm/boot/dts/mtcap.dts
+ };
+ };
+
-+ spi0: spi@f0000000 {
++ spi@f0000000 {
+ status = "okay";
-+ cs-gpios = <&pioA 7 0>, <0>, <0>, <0>;
++ cs-gpios = <&pioA 7 0>, <&pioA 1 0>, <0>, <0>;
+ lora-spi@0 {
+ compatible = "spidev";
+ spi-max-frequency = <2000000>;
+ reg = <0>;
+ };
++ lora-spi@1 {
++ compatible = "spidev";
++ spi-max-frequency = <2000000>;
++ reg = <1>;
++ };
+ };
+
+ dbgu: serial@fffff200 {