Lines Matching +full:pcie2 +full:- +full:phy

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 {
46 /* USB part of the PCIe2/USB 2.0 port */
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
116 compatible = "simple-audio-card";
117 simple-audio-card,name = "SPDIF";
118 simple-audio-card,format = "i2s";
120 simple-audio-card,cpu {
121 sound-dai = <&audio_controller 1>;
124 simple-audio-card,codec {
125 sound-dai = <&spdif_out>;
129 spdif_out: spdif-out {
130 #sound-dai-cells = <0>;
131 compatible = "linux,spdif-dit";
137 pinctrl-0 = <&spdif_pins>;
138 pinctrl-names = "default";
139 spdif-mode;
153 pinctrl-names = "default";
154 pinctrl-0 = <&ge0_rgmii_pins>;
156 phy-mode = "rgmii";
157 buffer-manager = <&bm>;
158 bm,pool-long = <0>;
159 bm,pool-short = <3>;
161 fixed-link {
163 full-duplex;
169 pinctrl-names = "default";
170 pinctrl-0 = <&ge1_rgmii_pins>;
172 phy-mode = "rgmii";
173 buffer-manager = <&bm>;
174 bm,pool-long = <1>;
175 bm,pool-short = <3>;
177 fixed-link {
179 full-duplex;
187 * ethernet-phy@1. The multiplexor switches the signal to SFP cage when
188 * a SFP module is present, as determined by the mode-def0 GPIO.
191 * is present, U-Boot has to enable the sfp node above, remove phy
192 * handle and add managed = "in-band-status" property.
195 phy-mode = "sgmii";
196 phy-handle = <&phy1>;
199 buffer-manager = <&bm>;
200 bm,pool-long = <2>;
201 bm,pool-short = <3>;
206 pinctrl-names = "default";
207 pinctrl-0 = <&i2c0_pins>;
212 #address-cells = <1>;
213 #size-cells = <0>;
217 #address-cells = <1>;
218 #size-cells = <0>;
223 led-controller@2b {
224 compatible = "cznic,turris-omnia-leds";
226 #address-cells = <1>;
227 #size-cells = <0>;
235 * - there are 3 LEDs connected via MCU to PCIe
241 * - there are 2 LEDs dedicated for user: A and
246 multi-led@0 {
250 function-enumerator = <2>;
253 multi-led@1 {
257 function-enumerator = <1>;
260 multi-led@2 {
264 function-enumerator = <3>;
267 multi-led@3 {
271 function-enumerator = <2>;
274 multi-led@4 {
278 function-enumerator = <1>;
281 multi-led@5 {
287 multi-led@6 {
291 function-enumerator = <4>;
294 multi-led@7 {
298 function-enumerator = <3>;
301 multi-led@8 {
305 function-enumerator = <2>;
308 multi-led@9 {
312 function-enumerator = <1>;
315 multi-led@a {
319 function-enumerator = <0>;
322 multi-led@b {
346 #address-cells = <1>;
347 #size-cells = <0>;
354 #address-cells = <1>;
355 #size-cells = <0>;
362 #address-cells = <1>;
363 #size-cells = <0>;
366 /* routed to PCIe2 connector (CN62A) */
370 #address-cells = <1>;
371 #size-cells = <0>;
378 #address-cells = <1>;
379 #size-cells = <0>;
382 /* ATSHA204A-MAHDA-T crypto module */
390 #address-cells = <1>;
391 #size-cells = <0>;
398 #address-cells = <1>;
399 #size-cells = <0>;
405 * and phy irq
410 pinctrl-names = "default";
411 pinctrl-0 = <&pcawan_pins>;
413 interrupt-parent = <&gpio1>;
416 gpio-controller;
417 #gpio-cells = <2>;
424 pinctrl-names = "default";
425 pinctrl-0 = <&mdio_pins>;
428 phy1: ethernet-phy@1 {
429 compatible = "ethernet-phy-ieee802.3-c22";
431 marvell,reg-init = <3 18 0 0x4985>,
438 ethernet-switch@10 {
439 pinctrl-names = "default";
440 pinctrl-0 = <&swint_pins>;
446 interrupt-parent = <&gpio1>;
449 ethernet-ports {
450 #address-cells = <1>;
451 #size-cells = <0>;
453 ethernet-port@0 {
458 ethernet-port@1 {
463 ethernet-port@2 {
468 ethernet-port@3 {
473 ethernet-port@4 {
478 ethernet-port@5 {
481 phy-mode = "rgmii-id";
483 fixed-link {
485 full-duplex;
489 ethernet-port@6 {
492 phy-mode = "rgmii-id";
494 fixed-link {
496 full-duplex;
504 pcawan_pins: pcawan-pins {
509 swint_pins: swint-pins {
514 spi0cs0_pins: spi0cs0-pins {
519 spi0cs2_pins: spi0cs2-pins {
526 pinctrl-names = "default";
527 pinctrl-0 = <&spi0_pins &spi0cs0_pins>;
531 compatible = "spansion,s25fl164k", "jedec,spi-nor";
532 #address-cells = <1>;
533 #size-cells = <1>;
535 spi-max-frequency = <40000000>;
538 compatible = "fixed-partitions";
539 #address-cells = <1>;
540 #size-cells = <1>;
544 label = "U-Boot";
559 pinctrl-names = "default";
560 pinctrl-0 = <&uart0_pins>;
566 pinctrl-names = "default";
567 pinctrl-0 = <&uart1_pins>;