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 <dt-bindings/input/input.h>
15 #include <dt-bindings/leds/common.h>
16 #include "armada-372x.dtsi"
19 model = "CZ.NIC Turris Mox Board";
20 compatible = "cznic,turris-mox", "marvell,armada3720",
24 stdout-path = "serial0:115200n8";
35 device_type = "memory";
36 reg = <0x00000000 0x00000000 0x00000000 0x20000000>;
40 compatible = "gpio-leds";
43 gpios = <&gpiosb 21 GPIO_ACTIVE_LOW>;
44 color = <LED_COLOR_ID_RED>;
45 function = LED_FUNCTION_ACTIVITY;
50 compatible = "gpio-keys";
53 compatible = "gpio-keys";
55 linux,code = <KEY_RESTART>;
56 gpios = <&gpiosb 20 GPIO_ACTIVE_LOW>;
57 debounce-interval = <60>;
61 reg_usb3_vbus: usb3_vbus@0 {
62 compatible = "regulator-fixed";
63 regulator-name = "usb3-vbus";
64 regulator-min-microvolt = <5000000>;
65 regulator-max-microvolt = <5000000>;
66 startup-delay-us = <2000000>;
67 shutdown-delay-us = <1000000>;
68 gpio = <&gpiosb 0 GPIO_ACTIVE_HIGH>;
74 compatible = "regulator-gpio";
75 regulator-name = "vsdc";
76 regulator-min-microvolt = <1800000>;
77 regulator-max-microvolt = <3300000>;
80 gpios = <&gpiosb 23 GPIO_ACTIVE_HIGH>;
91 eth_phy1: ethernet-phy@1 {
99 pinctrl-names = "default";
100 pinctrl-0 = <&rgmii_pins>, <&smi_pins>;
106 phy-mode = "2500base-x";
111 pinctrl-names = "default";
112 pinctrl-0 = <&i2c1_pins>;
114 #address-cells = <1>;
118 compatible = "microchip,mcp7941x";
126 cd-gpios = <&gpionb 10 GPIO_ACTIVE_HIGH>;
127 vqmmc-supply = <&vsdc_reg>;
128 marvell,pad-type = "sd";
133 spi_cs1_pins: spi-cs1-pins {
141 pinctrl-names = "default";
142 pinctrl-0 = <&spi_cs1_pins>;
143 assigned-clocks = <&nb_periph_clk 7>;
144 assigned-clock-parents = <&tbg 1>;
145 assigned-clock-rates = <20000000>;
148 #address-cells = <1>;
150 compatible = "st,s25fl064l", "jedec,spi-nor";
152 spi-max-frequency = <20000000>;
156 compatible = "fixed-partitions";
157 #address-cells = <1>;
161 label = "secure-firmware";
166 label = "a53-firmware";
167 reg = <0x20000 0x160000>;
171 label = "u-boot-env";
172 reg = <0x180000 0x10000>;
176 label = "Rescue system";
177 reg = <0x190000 0x660000>;
182 reg = <0x7f0000 0x10000>;
188 #address-cells = <1>;
190 compatible = "cznic,moxtet";
192 reset-gpios = <&gpiosb 2 GPIO_ACTIVE_LOW>;
193 spi-max-frequency = <1000000>;
200 pinctrl-names = "default";
201 pinctrl-0 = <&uart1_pins>;
210 vbus-supply = <®_usb3_vbus>;
216 pinctrl-names = "default";
217 pinctrl-0 = <&pcie_pins>;
218 reset-gpios = <&gpiosb 3 GPIO_ACTIVE_LOW>;