11b5bda21SFeng KanAPM X-Gene SoC GPIO controller bindings
21b5bda21SFeng Kan
31b5bda21SFeng KanThis is a gpio controller that is part of the flash controller.
41b5bda21SFeng KanThis gpio controller controls a total of 48 gpios.
51b5bda21SFeng Kan
61b5bda21SFeng KanRequired properties:
71b5bda21SFeng Kan- compatible: "apm,xgene-gpio" for X-Gene GPIO controller
81b5bda21SFeng Kan- reg: Physical base address and size of the controller's registers
91b5bda21SFeng Kan- #gpio-cells: Should be two.
101b5bda21SFeng Kan	- first cell is the pin number
111b5bda21SFeng Kan	- second cell is used to specify the gpio polarity:
121b5bda21SFeng Kan		0 = active high
131b5bda21SFeng Kan		1 = active low
141b5bda21SFeng Kan- gpio-controller: Marks the device node as a GPIO controller.
151b5bda21SFeng Kan
161b5bda21SFeng KanExample:
171b5bda21SFeng Kan	gpio0: gpio0@1701c000 {
181b5bda21SFeng Kan		compatible = "apm,xgene-gpio";
191b5bda21SFeng Kan		reg = <0x0 0x1701c000 0x0 0x40>;
201b5bda21SFeng Kan		gpio-controller;
211b5bda21SFeng Kan		#gpio-cells = <2>;
221b5bda21SFeng Kan	};
23