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";
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>;
92 compatible = "jedec,spi-nor";
93 spi-max-frequency = <104000000>;
97 compatible = "fixed-partitions";
103 reg = <0x000000 0x040000>;
108 label = "u-boot-env";
109 reg = <0x040000 0x010000>;
114 reg = <0x050000 0xfa0000>;
119 reg = <0xff0000 0x010000>;
129 mtd-mac-address = <&art 0x0>;
135 mtd-mac-address = <&art 0x0>;
140 switch-phy-addr-swap = <0>;
141 switch-phy-swap = <0>;
147 mtd-cal-data = <&art 0x1000>;
148 mtd-mac-address = <&art 0x0>;