kernel: add missing check for TCP GRO
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar9331_tplink_tl-wr703n_tl-mr10u.dtsi
index c4ec8a840e2ed474b6a040abf71256ac0394dd75..a8608a77e1949ecc69e8f735cea2b08f14a545d1 100644 (file)
@@ -1,18 +1,16 @@
 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-/dts-v1/;
+
+#include "ar9331.dtsi"
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
 
-#include "ar9331.dtsi"
-
 / {
        aliases {
-               serial0 = &uart;
-               led-boot = &system;
-               led-failsafe = &system;
-               led-running = &system;
-               led-upgrade = &system;
+               led-boot = &led_system;
+               led-failsafe = &led_system;
+               led-running = &led_system;
+               led-upgrade = &led_system;
                label-mac-device = &eth0;
        };
 
@@ -30,8 +28,8 @@
        leds {
                compatible = "gpio-leds";
 
-               system: system {
-                       label = "tl-wr703n:blue:system";
+               led_system: system {
+                       label = "blue:system";
                        gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
                };
        };
@@ -47,7 +45,6 @@
 
 &spi {
        status = "okay";
-       num-cs = <1>;
 
        flash@0 {
                compatible = "jedec,spi-nor";
                                reg = <0x0 0x20000>;
                                label = "u-boot";
                                read-only;
+
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       macaddr_uboot_1fc00: macaddr@1fc00 {
+                                               reg = <0x1fc00 0x6>;
+                                       };
+                               };
                        };
 
-                       firmware: partition@20000 {
+                       partition@20000 {
                                compatible = "tplink,firmware";
                                reg = <0x20000 0x3d0000>;
                                label = "firmware";
@@ -83,7 +90,8 @@
 &eth0 {
        status = "okay";
 
-       mtd-mac-address = <&uboot 0x1fc00>;
+       nvmem-cells = <&macaddr_uboot_1fc00>;
+       nvmem-cell-names = "mac-address";
 
        gmac-config {
                device = <&gmac>;
 
 &eth1 {
        status = "okay";
-       compatible = "syscon", "simple-mfd";
-};
-
-&gpio {
-       status = "okay";
-};
 
-&uart {
-       status = "okay";
+       compatible = "syscon", "simple-mfd";
 };
 
 &usb {
 
 &wmac {
        status = "okay";
+
        mtd-cal-data = <&art 0x1000>;
-       mtd-mac-address = <&uboot 0x1fc00>;
+       nvmem-cells = <&macaddr_uboot_1fc00>;
+       nvmem-cell-names = "mac-address";
 };