summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-at91-5.4.81/mt-at91.h
diff options
context:
space:
mode:
authorJeff Hatch <jhatch@multitech.com>2021-12-23 08:50:05 -0600
committerJeff Hatch <jhatch@multitech.com>2021-12-23 08:50:05 -0600
commita720bc0ca89e6f0f55b623ca0cfa183db8ac72e5 (patch)
tree22f11df2d3887d486ffb0ede1f9e2475630ee2f7 /recipes-kernel/linux/linux-at91-5.4.81/mt-at91.h
parent42d0f0f998909b66301b04e28b30a6a767216959 (diff)
parent5e0e2a5bdcca315e79e0dab0fbdcfaa2c94ac445 (diff)
downloadmeta-multitech-atmel-a720bc0ca89e6f0f55b623ca0cfa183db8ac72e5.tar.gz
meta-multitech-atmel-a720bc0ca89e6f0f55b623ca0cfa183db8ac72e5.tar.bz2
meta-multitech-atmel-a720bc0ca89e6f0f55b623ca0cfa183db8ac72e5.zip
Merge branch 'ap/MTX-4274' into '6'
mPower R.6.0: Merge all changes from 5.3.6 and 5.3.7 to mPower R.6.0 See merge request !18
Diffstat (limited to 'recipes-kernel/linux/linux-at91-5.4.81/mt-at91.h')
-rw-r--r--recipes-kernel/linux/linux-at91-5.4.81/mt-at91.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-at91-5.4.81/mt-at91.h b/recipes-kernel/linux/linux-at91-5.4.81/mt-at91.h
new file mode 100644
index 0000000..36fba62
--- /dev/null
+++ b/recipes-kernel/linux/linux-at91-5.4.81/mt-at91.h
@@ -0,0 +1,19 @@
+#ifndef _DT_BINDINGS_GPIO_MT_AT91_H
+#define _DT_BINDINGS_GPIO_MT_AT91_H
+/*
+ * Device tree explicit phandles
+ * for overlays. First four are AT91.
+ * Kernel must know about this to
+ * build the device tree. Overlay
+ * recipe needs this to find the
+ * GPIO stanza phandle.
+ */
+
+#define GPIO0_PH 0xffff0000
+#define GPIO1_PH 0xffff0001
+#define GPIO2_PH 0xffff0002
+#define GPIO3_PH 0xffff0003
+#define GPIO4_PCA9557_PH 0xffff0004
+#define GPIO5_PCA9557_PH 0xffff0005
+
+#endif