1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
10 model = "Embedded Wireless Dorin";
11 compatible = "embeddedwireless,dorin", "qca,ar9331";
15 led-failsafe = &status;
16 led-running = &status;
17 led-upgrade = &status;
22 compatible = "gpio-leds";
25 label = "dorin:green:status";
26 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
27 default-state = "off";
32 compatible = "gpio-keys-polled";
33 poll-interval = <100>;
37 linux,code = <KEY_WPS_BUTTON>;
38 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
43 linux,code = <KEY_RESTART>;
44 gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
67 num-chipselects = <1>;
71 compatible = "jedec,spi-nor";
72 spi-max-frequency = <104000000>;
76 compatible = "fixed-partitions";
82 reg = <0x000000 0x040000>;
88 reg = <0x040000 0x010000>;
92 compatible = "denx,uimage";
94 reg = <0x050000 0xfa0000>;
99 reg = <0xff0000 0x010000>;
109 mtd-mac-address = <&art 0x1002>;
110 mtd-mac-address-increment-byte = <3>;
111 mtd-mac-address-increment = <0x40>;
120 mtd-cal-data = <&art 0x1000>;
121 mtd-mac-address = <&art 0x1002>;