diff options
Diffstat (limited to 'recipes-kernel')
-rw-r--r-- | recipes-kernel/linux/linux-3.12.27/mtcap/linux-3.12-mtcap-device-tree.patch | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/recipes-kernel/linux/linux-3.12.27/mtcap/linux-3.12-mtcap-device-tree.patch b/recipes-kernel/linux/linux-3.12.27/mtcap/linux-3.12-mtcap-device-tree.patch index 9c00b0f..29096ca 100644 --- a/recipes-kernel/linux/linux-3.12.27/mtcap/linux-3.12-mtcap-device-tree.patch +++ b/recipes-kernel/linux/linux-3.12.27/mtcap/linux-3.12-mtcap-device-tree.patch @@ -1,7 +1,7 @@ diff -Naru linux-3.12.27.orig/arch/arm/boot/dts/mtcap.dts linux-3.12.27/arch/arm/boot/dts/mtcap.dts --- linux-3.12.27.orig/arch/arm/boot/dts/mtcap.dts 1969-12-31 18:00:00.000000000 -0600 -+++ linux-3.12.27/arch/arm/boot/dts/mtcap.dts 2017-02-24 14:31:20.750798116 -0600 -@@ -0,0 +1,230 @@ ++++ linux-3.12.27/arch/arm/boot/dts/mtcap.dts 2017-08-17 13:52:00.360044710 -0500 +@@ -0,0 +1,235 @@ +/* + * DTS file for Multi-Tech Systems MTCAP Hardware + */ @@ -112,7 +112,7 @@ diff -Naru linux-3.12.27.orig/arch/arm/boot/dts/mtcap.dts linux-3.12.27/arch/arm + }; + }; + -+ spi0: spi@f0000000 { ++ spi@f0000000 { + status = "okay"; + cs-gpios = <&pioA 7 0>, <0>, <0>, <0>; + lora-spi@0 { @@ -120,6 +120,11 @@ diff -Naru linux-3.12.27.orig/arch/arm/boot/dts/mtcap.dts linux-3.12.27/arch/arm + spi-max-frequency = <2000000>; + reg = <0>; + }; ++ lora-spi@1 { ++ compatible = "spidev"; ++ spi-max-frequency = <2000000>; ++ reg = <1>; ++ }; + }; + + dbgu: serial@fffff200 { |