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";
14 led-boot = &led_status;
15 led-failsafe = &led_status;
16 led-running = &led_status;
17 led-upgrade = &led_status;
22 compatible = "gpio-leds";
25 label = "dorin:green:status";
26 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
31 compatible = "gpio-keys";
35 linux,code = <KEY_WPS_BUTTON>;
36 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_RESTART>;
42 gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
67 num-chipselects = <1>;
70 compatible = "jedec,spi-nor";
71 spi-max-frequency = <104000000>;
75 compatible = "fixed-partitions";
81 reg = <0x000000 0x040000>;
87 reg = <0x040000 0x010000>;
91 compatible = "denx,uimage";
93 reg = <0x050000 0xfa0000>;
98 reg = <0xff0000 0x010000>;
108 mtd-mac-address = <&art 0x1002>;
109 mtd-mac-address-increment-byte = <3>;
110 mtd-mac-address-increment = <0x40>;
120 mtd-cal-data = <&art 0x1000>;