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";
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>;
82 reg = <0x000000 0x040000>;
88 reg = <0x040000 0x010000>;
93 reg = <0x050000 0xfa0000>;
98 reg = <0xff0000 0x010000>;
107 mtd-mac-address = <&art 0x1002>;
117 switch-phy-addr-swap = <1>;
118 switch-phy-swap = <1>;