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-usb150", "qca,ar9331";
10 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";
26 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
27 linux,default-trigger = "phy0tpt";
31 label = "green:power";
32 gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
38 compatible = "gpio-keys";
42 linux,code = <KEY_RESTART>;
43 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
44 debounce-interval = <60>;
49 compatible = "gpio-export";
52 gpio-export,name = "lan:reset";
53 gpio-export,output = <0>;
54 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
62 mtd-mac-address = <&art 0x0>;
66 switch-phy-addr-swap = <0>;
67 switch-phy-swap = <0>;
74 compatible = "syscon", "simple-mfd";
81 compatible = "jedec,spi-nor";
82 spi-max-frequency = <33000000>;
86 compatible = "fixed-partitions";
92 reg = <0x000000 0x040000>;
98 reg = <0x040000 0x010000>;
102 compatible = "denx,uimage";
104 reg = <0x050000 0xfa0000>;
107 art: partition@ff0000 {
109 reg = <0xff0000 0x010000>;
119 mtd-cal-data = <&art 0x1000>;