1 // SPDX-License-Identifier: GPL-2.0+ or X11
3 * Device Tree file for CZ.NIC Turris Mox Board
4 * 2018 by Marek Behun <marek.behun@nic.cz>
6 * Based on armada-3720-espressobin.dts by:
7 * Gregory CLEMENT <gregory.clement@free-electrons.com>
8 * Konstantin Porotchkin <kostap@marvell.com>
13 #include <dt-bindings/gpio/gpio.h>
14 #include "armada-372x.dtsi"
17 model = "CZ.NIC Turris Mox Board";
18 compatible = "cznic,turris-mox", "marvell,armada3720",
22 stdout-path = "serial0:115200n8";
33 device_type = "memory";
34 reg = <0x00000000 0x00000000 0x00000000 0x20000000>;
37 reg_usb3_vbus: usb3_vbus@0 {
38 compatible = "regulator-fixed";
39 regulator-name = "usb3-vbus";
40 regulator-min-microvolt = <5000000>;
41 regulator-max-microvolt = <5000000>;
42 startup-delay-us = <2000000>;
43 shutdown-delay-us = <1000000>;
44 gpio = <&gpiosb 0 GPIO_ACTIVE_HIGH>;
52 eth_phy1: ethernet-phy@1 {
61 phy-type = <PHY_TYPE_SGMII1>;
62 phy-speed = <PHY_SPEED_3_125G>;
66 phy-type = <PHY_TYPE_PEX0>;
67 phy-speed = <PHY_SPEED_5G>;
71 phy-type = <PHY_TYPE_USB3_HOST0>;
72 phy-speed = <PHY_SPEED_5G>;
78 pinctrl-names = "default";
79 pinctrl-0 = <&rgmii_pins>, <&smi_pins>;
85 pinctrl-names = "default";
86 pinctrl-0 = <&i2c1_pins>;
90 compatible = "microchip,mcp7941x";
101 spi_cs1_pins: spi-cs1-pins {
109 pinctrl-names = "default";
110 pinctrl-0 = <&spi_cs1_pins>;
111 assigned-clocks = <&nb_periph_clk 7>;
112 assigned-clock-parents = <&tbg 1>;
113 assigned-clock-rates = <20000000>;
116 #address-cells = <1>;
118 compatible = "st,s25fl064l", "spi-flash";
120 spi-max-frequency = <20000000>;
125 #address-cells = <1>;
127 compatible = "cznic,moxtet";
129 reset-gpios = <&gpiosb 2 GPIO_ACTIVE_LOW>;
130 spi-max-frequency = <1000000>;
137 pinctrl-names = "default";
138 pinctrl-0 = <&uart1_pins>;
147 vbus-supply = <®_usb3_vbus>;
152 pinctrl-names = "default";
153 pinctrl-0 = <&pcie_pins>;
154 reset-gpio = <&gpiosb 3 GPIO_ACTIVE_HIGH>;