1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6 #include "armada-372x.dtsi"
9 model = "GL.iNet GL-MV1000";
10 compatible = "glinet,gl-mv1000", "marvell,armada3720";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 stdout-path = "serial0:115200n8";
24 device_type = "memory";
25 reg = <0x00000000 0x00000000 0x00000000 0x20000000>;
28 vcc_sd_reg1: regulator {
29 compatible = "regulator-gpio";
30 regulator-name = "vcc_sd1";
31 regulator-min-microvolt = <1800000>;
32 regulator-max-microvolt = <3300000>;
42 compatible = "gpio-keys";
46 linux,code = <KEY_RESTART>;
47 gpios = <&gpionb 14 GPIO_ACTIVE_LOW>;
53 gpios = <&gpiosb 22 GPIO_ACTIVE_LOW>;
58 compatible = "gpio-leds";
62 gpios = <&gpionb 11 GPIO_ACTIVE_LOW>;
67 gpios = <&gpionb 12 GPIO_ACTIVE_LOW>;
71 label = "green:power";
72 gpios = <&gpionb 13 GPIO_ACTIVE_LOW>;
83 compatible = "jedec,spi-nor";
84 spi-max-frequency = <104000000>;
87 compatible = "fixed-partitions";
98 reg = <0xf0000 0x8000>;
101 factory: partition@f8000 {
103 reg = <0xf8000 0x8000>;
109 reg = <0x100000 0x10000>;
115 reg = <0x110000 0x1000000>;
124 cd-gpios = <&gpionb 17 GPIO_ACTIVE_LOW>;
125 marvell,pad-type = "sd";
127 vqmmc-supply = <&vcc_sd_reg1>;
138 marvell,pad-type = "fixed-1-8v";
156 compatible = "marvell,mv88e6085";
157 #address-cells = <1>;
164 #address-cells = <1>;
176 phy-handle = <&switch0phy0>;
182 phy-handle = <&switch0phy1>;
184 nvmem-cells = <&macaddr_factory_6>;
185 nvmem-cell-names = "mac-address";
191 phy-handle = <&switch0phy2>;
193 nvmem-cells = <&macaddr_factory_6>;
194 nvmem-cell-names = "mac-address";
199 #address-cells = <1>;
202 switch0phy0: switch0phy0@11 {
205 switch0phy1: switch0phy1@12 {
208 switch0phy2: switch0phy2@13 {
216 nvmem-cells = <&macaddr_factory_0>;
217 nvmem-cell-names = "mac-address";
218 phy-mode = "rgmii-id";
228 compatible = "nvmem-cells";
229 #address-cells = <1>;
232 macaddr_factory_0: macaddr@0 {
236 macaddr_factory_6: macaddr@6 {