From 35da4ce8454b036b7fe456213901a45771d3cc7d Mon Sep 17 00:00:00 2001 From: John Klug Date: Wed, 30 Jan 2019 18:23:46 -0600 Subject: PD21 should be pull down, remove conflicting unused NAND. --- .../mtcap/linux-4.9-mtcap-device-tree.patch | 24 ++++++++-------------- 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/recipes-kernel/linux/linux-at91-4.9.87/mtcap/linux-4.9-mtcap-device-tree.patch b/recipes-kernel/linux/linux-at91-4.9.87/mtcap/linux-4.9-mtcap-device-tree.patch index d70b84e..7bb7268 100644 --- a/recipes-kernel/linux/linux-at91-4.9.87/mtcap/linux-4.9-mtcap-device-tree.patch +++ b/recipes-kernel/linux/linux-at91-4.9.87/mtcap/linux-4.9-mtcap-device-tree.patch @@ -247,8 +247,8 @@ diff -Naru linux-4.9.87.orig/arch/arm/boot/dts/Makefile linux-4.9.87/arch/arm/bo at91-sama5d2_ptc_ek.dtb \ diff -Naru linux-4.9.87.orig/arch/arm/boot/dts/mtcap.dts linux-4.9.87/arch/arm/boot/dts/mtcap.dts --- linux-4.9.87.orig/arch/arm/boot/dts/mtcap.dts 1969-12-31 18:00:00.000000000 -0600 -+++ linux-4.9.87/arch/arm/boot/dts/mtcap.dts 2019-01-25 17:27:20.167073947 -0600 -@@ -0,0 +1,259 @@ ++++ linux-4.9.87/arch/arm/boot/dts/mtcap.dts 2019-01-30 18:15:28.034199195 -0600 +@@ -0,0 +1,253 @@ +/* + * DTS file for Multi-Tech Systems MTCAP Hardware + * @@ -339,25 +339,19 @@ diff -Naru linux-4.9.87.orig/arch/arm/boot/dts/mtcap.dts linux-4.9.87/arch/arm/b + AT91_PIOD 12 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* PD12 periph A Data bit 6 */ + AT91_PIOD 13 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PD13 periph A Data bit 7 */ + }; -+ -+ pinctrl_nand_16bits: nand_16bits-0 { -+ atmel,pins = -+ ; /* PD21 periph A Data bit 15 */ -+ }; ++ /delete-node/ nand_16bits-0; + }; + ++ /* ++ * Pin D21 will be left floating when the power goes off on the radio. ++ * We need to pull it down to ensure it is low during radio power-off. ++ */ + radio_control { + pinctrl_radio_control: radio_control-0 { + atmel,pins = + ; /* PA22 GPIO pull-up radio-reset */ ++ AT91_PIOA 22 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP /* PA22 GPIO pull-up radio-reset */ ++ AT91_PIOD 21 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_DOWN>; /* PD21 GPIO pull-down radio-monitor */ + }; + }; + }; -- cgit v1.2.3