xref: /linux/Documentation/devicetree/bindings/leds/leds-cr0014114.txt (revision bfd5bb6f90af092aa345b15cd78143956a13c2a8)
1Crane Merchandising System - cr0014114 LED driver
2-------------------------------------------------
3
4This LED Board is widely used in vending machines produced
5by Crane Merchandising Systems.
6
7Required properties:
8- compatible: "crane,cr0014114"
9
10Property rules described in Documentation/devicetree/bindings/spi/spi-bus.txt
11apply. In particular, "reg" and "spi-max-frequency" properties must be given.
12
13LED sub-node properties:
14- label :
15	see Documentation/devicetree/bindings/leds/common.txt
16- linux,default-trigger : (optional)
17	see Documentation/devicetree/bindings/leds/common.txt
18
19Example
20-------
21
22led-controller@0 {
23	compatible = "crane,cr0014114";
24	reg = <0>;
25	spi-max-frequency = <50000>;
26	#address-cells = <1>;
27	#size-cells = <0>;
28
29	led@0 {
30		reg = <0>;
31		label = "red:coin";
32	};
33	led@1 {
34		reg = <1>;
35		label = "green:coin";
36	};
37	led@2 {
38		reg = <2>;
39		label = "blue:coin";
40	};
41	led@3 {
42		reg = <3>;
43		label = "red:bill";
44	};
45	led@4 {
46		reg = <4>;
47		label = "green:bill";
48	};
49	led@5 {
50		reg = <5>;
51		label = "blue:bill";
52	};
53	...
54};
55