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";
19 compatible = "gpio-leds";
22 label = "dorin:green:status";
23 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
24 default-state = "off";
29 compatible = "gpio-keys-polled";
32 poll-interval = <100>;
36 linux,code = <KEY_WPS_BUTTON>;
37 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
42 linux,code = <KEY_RESTART>;
43 gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
66 num-chipselects = <1>;
72 compatible = "jedec,spi-nor";
73 spi-max-frequency = <104000000>;
77 compatible = "fixed-partitions";
83 reg = <0x000000 0x040000>;
89 reg = <0x040000 0x010000>;
94 reg = <0x050000 0xfa0000>;
99 reg = <0xff0000 0x010000>;
109 mtd-mac-address = <&art 0x1002>;
110 mtd-mac-address-increment = <0x40>;
125 mtd-cal-data = <&art 0x1000>;
126 mtd-mac-address = <&art 0x1002>;