1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/gpio/renesa 4 $id: http://devicetree.org/schemas/gpio/renesas,em-gio.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Renesas EMMA Mobile General Purpose I/O 7 title: Renesas EMMA Mobile General Purpose I/O Interface 8 8 9 maintainers: 9 maintainers: 10 - Magnus Damm <magnus.damm@gmail.com> 10 - Magnus Damm <magnus.damm@gmail.com> 11 11 12 properties: 12 properties: 13 compatible: 13 compatible: 14 const: renesas,em-gio 14 const: renesas,em-gio 15 15 16 reg: 16 reg: 17 items: 17 items: 18 - description: First set of contiguous r 18 - description: First set of contiguous registers 19 - description: Second set of contiguous 19 - description: Second set of contiguous registers 20 20 21 interrupts: 21 interrupts: 22 items: 22 items: 23 - description: Interrupt for the first s 23 - description: Interrupt for the first set of 16 GPIO ports 24 - description: Interrupt for the second 24 - description: Interrupt for the second set of 16 GPIO ports 25 25 26 gpio-controller: true 26 gpio-controller: true 27 27 28 '#gpio-cells': 28 '#gpio-cells': 29 const: 2 29 const: 2 30 30 31 gpio-ranges: 31 gpio-ranges: 32 maxItems: 1 32 maxItems: 1 33 33 34 ngpios: 34 ngpios: 35 minimum: 1 35 minimum: 1 36 maximum: 32 36 maximum: 32 37 37 38 interrupt-controller: true 38 interrupt-controller: true 39 39 40 '#interrupt-cells': 40 '#interrupt-cells': 41 const: 2 41 const: 2 42 42 43 required: 43 required: 44 - compatible 44 - compatible 45 - reg 45 - reg 46 - interrupts 46 - interrupts 47 - gpio-controller 47 - gpio-controller 48 - '#gpio-cells' 48 - '#gpio-cells' 49 - gpio-ranges 49 - gpio-ranges 50 - ngpios 50 - ngpios 51 - interrupt-controller 51 - interrupt-controller 52 - '#interrupt-cells' 52 - '#interrupt-cells' 53 53 54 additionalProperties: false 54 additionalProperties: false 55 55 56 examples: 56 examples: 57 - | 57 - | 58 #include <dt-bindings/interrupt-controller 58 #include <dt-bindings/interrupt-controller/arm-gic.h> 59 gpio0: gpio@e0050000 { 59 gpio0: gpio@e0050000 { 60 compatible = "renesas,em-gio"; 60 compatible = "renesas,em-gio"; 61 reg = <0xe0050000 0x2c>, <0xe00500 61 reg = <0xe0050000 0x2c>, <0xe0050040 0x20>; 62 interrupts = <GIC_SPI 67 IRQ_TYPE_ 62 interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>, 63 <GIC_SPI 68 IRQ_TYPE_ 63 <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>; 64 gpio-controller; 64 gpio-controller; 65 #gpio-cells = <2>; 65 #gpio-cells = <2>; 66 gpio-ranges = <&pfc 0 0 32>; 66 gpio-ranges = <&pfc 0 0 32>; 67 ngpios = <32>; 67 ngpios = <32>; 68 interrupt-controller; 68 interrupt-controller; 69 #interrupt-cells = <2>; 69 #interrupt-cells = <2>; 70 }; 70 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.