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";
14 label-mac-device = ð0;
18 compatible = "gpio-leds";
22 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
23 linux,default-trigger = "phy0tpt";
28 gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
33 gpios = <&gpio 27 GPIO_ACTIVE_HIGH>;
38 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
43 compatible = "gpio-keys";
47 linux,code = <KEY_RESTART>;
48 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
49 debounce-interval = <60>;
53 reg_usb_vbus: reg_usb_vbus {
54 compatible = "regulator-fixed";
55 regulator-name = "usb_vbus";
56 regulator-min-microvolt = <5000000>;
57 regulator-max-microvolt = <5000000>;
58 gpio = <&gpio 6 GPIO_ACTIVE_LOW>;
62 compatible = "gpio-export";
65 gpio-export,name = "minipcie";
66 gpio-export,output = <0>;
67 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
80 vbus-supply = <®_usb_vbus>;
90 num-chipselects = <1>;
93 compatible = "jedec,spi-nor";
94 spi-max-frequency = <33000000>;
98 compatible = "fixed-partitions";
104 reg = <0x000000 0x040000>;
109 label = "u-boot-env";
110 reg = <0x040000 0x010000>;
114 compatible = "denx,uimage";
116 reg = <0x050000 0xfa0000>;
119 art: partition@ff0000 {
121 reg = <0xff0000 0x010000>;
131 mtd-mac-address = <&art 0x0>;
136 switch-phy-addr-swap = <0>;
137 switch-phy-swap = <0>;
144 mtd-mac-address = <&art 0x0>;
150 mtd-cal-data = <&art 0x1000>;