1 * TS-4800 FPGA's GPIO controller bindings 1 * TS-4800 FPGA's GPIO controller bindings 2 2 3 Required properties: 3 Required properties: 4 - compatible: Must be "technologic,ts4800-gpio 4 - compatible: Must be "technologic,ts4800-gpio". 5 - #gpio-cells: Should be two. The first cell i 5 - #gpio-cells: Should be two. The first cell is the pin number. 6 - reg: Physical base address of the controller 6 - reg: Physical base address of the controller and length 7 of memory mapped region. 7 of memory mapped region. 8 8 9 Optional property: 9 Optional property: 10 - ngpios: See "gpio.txt" 10 - ngpios: See "gpio.txt" 11 11 12 Example: 12 Example: 13 13 14 gpio1: gpio { 14 gpio1: gpio { 15 compatible = "technologic,ts4800-gpio" 15 compatible = "technologic,ts4800-gpio"; 16 reg = <0x10020 0x6>; 16 reg = <0x10020 0x6>; 17 ngpios = <8>; 17 ngpios = <8>; 18 gpio-controller; 18 gpio-controller; 19 #gpio-cells = <2>; 19 #gpio-cells = <2>; 20 }; 20 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.