diff options
author | John Klug <john.klug@multitech.com> | 2019-04-24 17:52:47 -0500 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2019-04-24 17:52:47 -0500 |
commit | a916102b01af7a9da1ebcf172dc447721402b5d7 (patch) | |
tree | 350f145e14ce5bbc2f3f841a98ee570c9579aaf1 /recipes-kernel/linux/linux-at91-4.9.87 | |
parent | cdb2ffb0f5d1de232037270b03e975fce9a7aec3 (diff) | |
download | meta-multitech-atmel-a916102b01af7a9da1ebcf172dc447721402b5d7.tar.gz meta-multitech-atmel-a916102b01af7a9da1ebcf172dc447721402b5d7.tar.bz2 meta-multitech-atmel-a916102b01af7a9da1ebcf172dc447721402b5d7.zip |
Use output-high for MTCDT PD14-PD19 resets
Diffstat (limited to 'recipes-kernel/linux/linux-at91-4.9.87')
-rw-r--r-- | recipes-kernel/linux/linux-at91-4.9.87/mtcdt/linux-4.9-mtcdt-device-tree.patch | 29 |
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 =================================================================== |