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";
30 poll-interval = <100>;
34 linux,code = <KEY_WPS_BUTTON>;
35 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_RESTART>;
41 gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
64 num-chipselects = <1>;
68 compatible = "jedec,spi-nor";
69 spi-max-frequency = <104000000>;
73 compatible = "fixed-partitions";
79 reg = <0x000000 0x040000>;
85 reg = <0x040000 0x010000>;
90 reg = <0x050000 0xfa0000>;
95 reg = <0xff0000 0x010000>;
105 mtd-mac-address = <&art 0x1002>;
106 mtd-mac-address-increment = <0x40>;
115 mtd-cal-data = <&art 0x1000>;
116 mtd-mac-address = <&art 0x1002>;