xref: /openbmc/linux/Documentation/devicetree/bindings/gpio/gpio-zevio.txt (revision e5451c8f8330e03ad3cfa16048b4daf961af434f)
1*9af4d80bSFabian VogtZevio GPIO controller
2*9af4d80bSFabian Vogt
3*9af4d80bSFabian VogtRequired properties:
4*9af4d80bSFabian Vogt- compatible: Should be "lsi,zevio-gpio"
5*9af4d80bSFabian Vogt- reg: Address and length of the register set for the device
6*9af4d80bSFabian Vogt- #gpio-cells: Should be two. The first cell is the pin number and the
7*9af4d80bSFabian Vogt  second cell is used to specify optional parameters (currently unused).
8*9af4d80bSFabian Vogt- gpio-controller: Marks the device node as a GPIO controller.
9*9af4d80bSFabian Vogt
10*9af4d80bSFabian VogtExample:
11*9af4d80bSFabian Vogt	gpio: gpio@90000000 {
12*9af4d80bSFabian Vogt		compatible = "lsi,zevio-gpio";
13*9af4d80bSFabian Vogt		reg = <0x90000000 0x1000>;
14*9af4d80bSFabian Vogt		gpio-controller;
15*9af4d80bSFabian Vogt		#gpio-cells = <2>;
16*9af4d80bSFabian Vogt	};
17