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;
21 compatible = "gpio-leds";
24 label = "dorin:green:status";
25 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
30 compatible = "gpio-keys";
34 linux,code = <KEY_WPS_BUTTON>;
35 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
40 linux,code = <KEY_RESTART>;
41 gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
62 num-chipselects = <1>;
65 compatible = "jedec,spi-nor";
66 spi-max-frequency = <50000000>;
70 compatible = "fixed-partitions";
76 reg = <0x000000 0x040000>;
82 reg = <0x040000 0x010000>;
86 compatible = "denx,uimage";
88 reg = <0x050000 0xfa0000>;
93 reg = <0xff0000 0x010000>;
103 mtd-mac-address = <&art 0x1002>;
104 mtd-mac-address-increment-byte = <3>;
105 mtd-mac-address-increment = <0x40>;
115 mtd-cal-data = <&art 0x1000>;