| .. | .. |
|---|
| 5 | 5 | |
|---|
| 6 | 6 | Required properties: |
|---|
| 7 | 7 | - compatible: "brcm,bcm2835-gpio" |
|---|
| 8 | +- compatible: should be one of: |
|---|
| 9 | + "brcm,bcm2835-gpio" - BCM2835 compatible pinctrl |
|---|
| 10 | + "brcm,bcm7211-gpio" - BCM7211 compatible pinctrl |
|---|
| 11 | + "brcm,bcm2711-gpio" - BCM2711 compatible pinctrl |
|---|
| 12 | + "brcm,bcm7211-gpio" - BCM7211 compatible pinctrl |
|---|
| 8 | 13 | - reg: Should contain the physical address of the GPIO module's registers. |
|---|
| 9 | 14 | - gpio-controller: Marks the device node as a GPIO controller. |
|---|
| 10 | 15 | - #gpio-cells : Should be two. The first cell is the pin number and the |
|---|
| 11 | 16 | second cell is used to specify optional parameters: |
|---|
| 12 | 17 | - bit 0 specifies polarity (0 for normal, 1 for inverted) |
|---|
| 13 | 18 | - interrupts : The interrupt outputs from the controller. One interrupt per |
|---|
| 14 | | - individual bank followed by the "all banks" interrupt. |
|---|
| 19 | + individual bank followed by the "all banks" interrupt. For BCM7211, an |
|---|
| 20 | + additional set of per-bank interrupt line and an "all banks" wake-up |
|---|
| 21 | + interrupt may be specified. |
|---|
| 15 | 22 | - interrupt-controller: Marks the device node as an interrupt controller. |
|---|
| 16 | 23 | - #interrupt-cells : Should be 2. |
|---|
| 17 | 24 | The first cell is the GPIO number. |
|---|