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>;
91 compatible = "jedec,spi-nor";
92 spi-max-frequency = <33000000>;
96 compatible = "fixed-partitions";
102 reg = <0x000000 0x040000>;
107 label = "u-boot-env";
108 reg = <0x040000 0x010000>;
112 compatible = "denx,uimage";
114 reg = <0x050000 0xfa0000>;
117 art: partition@ff0000 {
119 reg = <0xff0000 0x010000>;
129 mtd-mac-address = <&art 0x0>;
134 switch-phy-addr-swap = <0>;
135 switch-phy-swap = <0>;
142 mtd-mac-address = <&art 0x0>;
148 mtd-cal-data = <&art 0x1000>;