Lines Matching +full:board +full:- +full:related

1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Device Tree file for CZ.NIC Turris Mox Board
7 /dts-v1/;
9 #include <dt-bindings/bus/moxtet.h>
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/input.h>
12 #include "armada-372x.dtsi"
15 model = "CZ.NIC Turris Mox Board";
16 compatible = "cznic,turris-mox", "marvell,armada3720",
28 stdout-path = "serial0:115200n8";
37 compatible = "gpio-leds";
41 linux,default-trigger = "default-on";
45 gpio-keys {
46 compatible = "gpio-keys";
48 key-reset {
52 debounce-interval = <60>;
56 exp_usb3_vbus: usb3-vbus {
57 compatible = "regulator-fixed";
58 regulator-name = "usb3-vbus";
59 regulator-min-microvolt = <5000000>;
60 regulator-max-microvolt = <5000000>;
61 enable-active-high;
62 regulator-always-on;
66 vsdc_reg: vsdc-reg {
67 compatible = "regulator-gpio";
68 regulator-name = "vsdc";
69 regulator-min-microvolt = <1800000>;
70 regulator-max-microvolt = <3300000>;
71 regulator-boot-on;
74 gpios-states = <0>;
77 enable-active-high;
80 vsdio_reg: vsdio-reg {
81 compatible = "regulator-gpio";
82 regulator-name = "vsdio";
83 regulator-min-microvolt = <1800000>;
84 regulator-max-microvolt = <3300000>;
85 regulator-boot-on;
88 gpios-states = <0>;
91 enable-active-high;
94 sdhci1_pwrseq: sdhci1-pwrseq {
95 compatible = "mmc-pwrseq-simple";
96 reset-gpios = <&gpionb 19 GPIO_ACTIVE_HIGH>;
102 i2c-bus = <&i2c0>;
103 los-gpios = <&moxtet_sfp 0 GPIO_ACTIVE_HIGH>;
104 tx-fault-gpios = <&moxtet_sfp 1 GPIO_ACTIVE_HIGH>;
105 mod-def0-gpios = <&moxtet_sfp 2 GPIO_ACTIVE_LOW>;
106 tx-disable-gpios = <&moxtet_sfp 4 GPIO_ACTIVE_HIGH>;
107 rate-select0-gpios = <&moxtet_sfp 5 GPIO_ACTIVE_HIGH>;
108 maximum-power-milliwatt = <3000>;
110 /* enabled by U-Boot if SFP module is present */
115 armada-3700-rwtm {
116 compatible = "marvell,armada-3700-rwtm-firmware", "cznic,turris-mox-rwtm";
122 pinctrl-names = "default";
123 pinctrl-0 = <&i2c1_pins>;
124 clock-frequency = <100000>;
125 /delete-property/ mrvl,i2c-fast-mode;
128 /* MCP7940MT-I/MNY RTC */
132 interrupt-parent = <&gpiosb>;
138 pinctrl-names = "default";
139 pinctrl-0 = <&pcie_reset_pins &pcie_clkreq_pins>;
141 reset-gpios = <&gpiosb 3 GPIO_ACTIVE_LOW>;
142 slot-power-limit-milliwatt = <10000>;
144 * U-Boot port for Turris Mox has a bug which always expects that "ranges" DT property
149 * conditions are not met then U-Boot crashes during loading kernel DTB file. PCIe address
152 * This bug is not present in U-Boot ports for other Armada 3700 devices and is fixed in
153 * U-Boot version 2021.07. See relevant U-Boot commits (the last one contains fix):
154 * https://source.denx.de/u-boot/u-boot/-/commit/cb2ddb291ee6fcbddd6d8f4ff49089dfe580f5d7
155 * https://source.denx.de/u-boot/u-boot/-/commit/c64ac3b3185aeb3846297ad7391fc6df8ecd73bf
156 * https://source.denx.de/u-boot/u-boot/-/commit/4a82fca8e330157081fc132a591ebd99ba02ee33
157 * Bug related to requirement of same child and parent addresses for first range is fixed
158 * in U-Boot version 2022.04 by following commit:
159 * https://source.denx.de/u-boot/u-boot/-/commit/1fd54253bca7d43d046bba4853fe5fafd034bc17
161 #address-cells = <3>;
162 #size-cells = <2>;
166 /* enabled by U-Boot if PCIe module is present */
175 pinctrl-names = "default";
176 pinctrl-0 = <&rgmii_pins>;
177 phy-mode = "rgmii-id";
178 phy-handle = <&phy1>;
183 phy-mode = "2500base-x";
184 managed = "in-band-status";
189 wp-inverted;
190 bus-width = <4>;
191 cd-gpios = <&gpionb 10 GPIO_ACTIVE_HIGH>;
192 vqmmc-supply = <&vsdc_reg>;
193 marvell,pad-type = "sd";
198 pinctrl-names = "default";
199 pinctrl-0 = <&sdio_pins>;
200 non-removable;
201 bus-width = <4>;
202 marvell,pad-type = "sd";
203 vqmmc-supply = <&vsdio_reg>;
204 mmc-pwrseq = <&sdhci1_pwrseq>;
206 sdhci-caps-mask = <0x2 0x0>;
212 pinctrl-names = "default";
213 pinctrl-0 = <&spi_quad_pins &spi_cs1_pins>;
214 assigned-clocks = <&nb_periph_clk 7>;
215 assigned-clock-parents = <&tbg 1>;
216 assigned-clock-rates = <20000000>;
219 #address-cells = <1>;
220 #size-cells = <1>;
221 compatible = "jedec,spi-nor";
223 spi-max-frequency = <20000000>;
226 compatible = "fixed-partitions";
227 #address-cells = <1>;
228 #size-cells = <1>;
231 label = "secure-firmware";
236 label = "a53-firmware";
241 label = "u-boot-env";
258 #address-cells = <1>;
259 #size-cells = <0>;
262 reset-gpios = <&gpiosb 2 GPIO_ACTIVE_LOW>;
263 spi-max-frequency = <10000000>;
264 spi-cpol;
265 spi-cpha;
266 interrupt-controller;
267 #interrupt-cells = <1>;
268 interrupt-parent = <&gpiosb>;
273 compatible = "cznic,moxtet-gpio";
274 gpio-controller;
275 #gpio-cells = <2>;
288 compatible = "usb-a-connector";
289 phy-supply = <&exp_usb3_vbus>;
299 pinctrl-names = "default";
300 pinctrl-0 = <&smi_pins>;
303 phy1: ethernet-phy@1 {
308 * NOTE: switch nodes are enabled by U-Boot if modules are present
310 * conventions! Deployed U-Boot binaries are explicitly looking for
315 compatible = "marvell,turris-mox-mv88e6190", "marvell,mv88e6190";
318 interrupt-parent = <&moxtet>;
323 #address-cells = <1>;
324 #size-cells = <0>;
326 switch0phy1: ethernet-phy@1 {
330 switch0phy2: ethernet-phy@2 {
334 switch0phy3: ethernet-phy@3 {
338 switch0phy4: ethernet-phy@4 {
342 switch0phy5: ethernet-phy@5 {
346 switch0phy6: ethernet-phy@6 {
350 switch0phy7: ethernet-phy@7 {
354 switch0phy8: ethernet-phy@8 {
360 #address-cells = <1>;
361 #size-cells = <0>;
366 phy-handle = <&switch0phy1>;
372 phy-handle = <&switch0phy2>;
378 phy-handle = <&switch0phy3>;
384 phy-handle = <&switch0phy4>;
390 phy-handle = <&switch0phy5>;
396 phy-handle = <&switch0phy6>;
402 phy-handle = <&switch0phy7>;
408 phy-handle = <&switch0phy8>;
415 phy-mode = "2500base-x";
416 managed = "in-band-status";
422 phy-mode = "2500base-x";
423 managed = "in-band-status";
428 port-sfp@a {
432 phy-mode = "sgmii";
433 managed = "in-band-status";
441 compatible = "marvell,turris-mox-mv88e6085", "marvell,mv88e6085";
444 interrupt-parent = <&moxtet>;
449 #address-cells = <1>;
450 #size-cells = <0>;
452 switch0phy1_topaz: ethernet-phy@11 {
456 switch0phy2_topaz: ethernet-phy@12 {
460 switch0phy3_topaz: ethernet-phy@13 {
464 switch0phy4_topaz: ethernet-phy@14 {
470 #address-cells = <1>;
471 #size-cells = <0>;
476 phy-handle = <&switch0phy1_topaz>;
482 phy-handle = <&switch0phy2_topaz>;
488 phy-handle = <&switch0phy3_topaz>;
494 phy-handle = <&switch0phy4_topaz>;
500 phy-mode = "2500base-x";
501 managed = "in-band-status";
509 compatible = "marvell,turris-mox-mv88e6190", "marvell,mv88e6190";
512 interrupt-parent = <&moxtet>;
517 #address-cells = <1>;
518 #size-cells = <0>;
520 switch1phy1: ethernet-phy@1 {
524 switch1phy2: ethernet-phy@2 {
528 switch1phy3: ethernet-phy@3 {
532 switch1phy4: ethernet-phy@4 {
536 switch1phy5: ethernet-phy@5 {
540 switch1phy6: ethernet-phy@6 {
544 switch1phy7: ethernet-phy@7 {
548 switch1phy8: ethernet-phy@8 {
554 #address-cells = <1>;
555 #size-cells = <0>;
560 phy-handle = <&switch1phy1>;
566 phy-handle = <&switch1phy2>;
572 phy-handle = <&switch1phy3>;
578 phy-handle = <&switch1phy4>;
584 phy-handle = <&switch1phy5>;
590 phy-handle = <&switch1phy6>;
596 phy-handle = <&switch1phy7>;
602 phy-handle = <&switch1phy8>;
608 phy-mode = "2500base-x";
609 managed = "in-band-status";
616 phy-mode = "2500base-x";
617 managed = "in-band-status";
622 port-sfp@a {
626 phy-mode = "sgmii";
627 managed = "in-band-status";
635 compatible = "marvell,turris-mox-mv88e6085", "marvell,mv88e6085";
638 interrupt-parent = <&moxtet>;
643 #address-cells = <1>;
644 #size-cells = <0>;
646 switch1phy1_topaz: ethernet-phy@11 {
650 switch1phy2_topaz: ethernet-phy@12 {
654 switch1phy3_topaz: ethernet-phy@13 {
658 switch1phy4_topaz: ethernet-phy@14 {
664 #address-cells = <1>;
665 #size-cells = <0>;
670 phy-handle = <&switch1phy1_topaz>;
676 phy-handle = <&switch1phy2_topaz>;
682 phy-handle = <&switch1phy3_topaz>;
688 phy-handle = <&switch1phy4_topaz>;
694 phy-mode = "2500base-x";
695 managed = "in-band-status";
703 compatible = "marvell,turris-mox-mv88e6190", "marvell,mv88e6190";
706 interrupt-parent = <&moxtet>;
711 #address-cells = <1>;
712 #size-cells = <0>;
714 switch2phy1: ethernet-phy@1 {
718 switch2phy2: ethernet-phy@2 {
722 switch2phy3: ethernet-phy@3 {
726 switch2phy4: ethernet-phy@4 {
730 switch2phy5: ethernet-phy@5 {
734 switch2phy6: ethernet-phy@6 {
738 switch2phy7: ethernet-phy@7 {
742 switch2phy8: ethernet-phy@8 {
748 #address-cells = <1>;
749 #size-cells = <0>;
754 phy-handle = <&switch2phy1>;
760 phy-handle = <&switch2phy2>;
766 phy-handle = <&switch2phy3>;
772 phy-handle = <&switch2phy4>;
778 phy-handle = <&switch2phy5>;
784 phy-handle = <&switch2phy6>;
790 phy-handle = <&switch2phy7>;
796 phy-handle = <&switch2phy8>;
802 phy-mode = "2500base-x";
803 managed = "in-band-status";
807 port-sfp@a {
811 phy-mode = "sgmii";
812 managed = "in-band-status";
820 compatible = "marvell,turris-mox-mv88e6085", "marvell,mv88e6085";
823 interrupt-parent = <&moxtet>;
828 #address-cells = <1>;
829 #size-cells = <0>;
831 switch2phy1_topaz: ethernet-phy@11 {
835 switch2phy2_topaz: ethernet-phy@12 {
839 switch2phy3_topaz: ethernet-phy@13 {
843 switch2phy4_topaz: ethernet-phy@14 {
849 #address-cells = <1>;
850 #size-cells = <0>;
855 phy-handle = <&switch2phy1_topaz>;
861 phy-handle = <&switch2phy2_topaz>;
867 phy-handle = <&switch2phy3_topaz>;
873 phy-handle = <&switch2phy4_topaz>;
879 phy-mode = "2500base-x";
880 managed = "in-band-status";