Lines Matching +full:bcm6328 +full:- +full:leds
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#
7 title: LEDs connected to Broadcom BCM6328 controller
10 - Álvaro Fernández Rojas <noltari@gmail.com>
13 This controller is present on BCM6318, BCM6328, BCM6362 and BCM63268.
14 In these SoCs it's possible to control LEDs both as GPIOs or by hardware.
15 However, on some devices there are Serial LEDs (LEDs connected to a 74x164
17 as spi-gpio. See
20 Some of these Serial LEDs are hardware controlled (e.g. ethernet LEDs) and
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
28 registers you have some limited control over rerouting the LEDs (as
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:
45 description: Enables Serial LEDs.
47 brcm,serial-mux:
49 description: Enables Serial LEDs multiplexing.
51 brcm,serial-clk-low:
55 brcm,serial-dat-low:
59 brcm,serial-shift-inv:
61 description: Inverts Serial LEDs shift direction.
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 brcm,hardware-controlled:
85 brcm,link-signal-sources:
86 $ref: /schemas/types.yaml#/definitions/uint32-array
91 signals can get muxed into these LEDs. Only valid for LEDs 0 to 7,
92 where LED signals 0 to 3 may be muxed to LEDs 0 to 3, and signals 4 to
93 7 may be muxed to LEDs 4 to 7. A signal can be muxed to more than one
96 brcm,activity-signal-sources:
97 $ref: /schemas/types.yaml#/definitions/uint32-array
102 hardware signals can get muxed into these LEDs. Only valid for LEDs 0
103 to 7, where LED signals 0 to 3 may be muxed to LEDs 0 to 3, and
104 signals 4 to 7 may be muxed to LEDs 4 to 7. A signal can be muxed to
108 - reg
113 - reg
114 - "#address-cells"
115 - "#size-cells"
120 - |
121 /* BCM6328 with 4 EPHY LEDs */
122 led-controller@10000800 {
123 compatible = "brcm,bcm6328-leds";
124 #address-cells = <1>;
125 #size-cells = <0>;
130 active-low;
136 active-low;
142 active-low;
144 default-state = "on";
149 brcm,hardware-controlled;
154 brcm,hardware-controlled;
159 brcm,hardware-controlled;
164 brcm,hardware-controlled;
167 - |
168 /* BCM63268 with Serial/GPHY0 LEDs */
169 led-controller@10001900 {
170 compatible = "brcm,bcm6328-leds";
171 #address-cells = <1>;
172 #size-cells = <0>;
174 brcm,serial-leds;
175 brcm,serial-dat-low;
176 brcm,serial-shift-inv;
180 brcm,hardware-controlled;
181 brcm,link-signal-sources = <0>;
186 brcm,hardware-controlled;
187 brcm,link-signal-sources = <1>;
192 active-low;
198 active-low;
204 active-low;
210 active-low;
216 active-low;
222 brcm,hardware-controlled;
227 brcm,hardware-controlled;
232 brcm,hardware-controlled;
237 brcm,hardware-controlled;
242 brcm,hardware-controlled;
247 brcm,hardware-controlled;
252 brcm,hardware-controlled;
257 active-low;
259 default-state = "on";
262 - |
264 led-controller@10001900 {
265 compatible = "brcm,bcm6328-leds";
266 #address-cells = <1>;
267 #size-cells = <0>;
272 brcm,hardware-controlled;
273 brcm,link-signal-sources = <0>;
274 brcm,activity-signal-sources = <0>;
280 brcm,hardware-controlled;
281 brcm,activity-signal-sources = <1>;
287 brcm,hardware-controlled;
288 brcm,link-signal-sources = <4>;
294 brcm,hardware-controlled;
295 brcm,link-signal-sources = <5>;
301 brcm,hardware-controlled;
302 brcm,link-signal-sources = <6>;
308 brcm,hardware-controlled;
309 brcm,link-signal-sources = <7>;
315 active-low;
317 default-state = "on";
320 - |
322 led-controller@10001900 {
323 compatible = "brcm,bcm6328-leds";
324 #address-cells = <1>;
325 #size-cells = <0>;
330 brcm,hardware-controlled;
331 brcm,link-signal-sources = <0 1>;
332 brcm,activity-signal-sources = <0 1>;
338 brcm,hardware-controlled;
339 brcm,link-signal-sources = <4 5 6 7>;
345 active-low;
347 default-state = "on";
350 - |
351 /* BCM6362 with EPHY LEDs swapped */
352 led-controller@10001900 {
353 compatible = "brcm,bcm6328-leds";
354 #address-cells = <1>;
355 #size-cells = <0>;
360 brcm,hardware-controlled;
361 brcm,link-signal-sources = <0>;
362 brcm,activity-signal-sources = <0 1>;
368 brcm,hardware-controlled;
369 brcm,link-signal-sources = <7>;
375 brcm,hardware-controlled;
376 brcm,link-signal-sources = <6>;
382 brcm,hardware-controlled;
383 brcm,link-signal-sources = <5>;
389 brcm,hardware-controlled;
390 brcm,link-signal-sources = <4>;
396 active-low;
398 default-state = "on";