From de2f3d5bcacade38c7dfe1d48352e9e8df7978c2 Mon Sep 17 00:00:00 2001 From: John Klug Date: Thu, 3 Sep 2020 18:09:04 -0500 Subject: Add some new device tree pins for MTCAP, and fix MTCDT --- .../mtcap/linux-4.9-mtcap-device-tree.patch | 16 ++++++++++++-- .../mtcdt/linux-4.9-mtcdt-device-tree.patch | 25 +++++++++++----------- 2 files changed, 26 insertions(+), 15 deletions(-) (limited to 'recipes-kernel') 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 3311010..ba75daa 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 @@ -258,7 +258,7 @@ diff -Naru linux-4.9.87.orig/arch/arm/boot/dts/Makefile linux-4.9.87/arch/arm/bo 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-31 18:11:18.651648726 -0600 -@@ -0,0 +1,289 @@ +@@ -0,0 +1,301 @@ +/* + * DTS file for Multi-Tech Systems MTCAP Hardware + * @@ -367,7 +367,19 @@ diff -Naru linux-4.9.87.orig/arch/arm/boot/dts/mtcap.dts linux-4.9.87/arch/arm/b + ; /* PD21 GPIO pull-down radio-monitor */ -+ }; ++ output-high; ++ }; ++ pinctrl_mts_io_in: mts_io-1 { ++ atmel,pins = ++ ; /* PD19 GNSS Int */ ++ }; ++ pinctrl_mts_io_gnss: mts_io-2 { ++ atmel,pins = ++ ; /* PD15 N_GNSS_RESET */ ++ output-low; ++ }; + }; + }; + 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 87696c6..4da2559 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,9 +1,7 @@ -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,291 @@ +diff -Naru orig/arch/arm/boot/dts/mtcdt.dts new/arch/arm/boot/dts/mtcdt.dts +--- orig/arch/arm/boot/dts/mtcdt.dts 1969-12-31 18:00:00.000000000 -0600 ++++ new/arch/arm/boot/dts/mtcdt.dts 2020-09-03 16:04:52.223278145 -0500 +@@ -0,0 +1,292 @@ +/* + * DTS file for Multi-Tech Systems MTCDT Hardware + */ @@ -57,20 +55,21 @@ diff -aNru linux-at91-4.9.orig/arch/arm/boot/dts/mtcdt.dts linux-at91-4.9/arch/a + mts-io { + pinctrl_mts_io_out: mts_io-0 { + atmel,pins = -+ ; /* PD19 GNSS Int */ ++ ; /* PD18 USB Hub reset */ + output-high; + }; + pinctrl_mts_io_in: mts_io-1 { + atmel,pins = -+ ; /* PD20 WiFi_BT_LPMode Input */ ++ ; /* PD20 WiFi_BT_LPMode Input */ + }; + pinctrl_mts_io_gnss: mts_io-2 { + atmel,pins = -+ ; /* PD20 WiFi_BT_LPMode Input */ ++ ; /* PD15 N_GNSS_RESET */ + output-low; + }; + }; -- cgit v1.2.3