kernel: add missing check for TCP GRO
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9558_devolo_dvl1xxx.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 /*
4 * The hardware of this board family is most likely shared with other devices
5 * from other manufacturers.
6 * Devolo seems to use hardware from Edimax, namely the Edimax WAP1750.
7 *
8 * The base board is identical but the single models differ in number of
9 * buttons, ethernet ports, external console, USB, external / internal
10 * antennas and number of spatial streams.
11 */
12
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/input/input.h>
15
16 #include "qca955x.dtsi"
17
18 / {
19 keys {
20 compatible = "gpio-keys";
21
22 reset {
23 label = "Reset button";
24 linux,code = <KEY_RESTART>;
25 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
26 debounce-interval = <60>;
27 };
28 };
29
30 watchdog {
31 compatible = "linux,wdt-gpio";
32 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
33 hw_algo = "toggle";
34 hw_margin_ms = <300>;
35 always-running;
36 };
37 };
38
39 &pcie0 {
40 status = "okay";
41 };
42
43 &uart {
44 status = "okay";
45 };
46
47 &spi {
48 status = "okay";
49
50 num-cs = <1>;
51
52 flash@0 {
53 compatible = "jedec,spi-nor";
54 reg = <0>;
55 spi-max-frequency = <25000000>;
56
57 partitions {
58 compatible = "fixed-partitions";
59 #address-cells = <1>;
60 #size-cells = <1>;
61
62 partition@0 {
63 label = "u-boot";
64 reg = <0x000000 0x040000>;
65 read-only;
66 };
67
68 partition@40000 {
69 label = "u-boot-env";
70 reg = <0x040000 0x010000>;
71 read-only;
72 };
73
74 art: partition@50000 {
75 label = "art";
76 reg = <0x050000 0x010000>;
77 read-only;
78 };
79
80 partition@60000 {
81 label = "art_bak";
82 reg = <0x060000 0x010000>;
83 read-only;
84 };
85
86 partition@70000 {
87 compatible = "denx,uimage";
88 label = "firmware";
89 reg = <0x070000 0xf90000>;
90 };
91 };
92 };
93 };
94
95 &mdio0 {
96 status = "okay";
97
98 phy4: ethernet-phy@4 {
99 reg = <4>;
100 eee-broken-100tx;
101 eee-broken-1000t;
102 };
103 };
104
105 &eth0 {
106 status = "okay";
107
108 mtd-mac-address = <&art 0x00>;
109 phy-handle = <&phy4>;
110 phy-mode = "rgmii-rxid";
111 pll-data = <0xae000000 0x80000101 0x80001313>;
112
113 gmac_config: gmac-config {
114 device = <&gmac>;
115
116 rxdv-delay = <3>;
117 rxd-delay = <3>;
118 txen-delay = <0>;
119 txd-delay = <0>;
120 rgmii-enabled = <1>;
121 };
122 };
123
124 &mdio1 {
125 phy1: ethernet-phy@1 {
126 reg = <1>;
127 at803x-override-sgmii-link-check;
128 };
129 };
130
131 &eth1 {
132 mtd-mac-address = <&art 0x00>;
133 mtd-mac-address-increment = <1>;
134
135 phy-handle = <&phy1>;
136 pll-data = <0x03000101 0x00000101 0x00001313>;
137
138 qca955x-sgmii-fixup;
139 };
140
141 &wmac {
142 status = "okay";
143
144 mtd-cal-data = <&art 0x1000>;
145 mtd-mac-address = <&art 0x00>;
146 mtd-mac-address-increment = <(-2)>;
147 };