enable-ethernet-bpi-m2-plus.patch 587 B

123456789101112131415
  1. 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
  2. --- linux-6.0.11.orig/arch/arm/boot/dts/sunxi-h3-h5.dtsi 2022-12-02 17:43:18.000000000 +0100
  3. +++ linux-6.0.11/arch/arm/boot/dts/sunxi-h3-h5.dtsi 2022-12-19 08:06:16.836436057 +0100
  4. @@ -532,7 +532,10 @@
  5. reset-names = "stmmaceth";
  6. clocks = <&ccu CLK_BUS_EMAC>;
  7. clock-names = "stmmaceth";
  8. - status = "disabled";
  9. + status = "okay";
  10. + phy-handle = <&int_mii_phy>;
  11. + phy-mode = "mii";
  12. + allwinner,leds-active-low;
  13. mdio: mdio {
  14. #address-cells = <1>;