forked from openwrt/openwrt
/
vr9_avm_fritz7360sl.dts
90 lines (73 loc) · 1.45 KB
/
vr9_avm_fritz7360sl.dts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
#include "vr9_avm_fritz736x.dtsi"
/ {
compatible = "avm,fritz7360sl", "avm,fritz736x", "lantiq,xway", "lantiq,vr9";
model = "AVM FRITZ!Box 7360 SL";
};
&gpio {
pinctrl-names = "default";
pinctrl-0 = <&state_default>;
state_default: pinmux {
pcie-rst {
lantiq,pins = "io21";
lantiq,pull = <0>;
lantiq,output = <1>;
};
phy-rst {
lantiq,pins = "io37", "io44";
lantiq,pull = <0>;
lantiq,open-drain;
lantiq,output = <1>;
};
};
};
&localbus {
flash@0 {
compatible = "lantiq,nor";
bank-width = <2>;
reg = <0 0x0 0x1000000>;
partitions {
#address-cells = <1>;
#size-cells = <1>;
compatible = "fixed-partitions";
urlader: partition@0 {
label = "urlader";
reg = <0x00000 0x20000>;
read-only;
};
partition@20000 {
label = "firmware";
reg = <0x20000 0xf60000>;
};
partition@f80000 {
label = "tffs (1)";
reg = <0xf80000 0x40000>;
read-only;
};
partition@fc0000 {
label = "tffs (2)";
reg = <0xfc0000 0x40000>;
read-only;
};
};
};
};
ð0 {
nvmem-cells = <&macaddr_urlader_a91>;
nvmem-cell-names = "mac-address";
mac-address-increment = <(-2)>;
};
&phy0 {
reset-gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
};
&phy1 {
reset-gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
};
&urlader {
compatible = "nvmem-cells";
#address-cells = <1>;
#size-cells = <1>;
macaddr_urlader_a91: macaddr@a91 {
reg = <0xa91 0x6>;
};
};