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 model = "GL.iNet GL-AR150";
10 compatible = "glinet,gl-ar150", "qca,ar9330";
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 label = "gl-ar150:orange:wlan";
26 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
27 linux,default-trigger = "phy0tpt";
31 label = "gl-ar150:green:configurable";
32 gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
36 label = "gl-ar150:green:power";
37 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
43 compatible = "gpio-keys";
48 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
54 gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
59 linux,code = <KEY_RESTART>;
60 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
76 gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
82 num-chipselects = <1>;
85 compatible = "jedec,spi-nor";
86 spi-max-frequency = <50000000>;
90 compatible = "fixed-partitions";
96 reg = <0x000000 0x040000>;
101 label = "u-boot-env";
102 reg = <0x040000 0x010000>;
106 compatible = "denx,uimage";
108 reg = <0x050000 0xfa0000>;
113 reg = <0xff0000 0x010000>;
123 mtd-mac-address = <&art 0x0>;
129 mtd-mac-address = <&art 0x0>;
134 switch-phy-addr-swap = <0>;
135 switch-phy-swap = <0>;
142 mtd-cal-data = <&art 0x1000>;
143 mtd-mac-address = <&art 0x0>;