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>;
115 cd-gpios = <&gpionb 17 GPIO_ACTIVE_LOW>;
116 marvell,pad-type = "sd";
118 vqmmc-supply = <&vcc_sd_reg1>;
129 marvell,pad-type = "fixed-1-8v";
147 compatible = "marvell,mv88e6085";
148 #address-cells = <1>;
155 #address-cells = <1>;
167 phy-handle = <&switch0phy0>;
173 phy-handle = <&switch0phy1>;
175 nvmem-cells = <&macaddr_factory_6>;
176 nvmem-cell-names = "mac-address";
182 phy-handle = <&switch0phy2>;
184 nvmem-cells = <&macaddr_factory_6>;
185 nvmem-cell-names = "mac-address";
190 #address-cells = <1>;
193 switch0phy0: switch0phy0@11 {
196 switch0phy1: switch0phy1@12 {
199 switch0phy2: switch0phy2@13 {
207 nvmem-cells = <&macaddr_factory_0>;
208 nvmem-cell-names = "mac-address";
209 phy-mode = "rgmii-id";
219 compatible = "nvmem-cells";
220 #address-cells = <1>;
223 macaddr_factory_0: macaddr@0 {
227 macaddr_factory_6: macaddr@6 {