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 linux,default-trigger = "phy0tpt";
30 label = "gl-ar150:green:lan";
31 gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
35 label = "gl-ar150:green:wan";
36 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
41 compatible = "gpio-keys-polled";
42 poll-interval = <100>;
47 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
53 gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
58 linux,code = <KEY_RESTART>;
59 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
79 gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
83 num-chipselects = <1>;
87 compatible = "jedec,spi-nor";
88 spi-max-frequency = <104000000>;
92 compatible = "fixed-partitions";
98 reg = <0x000000 0x040000>;
103 label = "u-boot-env";
104 reg = <0x040000 0x010000>;
108 compatible = "denx,uimage";
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>;