1* Renesas R-Car GPIO Controller 2 3Required Properties: 4 5 - compatible: should be one of the following. 6 - "renesas,gpio-r8a7778": for R8A7778 (R-Mobile M1) compatible GPIO controller. 7 - "renesas,gpio-r8a7779": for R8A7779 (R-Car H1) compatible GPIO controller. 8 - "renesas,gpio-r8a7790": for R8A7790 (R-Car H2) compatible GPIO controller. 9 - "renesas,gpio-rcar": for generic R-Car GPIO controller. 10 11 - reg: Base address and length of each memory resource used by the GPIO 12 controller hardware module. 13 14 - interrupt-parent: phandle of the parent interrupt controller. 15 - interrupts: Interrupt specifier for the controllers interrupt. 16 17 - gpio-controller: Marks the device node as a gpio controller. 18 - #gpio-cells: Should be 2. The first cell is the GPIO number and the second 19 cell specifies GPIO flags, as defined in <dt-bindings/gpio/gpio.h>. Only the 20 GPIO_ACTIVE_HIGH and GPIO_ACTIVE_LOW flags are supported. 21 - gpio-ranges: Range of pins managed by the GPIO controller. 22 23Please refer to gpio.txt in this directory for details of gpio-ranges property 24and the common GPIO bindings used by client devices. 25 26Example: R8A7779 (R-Car H1) GPIO controller nodes 27 28 gpio0: gpio@ffc40000 { 29 compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; 30 reg = <0xffc40000 0x2c>; 31 interrupt-parent = <&gic>; 32 interrupts = <0 141 0x4>; 33 #gpio-cells = <2>; 34 gpio-controller; 35 gpio-ranges = <&pfc 0 0 32>; 36 }; 37 ... 38 gpio6: gpio@ffc46000 { 39 compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; 40 reg = <0xffc46000 0x2c>; 41 interrupt-parent = <&gic>; 42 interrupts = <0 147 0x4>; 43 #gpio-cells = <2>; 44 gpio-controller; 45 gpio-ranges = <&pfc 0 192 9>; 46 }; 47