Back to home page

OSCL-LXR

 
 

    


0001 * TS-4800 FPGA's GPIO controller bindings
0002 
0003 Required properties:
0004 - compatible: Must be "technologic,ts4800-gpio".
0005 - #gpio-cells: Should be two. The first cell is the pin number.
0006 - reg: Physical base address of the controller and length
0007        of memory mapped region.
0008 
0009 Optional property:
0010 - ngpios: See "gpio.txt"
0011 
0012 Example:
0013 
0014 gpio1: gpio {
0015         compatible = "technologic,ts4800-gpio";
0016         reg = <0x10020 0x6>;
0017         ngpios = <8>;
0018         gpio-controller;
0019         #gpio-cells = <2>;
0020 };