lede/target/linux/ath79/dts/ar7242_ubnt_edgeswitch-8xp.dts
AmadeusGhost 86bc29e4a8
kernel: bump 5.4 to 5.4.68 (#5555)
[mac80211]
 ca5ee6e mac80211: Fix potential endless loop
 2c14710 mac80211: add more AQL fixes/improvements
 91fb3ce mac80211: remove an obsolete patch that is no longer doing anything useful
 acf1733 mac80211: add preliminary support for enabling 802.11ax in config
 d717343 mac80211: update encap offload patches to the latest version
 673062f mac80211: allow bigger A-MSDU sizes in VHT, even if HT is limited
 caf7277 mac80211: do not allow bigger VHT MPDUs than the hardware supports
 cd36c0d mac80211: select the first available channel for 5GHz interfaces
 1c6d456 mac80211: fix regression in station connection monitor optimization
 4bd7689 mac80211: update sta connection monitor regression fix

[target]
 Sync: at91, ath25, ath79, lantiq, mediatek, mvebu.
2020-10-03 00:36:16 +08:00

190 lines
3.4 KiB
Plaintext

// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
#include "ar7242_ubnt_sw.dtsi"
/ {
compatible = "ubnt,edgeswitch-8xp", "qca,ar7242";
model = "Ubiquiti EdgeSwitch 8XP";
gpio-export {
compatible = "gpio-export";
poe_24v_port1 {
gpio-export,name = "ubnt:24v-poe:port1";
gpio-export,output = <0>;
gpios = <&gpio_hc595 1 GPIO_ACTIVE_HIGH>;
};
poe_48v_port1 {
gpio-export,name = "ubnt:48v-poe:port1";
gpio-export,output = <0>;
gpios = <&gpio_hc595 0 GPIO_ACTIVE_HIGH>;
};
poe_24v_port2 {
gpio-export,name = "ubnt:24v-poe:port2";
gpio-export,output = <0>;
gpios = <&gpio_hc595 3 GPIO_ACTIVE_HIGH>;
};
poe_48v_port2 {
gpio-export,name = "ubnt:48v-poe:port2";
gpio-export,output = <0>;
gpios = <&gpio_hc595 2 GPIO_ACTIVE_HIGH>;
};
poe_24v_port3 {
gpio-export,name = "ubnt:24v-poe:port3";
gpio-export,output = <0>;
gpios = <&gpio_hc595 5 GPIO_ACTIVE_HIGH>;
};
poe_48v_port3 {
gpio-export,name = "ubnt:48v-poe:port3";
gpio-export,output = <0>;
gpios = <&gpio_hc595 4 GPIO_ACTIVE_HIGH>;
};
poe_24v_port4 {
gpio-export,name = "ubnt:24v-poe:port4";
gpio-export,output = <0>;
gpios = <&gpio_hc595 7 GPIO_ACTIVE_HIGH>;
};
poe_48v_port4 {
gpio-export,name = "ubnt:48v-poe:port4";
gpio-export,output = <0>;
gpios = <&gpio_hc595 6 GPIO_ACTIVE_HIGH>;
};
poe_24v_port5 {
gpio-export,name = "ubnt:24v-poe:port5";
gpio-export,output = <0>;
gpios = <&gpio_hc595 9 GPIO_ACTIVE_HIGH>;
};
poe_48v_port5 {
gpio-export,name = "ubnt:48v-poe:port5";
gpio-export,output = <0>;
gpios = <&gpio_hc595 8 GPIO_ACTIVE_HIGH>;
};
poe_24v_port6 {
gpio-export,name = "ubnt:24v-poe:port6";
gpio-export,output = <0>;
gpios = <&gpio_hc595 11 GPIO_ACTIVE_HIGH>;
};
poe_48v_port6 {
gpio-export,name = "ubnt:48v-poe:port6";
gpio-export,output = <0>;
gpios = <&gpio_hc595 10 GPIO_ACTIVE_HIGH>;
};
poe_24v_port7 {
gpio-export,name = "ubnt:24v-poe:port7";
gpio-export,output = <0>;
gpios = <&gpio_hc595 13 GPIO_ACTIVE_HIGH>;
};
poe_48v_port7 {
gpio-export,name = "ubnt:48v-poe:port7";
gpio-export,output = <0>;
gpios = <&gpio_hc595 12 GPIO_ACTIVE_HIGH>;
};
poe_24v_port8 {
gpio-export,name = "ubnt:24v-poe:port8";
gpio-export,output = <0>;
gpios = <&gpio_hc595 15 GPIO_ACTIVE_HIGH>;
};
poe_48v_port8 {
gpio-export,name = "ubnt:48v-poe:port8";
gpio-export,output = <0>;
gpios = <&gpio_hc595 14 GPIO_ACTIVE_HIGH>;
};
};
};
&mdio0 {
status = "okay";
phy-mask = <0x10>;
ethernet-switch@1e {
compatible = "brcm,bcm53128";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x1e>;
ports {
port0@0 {
reg = <0>;
label = "lan1";
};
port1@1 {
reg = <1>;
label = "lan2";
};
port2@2 {
reg = <2>;
label = "lan3";
};
port3@3 {
reg = <3>;
label = "lan4";
};
port4@4 {
reg = <4>;
label = "lan5";
};
port5@5 {
reg = <5>;
label = "lan6";
};
port6@6 {
reg = <6>;
label = "lan7";
};
port7@7 {
reg = <7>;
label = "lan8";
};
phy0: port8@8 {
reg = <8>;
label = "cpu";
ethernet = <&eth0>;
fixed-link {
speed = <1000>;
full-duplex;
};
};
};
};
};
&eth0 {
status = "okay";
phy-mode = "rgmii-rxid";
pll-data = <0x16000000 0x00000101 0x00001313>;
mtd-mac-address = <&art 0x0>;
phy-handle = <&phy0>;
fixed-link {
speed = <1000>;
full-duplex;
};
};