Path: blob/main/sys/contrib/device-tree/Bindings/gpio/gpio-clps711x.txt
48375 views
Cirrus Logic CLPS711X GPIO controller12Required properties:3- compatible: Should be "cirrus,ep7209-gpio"4- reg: Physical base GPIO controller registers location and length.5There should be two registers, first is DATA register, the second6is DIRECTION.7- gpio-controller: Marks the device node as a gpio controller.8- #gpio-cells: Should be two. The first cell is the pin number and9the second cell is used to specify the gpio polarity:100 = active high111 = active low1213Note: Each GPIO port should have an alias correctly numbered in "aliases"14node.1516Example:1718aliases {19gpio0 = &porta;20};2122porta: gpio@80000000 {23compatible = "cirrus,ep7312-gpio","cirrus,ep7209-gpio";24reg = <0x80000000 0x1>, <0x80000040 0x1>;25gpio-controller;26#gpio-cells = <2>;27};282930