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";
19 pinctrl-names = "default";
20 pinctrl-0 = <&switch_led_disable_pins>;
23 label = "dragino2:red:wlan";
24 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
28 label = "dragino2:red:lan";
29 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
33 label = "dragino2:red:wan";
34 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
38 label = "dragino2:red:system";
39 gpios = <&gpio 28 GPIO_ACTIVE_HIGH>;
44 compatible = "gpio-keys-polled";
45 poll-interval = <100>;
49 linux,code = <KEY_WPS_BUTTON>;
50 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
55 linux,code = <KEY_RESTART>;
56 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
62 clock-frequency = <25000000>;
83 num-chipselects = <1>;
86 /* Winbond 25Q128BVFG SPI flash */
88 compatible = "winbond,w25q128", "jedec,spi-nor";
89 spi-max-frequency = <104000000>;