xref: /freebsd-src/sys/contrib/device-tree/Bindings/gpio/gpio-zevio.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotZevio GPIO controller
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible: Should be "lsi,zevio-gpio"
5*c66ec88fSEmmanuel Vadot- reg: Address and length of the register set for the device
6*c66ec88fSEmmanuel Vadot- #gpio-cells: Should be two. The first cell is the pin number and the
7*c66ec88fSEmmanuel Vadot  second cell is used to specify optional parameters (currently unused).
8*c66ec88fSEmmanuel Vadot- gpio-controller: Marks the device node as a GPIO controller.
9*c66ec88fSEmmanuel Vadot
10*c66ec88fSEmmanuel VadotExample:
11*c66ec88fSEmmanuel Vadot	gpio: gpio@90000000 {
12*c66ec88fSEmmanuel Vadot		compatible = "lsi,zevio-gpio";
13*c66ec88fSEmmanuel Vadot		reg = <0x90000000 0x1000>;
14*c66ec88fSEmmanuel Vadot		gpio-controller;
15*c66ec88fSEmmanuel Vadot		#gpio-cells = <2>;
16*c66ec88fSEmmanuel Vadot	};
17