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";
99 reg = <0xf0000 0x8000>;
103 factory: partition@f8000 {
105 reg = <0xf8000 0x8000>;
110 label = "gl-firmware-dtb";
111 reg = <0x100000 0x10000>;
116 label = "gl-firmware";
117 reg = <0x110000 0xef0000>;
122 label = "gl-firmware-jffs2";
123 reg = <0xef0000 0x110000>;
133 cd-gpios = <&gpionb 17 GPIO_ACTIVE_LOW>;
134 marvell,pad-type = "sd";
136 vqmmc-supply = <&vcc_sd_reg1>;
147 marvell,pad-type = "fixed-1-8v";
165 compatible = "marvell,mv88e6085";
166 #address-cells = <1>;
173 #address-cells = <1>;
184 phy-handle = <&switch0phy0>;
190 phy-handle = <&switch0phy1>;
192 nvmem-cells = <&macaddr_factory_6>;
193 nvmem-cell-names = "mac-address";
199 phy-handle = <&switch0phy2>;
201 nvmem-cells = <&macaddr_factory_6>;
202 nvmem-cell-names = "mac-address";
207 #address-cells = <1>;
210 switch0phy0: switch0phy0@11 {
213 switch0phy1: switch0phy1@12 {
216 switch0phy2: switch0phy2@13 {
224 nvmem-cells = <&macaddr_factory_0>;
225 nvmem-cell-names = "mac-address";
226 phy-mode = "rgmii-id";
236 compatible = "nvmem-cells";
237 #address-cells = <1>;
240 macaddr_factory_0: macaddr@0 {
244 macaddr_factory_6: macaddr@6 {