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 = "orange:wlan";
26 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
27 linux,default-trigger = "phy0tpt";
31 label = "green:configurable";
32 gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
36 label = "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>;
83 compatible = "jedec,spi-nor";
84 spi-max-frequency = <50000000>;
88 compatible = "fixed-partitions";
94 reg = <0x000000 0x040000>;
100 reg = <0x040000 0x010000>;
104 compatible = "denx,uimage";
106 reg = <0x050000 0xfa0000>;
111 reg = <0xff0000 0x010000>;
121 mtd-mac-address = <&art 0x0>;
127 mtd-mac-address = <&art 0x0>;
132 switch-phy-addr-swap = <0>;
133 switch-phy-swap = <0>;
140 mtd-cal-data = <&art 0x1000>;
141 mtd-mac-address = <&art 0x0>;