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";
18 device_type = "memory";
19 reg = <0x0 0x4000000>;
23 compatible = "gpio-leds";
26 label = "gl-ar150:orange:wlan";
27 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
28 default-state = "off";
32 label = "gl-ar150:green:lan";
33 gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
34 default-state = "off";
38 label = "gl-ar150:green:wan";
39 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
40 default-state = "off";
45 compatible = "gpio-keys-polled";
48 poll-interval = <100>;
53 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
59 gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
64 linux,code = <KEY_RESTART>;
65 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
85 gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
89 num-chipselects = <1>;
95 compatible = "jedec,spi-nor";
96 spi-max-frequency = <104000000>;
100 compatible = "fixed-partitions";
101 #address-cells = <1>;
106 reg = <0x000000 0x040000>;
111 label = "u-boot-env";
112 reg = <0x040000 0x010000>;
117 reg = <0x050000 0xfa0000>;
122 reg = <0xff0000 0x010000>;
132 phy4: ethernet-phy@4 {
141 mtd-mac-address = <&art 0x0>;
143 phy-handle = <&phy4>;
149 mtd-mac-address = <&art 0x0>;
159 switch-phy-addr-swap = <0>;
160 switch-phy-swap = <0>;
166 mtd-cal-data = <&art 0x1000>;
167 mtd-mac-address = <&art 0x0>;