Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

gpio: add bindings for TS-4800 gpio controller

Device tree binding documentation for the TS-4800
GPIO controller.

Signed-off-by: Julien Grossholtz <julien.grossholtz@savoirfairelinux.com>
[Point ngpios to gpio.txt]
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

authored by

Julien Grossholtz and committed by
Linus Walleij
9cd56ab8 ccdbddfe

+20
+20
Documentation/devicetree/bindings/gpio/gpio-ts4800.txt
··· 1 + * TS-4800 FPGA's GPIO controller bindings 2 + 3 + Required properties: 4 + - compatible: Must be "technologic,ts4800-gpio". 5 + - #gpio-cells: Should be two. The first cell is the pin number. 6 + - reg: Physical base address of the controller and length 7 + of memory mapped region. 8 + 9 + Optional property: 10 + - ngpios: See "gpio.txt" 11 + 12 + Example: 13 + 14 + gpio1: gpio { 15 + compatible = "technologic,ts4800-gpio"; 16 + reg = <0x10020 0x6>; 17 + ngpios = <8>; 18 + gpio-controller; 19 + #gpio-cells = <2>; 20 + };