generic: ar8216: fix unknown packet flooding for ar8229/ar8236
[oweals/openwrt.git] / target / linux / ath79 / dts / qca9558_zyxel_nbg6716.dts
index ea153d9f77efb11e72f535dec69a0782c26f14d6..ac4a70fbde30cd3a80f68a93068154250cd5912a 100644 (file)
@@ -4,7 +4,7 @@
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
 
-#include "qca9557.dtsi"
+#include "qca955x.dtsi"
 
 / {
        compatible = "zyxel,nbg6716", "qca,qca9558";
        };
 
        aliases {
-               led-boot = &power;
-               led-failsafe = &power;
-               led-running = &power;
-               led-upgrade = &power;
+               led-boot = &led_power;
+               led-failsafe = &led_power;
+               led-running = &led_power;
+               led-upgrade = &led_power;
        };
 
        leds {
                compatible = "gpio-leds";
 
-               power: power {
+               led_power: power {
                        label = "nbg6716:white:power";
                        gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
                };
 
-               wan {
+               internet {
                        label = "nbg6716:white:internet";
                        gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
                };
                        label = "nbg6716:white:usb1";
                        gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "usbport";
-                       trigger-sources = <&hub_port0>;
+                       trigger-sources = <&hub_port1>;
                };
 
                usb2 {
                        label = "nbg6716:white:usb2";
                        gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "usbport";
-                       trigger-sources = <&hub_port1>;
+                       trigger-sources = <&hub_port0>;
                };
 
-               wifi2 {
-                       label = "nbg6716:white:wifi2";
+               wifi2g {
+                       label = "nbg6716:white:wifi2g";
                        gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy1tpt";
                };
 
-               wifi5 {
-                       label = "nbg6716:white:wifi5";
+               wifi5g {
+                       label = "nbg6716:white:wifi5g";
                        gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };
 
                wps {
                        label = "nbg6716:white:wps";
-                       gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
                };
        };
 
                        debounce-interval = <60>;
                };
 
-               wifi_button {
-                        label = "WiFi button";
+               wifi {
+                       label = "WiFi button";
                        linux,code = <KEY_RFKILL>;
-                       gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
+                       linux,input-type = <EV_SW>;
+                       gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
                        debounce-interval = <60>;
                };
 
-               usb1 {
+               usb1 {
                        label = "USB1 eject button";
+                       linux,code = <BTN_1>;
                        gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
                        debounce-interval = <60>;
                };
 
-               usb2 {
-                        label = "USB2 eject button";
+               usb2 {
+                       label = "USB2 eject button";
+                       linux,code = <BTN_2>;
                        gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
                        debounce-interval = <60>;
                };
 };
 
 &gpio {
-       gpio_usb_power {
+       usb_power {
                gpio-hog;
                gpios = <16 0>;
                output-high;
 
 &spi {
        status = "okay";
+
        num-cs = <1>;
 
        flash@0 {
 &mdio0 {
        status = "okay";
 
-       phy0: ethernet-phy@0 {
-               reg = <17>;
+       phy17: ethernet-phy@11 {
+               reg = <0x11>;
                phy-mode = "rgmii-id";
        };
 
        status = "okay";
 
        pll-data = <0xa6000000 0x00000101 0x00001616>;
-       phy-handle = <&phy0>;
+       phy-handle = <&phy17>;
+
        fixed-link {
                speed = <1000>;
                full-duplex;
 
        pll-data = <0x03000101 0x00000101 0x00001616>;
        phy-handle = <&phy1>;
+
        fixed-link {
                speed = <1000>;
                full-duplex;
 
 &wmac {
        status = "okay";
+
+       mtd-cal-data = <&art 0x1000>;
 };
 
 &pcie1 {
-        status = "okay";
+       status = "okay";
 
        wifi@0,0 {
                compatible = "qcom,ath10k";
 };
 
 &usb_phy0 {
-        status = "okay";
+       status = "okay";
 };
 
 &usb_phy1 {
-        status = "okay";
+       status = "okay";
 };
 
 &usb0 {
-        status = "okay";
+       status = "okay";
 
        hub_port0: port@1 {
                reg = <1>;
 };
 
 &usb1 {
-        status = "okay";
+       status = "okay";
 
        hub_port1: port@1 {
                reg = <1>;