brintos

brintos / linux-shallow public Read only

0
0
Text · 694 B · 1b30812 Raw
22 lines · plain
1Synopsys GPIO via CREG (Control REGisters) driver2 3Required properties:4- compatible : "snps,creg-gpio-hsdk" or "snps,creg-gpio-axs10x".5- reg : Exactly one register range with length 0x4.6- #gpio-cells : Since the generic GPIO binding is used, the7  amount of cells must be specified as 2. The first cell is the8  pin number, the second cell is used to specify optional parameters:9  See "gpio-specifier" in .../devicetree/bindings/gpio/gpio.txt.10- gpio-controller : Marks the device node as a GPIO controller.11- ngpios: Number of GPIO pins.12 13Example:14 15gpio: gpio@f00014b0 {16	compatible = "snps,creg-gpio-hsdk";17	reg = <0xf00014b0 0x4>;18	gpio-controller;19	#gpio-cells = <2>;20	ngpios = <2>;21};22