Lines Matching +full:led +full:- +full:sources
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/leds/leds-bcm6328.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Álvaro Fernández Rojas <noltari@gmail.com>
17 as spi-gpio. See
21 exporting the 74x164 as spi-gpio prevents those LEDs to be hardware
24 BCM6328 LED controller has a HWDIS register, which controls whether a LED
27 is usually 1:1 for hardware to LED signals, but through the activity/link
29 explained later in brcm,link-signal-sources). Even if a LED is hardware
32 reason, hardware controlled LEDs aren't registered as LED class devices.
34 Each LED is represented as a sub-node of the brcm,bcm6328-leds device.
38 const: brcm,bcm6328-leds
43 brcm,serial-leds:
47 brcm,serial-mux:
51 brcm,serial-clk-low:
55 brcm,serial-dat-low:
59 brcm,serial-shift-inv:
63 "#address-cells":
66 "#size-cells":
70 "@[a-f0-9]+$":
78 - maximum: 23
79 description: LED pin number (only LEDs 0 to 23 are valid).
81 active-low:
83 description: Makes LED active low.
85 brcm,hardware-controlled:
87 description: Makes this LED hardware controlled.
89 brcm,link-signal-sources:
90 $ref: /schemas/types.yaml#/definitions/uint32-array
94 An array of hardware link signal sources. Up to four link hardware
96 where LED signals 0 to 3 may be muxed to LEDs 0 to 3, and signals 4 to
98 LED, and one LED can have more than one source signal.
100 brcm,activity-signal-sources:
101 $ref: /schemas/types.yaml#/definitions/uint32-array
105 An array of hardware activity signal sources. Up to four activity
107 to 7, where LED signals 0 to 3 may be muxed to LEDs 0 to 3, and
109 more than one LED, and one LED can have more than one source signal.
112 - reg
117 - reg
118 - "#address-cells"
119 - "#size-cells"
124 - |
126 led-controller@10000800 {
127 compatible = "brcm,bcm6328-leds";
128 #address-cells = <1>;
129 #size-cells = <0>;
134 active-low;
140 active-low;
146 active-low;
148 default-state = "on";
153 brcm,hardware-controlled;
158 brcm,hardware-controlled;
163 brcm,hardware-controlled;
168 brcm,hardware-controlled;
171 - |
173 led-controller@10001900 {
174 compatible = "brcm,bcm6328-leds";
175 #address-cells = <1>;
176 #size-cells = <0>;
178 brcm,serial-leds;
179 brcm,serial-dat-low;
180 brcm,serial-shift-inv;
184 brcm,hardware-controlled;
185 brcm,link-signal-sources = <0>;
190 brcm,hardware-controlled;
191 brcm,link-signal-sources = <1>;
196 active-low;
202 active-low;
208 active-low;
214 active-low;
220 active-low;
226 brcm,hardware-controlled;
231 brcm,hardware-controlled;
236 brcm,hardware-controlled;
241 brcm,hardware-controlled;
246 brcm,hardware-controlled;
251 brcm,hardware-controlled;
256 brcm,hardware-controlled;
261 active-low;
263 default-state = "on";
266 - |
267 /* BCM6362 with 1 LED for each EPHY */
268 led-controller@10001900 {
269 compatible = "brcm,bcm6328-leds";
270 #address-cells = <1>;
271 #size-cells = <0>;
276 brcm,hardware-controlled;
277 brcm,link-signal-sources = <0>;
278 brcm,activity-signal-sources = <0>;
279 /* USB link/activity routed to USB LED */
284 brcm,hardware-controlled;
285 brcm,activity-signal-sources = <1>;
286 /* INET activity routed to INET LED */
291 brcm,hardware-controlled;
292 brcm,link-signal-sources = <4>;
293 /* EPHY0 link routed to EPHY0 LED */
298 brcm,hardware-controlled;
299 brcm,link-signal-sources = <5>;
300 /* EPHY1 link routed to EPHY1 LED */
305 brcm,hardware-controlled;
306 brcm,link-signal-sources = <6>;
307 /* EPHY2 link routed to EPHY2 LED */
312 brcm,hardware-controlled;
313 brcm,link-signal-sources = <7>;
314 /* EPHY3 link routed to EPHY3 LED */
319 active-low;
321 default-state = "on";
324 - |
325 /* BCM6362 with 1 LED for all EPHYs */
326 led-controller@10001900 {
327 compatible = "brcm,bcm6328-leds";
328 #address-cells = <1>;
329 #size-cells = <0>;
334 brcm,hardware-controlled;
335 brcm,link-signal-sources = <0 1>;
336 brcm,activity-signal-sources = <0 1>;
337 /* USB/INET link/activity routed to USB LED */
342 brcm,hardware-controlled;
343 brcm,link-signal-sources = <4 5 6 7>;
344 /* EPHY0/1/2/3 link routed to EPHY0 LED */
349 active-low;
351 default-state = "on";
354 - |
356 led-controller@10001900 {
357 compatible = "brcm,bcm6328-leds";
358 #address-cells = <1>;
359 #size-cells = <0>;
364 brcm,hardware-controlled;
365 brcm,link-signal-sources = <0>;
366 brcm,activity-signal-sources = <0 1>;
367 /* USB link/act and INET act routed to USB LED */
372 brcm,hardware-controlled;
373 brcm,link-signal-sources = <7>;
374 /* EPHY3 link routed to EPHY0 LED */
379 brcm,hardware-controlled;
380 brcm,link-signal-sources = <6>;
381 /* EPHY2 link routed to EPHY1 LED */
386 brcm,hardware-controlled;
387 brcm,link-signal-sources = <5>;
388 /* EPHY1 link routed to EPHY2 LED */
393 brcm,hardware-controlled;
394 brcm,link-signal-sources = <4>;
395 /* EPHY0 link routed to EPHY3 LED */
400 active-low;
402 default-state = "on";