mmc: fsl_esdhc: drop controller initialization in fsl_esdhc_init()
[oweals/u-boot.git] / doc / device-tree-bindings / leds / leds-bcm6858.txt
1 LEDs connected to Broadcom BCM6858 controller
2
3 This controller is present on BCM6858, BCM6328, BCM6362 and BCM63268.
4 In these SoCs it's possible to control LEDs both as GPIOs or by hardware.
5
6 Required properties:
7   - compatible : should be "brcm,bcm6858-leds".
8   - #address-cells : must be 1.
9   - #size-cells : must be 0.
10   - reg : BCM6858 LED controller address and size.
11
12 Optional properties:
13   - brcm,serial-led-msb-first : Boolean, msb data come out first on serial data pin
14     Default : false
15   - brcm,serial-led-en-pol : Boolean, serial led polarity (true => active high)
16     Default : false
17   - brcm,serial-led-clk-pol : Boolean, serial clock polarity (true => active high)
18     Default : false
19   - brcm,serial-led-data-ppol : Boolean, serial data polarity (true => active high)
20     Default : false
21   - brcm,serial-shift-inv : Boolean, led test mode
22     Default : false
23
24 Each LED is represented as a sub-node of the brcm,bcm6858-leds device.
25
26 LED sub-node required properties:
27   - reg : LED pin number (only LEDs 0 to 32 are valid).
28
29 LED sub-node optional properties:
30   - label : see Documentation/devicetree/bindings/leds/common.txt
31   - active-low : Boolean, makes LED active low.
32     Default : false
33
34 Examples:
35 BCM6328 with 2 GPIO LEDs
36         leds0: led-controller@ff800800 {
37                 compatible = "brcm,bcm6858-leds";
38                 #address-cells = <1>;
39                 #size-cells = <0>;
40                 reg = <0x0 0xff800800 0x0 0xe4>;
41
42                 led@2 {
43                         reg = <2>;
44                         label = "green:inet";
45                 };
46
47                 led@5 {
48                         reg = <5>;
49                         label = "red:alarm";
50                 };
51         };