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>
7 #include <dt-bindings/leds/common.h>
10 compatible = "glinet,gl-usb150", "qca,ar9331";
11 model = "GL.iNet GL-USB150";
14 led-boot = &led_power;
15 led-failsafe = &led_power;
16 led-running = &led_power;
17 led-upgrade = &led_power;
18 label-mac-device = ð0;
22 compatible = "gpio-leds";
25 function = LED_FUNCTION_WLAN;
26 color = <LED_COLOR_ID_GREEN>;
27 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
28 linux,default-trigger = "phy0tpt";
32 function = LED_FUNCTION_POWER;
33 color = <LED_COLOR_ID_GREEN>;
34 gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
40 compatible = "gpio-keys";
44 linux,code = <KEY_RESTART>;
45 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
46 debounce-interval = <60>;
51 compatible = "gpio-export";
54 gpio-export,name = "lan:reset";
55 gpio-export,output = <0>;
56 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
64 nvmem-cells = <&macaddr_art_0>;
65 nvmem-cell-names = "mac-address";
69 switch-phy-addr-swap = <0>;
70 switch-phy-swap = <0>;
77 compatible = "syscon", "simple-mfd";
84 compatible = "jedec,spi-nor";
85 spi-max-frequency = <33000000>;
89 compatible = "fixed-partitions";
95 reg = <0x000000 0x040000>;
100 label = "u-boot-env";
101 reg = <0x040000 0x010000>;
105 compatible = "denx,uimage";
107 reg = <0x050000 0xfa0000>;
110 art: partition@ff0000 {
112 reg = <0xff0000 0x010000>;
116 compatible = "fixed-layout";
117 #address-cells = <1>;
120 macaddr_art_0: macaddr@0 {
132 mtd-cal-data = <&art 0x1000>;