Lines Matching +full:multi +full:- +full:function

1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
5 * Copyright (C) 2016 Uwe Kleine-König <uwe@kleine-koenig.org>
8 * Schematic available at https://www.turris.cz/doc/_media/rtrom01-schema.pdf
11 /dts-v1/;
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/input/input.h>
15 #include <dt-bindings/leds/common.h>
16 #include "armada-385.dtsi"
20 compatible = "cznic,turris-omnia", "marvell,armada385", "marvell,armada380";
23 stdout-path = &uart0;
44 internal-regs {
56 pinctrl-names = "default";
57 pinctrl-0 = <&sdhci_pins>;
60 bus-width = <8>;
61 no-1-8-v;
62 non-removable;
80 slot-power-limit-milliwatt = <10000>;
86 slot-power-limit-milliwatt = <10000>;
92 slot-power-limit-milliwatt = <10000>;
99 i2c-bus = <&sfp_i2c>;
100 tx-fault-gpios = <&pcawan 0 GPIO_ACTIVE_HIGH>;
101 tx-disable-gpios = <&pcawan 1 GPIO_ACTIVE_HIGH>;
102 rate-select0-gpios = <&pcawan 2 GPIO_ACTIVE_HIGH>;
103 los-gpios = <&pcawan 3 GPIO_ACTIVE_HIGH>;
104 mod-def0-gpios = <&pcawan 4 GPIO_ACTIVE_LOW>;
105 maximum-power-milliwatt = <3000>;
108 * For now this has to be enabled at boot time by U-Boot when
115 gpio-keys {
116 compatible = "gpio-keys";
118 front-button {
121 linux,can-disable;
124 debounce-interval = <0>;
129 compatible = "simple-audio-card";
130 simple-audio-card,name = "SPDIF";
131 simple-audio-card,format = "i2s";
133 simple-audio-card,cpu {
134 sound-dai = <&audio_controller 1>;
137 simple-audio-card,codec {
138 sound-dai = <&spdif_out>;
142 spdif_out: spdif-out {
143 #sound-dai-cells = <0>;
144 compatible = "linux,spdif-dit";
150 pinctrl-0 = <&spdif_pins>;
151 pinctrl-names = "default";
152 spdif-mode;
166 pinctrl-names = "default";
167 pinctrl-0 = <&ge0_rgmii_pins>;
169 phy-mode = "rgmii";
170 buffer-manager = <&bm>;
171 bm,pool-long = <0>;
172 bm,pool-short = <3>;
174 fixed-link {
176 full-duplex;
182 pinctrl-names = "default";
183 pinctrl-0 = <&ge1_rgmii_pins>;
185 phy-mode = "rgmii";
186 buffer-manager = <&bm>;
187 bm,pool-long = <1>;
188 bm,pool-short = <3>;
190 fixed-link {
192 full-duplex;
200 * ethernet-phy@1. The multiplexor switches the signal to SFP cage when
201 * a SFP module is present, as determined by the mode-def0 GPIO.
204 * is present, U-Boot has to enable the sfp node above, remove phy
205 * handle and add managed = "in-band-status" property.
208 phy-mode = "sgmii";
209 phy-handle = <&phy1>;
212 buffer-manager = <&bm>;
213 bm,pool-long = <2>;
214 bm,pool-short = <3>;
219 pinctrl-names = "default";
220 pinctrl-0 = <&i2c0_pins>;
225 #address-cells = <1>;
226 #size-cells = <0>;
230 #address-cells = <1>;
231 #size-cells = <0>;
234 mcu: system-controller@2a {
235 compatible = "cznic,turris-omnia-mcu";
238 pinctrl-names = "default";
239 pinctrl-0 = <&mcu_pins>;
241 interrupt-parent = <&gpio1>;
244 gpio-controller;
245 #gpio-cells = <3>;
247 interrupt-controller;
248 #interrupt-cells = <2>;
251 led-controller@2b {
252 compatible = "cznic,turris-omnia-leds";
254 interrupts-extended = <&mcu 11 IRQ_TYPE_NONE>;
255 #address-cells = <1>;
256 #size-cells = <0>;
264 * - there are 3 LEDs connected via MCU to PCIe
266 * There is no mSATA nor PCIe function.
270 * - there are 2 LEDs dedicated for user: A and
271 * B. Again there is no such function defined.
275 multi-led@0 {
278 function = LED_FUNCTION_INDICATOR;
279 function-enumerator = <2>;
282 multi-led@1 {
285 function = LED_FUNCTION_INDICATOR;
286 function-enumerator = <1>;
289 multi-led@2 {
292 function = LED_FUNCTION_WLAN;
293 function-enumerator = <3>;
296 multi-led@3 {
299 function = LED_FUNCTION_WLAN;
300 function-enumerator = <2>;
303 multi-led@4 {
306 function = LED_FUNCTION_WLAN;
307 function-enumerator = <1>;
310 multi-led@5 {
313 function = LED_FUNCTION_WAN;
316 multi-led@6 {
319 function = LED_FUNCTION_LAN;
320 function-enumerator = <4>;
323 multi-led@7 {
326 function = LED_FUNCTION_LAN;
327 function-enumerator = <3>;
330 multi-led@8 {
333 function = LED_FUNCTION_LAN;
334 function-enumerator = <2>;
337 multi-led@9 {
340 function = LED_FUNCTION_LAN;
341 function-enumerator = <1>;
344 multi-led@a {
347 function = LED_FUNCTION_LAN;
348 function-enumerator = <0>;
351 multi-led@b {
354 function = LED_FUNCTION_POWER;
375 #address-cells = <1>;
376 #size-cells = <0>;
383 #address-cells = <1>;
384 #size-cells = <0>;
391 #address-cells = <1>;
392 #size-cells = <0>;
399 #address-cells = <1>;
400 #size-cells = <0>;
407 #address-cells = <1>;
408 #size-cells = <0>;
411 /* ATSHA204A-MAHDA-T crypto module */
419 #address-cells = <1>;
420 #size-cells = <0>;
427 #address-cells = <1>;
428 #size-cells = <0>;
439 pinctrl-names = "default";
440 pinctrl-0 = <&pcawan_pins>;
442 interrupt-parent = <&gpio1>;
445 gpio-controller;
446 #gpio-cells = <2>;
453 pinctrl-names = "default";
454 pinctrl-0 = <&mdio_pins>;
457 phy1: ethernet-phy@1 {
458 compatible = "ethernet-phy-ieee802.3-c22";
460 marvell,reg-init = <3 18 0 0x4985>,
467 ethernet-switch@10 {
468 pinctrl-names = "default";
469 pinctrl-0 = <&swint_pins>;
475 interrupt-parent = <&gpio1>;
478 ethernet-ports {
479 #address-cells = <1>;
480 #size-cells = <0>;
482 ethernet-port@0 {
487 ethernet-port@1 {
492 ethernet-port@2 {
497 ethernet-port@3 {
502 ethernet-port@4 {
507 ethernet-port@5 {
510 phy-mode = "rgmii-id";
512 fixed-link {
514 full-duplex;
518 ethernet-port@6 {
521 phy-mode = "rgmii-id";
523 fixed-link {
525 full-duplex;
533 mcu_pins: mcu-pins {
535 marvell,function = "gpio";
538 pcawan_pins: pcawan-pins {
540 marvell,function = "gpio";
543 swint_pins: swint-pins {
545 marvell,function = "gpio";
548 spi0cs0_pins: spi0cs0-pins {
550 marvell,function = "spi0";
553 spi0cs2_pins: spi0cs2-pins {
555 marvell,function = "spi0";
560 pinctrl-names = "default";
561 pinctrl-0 = <&spi0_pins &spi0cs0_pins>;
565 compatible = "spansion,s25fl164k", "jedec,spi-nor";
566 #address-cells = <1>;
567 #size-cells = <1>;
569 spi-max-frequency = <40000000>;
572 compatible = "fixed-partitions";
573 #address-cells = <1>;
574 #size-cells = <1>;
578 label = "U-Boot";
593 pinctrl-names = "default";
594 pinctrl-0 = <&uart0_pins>;
600 pinctrl-names = "default";
601 pinctrl-0 = <&uart1_pins>;