summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-at91-5.4.243/mt-at91.h
blob: 36fba62cf2b0e61016817106ed97fa8b2e262a42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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