WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / gpio / gpio-lp3943.txt
blob80fcb7d70e13d1d35c3157ac99e72db3d6f9fb70
1 TI/National Semiconductor LP3943 GPIO controller
3 Required properties:
4   - compatible: "ti,lp3943-gpio"
5   - gpio-controller: Marks the device node as a GPIO controller.
6   - #gpio-cells: Should be 2. See gpio.txt in this directory for a
7                  description of the cells format.
9 Example:
10 Simple LED controls with LP3943 GPIO controller
12 &i2c4 {
13         lp3943@60 {
14                 compatible = "ti,lp3943";
15                 reg = <0x60>;
17                 gpioex: gpio {
18                         compatible = "ti,lp3943-gpio";
19                         gpio-controller;
20                         #gpio-cells = <2>;
21                 };
22         };
25 leds {
26         compatible = "gpio-leds";
27         indicator1 {
28                 label = "indi1";
29                 gpios = <&gpioex 9 GPIO_ACTIVE_LOW>;
30         };
32         indicator2 {
33                 label = "indi2";
34                 gpios = <&gpioex 10 GPIO_ACTIVE_LOW>;
35                 default-state = "off";
36         };