Lines Matching +full:gpio +full:- +full:controlled

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>
16 controller), which can either be controlled by software (exporting the 74x164
17 as spi-gpio. See
18 Documentation/devicetree/bindings/gpio/fairchild,74hc595.yaml), or by hardware
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
22 controlled, so the only chance to keep them working is by using this driver.
25 should be controlled by a hardware signal instead of the MODE register value,
29 explained later in brcm,link-signal-sources). Even if a LED is hardware
30 controlled you are still able to make it blink or light it up if it isn't,
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
81 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
100 brcm,activity-signal-sources:
101 $ref: /schemas/types.yaml#/definitions/uint32-array
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 - |
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>;
284 brcm,hardware-controlled;
285 brcm,activity-signal-sources = <1>;
291 brcm,hardware-controlled;
292 brcm,link-signal-sources = <4>;
298 brcm,hardware-controlled;
299 brcm,link-signal-sources = <5>;
305 brcm,hardware-controlled;
306 brcm,link-signal-sources = <6>;
312 brcm,hardware-controlled;
313 brcm,link-signal-sources = <7>;
319 active-low;
321 default-state = "on";
324 - |
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>;
342 brcm,hardware-controlled;
343 brcm,link-signal-sources = <4 5 6 7>;
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>;
372 brcm,hardware-controlled;
373 brcm,link-signal-sources = <7>;
379 brcm,hardware-controlled;
380 brcm,link-signal-sources = <6>;
386 brcm,hardware-controlled;
387 brcm,link-signal-sources = <5>;
393 brcm,hardware-controlled;
394 brcm,link-signal-sources = <4>;
400 active-low;
402 default-state = "on";