[PATCH] mediatek: drop gsw patch from mt7622-bananapi-bpi-r64

Oskari Lemmela oskari at lemmela.net
Thu Feb 25 02:05:43 EST 2021


use upstream DSA solution to match current bananapi-bpi-r64
network default settings.

Signed-off-by: Oskari Lemmela <oskari at lemmela.net>
---
 .../patches-5.4/0005-dts-mt7622-add-gsw.patch | 53 -------------------
 1 file changed, 53 deletions(-)

diff --git a/target/linux/mediatek/patches-5.4/0005-dts-mt7622-add-gsw.patch b/target/linux/mediatek/patches-5.4/0005-dts-mt7622-add-gsw.patch
index d40cbfb853..d5a4f173a7 100644
--- a/target/linux/mediatek/patches-5.4/0005-dts-mt7622-add-gsw.patch
+++ b/target/linux/mediatek/patches-5.4/0005-dts-mt7622-add-gsw.patch
@@ -1,56 +1,3 @@
---- a/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts
-+++ b/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts
-@@ -53,6 +53,13 @@
- 		};
- 	};
- 
-+	gsw: gsw at 0 {
-+		compatible = "mediatek,mt753x";
-+		mediatek,ethsys = <&ethsys>;
-+		#address-cells = <1>;
-+		#size-cells = <0>;
-+	};
-+
- 	leds {
- 		compatible = "gpio-leds";
- 
-@@ -146,6 +153,36 @@
- 	};
- };
- 
-+&gsw {
-+	mediatek,mdio = <&mdio>;
-+	mediatek,portmap = "wllll";
-+	mediatek,mdio_master_pinmux = <0>;
-+	reset-gpios = <&pio 54 0>;
-+	interrupt-parent = <&pio>;
-+	interrupts = <53 IRQ_TYPE_LEVEL_HIGH>;
-+	status = "okay";
-+
-+	port5: port at 5 {
-+		compatible = "mediatek,mt753x-port";
-+		reg = <5>;
-+		phy-mode = "rgmii";
-+		fixed-link {
-+			speed = <1000>;
-+			full-duplex;
-+		};
-+	};
-+
-+	port6: port at 6 {
-+		compatible = "mediatek,mt753x-port";
-+		reg = <6>;
-+		phy-mode = "sgmii";
-+		fixed-link {
-+			speed = <2500>;
-+			full-duplex;
-+		};
-+	};
-+};
-+
- &i2c1 {
- 	pinctrl-names = "default";
- 	pinctrl-0 = <&i2c1_pins>;
 --- a/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts
 +++ b/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts
 @@ -1,7 +1,6 @@
-- 
2.25.1




More information about the openwrt-devel mailing list