From 39492d1d2f90d66931802d76677f8d0d0091dbcf Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 17 Feb 2023 10:22:53 +0100 Subject: bananapi-m2-plus: add kernel patch for ethernet to 5.15.x --- .../patches/5.15.89/enable-ethernet-bpi-m2-plus.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 target/linux/patches/5.15.89/enable-ethernet-bpi-m2-plus.patch (limited to 'target') diff --git a/target/linux/patches/5.15.89/enable-ethernet-bpi-m2-plus.patch b/target/linux/patches/5.15.89/enable-ethernet-bpi-m2-plus.patch new file mode 100644 index 000000000..7e9abd9ce --- /dev/null +++ b/target/linux/patches/5.15.89/enable-ethernet-bpi-m2-plus.patch @@ -0,0 +1,15 @@ +diff -Nur linux-6.0.11.orig/arch/arm/boot/dts/sunxi-h3-h5.dtsi linux-6.0.11/arch/arm/boot/dts/sunxi-h3-h5.dtsi +--- linux-6.0.11.orig/arch/arm/boot/dts/sunxi-h3-h5.dtsi 2022-12-02 17:43:18.000000000 +0100 ++++ linux-6.0.11/arch/arm/boot/dts/sunxi-h3-h5.dtsi 2022-12-19 08:06:16.836436057 +0100 +@@ -532,7 +532,10 @@ + reset-names = "stmmaceth"; + clocks = <&ccu CLK_BUS_EMAC>; + clock-names = "stmmaceth"; +- status = "disabled"; ++ status = "okay"; ++ phy-handle = <&int_mii_phy>; ++ phy-mode = "mii"; ++ allwinner,leds-active-low; + + mdio: mdio { + #address-cells = <1>; -- cgit v1.2.3