ath79: move dts-v1 statement to ath79.dtsi
[openwrt/staging/hauke.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 &uart {
21 status = "okay";
22 };
23
24 &spi {
25 status = "okay";
26 num-cs = <1>;
27
28 flash@0 {
29 compatible = "jedec,spi-nor";
30 reg = <0>;
31 spi-max-frequency = <25000000>;
32
33 partitions {
34 compatible = "fixed-partitions";
35 #address-cells = <1>;
36 #size-cells = <1>;
37
38 partition@0 {
39 label = "urlader";
40 reg = <0x0 0x20000>;
41 read-only;
42 };
43
44 partition@20000 {
45 compatible = "avm,eva-firmware";
46 label = "firmware";
47 reg = <0x20000 0xee0000>;
48 };
49
50 partition@f00000 {
51 label = "tffs (1)";
52 reg = <0xf00000 0x80000>;
53 read-only;
54 };
55
56 partition@f80000 {
57 label = "tffs (2)";
58 reg = <0xf80000 0x80000>;
59 read-only;
60 };
61 };
62 };
63 };
64
65 &wmac {
66 status = "okay";
67 qca,no-eeprom;
68 };
69
70 &eth1 {
71 status = "okay";
72
73 phy-handle = <&phy0>;
74 pll-data = <0x3000000 0x101 0x1313>;
75
76 qca955x-sgmii-fixup;
77
78 gmac-config {
79 device = <&gmac>;
80 ge0-sgmii = <0>;
81 };
82 };
83
84 &mdio1 {
85 status = "okay";
86
87 phy0: ethernet-phy@0 {
88 reg = <0>;
89 at803x-override-sgmii-link-check;
90 };
91 };