OpenWrt – Blame information for rev 2
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | // SPDX-License-Identifier: GPL-2.0-or-later OR MIT |
2 | |||
3 | /* |
||
4 | * The hardware of this board family is most likely shared with other devices |
||
5 | * from other manufacturers. |
||
6 | * Devolo seems to use hardware from Edimax, namely the Edimax WAP1750. |
||
7 | * |
||
8 | * The base board is identical but the single models differ in number of |
||
9 | * buttons, ethernet ports, external console, USB, external / internal |
||
10 | * antennas and number of spatial streams. |
||
11 | */ |
||
12 | |||
13 | /dts-v1/; |
||
14 | |||
15 | #include <dt-bindings/gpio/gpio.h> |
||
16 | #include <dt-bindings/input/input.h> |
||
17 | |||
18 | #include "qca9557.dtsi" |
||
19 | |||
20 | / { |
||
21 | chosen { |
||
22 | bootargs = "console=ttyS0,115200n8"; |
||
23 | }; |
||
24 | |||
25 | keys { |
||
26 | compatible = "gpio-keys"; |
||
27 | |||
28 | reset { |
||
29 | label = "Reset button"; |
||
30 | linux,code = <KEY_RESTART>; |
||
31 | gpios = <&gpio 18 GPIO_ACTIVE_LOW>; |
||
32 | debounce-interval = <60>; |
||
33 | }; |
||
34 | }; |
||
35 | |||
36 | watchdog { |
||
37 | compatible = "linux,wdt-gpio"; |
||
38 | gpios = <&gpio 12 GPIO_ACTIVE_LOW>; |
||
39 | hw_algo = "toggle"; |
||
40 | hw_margin_ms = <300>; |
||
41 | always-running; |
||
42 | }; |
||
43 | }; |
||
44 | |||
45 | &pcie0 { |
||
46 | status = "okay"; |
||
47 | }; |
||
48 | |||
49 | &uart { |
||
50 | status = "okay"; |
||
51 | }; |
||
52 | |||
53 | &gpio { |
||
54 | status = "okay"; |
||
55 | }; |
||
56 | |||
57 | &spi { |
||
58 | status = "okay"; |
||
59 | num-cs = <1>; |
||
60 | |||
61 | flash@0 { |
||
62 | compatible = "jedec,spi-nor"; |
||
63 | reg = <0>; |
||
64 | spi-max-frequency = <25000000>; |
||
65 | |||
66 | partitions { |
||
67 | compatible = "fixed-partitions"; |
||
68 | #address-cells = <1>; |
||
69 | #size-cells = <1>; |
||
70 | |||
71 | partition@0 { |
||
72 | label = "u-boot"; |
||
73 | reg = <0x000000 0x040000>; |
||
74 | read-only; |
||
75 | }; |
||
76 | |||
77 | partition@40000 { |
||
78 | label = "u-boot-env"; |
||
79 | reg = <0x040000 0x010000>; |
||
80 | read-only; |
||
81 | }; |
||
82 | |||
83 | art: partition@50000 { |
||
84 | label = "art"; |
||
85 | reg = <0x050000 0x010000>; |
||
86 | read-only; |
||
87 | }; |
||
88 | |||
89 | partition@60000 { |
||
90 | label = "art_bak"; |
||
91 | reg = <0x060000 0x010000>; |
||
92 | read-only; |
||
93 | }; |
||
94 | |||
95 | partition@70000 { |
||
96 | compatible = "denx,uimage"; |
||
97 | label = "firmware"; |
||
98 | reg = <0x070000 0xf90000>; |
||
99 | }; |
||
100 | }; |
||
101 | }; |
||
102 | }; |
||
103 | |||
104 | &mdio0 { |
||
105 | status = "okay"; |
||
106 | |||
107 | phy4: ethernet-phy@4 { |
||
108 | reg = <4>; |
||
109 | at803x-disable-smarteee; |
||
110 | }; |
||
111 | }; |
||
112 | |||
113 | ð0 { |
||
114 | status = "okay"; |
||
115 | |||
116 | mtd-mac-address = <&art 0x00>; |
||
117 | phy-handle = <&phy4>; |
||
118 | pll-data = <0xae000000 0x80000101 0x80001313>; |
||
119 | |||
120 | gmac_config: gmac-config { |
||
121 | device = <&gmac>; |
||
122 | |||
123 | rxdv-delay = <3>; |
||
124 | rxd-delay = <3>; |
||
125 | txen-delay = <0>; |
||
126 | txd-delay = <0>; |
||
127 | rgmii-enabled = <1>; |
||
128 | }; |
||
129 | }; |
||
130 | |||
131 | &mdio1 { |
||
132 | phy1: ethernet-phy@1 { |
||
133 | reg = <1>; |
||
134 | }; |
||
135 | }; |
||
136 | |||
137 | ð1 { |
||
138 | mtd-mac-address = <&art 0x00>; |
||
139 | mtd-mac-address-increment = <1>; |
||
140 | phy-handle = <&phy1>; |
||
141 | pll-data = <0x03000101 0x00000101 0x00001313>; |
||
142 | }; |
||
143 | |||
144 | &wmac { |
||
145 | status = "okay"; |
||
146 | mtd-cal-data = <&art 0x1000>; |
||
147 | mtd-mac-address = <&art 0x00>; |
||
148 | mtd-mac-address-increment = <(-2)>; |
||
149 | }; |