lantiq: remove mac-address-increment
[openwrt/openwrt.git] / target / linux / lantiq / files / arch / mips / boot / dts / lantiq / vr9_avm_fritz7360-v2.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "vr9_avm_fritz736x.dtsi"
4
5 / {
6 compatible = "avm,fritz7360-v2", "avm,fritz736x", "lantiq,xway", "lantiq,vr9";
7 model = "AVM FRITZ!Box 7360 V2";
8 };
9
10 &gpio {
11 pinctrl-names = "default";
12 pinctrl-0 = <&state_default>;
13
14 state_default: pinmux {
15 pcie-rst {
16 lantiq,pins = "io21";
17 lantiq,pull = <0>;
18 lantiq,output = <1>;
19 };
20
21 phy-rst {
22 lantiq,pins = "io37", "io44";
23 lantiq,pull = <0>;
24 lantiq,open-drain;
25 lantiq,output = <1>;
26 };
27 };
28 };
29
30 &localbus {
31 flash@0 {
32 compatible = "lantiq,nor";
33 bank-width = <2>;
34 reg = <0 0x0 0x2000000>;
35
36 partitions {
37 #address-cells = <1>;
38 #size-cells = <1>;
39 compatible = "fixed-partitions";
40
41 urlader: partition@0 {
42 label = "urlader";
43 reg = <0x00000 0x20000>;
44 read-only;
45
46 nvmem-layout {
47 compatible = "fixed-layout";
48 #address-cells = <1>;
49 #size-cells = <1>;
50
51 cal_urlader_985: cal@985 {
52 reg = <0x985 0x440>;
53 };
54
55 macaddr_urlader_a91: macaddr@a91 {
56 compatible = "mac-base";
57 reg = <0xa91 0x6>;
58 #nvmem-cell-cells = <1>;
59 };
60 };
61 };
62
63 partition@20000 {
64 label = "firmware";
65 reg = <0x20000 0x1f60000>;
66 };
67
68 partition@1f80000 {
69 label = "tffs (1)";
70 reg = <0x1f80000 0x40000>;
71 read-only;
72 };
73
74 partition@1fc0000 {
75 label = "tffs (2)";
76 reg = <0x1fc0000 0x40000>;
77 read-only;
78 };
79 };
80 };
81 };
82
83 &eth0 {
84 nvmem-cells = <&macaddr_urlader_a91 (-2)>;
85 nvmem-cell-names = "mac-address";
86 };
87
88 &phy0 {
89 reset-gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
90 };
91
92 &phy1 {
93 reset-gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
94 };
95
96 &wifi {
97 /delete-property/ qca,no-eeprom;
98 nvmem-cells = <&cal_urlader_985>;
99 nvmem-cell-names = "calibration";
100 };