1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
10 model = "GL.iNet GL-AR150";
11 compatible = "glinet,gl-ar150", "qca,ar9330";
15 led-boot = &led_power;
16 led-failsafe = &led_power;
17 led-running = &led_power;
18 led-upgrade = &led_power;
19 label-mac-device = ð0;
23 compatible = "gpio-leds";
26 label = "gl-ar150:orange:wlan";
27 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
28 linux,default-trigger = "phy0tpt";
32 label = "gl-ar150:green:configurable";
33 gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
37 label = "gl-ar150:green:power";
38 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
44 compatible = "gpio-keys";
49 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
55 gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
60 linux,code = <KEY_RESTART>;
61 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
81 gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
87 num-chipselects = <1>;
90 compatible = "jedec,spi-nor";
91 spi-max-frequency = <50000000>;
95 compatible = "fixed-partitions";
101 reg = <0x000000 0x040000>;
106 label = "u-boot-env";
107 reg = <0x040000 0x010000>;
111 compatible = "denx,uimage";
113 reg = <0x050000 0xfa0000>;
118 reg = <0xff0000 0x010000>;
128 mtd-mac-address = <&art 0x0>;
134 mtd-mac-address = <&art 0x0>;
139 switch-phy-addr-swap = <0>;
140 switch-phy-swap = <0>;
147 mtd-cal-data = <&art 0x1000>;
148 mtd-mac-address = <&art 0x0>;