diff options
Diffstat (limited to 'recipes-kernel/linux/linux-at91-4.9.87/mtcdt/mt-at91.h')
-rw-r--r-- | recipes-kernel/linux/linux-at91-4.9.87/mtcdt/mt-at91.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-at91-4.9.87/mtcdt/mt-at91.h b/recipes-kernel/linux/linux-at91-4.9.87/mtcdt/mt-at91.h new file mode 100644 index 0000000..36fba62 --- /dev/null +++ b/recipes-kernel/linux/linux-at91-4.9.87/mtcdt/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 |