diff options
author | John Klug <john.klug@multitech.com> | 2019-04-04 09:41:41 -0500 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2019-04-04 09:41:41 -0500 |
commit | 13b1226a1daa5546e29643528d7cb13bed6813c2 (patch) | |
tree | 0ab4511c2cd7afd9ed18203633d189bfdc4fccff /recipes-kernel/linux/linux-at91-4.9.87 | |
parent | 145731c92b1779caf042b45ec8a1a6cceec3fcef (diff) | |
download | meta-multitech-atmel-13b1226a1daa5546e29643528d7cb13bed6813c2.tar.gz meta-multitech-atmel-13b1226a1daa5546e29643528d7cb13bed6813c2.tar.bz2 meta-multitech-atmel-13b1226a1daa5546e29643528d7cb13bed6813c2.zip |
Correct the SDIO active pin to PA1, and set deglitch
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 | 31 |
1 files changed, 19 insertions, 12 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 9b4bd92..7e44580 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,7 @@ 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-03-04 11:05:46.155049751 -0600 -@@ -0,0 +1,261 @@ +@@ -0,0 +1,268 @@ +/* + * DTS file for Multi-Tech Systems MTCDT Hardware + */ @@ -25,6 +25,12 @@ diff -aNru linux-4.9.87.orig/arch/arm/boot/dts/mtcdt.dts linux-4.9.87/arch/arm/b + }; + + pinctrl@fffff400 { ++ mmc0 { ++ pinctrl_board_mmc0: mmc0-board { ++ atmel,pins = ++ <AT91_PIOA 1 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; /* PA1 gpio SD card pin pull up and deglitch */ ++ }; ++ }; + nand { + pinctrl_nand: nand-0 { + atmel,pins = @@ -44,18 +50,19 @@ diff -aNru linux-4.9.87.orig/arch/arm/boot/dts/mtcdt.dts linux-4.9.87/arch/arm/b + AT91_PIOD 13 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PD13 periph A Data bit 7 */ + }; + -+ pinctrl_nand_16bits: nand_16bits-0 { -+ atmel,pins = -+ <AT91_PIOD 14 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PD14 periph A Data bit 8 */ -+ AT91_PIOD 15 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PD15 periph A Data bit 9 */ -+ AT91_PIOD 16 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PD16 periph A Data bit 10 */ -+ AT91_PIOD 17 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PD17 periph A Data bit 11 */ -+ AT91_PIOD 18 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PD18 periph A Data bit 12 */ -+ AT91_PIOD 19 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PD19 periph A Data bit 13 */ -+ AT91_PIOD 20 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PD20 periph A Data bit 14 */ -+ AT91_PIOD 21 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PD21 periph A Data bit 15 */ -+ }; ++ /delete-node/ nand_16bits-0; + }; ++ mts-io { ++ pinctrl_mts_io: 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 */ ++ }; + + mmc1 { + pinctrl_mmc1_slot0_clk_cmd_dat0: mmc1_slot0_clk_cmd_dat0-0 { |