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