summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Gilles <jgilles@multitech.com>2014-12-12 16:22:21 -0600
committerJesse Gilles <jgilles@multitech.com>2014-12-12 16:22:21 -0600
commit9f9d7b731d9a4c0ed842bd8c70a4b15044fc774f (patch)
treeee6102f7f9fa0c743f539453e3ca50d053e291c3
parentfcc093ec82bd3098a206bd7680843860ab1c806d (diff)
downloadmeta-multitech-9f9d7b731d9a4c0ed842bd8c70a4b15044fc774f.tar.gz
meta-multitech-9f9d7b731d9a4c0ed842bd8c70a4b15044fc774f.tar.bz2
meta-multitech-9f9d7b731d9a4c0ed842bd8c70a4b15044fc774f.zip
linux-3.12.27: mtcdt.dts: fix spi dts
-rw-r--r--recipes-kernel/linux/linux-3.12.27/mtcdt/linux-3.12-mtcdt-device-tree.patch22
1 files changed, 12 insertions, 10 deletions
diff --git a/recipes-kernel/linux/linux-3.12.27/mtcdt/linux-3.12-mtcdt-device-tree.patch b/recipes-kernel/linux/linux-3.12.27/mtcdt/linux-3.12-mtcdt-device-tree.patch
index 5c58a80..25622bb 100644
--- a/recipes-kernel/linux/linux-3.12.27/mtcdt/linux-3.12-mtcdt-device-tree.patch
+++ b/recipes-kernel/linux/linux-3.12.27/mtcdt/linux-3.12-mtcdt-device-tree.patch
@@ -1,8 +1,8 @@
Index: linux-3.12.27/arch/arm/boot/dts/mtcdt.dts
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ linux-3.12.27/arch/arm/boot/dts/mtcdt.dts 2014-12-11 17:31:08.539654648 -0600
-@@ -0,0 +1,276 @@
++++ linux-3.12.27/arch/arm/boot/dts/mtcdt.dts 2014-12-12 08:48:21.214443710 -0600
+@@ -0,0 +1,278 @@
+/*
+ * DTS file for Multi-Tech Systems MTCDT Hardware
+ */
@@ -126,8 +126,9 @@ Index: linux-3.12.27/arch/arm/boot/dts/mtcdt.dts
+ };
+ ap1-spi@2 {
+ compatible = "spidev";
++ spi-max-frequency = <2000000>;
+ reg = <2>;
-+ }
++ };
+ ap1-din@3 {
+ compatible = "mts-io-ap1-din";
+ spi-max-frequency = <1000000>;
@@ -153,8 +154,9 @@ Index: linux-3.12.27/arch/arm/boot/dts/mtcdt.dts
+ };
+ ap2-spi@2 {
+ compatible = "spidev";
++ spi-max-frequency = <2000000>;
+ reg = <2>;
-+ }
++ };
+ ap2-din@3 {
+ compatible = "mts-io-ap2-din";
+ spi-max-frequency = <1000000>;
@@ -281,8 +283,8 @@ Index: linux-3.12.27/arch/arm/boot/dts/mtcdt.dts
+};
Index: linux-3.12.27/arch/arm/boot/dts/at91sam9x5cm.dtsi
===================================================================
---- linux-3.12.27.orig/arch/arm/boot/dts/at91sam9x5cm.dtsi 2014-11-20 11:34:48.131938966 -0600
-+++ linux-3.12.27/arch/arm/boot/dts/at91sam9x5cm.dtsi 2014-11-20 11:34:49.227920922 -0600
+--- linux-3.12.27.orig/arch/arm/boot/dts/at91sam9x5cm.dtsi 2014-12-11 17:40:17.010826336 -0600
++++ linux-3.12.27/arch/arm/boot/dts/at91sam9x5cm.dtsi 2014-12-11 17:40:19.414787587 -0600
@@ -40,48 +40,8 @@
atmel,has-pmecc; /* Enable PMECC */
atmel,pmecc-cap = <2>;
@@ -341,8 +343,8 @@ Index: linux-3.12.27/arch/arm/boot/dts/at91sam9x5cm.dtsi
};
Index: linux-3.12.27/arch/arm/boot/dts/at91sam9x5ek.dtsi
===================================================================
---- linux-3.12.27.orig/arch/arm/boot/dts/at91sam9x5ek.dtsi 2014-11-20 11:34:48.131938966 -0600
-+++ linux-3.12.27/arch/arm/boot/dts/at91sam9x5ek.dtsi 2014-11-20 11:34:49.227920922 -0600
+--- linux-3.12.27.orig/arch/arm/boot/dts/at91sam9x5ek.dtsi 2014-12-11 17:40:17.010826336 -0600
++++ linux-3.12.27/arch/arm/boot/dts/at91sam9x5ek.dtsi 2014-12-11 17:40:19.438787200 -0600
@@ -24,23 +24,11 @@
&pinctrl_mmc0_slot0_clk_cmd_dat0
&pinctrl_mmc0_slot0_dat1_3>;
@@ -450,8 +452,8 @@ Index: linux-3.12.27/arch/arm/boot/dts/at91sam9x5ek.dtsi
};
Index: linux-3.12.27/arch/arm/boot/dts/Makefile
===================================================================
---- linux-3.12.27.orig/arch/arm/boot/dts/Makefile 2014-11-20 11:34:48.131938966 -0600
-+++ linux-3.12.27/arch/arm/boot/dts/Makefile 2014-11-20 11:34:49.227920922 -0600
+--- linux-3.12.27.orig/arch/arm/boot/dts/Makefile 2014-12-11 17:40:17.010826336 -0600
++++ linux-3.12.27/arch/arm/boot/dts/Makefile 2014-12-11 17:40:19.454786942 -0600
@@ -35,6 +35,7 @@
dtb-$(CONFIG_ARCH_AT91) += at91sam9g35ek.dtb
dtb-$(CONFIG_ARCH_AT91) += at91sam9x25ek.dtb