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 = "Onion Omega"; |
||
11 | compatible = "onion,omega", "qca,ar9331"; |
||
12 | |||
13 | aliases { |
||
14 | serial0 = &uart; |
||
15 | }; |
||
16 | |||
17 | leds { |
||
18 | compatible = "gpio-leds"; |
||
19 | |||
20 | system { |
||
21 | label = "onion:amber:system"; |
||
22 | gpios = <&gpio 27 GPIO_ACTIVE_LOW>; |
||
23 | }; |
||
24 | }; |
||
25 | |||
26 | keys { |
||
27 | compatible = "gpio-keys-polled"; |
||
28 | poll-interval = <100>; |
||
29 | |||
30 | button0 { |
||
31 | label = "reset"; |
||
32 | linux,code = <KEY_RESTART>; |
||
33 | gpios = <&gpio 11 GPIO_ACTIVE_HIGH>; |
||
34 | }; |
||
35 | }; |
||
36 | }; |
||
37 | |||
38 | &ref { |
||
39 | clock-frequency = <25000000>; |
||
40 | }; |
||
41 | |||
42 | &uart { |
||
43 | status = "okay"; |
||
44 | }; |
||
45 | |||
46 | &gpio { |
||
47 | status = "okay"; |
||
48 | }; |
||
49 | |||
50 | &usb { |
||
51 | dr_mode = "host"; |
||
52 | status = "okay"; |
||
53 | }; |
||
54 | |||
55 | &usb_phy { |
||
56 | status = "okay"; |
||
57 | }; |
||
58 | |||
59 | &spi { |
||
60 | num-chipselects = <1>; |
||
61 | status = "okay"; |
||
62 | |||
63 | /* Winbond 25Q128FVSG SPI flash */ |
||
64 | flash@0 { |
||
65 | compatible = "winbond,w25q128", "jedec,spi-nor"; |
||
66 | spi-max-frequency = <104000000>; |
||
67 | reg = <0>; |
||
68 | }; |
||
69 | }; |