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>;
26 label = "dragino2:red:lan";
27 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
31 label = "dragino2:red:wan";
32 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
36 label = "dragino2:red:system";
37 gpios = <&gpio 28 GPIO_ACTIVE_HIGH>;
42 compatible = "gpio-keys-polled";
43 poll-interval = <100>;
47 linux,code = <KEY_WPS_BUTTON>;
48 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
53 linux,code = <KEY_RESTART>;
54 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
60 clock-frequency = <25000000>;
81 num-chipselects = <1>;
84 /* Winbond 25Q128BVFG SPI flash */
86 compatible = "winbond,w25q128", "jedec,spi-nor";
87 spi-max-frequency = <104000000>;