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