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 device_type = "memory";
20 reg = <0x0 0x4000000>;
24 compatible = "gpio-leds";
27 label = "dorin:green:status";
28 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
29 default-state = "off";
34 compatible = "gpio-keys-polled";
37 poll-interval = <100>;
41 linux,code = <KEY_WPS_BUTTON>;
42 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
47 linux,code = <KEY_RESTART>;
48 gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
71 num-chipselects = <1>;
77 compatible = "jedec,spi-nor";
78 spi-max-frequency = <104000000>;
82 compatible = "fixed-partitions";
88 reg = <0x000000 0x040000>;
94 reg = <0x040000 0x010000>;
99 reg = <0x050000 0xfa0000>;
104 reg = <0xff0000 0x010000>;
114 mtd-mac-address = <&art 0x1002>;
115 mtd-mac-address-increment = <0x40>;
130 mtd-cal-data = <&art 0x1000>;
131 mtd-mac-address = <&art 0x1002>;