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>;
50 compatible = "regulator-gpio";
51 regulator-name = "vsdc";
52 regulator-min-microvolt = <1800000>;
53 regulator-max-microvolt = <3300000>;
56 gpios = <&gpiosb 23 GPIO_ACTIVE_HIGH>;
67 eth_phy1: ethernet-phy@1 {
76 phy-type = <PHY_TYPE_SGMII1>;
77 phy-speed = <PHY_SPEED_3_125G>;
81 phy-type = <PHY_TYPE_PEX0>;
82 phy-speed = <PHY_SPEED_5G>;
86 phy-type = <PHY_TYPE_USB3_HOST0>;
87 phy-speed = <PHY_SPEED_5G>;
93 pinctrl-names = "default";
94 pinctrl-0 = <&rgmii_pins>, <&smi_pins>;
100 pinctrl-names = "default";
101 pinctrl-0 = <&i2c1_pins>;
105 compatible = "microchip,mcp7941x";
113 cd-gpios = <&gpionb 10 GPIO_ACTIVE_HIGH>;
114 vqmmc-supply = <&vsdc_reg>;
115 marvell,pad-type = "sd";
120 spi_cs1_pins: spi-cs1-pins {
128 pinctrl-names = "default";
129 pinctrl-0 = <&spi_cs1_pins>;
130 assigned-clocks = <&nb_periph_clk 7>;
131 assigned-clock-parents = <&tbg 1>;
132 assigned-clock-rates = <20000000>;
135 #address-cells = <1>;
137 compatible = "st,s25fl064l", "jedec,spi-nor";
139 spi-max-frequency = <20000000>;
144 #address-cells = <1>;
146 compatible = "cznic,moxtet";
148 reset-gpios = <&gpiosb 2 GPIO_ACTIVE_LOW>;
149 spi-max-frequency = <1000000>;
156 pinctrl-names = "default";
157 pinctrl-0 = <&uart1_pins>;
166 vbus-supply = <®_usb3_vbus>;
171 pinctrl-names = "default";
172 pinctrl-0 = <&pcie_pins>;
173 reset-gpio = <&gpiosb 3 GPIO_ACTIVE_HIGH>;