1 Broadcom iProc GPIO/PINCONF Controller
6 Must be "brcm,cygnus-ccm-gpio", "brcm,cygnus-asiu-gpio",
7 "brcm,cygnus-crmu-gpio" or "brcm,iproc-gpio"
10 Define the base and range of the I/O address space that contains SoC
11 GPIO/PINCONF controller registers
14 Total number of in-use slots in GPIO controller
17 Must be two. The first cell is the GPIO pin number (within the
18 controller's pin space) and the second cell is used for the following:
19 bit[0]: polarity (0 for active high and 1 for active low)
22 Specifies that the node is a GPIO controller
29 - interrupt-controller:
30 Specifies that the node is an interrupt controller
33 Specifies the mapping between gpio controller and pin-controllers pins.
34 This requires 4 fields in cells defined as -
35 1. Phandle of pin-controller.
36 2. GPIO base pin offset.
37 3 Pin-control base pin offset.
38 4. number of gpio pins which are linearly mapped from pin base.
40 Supported generic PINCONF properties in child nodes:
43 The list of pins (within the controller's own pin space) that properties
44 in the node apply to. Pin names are "gpio-<pin>"
50 Enable internal pull up resistor
53 Enable internal pull down resistor
56 Valid drive strength values include 2, 4, 6, 8, 10, 12, 14, 16 (mA)
59 gpio_ccm: gpio@1800a000 {
60 compatible = "brcm,cygnus-ccm-gpio";
61 reg = <0x1800a000 0x50>,
66 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
69 touch_pins: touch_pins {
72 drive-strength = <16>;
82 gpio_asiu: gpio@180a5000 {
83 compatible = "brcm,cygnus-asiu-gpio";
84 reg = <0x180a5000 0x668>;
88 interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
90 gpio-ranges = <&pinctrl 0 42 1>,
95 * Touchscreen that uses the CCM GPIO 0 and 1
100 gpio-pwr = <&gpio_ccm 0 0>;
101 gpio-event = <&gpio_ccm 1 0>;
104 /* Bluetooth that uses the ASIU GPIO 5, with polarity inverted */
108 bcm,rfkill-bank-sel = <&gpio_asiu 5 1>