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";
21 compatible = "gpio-leds";
24 label = "gl-ar150:orange:wlan";
25 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
26 default-state = "off";
27 linux,default-trigger = "phy0tpt";
31 label = "gl-ar150:green:lan";
32 gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
33 default-state = "off";
37 label = "gl-ar150:green:wan";
38 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
39 default-state = "off";
44 compatible = "gpio-keys-polled";
45 poll-interval = <100>;
50 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
56 gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
61 linux,code = <KEY_RESTART>;
62 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
82 gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
86 num-chipselects = <1>;
90 compatible = "jedec,spi-nor";
91 spi-max-frequency = <104000000>;
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>;
146 mtd-cal-data = <&art 0x1000>;
147 mtd-mac-address = <&art 0x0>;