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";
32 device_type = "memory";
33 reg = <0x00000000 0x00000000 0x00000000 0x20000000>;
36 reg_usb3_vbus: usb3_vbus@0 {
37 compatible = "regulator-fixed";
38 regulator-name = "usb3-vbus";
39 regulator-min-microvolt = <5000000>;
40 regulator-max-microvolt = <5000000>;
41 shutdown-delay-us = <1000000>;
42 gpio = <&gpiosb 0 GPIO_ACTIVE_HIGH>;
47 eth_phy1: ethernet-phy@1 {
56 phy-type = <PHY_TYPE_SGMII1>;
57 phy-speed = <PHY_SPEED_3_125G>;
61 phy-type = <PHY_TYPE_PEX0>;
62 phy-speed = <PHY_SPEED_2_5G>;
66 phy-type = <PHY_TYPE_USB3_HOST0>;
67 phy-speed = <PHY_SPEED_5G>;
73 pinctrl-names = "default";
74 pinctrl-0 = <&rgmii_pins>, <&smi_pins>;
80 pinctrl-names = "default";
81 pinctrl-0 = <&i2c1_pins>;
91 spi_cs1_pins: spi-cs1-pins {
99 pinctrl-names = "default";
100 pinctrl-0 = <&spi_cs1_pins>;
101 assigned-clocks = <&nb_periph_clk 7>;
102 assigned-clock-parents = <&tbg 1>;
103 assigned-clock-rates = <20000000>;
106 #address-cells = <1>;
108 compatible = "st,s25fl064l", "spi-flash";
110 spi-max-frequency = <20000000>;
116 pinctrl-names = "default";
117 pinctrl-0 = <&uart1_pins>;
126 vbus-supply = <®_usb3_vbus>;
131 pinctrl-names = "default";
132 pinctrl-0 = <&pcie_pins>;
133 reset-gpio = <&gpiosb 3 GPIO_ACTIVE_HIGH>;