1 // SPDX-License-Identifier: GPL-2.0
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
10 model = "Dragino MS14 (Dragino 2)";
11 compatible = "dragino,ms14", "qca,ar9331";
18 compatible = "gpio-leds";
21 label = "dragino2:red:wlan";
22 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
23 default-state = "off";
27 label = "dragino2:red:lan";
28 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
29 default-state = "off";
33 label = "dragino2:red:wan";
34 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
35 default-state = "off";
39 label = "dragino2:red:system";
40 gpios = <&gpio 28 GPIO_ACTIVE_HIGH>;
41 default-state = "off";
46 compatible = "gpio-keys-polled";
49 poll-interval = <100>;
53 linux,code = <KEY_WPS_BUTTON>;
54 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
59 linux,code = <KEY_RESTART>;
60 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
66 clock-frequency = <25000000>;
87 num-chipselects = <1>;
90 /* Winbond 25Q128BVFG SPI flash */
94 compatible = "winbond,w25q128", "jedec,spi-nor";
95 spi-max-frequency = <104000000>;