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 = "Embedded Wireless Dorin";
11 compatible = "embeddedwireless,dorin", "qca,ar9331";
14 led-boot = &led_status;
15 led-failsafe = &led_status;
16 led-running = &led_status;
17 led-upgrade = &led_status;
21 compatible = "gpio-leds";
24 function = LED_FUNCTION_STATUS;
25 color = <LED_COLOR_ID_GREEN>;
26 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
31 compatible = "gpio-keys";
35 linux,code = <KEY_WPS_BUTTON>;
36 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
41 linux,code = <KEY_RESTART>;
42 gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
60 compatible = "jedec,spi-nor";
61 spi-max-frequency = <50000000>;
65 compatible = "fixed-partitions";
71 reg = <0x000000 0x040000>;
77 reg = <0x040000 0x010000>;
81 compatible = "denx,uimage";
83 reg = <0x050000 0xfa0000>;
88 reg = <0xff0000 0x010000>;
92 compatible = "fixed-layout";
96 macaddr_art_1002: macaddr@1002 {
97 compatible = "mac-base";
99 #nvmem-cell-cells = <1>;
110 nvmem-cells = <&macaddr_art_1002 0x400000>;
111 nvmem-cell-names = "mac-address";
121 mtd-cal-data = <&art 0x1000>;