Lines Matching +full:tx +full:- +full:fault +full:- +full:gpios

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;
38 internal-regs {
50 pinctrl-names = "default";
51 pinctrl-0 = <&sdhci_pins>;
54 bus-width = <8>;
55 no-1-8-v;
56 non-removable;
74 slot-power-limit-milliwatt = <10000>;
80 slot-power-limit-milliwatt = <10000>;
86 slot-power-limit-milliwatt = <10000>;
93 i2c-bus = <&sfp_i2c>;
94 tx-fault-gpios = <&pcawan 0 GPIO_ACTIVE_HIGH>;
95 tx-disable-gpios = <&pcawan 1 GPIO_ACTIVE_HIGH>;
96 rate-select0-gpios = <&pcawan 2 GPIO_ACTIVE_HIGH>;
97 los-gpios = <&pcawan 3 GPIO_ACTIVE_HIGH>;
98 mod-def0-gpios = <&pcawan 4 GPIO_ACTIVE_LOW>;
99 maximum-power-milliwatt = <3000>;
102 * For now this has to be enabled at boot time by U-Boot when
110 compatible = "simple-audio-card";
111 simple-audio-card,name = "SPDIF";
112 simple-audio-card,format = "i2s";
114 simple-audio-card,cpu {
115 sound-dai = <&audio_controller 1>;
118 simple-audio-card,codec {
119 sound-dai = <&spdif_out>;
123 spdif_out: spdif-out {
124 #sound-dai-cells = <0>;
125 compatible = "linux,spdif-dit";
131 pinctrl-0 = <&spdif_pins>;
132 pinctrl-names = "default";
133 spdif-mode;
147 pinctrl-names = "default";
148 pinctrl-0 = <&ge0_rgmii_pins>;
150 phy-mode = "rgmii";
151 buffer-manager = <&bm>;
152 bm,pool-long = <0>;
153 bm,pool-short = <3>;
155 fixed-link {
157 full-duplex;
163 pinctrl-names = "default";
164 pinctrl-0 = <&ge1_rgmii_pins>;
166 phy-mode = "rgmii";
167 buffer-manager = <&bm>;
168 bm,pool-long = <1>;
169 bm,pool-short = <3>;
171 fixed-link {
173 full-duplex;
181 * ethernet-phy@1. The multiplexor switches the signal to SFP cage when
182 * a SFP module is present, as determined by the mode-def0 GPIO.
185 * is present, U-Boot has to enable the sfp node above, remove phy
186 * handle and add managed = "in-band-status" property.
189 phy-mode = "sgmii";
190 phy-handle = <&phy1>;
193 buffer-manager = <&bm>;
194 bm,pool-long = <2>;
195 bm,pool-short = <3>;
200 pinctrl-names = "default";
201 pinctrl-0 = <&i2c0_pins>;
206 #address-cells = <1>;
207 #size-cells = <0>;
211 #address-cells = <1>;
212 #size-cells = <0>;
217 led-controller@2b {
218 compatible = "cznic,turris-omnia-leds";
220 #address-cells = <1>;
221 #size-cells = <0>;
229 * - there are 3 LEDs connected via MCU to PCIe
235 * - there are 2 LEDs dedicated for user: A and
240 multi-led@0 {
244 function-enumerator = <2>;
247 multi-led@1 {
251 function-enumerator = <1>;
254 multi-led@2 {
258 function-enumerator = <3>;
261 multi-led@3 {
265 function-enumerator = <2>;
268 multi-led@4 {
272 function-enumerator = <1>;
275 multi-led@5 {
281 multi-led@6 {
285 function-enumerator = <4>;
288 multi-led@7 {
292 function-enumerator = <3>;
295 multi-led@8 {
299 function-enumerator = <2>;
302 multi-led@9 {
306 function-enumerator = <1>;
309 multi-led@a {
313 function-enumerator = <0>;
316 multi-led@b {
340 #address-cells = <1>;
341 #size-cells = <0>;
348 #address-cells = <1>;
349 #size-cells = <0>;
356 #address-cells = <1>;
357 #size-cells = <0>;
364 #address-cells = <1>;
365 #size-cells = <0>;
372 #address-cells = <1>;
373 #size-cells = <0>;
376 /* ATSHA204A-MAHDA-T crypto module */
384 #address-cells = <1>;
385 #size-cells = <0>;
392 #address-cells = <1>;
393 #size-cells = <0>;
404 pinctrl-names = "default";
405 pinctrl-0 = <&pcawan_pins>;
407 interrupt-parent = <&gpio1>;
410 gpio-controller;
411 #gpio-cells = <2>;
418 pinctrl-names = "default";
419 pinctrl-0 = <&mdio_pins>;
422 phy1: ethernet-phy@1 {
423 compatible = "ethernet-phy-ieee802.3-c22";
425 marvell,reg-init = <3 18 0 0x4985>,
433 pinctrl-names = "default";
434 pinctrl-0 = <&swint_pins>;
436 #address-cells = <1>;
437 #size-cells = <0>;
442 interrupt-parent = <&gpio1>;
446 #address-cells = <1>;
447 #size-cells = <0>;
478 phy-mode = "rgmii-id";
480 fixed-link {
482 full-duplex;
492 pcawan_pins: pcawan-pins {
497 swint_pins: swint-pins {
502 spi0cs0_pins: spi0cs0-pins {
507 spi0cs2_pins: spi0cs2-pins {
514 pinctrl-names = "default";
515 pinctrl-0 = <&spi0_pins &spi0cs0_pins>;
519 compatible = "spansion,s25fl164k", "jedec,spi-nor";
520 #address-cells = <1>;
521 #size-cells = <1>;
523 spi-max-frequency = <40000000>;
526 compatible = "fixed-partitions";
527 #address-cells = <1>;
528 #size-cells = <1>;
532 label = "U-Boot";
547 pinctrl-names = "default";
548 pinctrl-0 = <&uart0_pins>;
554 pinctrl-names = "default";
555 pinctrl-0 = <&uart1_pins>;