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 = "Embedded Wireless Dorin";
10 compatible = "embeddedwireless,dorin", "qca,ar9331";
13 led-boot = &led_status;
14 led-failsafe = &led_status;
15 led-running = &led_status;
16 led-upgrade = &led_status;
20 compatible = "gpio-leds";
23 label = "green:status";
24 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
29 compatible = "gpio-keys";
33 linux,code = <KEY_WPS_BUTTON>;
34 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
39 linux,code = <KEY_RESTART>;
40 gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
58 compatible = "jedec,spi-nor";
59 spi-max-frequency = <50000000>;
63 compatible = "fixed-partitions";
69 reg = <0x000000 0x040000>;
75 reg = <0x040000 0x010000>;
79 compatible = "denx,uimage";
81 reg = <0x050000 0xfa0000>;
86 reg = <0xff0000 0x010000>;
90 compatible = "fixed-layout";
94 macaddr_art_1002: macaddr@1002 {
95 compatible = "mac-base";
97 #nvmem-cell-cells = <1>;
108 nvmem-cells = <&macaddr_art_1002 0x400000>;
109 nvmem-cell-names = "mac-address";
119 mtd-cal-data = <&art 0x1000>;