1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "glinet,gl-mifi", "qca,ar9331";
10 model = "GL.iNet GL-MiFi";
13 label-mac-device = ð0;
17 compatible = "gpio-leds";
21 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
22 linux,default-trigger = "phy0tpt";
27 gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
32 gpios = <&gpio 27 GPIO_ACTIVE_HIGH>;
37 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
42 compatible = "gpio-keys";
46 linux,code = <KEY_RESTART>;
47 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
48 debounce-interval = <60>;
52 reg_usb_vbus: reg_usb_vbus {
53 compatible = "regulator-fixed";
54 regulator-name = "usb_vbus";
55 regulator-min-microvolt = <5000000>;
56 regulator-max-microvolt = <5000000>;
57 gpio = <&gpio 6 GPIO_ACTIVE_LOW>;
61 compatible = "gpio-export";
64 gpio-export,name = "minipcie";
65 gpio-export,output = <0>;
66 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
75 vbus-supply = <®_usb_vbus>;
86 compatible = "jedec,spi-nor";
87 spi-max-frequency = <33000000>;
91 compatible = "fixed-partitions";
97 reg = <0x000000 0x040000>;
102 label = "u-boot-env";
103 reg = <0x040000 0x010000>;
107 compatible = "denx,uimage";
109 reg = <0x050000 0xfa0000>;
112 art: partition@ff0000 {
114 reg = <0xff0000 0x010000>;
124 mtd-mac-address = <&art 0x0>;
129 switch-phy-addr-swap = <0>;
130 switch-phy-swap = <0>;
137 mtd-mac-address = <&art 0x0>;
143 mtd-cal-data = <&art 0x1000>;