1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 model = "GL.iNet GL-AR150";
10 compatible = "glinet,gl-ar150", "qca,ar9330";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
17 label-mac-device = ð0;
21 compatible = "gpio-leds";
24 label = "orange:wlan";
25 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
26 linux,default-trigger = "phy0tpt";
30 label = "green:configurable";
31 gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
35 label = "green:power";
36 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
42 compatible = "gpio-keys";
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>;
71 gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
78 compatible = "jedec,spi-nor";
79 spi-max-frequency = <50000000>;
83 compatible = "fixed-partitions";
89 reg = <0x000000 0x040000>;
95 reg = <0x040000 0x010000>;
99 compatible = "denx,uimage";
101 reg = <0x050000 0xfa0000>;
106 reg = <0xff0000 0x010000>;
116 nvmem-cells = <&macaddr_art_0>;
117 nvmem-cell-names = "mac-address";
123 nvmem-cells = <&macaddr_art_0>;
124 nvmem-cell-names = "mac-address";
129 switch-phy-addr-swap = <0>;
130 switch-phy-swap = <0>;
137 mtd-cal-data = <&art 0x1000>;
138 nvmem-cells = <&macaddr_art_0>;
139 nvmem-cell-names = "mac-address";
143 compatible = "nvmem-cells";
144 #address-cells = <1>;
147 macaddr_art_0: macaddr@0 {