0001 Cirrus Logic CLPS711X GPIO controller
0002
0003 Required properties:
0004 - compatible: Should be "cirrus,ep7209-gpio"
0005 - reg: Physical base GPIO controller registers location and length.
0006 There should be two registers, first is DATA register, the second
0007 is DIRECTION.
0008 - gpio-controller: Marks the device node as a gpio controller.
0009 - #gpio-cells: Should be two. The first cell is the pin number and
0010 the second cell is used to specify the gpio polarity:
0011 0 = active high
0012 1 = active low
0013
0014 Note: Each GPIO port should have an alias correctly numbered in "aliases"
0015 node.
0016
0017 Example:
0018
0019 aliases {
0020 gpio0 = &porta;
0021 };
0022
0023 porta: gpio@80000000 {
0024 compatible = "cirrus,ep7312-gpio","cirrus,ep7209-gpio";
0025 reg = <0x80000000 0x1>, <0x80000040 0x1>;
0026 gpio-controller;
0027 #gpio-cells = <2>;
0028 };