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";
18 device_type = "memory";
19 reg = <0x0 0x4000000>;
23 compatible = "gpio-leds";
26 label = "dorin:green:status";
27 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
28 default-state = "off";
33 compatible = "gpio-keys-polled";
36 poll-interval = <100>;
40 linux,code = <KEY_WPS_BUTTON>;
41 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_RESTART>;
47 gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
70 num-chipselects = <1>;
76 compatible = "jedec,spi-nor";
77 spi-max-frequency = <104000000>;
81 compatible = "fixed-partitions";
87 reg = <0x000000 0x040000>;
93 reg = <0x040000 0x010000>;
98 reg = <0x050000 0xfa0000>;
103 reg = <0xff0000 0x010000>;
113 mtd-mac-address = <&art 0x1002>;
114 mtd-mac-address-increment = <0x40>;
129 mtd-cal-data = <&art 0x1000>;
130 mtd-mac-address = <&art 0x1002>;