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 device_type = "memory";
20 reg = <0x0 0x4000000>;
24 compatible = "gpio-leds";
27 label = "gl-ar150:orange:wlan";
28 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
29 default-state = "off";
30 linux,default-trigger = "phy0tpt";
34 label = "gl-ar150:green:lan";
35 gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
36 default-state = "off";
40 label = "gl-ar150:green:wan";
41 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
42 default-state = "off";
47 compatible = "gpio-keys-polled";
50 poll-interval = <100>;
55 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
61 gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
66 linux,code = <KEY_RESTART>;
67 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
87 gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
91 num-chipselects = <1>;
97 compatible = "jedec,spi-nor";
98 spi-max-frequency = <104000000>;
102 compatible = "fixed-partitions";
103 #address-cells = <1>;
108 reg = <0x000000 0x040000>;
113 label = "u-boot-env";
114 reg = <0x040000 0x010000>;
119 reg = <0x050000 0xfa0000>;
124 reg = <0xff0000 0x010000>;
134 phy4: ethernet-phy@4 {
143 mtd-mac-address = <&art 0x0>;
145 phy-handle = <&phy4>;
151 mtd-mac-address = <&art 0x0>;
161 switch-phy-addr-swap = <0>;
162 switch-phy-swap = <0>;
168 mtd-cal-data = <&art 0x1000>;
169 mtd-mac-address = <&art 0x0>;