ath79: convert ath10k calibration data to NVMEM (built-in MAC)
[openwrt/staging/dangole.git] / target / linux / ath79 / dts / qca9556_avm_fritz-repeater.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "qca955x.dtsi"
4
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7
8 / {
9 keys {
10 compatible = "gpio-keys";
11
12 wps {
13 label = "wps";
14 linux,code = <KEY_WPS_BUTTON>;
15 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
16 };
17 };
18 };
19
20 &spi {
21 status = "okay";
22
23 flash@0 {
24 compatible = "jedec,spi-nor";
25 reg = <0>;
26 spi-max-frequency = <25000000>;
27
28 partitions {
29 compatible = "fixed-partitions";
30 #address-cells = <1>;
31 #size-cells = <1>;
32
33 partition@0 {
34 label = "urlader";
35 reg = <0x0 0x20000>;
36 read-only;
37
38 nvmem-layout {
39 compatible = "fixed-layout";
40 #address-cells = <1>;
41 #size-cells = <1>;
42
43 cal_urlader_198a: calibration@198a {
44 reg = <0x198a 0x844>;
45 };
46 };
47 };
48
49 partition@20000 {
50 compatible = "avm,eva-firmware";
51 label = "firmware";
52 reg = <0x20000 0xee0000>;
53 };
54
55 partition@f00000 {
56 label = "tffs (1)";
57 reg = <0xf00000 0x80000>;
58 read-only;
59 };
60
61 partition@f80000 {
62 label = "tffs (2)";
63 reg = <0xf80000 0x80000>;
64 read-only;
65 };
66 };
67 };
68 };
69
70 &wmac {
71 status = "okay";
72 qca,no-eeprom;
73 };
74
75 &eth1 {
76 status = "okay";
77
78 phy-handle = <&phy0>;
79 pll-data = <0x3000000 0x101 0x1313>;
80
81 qca955x-sgmii-fixup;
82
83 gmac-config {
84 device = <&gmac>;
85 ge0-sgmii = <0>;
86 };
87 };
88
89 &mdio1 {
90 status = "okay";
91
92 phy0: ethernet-phy@0 {
93 reg = <0>;
94 at803x-override-sgmii-link-check;
95 };
96 };