summaryrefslogtreecommitdiff
path: root/recipes-kernel
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2019-04-24 17:52:47 -0500
committerJohn Klug <john.klug@multitech.com>2019-07-03 11:22:01 -0500
commit3ccc8b2ccb5647337445515ec1ab35fc8d9f95d2 (patch)
tree350f145e14ce5bbc2f3f841a98ee570c9579aaf1 /recipes-kernel
parentd9dc48d415f2c03ff48d7d6b34146ed649b28bda (diff)
downloadmeta-multitech-3ccc8b2ccb5647337445515ec1ab35fc8d9f95d2.tar.gz
meta-multitech-3ccc8b2ccb5647337445515ec1ab35fc8d9f95d2.tar.bz2
meta-multitech-3ccc8b2ccb5647337445515ec1ab35fc8d9f95d2.zip
Use output-high for MTCDT PD14-PD19 resets
Diffstat (limited to 'recipes-kernel')
-rw-r--r--recipes-kernel/linux/linux-at91-4.9.87/mtcdt/linux-4.9-mtcdt-device-tree.patch29
1 files changed, 21 insertions, 8 deletions
diff --git a/recipes-kernel/linux/linux-at91-4.9.87/mtcdt/linux-4.9-mtcdt-device-tree.patch b/recipes-kernel/linux/linux-at91-4.9.87/mtcdt/linux-4.9-mtcdt-device-tree.patch
index 03145ac..f022b80 100644
--- a/recipes-kernel/linux/linux-at91-4.9.87/mtcdt/linux-4.9-mtcdt-device-tree.patch
+++ b/recipes-kernel/linux/linux-at91-4.9.87/mtcdt/linux-4.9-mtcdt-device-tree.patch
@@ -1,7 +1,9 @@
-diff -aNru linux-4.9.87.orig/arch/arm/boot/dts/mtcdt.dts linux-4.9.87/arch/arm/boot/dts/mtcdt.dts
---- linux-4.9.87.orig/arch/arm/boot/dts/mtcdt.dts 1969-12-31 18:00:00.000000000 -0600
-+++ linux-4.9.87/arch/arm/boot/dts/mtcdt.dts 2019-04-15 14:04:17.671409450 -0500
-@@ -0,0 +1,271 @@
+Index: linux-at91-4.9/arch/arm/boot/dts/mtcdt.dts
+===================================================================
+diff -aNru linux-at91-4.9.orig/arch/arm/boot/dts/mtcdt.dts linux-at91-4.9/arch/arm/boot/dts/mtcdt.dts
+--- linux-at91-4.9.orig/arch/arm/boot/dts/mtcdt.dts 1969-12-31 18:00:00.000000000 -0600
++++ linux-at91-4.9/arch/arm/boot/dts/mtcdt.dts 2019-04-24 17:01:26.112074133 -0500
+@@ -0,0 +1,282 @@
+/*
+ * DTS file for Multi-Tech Systems MTCDT Hardware
+ */
@@ -53,15 +55,19 @@ diff -aNru linux-4.9.87.orig/arch/arm/boot/dts/mtcdt.dts linux-4.9.87/arch/arm/b
+ /delete-node/ nand_16bits-0;
+ };
+ mts-io {
-+ pinctrl_mts_io: mts_io-0 {
++ pinctrl_mts_io_out: mts_io-0 {
+ atmel,pins =
+ <AT91_PIOD 14 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PD14 WiFi BT reset */
+ AT91_PIOD 15 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PD15 GNSS reset */
+ AT91_PIOD 16 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PD16 Secure reset */
+ AT91_PIOD 17 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PD17 MTQ reset */
+ AT91_PIOD 18 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PD18 USB Hub reset */
-+ AT91_PIOD 19 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PD19 GNSS Int */
-+ AT91_PIOD 20 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PD20 WiFi_BT_LPMode */
++ AT91_PIOD 19 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PD19 GNSS Int */
++ output-high;
++ };
++ pinctrl_mts_io_in: mts_io-1 {
++ atmel,pins =
++ <AT91_PIOD 20 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PD20 WiFi_BT_LPMode Input */
+ };
+ };
+
@@ -258,7 +264,7 @@ diff -aNru linux-4.9.87.orig/arch/arm/boot/dts/mtcdt.dts linux-4.9.87/arch/arm/b
+ };
+ i2c-gpio-1 {
+ status = "okay";
-+
++
+ ap1_eeprom@50 {
+ compatible = "atmel,24c04";
+ reg = <0x50>;
@@ -272,6 +278,13 @@ diff -aNru linux-4.9.87.orig/arch/arm/boot/dts/mtcdt.dts linux-4.9.87/arch/arm/b
+ status = "okay";
+ };
+ };
++ mts-io-0 {
++ status = "okay";
++ compatible = "mts,mts-io";
++ pinctrl-names = "default";
++ pinctrl-0 = <&pinctrl_mts_io_out>;
++ pinctrl-1 = <&pinctrl_mts_io_in>;
++ };
+};
Index: linux-4.9/arch/arm/boot/dts/at91sam9x5cm.dtsi
===================================================================