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>
10 compatible = "glinet,gl-mifi", "qca,ar9331";
11 model = "GL.iNet GL-MiFi";
15 label-mac-device = ð0;
19 compatible = "gpio-leds";
22 label = "gl-mifi:green:wlan";
23 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
24 linux,default-trigger = "phy0tpt";
28 label = "gl-mifi:green:lan";
29 gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
33 label = "gl-mifi:green:wan";
34 gpios = <&gpio 27 GPIO_ACTIVE_HIGH>;
38 label = "gl-mifi:green:3g4g";
39 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
44 compatible = "gpio-keys";
48 linux,code = <KEY_RESTART>;
49 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
50 debounce-interval = <60>;
54 reg_usb_vbus: reg_usb_vbus {
55 compatible = "regulator-fixed";
56 regulator-name = "usb_vbus";
57 regulator-min-microvolt = <5000000>;
58 regulator-max-microvolt = <5000000>;
59 gpio = <&gpio 6 GPIO_ACTIVE_LOW>;
63 compatible = "gpio-export";
66 gpio-export,name = "minipcie";
67 gpio-export,output = <0>;
68 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
81 vbus-supply = <®_usb_vbus>;
91 num-chipselects = <1>;
94 compatible = "jedec,spi-nor";
95 spi-max-frequency = <33000000>;
99 compatible = "fixed-partitions";
100 #address-cells = <1>;
105 reg = <0x000000 0x040000>;
110 label = "u-boot-env";
111 reg = <0x040000 0x010000>;
115 compatible = "denx,uimage";
117 reg = <0x050000 0xfa0000>;
120 art: partition@ff0000 {
122 reg = <0xff0000 0x010000>;
132 mtd-mac-address = <&art 0x0>;
137 switch-phy-addr-swap = <0>;
138 switch-phy-swap = <0>;
145 mtd-mac-address = <&art 0x0>;
151 mtd-cal-data = <&art 0x1000>;