1*5def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2*5def4c47SEmmanuel Vadot%YAML 1.2 3*5def4c47SEmmanuel Vadot--- 4*5def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/gpio/toshiba,gpio-visconti.yaml# 5*5def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*5def4c47SEmmanuel Vadot 7*5def4c47SEmmanuel Vadottitle: Toshiba Visconti ARM SoCs GPIO controller 8*5def4c47SEmmanuel Vadot 9*5def4c47SEmmanuel Vadotmaintainers: 10*5def4c47SEmmanuel Vadot - Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp> 11*5def4c47SEmmanuel Vadot 12*5def4c47SEmmanuel Vadotproperties: 13*5def4c47SEmmanuel Vadot compatible: 14*5def4c47SEmmanuel Vadot items: 15*5def4c47SEmmanuel Vadot - const: toshiba,gpio-tmpv7708 16*5def4c47SEmmanuel Vadot 17*5def4c47SEmmanuel Vadot reg: 18*5def4c47SEmmanuel Vadot maxItems: 1 19*5def4c47SEmmanuel Vadot 20*5def4c47SEmmanuel Vadot "#gpio-cells": 21*5def4c47SEmmanuel Vadot const: 2 22*5def4c47SEmmanuel Vadot 23*5def4c47SEmmanuel Vadot gpio-ranges: true 24*5def4c47SEmmanuel Vadot 25*5def4c47SEmmanuel Vadot gpio-controller: true 26*5def4c47SEmmanuel Vadot 27*5def4c47SEmmanuel Vadot interrupt-controller: true 28*5def4c47SEmmanuel Vadot 29*5def4c47SEmmanuel Vadot "#interrupt-cells": 30*5def4c47SEmmanuel Vadot const: 2 31*5def4c47SEmmanuel Vadot 32*5def4c47SEmmanuel Vadot interrupts: 33*5def4c47SEmmanuel Vadot description: 34*5def4c47SEmmanuel Vadot interrupt mapping one per GPIO. 35*5def4c47SEmmanuel Vadot minItems: 16 36*5def4c47SEmmanuel Vadot maxItems: 16 37*5def4c47SEmmanuel Vadot 38*5def4c47SEmmanuel Vadotrequired: 39*5def4c47SEmmanuel Vadot - compatible 40*5def4c47SEmmanuel Vadot - reg 41*5def4c47SEmmanuel Vadot - "#gpio-cells" 42*5def4c47SEmmanuel Vadot - gpio-ranges 43*5def4c47SEmmanuel Vadot - gpio-controller 44*5def4c47SEmmanuel Vadot - interrupt-controller 45*5def4c47SEmmanuel Vadot - "#interrupt-cells" 46*5def4c47SEmmanuel Vadot 47*5def4c47SEmmanuel VadotadditionalProperties: false 48*5def4c47SEmmanuel Vadot 49*5def4c47SEmmanuel Vadotexamples: 50*5def4c47SEmmanuel Vadot - | 51*5def4c47SEmmanuel Vadot #include <dt-bindings/interrupt-controller/irq.h> 52*5def4c47SEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 53*5def4c47SEmmanuel Vadot 54*5def4c47SEmmanuel Vadot soc { 55*5def4c47SEmmanuel Vadot #address-cells = <2>; 56*5def4c47SEmmanuel Vadot #size-cells = <2>; 57*5def4c47SEmmanuel Vadot 58*5def4c47SEmmanuel Vadot gpio: gpio@28020000 { 59*5def4c47SEmmanuel Vadot compatible = "toshiba,gpio-tmpv7708"; 60*5def4c47SEmmanuel Vadot reg = <0 0x28020000 0 0x1000>; 61*5def4c47SEmmanuel Vadot #gpio-cells = <0x2>; 62*5def4c47SEmmanuel Vadot gpio-ranges = <&pmux 0 0 32>; 63*5def4c47SEmmanuel Vadot gpio-controller; 64*5def4c47SEmmanuel Vadot interrupt-controller; 65*5def4c47SEmmanuel Vadot #interrupt-cells = <2>; 66*5def4c47SEmmanuel Vadot interrupt-parent = <&gic>; 67*5def4c47SEmmanuel Vadot }; 68*5def4c47SEmmanuel Vadot }; 69*5def4c47SEmmanuel Vadot... 70