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";
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:lan";
32 gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
36 label = "gl-ar150:green:wan";
37 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
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>;
109 compatible = "denx,uimage";
111 reg = <0x050000 0xfa0000>;
116 reg = <0xff0000 0x010000>;
126 mtd-mac-address = <&art 0x0>;
132 mtd-mac-address = <&art 0x0>;
137 switch-phy-addr-swap = <0>;
138 switch-phy-swap = <0>;
144 mtd-cal-data = <&art 0x1000>;
145 mtd-mac-address = <&art 0x0>;