summaryrefslogtreecommitdiff
path: root/target/linux/patches/6.0.15/enable-ethernet-bpi-m2-plus.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2022-12-26 13:46:20 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2022-12-26 13:46:20 +0100
commit134df1932fdb77a54029d8e1028d27a00f911db9 (patch)
treee56bceec9fe1c0a455f6378a13c3f93651316304 /target/linux/patches/6.0.15/enable-ethernet-bpi-m2-plus.patch
parentc043589e2d49f6a13907d300260e9b4236fdac09 (diff)
linux: update to 6.0.15, reduce mini.config from rockpi4-plus
Diffstat (limited to 'target/linux/patches/6.0.15/enable-ethernet-bpi-m2-plus.patch')
-rw-r--r--target/linux/patches/6.0.15/enable-ethernet-bpi-m2-plus.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/target/linux/patches/6.0.15/enable-ethernet-bpi-m2-plus.patch b/target/linux/patches/6.0.15/enable-ethernet-bpi-m2-plus.patch
new file mode 100644
index 000000000..7e9abd9ce
--- /dev/null
+++ b/target/linux/patches/6.0.15/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>;