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,ar150", "qca,ar9330";
19 compatible = "gpio-leds";
22 label = "gl-ar150:orange:wlan";
23 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
24 default-state = "off";
25 linux,default-trigger = "phy0tpt";
29 label = "gl-ar150:green:lan";
30 gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
31 default-state = "off";
35 label = "gl-ar150:green:wan";
36 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
37 default-state = "off";
42 compatible = "gpio-keys-polled";
43 poll-interval = <100>;
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>;
80 gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
84 num-chipselects = <1>;
88 compatible = "jedec,spi-nor";
89 spi-max-frequency = <104000000>;
93 compatible = "fixed-partitions";
99 reg = <0x000000 0x040000>;
104 label = "u-boot-env";
105 reg = <0x040000 0x010000>;
110 reg = <0x050000 0xfa0000>;
115 reg = <0xff0000 0x010000>;
125 mtd-mac-address = <&art 0x0>;
131 mtd-mac-address = <&art 0x0>;
136 switch-phy-addr-swap = <0>;
137 switch-phy-swap = <0>;
143 mtd-cal-data = <&art 0x1000>;
144 mtd-mac-address = <&art 0x0>;