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";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
17 label-mac-device = ð0;
21 compatible = "gpio-leds";
25 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
26 linux,default-trigger = "phy0tpt";
30 label = "green:power";
31 gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
37 compatible = "gpio-keys";
41 linux,code = <KEY_RESTART>;
42 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
43 debounce-interval = <60>;
48 compatible = "gpio-export";
51 gpio-export,name = "lan:reset";
52 gpio-export,output = <0>;
53 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
61 mtd-mac-address = <&art 0x0>;
65 switch-phy-addr-swap = <0>;
66 switch-phy-swap = <0>;
73 compatible = "syscon", "simple-mfd";
80 compatible = "jedec,spi-nor";
81 spi-max-frequency = <33000000>;
85 compatible = "fixed-partitions";
91 reg = <0x000000 0x040000>;
97 reg = <0x040000 0x010000>;
101 compatible = "denx,uimage";
103 reg = <0x050000 0xfa0000>;
106 art: partition@ff0000 {
108 reg = <0xff0000 0x010000>;
122 mtd-cal-data = <&art 0x1000>;