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 nvmem-cells = <&macaddr_art_0>;
62 nvmem-cell-names = "mac-address";
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>;
123 compatible = "nvmem-cells";
124 #address-cells = <1>;
127 macaddr_art_0: macaddr@0 {