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>
7 #include <dt-bindings/leds/common.h>
10 model = "GL.iNet GL-AR150";
11 compatible = "glinet,gl-ar150", "qca,ar9330";
14 led-boot = &led_power;
15 led-failsafe = &led_power;
16 led-running = &led_power;
17 led-upgrade = &led_power;
18 label-mac-device = ð0;
22 compatible = "gpio-leds";
25 function = LED_FUNCTION_WLAN;
26 color = <LED_COLOR_ID_ORANGE>;
27 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
28 linux,default-trigger = "phy0tpt";
32 label = "green:configurable";
33 gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
37 function = LED_FUNCTION_POWER;
38 color = <LED_COLOR_ID_GREEN>;
39 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
45 compatible = "gpio-keys";
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>;
74 gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
81 compatible = "jedec,spi-nor";
82 spi-max-frequency = <50000000>;
86 compatible = "fixed-partitions";
92 reg = <0x000000 0x040000>;
98 reg = <0x040000 0x010000>;
102 compatible = "denx,uimage";
104 reg = <0x050000 0xfa0000>;
109 reg = <0xff0000 0x010000>;
113 compatible = "fixed-layout";
114 #address-cells = <1>;
117 macaddr_art_0: macaddr@0 {
129 nvmem-cells = <&macaddr_art_0>;
130 nvmem-cell-names = "mac-address";
136 nvmem-cells = <&macaddr_art_0>;
137 nvmem-cell-names = "mac-address";
142 switch-phy-addr-swap = <0>;
143 switch-phy-swap = <0>;
150 mtd-cal-data = <&art 0x1000>;
151 nvmem-cells = <&macaddr_art_0>;
152 nvmem-cell-names = "mac-address";