From 8dd278f6a285b8a3843f9a03646c1cb8d36f193c Mon Sep 17 00:00:00 2001 From: John Klug Date: Fri, 19 Nov 2021 12:19:27 -0600 Subject: Fix pincontrol for io controllers, rs9113, usbhub resets --- recipes-kernel/linux/linux-at91-4.9.87/mtcdt/mtcdt.dts | 13 ++++++------- recipes-kernel/linux/linux-at91_4.9.87.bb | 2 +- 2 files changed, 7 insertions(+), 8 deletions(-) (limited to 'recipes-kernel') diff --git a/recipes-kernel/linux/linux-at91-4.9.87/mtcdt/mtcdt.dts b/recipes-kernel/linux/linux-at91-4.9.87/mtcdt/mtcdt.dts index f485baa..9cbf5fa 100644 --- a/recipes-kernel/linux/linux-at91-4.9.87/mtcdt/mtcdt.dts +++ b/recipes-kernel/linux/linux-at91-4.9.87/mtcdt/mtcdt.dts @@ -100,22 +100,21 @@ pinctrl_mts_io_out: mts_io-0 { // gpio4 and gpio5 are reset in at91bootstrap. They should not be touched in Linux. atmel,pins = - ; /* PD18 USB Hub reset */ + ; /* PD20 WiFi_BT_LPMode Output */ output-high; // ignored by at91_pinctrl }; pinctrl_mts_io_in: mts_io-1 { atmel,pins = - ; /* PD20 WiFi_BT_LPMode Input */ + ; /* PD19 GNSS Int */ }; // GNSS kept in reset to prevent EXAR from hanging pinctrl_mts_io_gnss: mts_io-2 { atmel,pins = ; /* PD15 N_GNSS_RESET */ + AT91_PIOD 14 AT91_PERIPH_GPIO (AT91_PINCTRL_OUTPUT|AT91_PINCTRL_OUTPUT_VAL(0)) /* PD14 WiFi BT reset */ + AT91_PIOD 15 AT91_PERIPH_GPIO (AT91_PINCTRL_OUTPUT|AT91_PINCTRL_OUTPUT_VAL(0)) /* PD15 N_GNSS_RESET */ + AT91_PIOD 18 AT91_PERIPH_GPIO (AT91_PINCTRL_OUTPUT|AT91_PINCTRL_OUTPUT_VAL(0))>; /* PD18 USB Hub reset */ output-low; // ignored by at91_pinctrl }; }; diff --git a/recipes-kernel/linux/linux-at91_4.9.87.bb b/recipes-kernel/linux/linux-at91_4.9.87.bb index f97e568..b6df5b8 100644 --- a/recipes-kernel/linux/linux-at91_4.9.87.bb +++ b/recipes-kernel/linux/linux-at91_4.9.87.bb @@ -19,7 +19,7 @@ RDEPENDS_kernel-modules_remove = "kernel-module-softdog" FILESEXTRAPATHS_prepend := "${THISDIR}/${P}:" KERNEL_EXTRA_ARGS ="LOADADDR=0x20008000" -PR = "r15" +PR = "r16" PKGR_kernel-module-i2c-at91 = "${PR}a${EXTENDPRAUTO}" PKGR_kernel-module-atmel-mci = "${PR}a${EXTENDPRAUTO}" KERNEL_VERSION = "${PV}" -- cgit v1.2.3