summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2021-10-20 06:41:21 -0500
committerJohn Klug <john.klug@multitech.com>2021-11-15 03:48:31 -0600
commit181afae843809df94f7ebbce56e39542d4a5f8d9 (patch)
treedc6b5642c5eaeb5f6ec1897d9cece73c8e120a96
parent34d0bb84b9463da5cf1be073509f865c6b5d305d (diff)
downloadmeta-multitech-atmel-181afae843809df94f7ebbce56e39542d4a5f8d9.tar.gz
meta-multitech-atmel-181afae843809df94f7ebbce56e39542d4a5f8d9.tar.bz2
meta-multitech-atmel-181afae843809df94f7ebbce56e39542d4a5f8d9.zip
Add new GPIO expander
-rw-r--r--recipes-kernel/linux/linux-at91-4.9.87/mtcdt/linux-4.9-mtcdt-device-tree.patch16
1 files 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";