1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/gpio/gpio-mvebu.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Marvell EBU GPIO controller
17 - marvell,armada-8k-gpio
22 - marvell,mv78200-gpio
23 - marvell,armada-370-gpio
24 - const: marvell,orion-gpio
26 - description: Deprecated binding
28 - const: marvell,armadaxp-gpio
29 - const: marvell,orion-gpio
34 Address and length of the register set for the device. Not used for
35 marvell,armada-8k-gpio.
37 A second entry can be provided, for the PWM function using the GPIO Blink
38 Counter on/off registers.
49 $ref: /schemas/types.yaml#/definitions/uint32
50 description: Offset in the register map for the gpio registers (in bytes)
54 The list of interrupts that are used for all the pins managed by this
55 GPIO bank. There can be more than one interrupt (example: 1 interrupt
56 per 8 pins on Armada XP, which means 4 interrupts per bank of 32
61 interrupt-controller: true
76 $ref: /schemas/types.yaml#/definitions/uint32
77 description: Offset in the register map for the pwm registers (in bytes)
81 The first cell is the GPIO line number. The second cell is the period
87 Clock(s) used for PWM function.
89 - description: Core clock
90 - description: AXI bus clock
110 const: marvell,armada-8k-gpio
118 unevaluatedProperties: true
123 compatible = "marvell,armadaxp-gpio", "marvell,orion-gpio";
124 reg = <0xd0018100 0x40>, <0xd0018800 0x30>;
128 interrupt-controller;
129 #interrupt-cells = <2>;
130 interrupts = <16>, <17>, <18>, <19>;
135 compatible = "marvell,armada-370-gpio", "marvell,orion-gpio";
136 reg = <0x18140 0x40>, <0x181c8 0x08>;
137 reg-names = "gpio", "pwm";
142 interrupt-controller;
143 #interrupt-cells = <2>;
144 interrupts = <87>, <88>, <89>;
145 clocks = <&coreclk 0>;