ath79: enable UART in SoC DTSI files
[openwrt/openwrt.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
39 partition@20000 {
40 compatible = "avm,eva-firmware";
41 label = "firmware";
42 reg = <0x20000 0xee0000>;
43 };
44
45 partition@f00000 {
46 label = "tffs (1)";
47 reg = <0xf00000 0x80000>;
48 read-only;
49 };
50
51 partition@f80000 {
52 label = "tffs (2)";
53 reg = <0xf80000 0x80000>;
54 read-only;
55 };
56 };
57 };
58 };
59
60 &wmac {
61 status = "okay";
62 qca,no-eeprom;
63 };
64
65 &eth1 {
66 status = "okay";
67
68 phy-handle = <&phy0>;
69 pll-data = <0x3000000 0x101 0x1313>;
70
71 qca955x-sgmii-fixup;
72
73 gmac-config {
74 device = <&gmac>;
75 ge0-sgmii = <0>;
76 };
77 };
78
79 &mdio1 {
80 status = "okay";
81
82 phy0: ethernet-phy@0 {
83 reg = <0>;
84 at803x-override-sgmii-link-check;
85 };
86 };