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 <dt-bindings/leds/common.h>
7 #include "armada-372x.dtsi"
10 model = "GL.iNet GL-MV1000";
11 compatible = "glinet,gl-mv1000", "marvell,armada3720";
14 led-boot = &led_power;
15 led-failsafe = &led_power;
16 led-running = &led_power;
17 led-upgrade = &led_power;
21 stdout-path = "serial0:115200n8";
25 device_type = "memory";
26 reg = <0x00000000 0x00000000 0x00000000 0x20000000>;
29 vcc_sd_reg1: regulator {
30 compatible = "regulator-gpio";
31 regulator-name = "vcc_sd1";
32 regulator-min-microvolt = <1800000>;
33 regulator-max-microvolt = <3300000>;
43 compatible = "gpio-keys";
47 linux,code = <KEY_RESTART>;
48 gpios = <&gpionb 14 GPIO_ACTIVE_LOW>;
54 gpios = <&gpiosb 22 GPIO_ACTIVE_LOW>;
59 compatible = "gpio-leds";
63 gpios = <&gpionb 11 GPIO_ACTIVE_LOW>;
67 function = LED_FUNCTION_WAN;
68 color = <LED_COLOR_ID_GREEN>;
69 gpios = <&gpionb 12 GPIO_ACTIVE_LOW>;
73 function = LED_FUNCTION_POWER;
74 color = <LED_COLOR_ID_GREEN>;
75 gpios = <&gpionb 13 GPIO_ACTIVE_LOW>;
86 compatible = "jedec,spi-nor";
87 spi-max-frequency = <104000000>;
90 compatible = "fixed-partitions";
101 label = "u-boot-env";
102 reg = <0xf0000 0x8000>;
106 factory: partition@f8000 {
108 reg = <0xf8000 0x8000>;
112 compatible = "fixed-layout";
113 #address-cells = <1>;
116 macaddr_factory_0: macaddr@0 {
120 macaddr_factory_6: macaddr@6 {
127 label = "gl-firmware-dtb";
128 reg = <0x100000 0x10000>;
133 label = "gl-firmware";
134 reg = <0x110000 0xef0000>;
139 label = "gl-firmware-jffs2";
140 reg = <0xef0000 0x110000>;
150 cd-gpios = <&gpionb 17 GPIO_ACTIVE_LOW>;
151 marvell,pad-type = "sd";
153 vqmmc-supply = <&vcc_sd_reg1>;
164 marvell,pad-type = "fixed-1-8v";
182 compatible = "marvell,mv88e6085";
183 #address-cells = <1>;
190 #address-cells = <1>;
201 phy-handle = <&switch0phy0>;
207 phy-handle = <&switch0phy1>;
209 nvmem-cells = <&macaddr_factory_6>;
210 nvmem-cell-names = "mac-address";
216 phy-handle = <&switch0phy2>;
218 nvmem-cells = <&macaddr_factory_6>;
219 nvmem-cell-names = "mac-address";
224 #address-cells = <1>;
227 switch0phy0: switch0phy0@11 {
230 switch0phy1: switch0phy1@12 {
233 switch0phy2: switch0phy2@13 {
241 nvmem-cells = <&macaddr_factory_0>;
242 nvmem-cell-names = "mac-address";
243 phy-mode = "rgmii-id";