OpenWrt – Blame information for rev 2
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | // SPDX-License-Identifier: GPL-2.0 |
2 | /dts-v1/; |
||
3 | |||
4 | #include <dt-bindings/gpio/gpio.h> |
||
5 | #include <dt-bindings/input/input.h> |
||
6 | |||
7 | #include "ar9331.dtsi" |
||
8 | |||
9 | / { |
||
10 | model = "Dragino MS14 (Dragino 2)"; |
||
11 | compatible = "dragino,ms14", "qca,ar9331"; |
||
12 | |||
13 | aliases { |
||
14 | serial0 = &uart; |
||
15 | }; |
||
16 | |||
17 | leds { |
||
18 | compatible = "gpio-leds"; |
||
19 | |||
20 | wlan { |
||
21 | label = "dragino2:red:wlan"; |
||
22 | gpios = <&gpio 0 GPIO_ACTIVE_HIGH>; |
||
23 | }; |
||
24 | |||
25 | lan { |
||
26 | label = "dragino2:red:lan"; |
||
27 | gpios = <&gpio 13 GPIO_ACTIVE_LOW>; |
||
28 | }; |
||
29 | |||
30 | wan { |
||
31 | label = "dragino2:red:wan"; |
||
32 | gpios = <&gpio 17 GPIO_ACTIVE_LOW>; |
||
33 | }; |
||
34 | |||
35 | system { |
||
36 | label = "dragino2:red:system"; |
||
37 | gpios = <&gpio 28 GPIO_ACTIVE_HIGH>; |
||
38 | }; |
||
39 | }; |
||
40 | |||
41 | keys { |
||
42 | compatible = "gpio-keys-polled"; |
||
43 | poll-interval = <100>; |
||
44 | |||
45 | button0 { |
||
46 | label = "jumpstart"; |
||
47 | linux,code = <KEY_WPS_BUTTON>; |
||
48 | gpios = <&gpio 11 GPIO_ACTIVE_LOW>; |
||
49 | }; |
||
50 | |||
51 | button1 { |
||
52 | label = "reset"; |
||
53 | linux,code = <KEY_RESTART>; |
||
54 | gpios = <&gpio 12 GPIO_ACTIVE_LOW>; |
||
55 | }; |
||
56 | }; |
||
57 | }; |
||
58 | |||
59 | &ref { |
||
60 | clock-frequency = <25000000>; |
||
61 | }; |
||
62 | |||
63 | &uart { |
||
64 | status = "okay"; |
||
65 | }; |
||
66 | |||
67 | &gpio { |
||
68 | status = "okay"; |
||
69 | }; |
||
70 | |||
71 | &usb { |
||
72 | dr_mode = "host"; |
||
73 | status = "okay"; |
||
74 | }; |
||
75 | |||
76 | &usb_phy { |
||
77 | status = "okay"; |
||
78 | }; |
||
79 | |||
80 | &spi { |
||
81 | num-chipselects = <1>; |
||
82 | status = "okay"; |
||
83 | |||
84 | /* Winbond 25Q128BVFG SPI flash */ |
||
85 | flash@0 { |
||
86 | compatible = "winbond,w25q128", "jedec,spi-nor"; |
||
87 | spi-max-frequency = <104000000>; |
||
88 | reg = <0>; |
||
89 | }; |
||
90 | }; |