From 181afae843809df94f7ebbce56e39542d4a5f8d9 Mon Sep 17 00:00:00 2001 From: John Klug Date: Wed, 20 Oct 2021 06:41:21 -0500 Subject: Add new GPIO expander --- .../mtcdt/linux-4.9-mtcdt-device-tree.patch | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 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 4da2559..f551ff0 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 -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 @@ ++++ new/arch/arm/boot/dts/mtcdt.dts 2021-10-20 06:26:38.745904725 -0500 +@@ -0,0 +1,304 @@ +/* + * DTS file for Multi-Tech Systems MTCDT Hardware + */ @@ -268,6 +268,18 @@ diff -Naru orig/arch/arm/boot/dts/mtcdt.dts new/arch/arm/boot/dts/mtcdt.dts + /* tempsensor_alert line running to pin PC19 on processor + set up an interrupt for this? */ + }; ++ pca9557@18 { ++ compatible = "nxp,pca9557"; ++ reg = <0x18>; ++ gpio-controller; ++ #gpio-cells = <2>; ++ }; ++ pca9557@19 { ++ compatible = "nxp,pca9557"; ++ reg = <0x19>; ++ gpio-controller; ++ #gpio-cells = <2>; ++ }; + }; + i2c-gpio-1 { + status = "okay"; -- cgit v1.2.3