1b8589e2aSBenoit Coussontwl4030 GPIO controller bindings 2b8589e2aSBenoit Cousson 3b8589e2aSBenoit CoussonRequired properties: 4b8589e2aSBenoit Cousson- compatible: 5b8589e2aSBenoit Cousson - "ti,twl4030-gpio" for twl4030 GPIO controller 6b8589e2aSBenoit Cousson- #gpio-cells : Should be two. 7b8589e2aSBenoit Cousson - first cell is the pin number 8b8589e2aSBenoit Cousson - second cell is used to specify optional parameters (unused) 9b8589e2aSBenoit Cousson- gpio-controller : Marks the device node as a GPIO controller. 10b8589e2aSBenoit Cousson- #interrupt-cells : Should be 2. 11b8589e2aSBenoit Cousson- interrupt-controller: Mark the device node as an interrupt controller 12b8589e2aSBenoit Cousson The first cell is the GPIO number. 13b8589e2aSBenoit Cousson The second cell is not used. 14*f74ce8fbSFlorian Vaussard- ti,use-leds : Enables LEDA and LEDB outputs if set 15*f74ce8fbSFlorian Vaussard- ti,debounce : if n-th bit is set, debounces GPIO-n 16*f74ce8fbSFlorian Vaussard- ti,mmc-cd : if n-th bit is set, GPIO-n controls VMMC(n+1) 17*f74ce8fbSFlorian Vaussard- ti,pullups : if n-th bit is set, set a pullup on GPIO-n 18*f74ce8fbSFlorian Vaussard- ti,pulldowns : if n-th bit is set, set a pulldown on GPIO-n 19b8589e2aSBenoit Cousson 20b8589e2aSBenoit CoussonExample: 21b8589e2aSBenoit Cousson 22b8589e2aSBenoit Coussontwl_gpio: gpio { 23b8589e2aSBenoit Cousson compatible = "ti,twl4030-gpio"; 24b8589e2aSBenoit Cousson #gpio-cells = <2>; 25b8589e2aSBenoit Cousson gpio-controller; 26b8589e2aSBenoit Cousson #interrupt-cells = <2>; 27b8589e2aSBenoit Cousson interrupt-controller; 28*f74ce8fbSFlorian Vaussard ti,use-leds; 29b8589e2aSBenoit Cousson}; 30