From 8d2a02b24d66aa359e83eebc1ed3c0f85367a1cb Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Thu, 16 May 2024 03:11:33 +0000
Subject: [PATCH] AX88772C_eeprom and ax8872c build together

---
 kernel/arch/openrisc/boot/dts/or1ksim.dts |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/kernel/arch/openrisc/boot/dts/or1ksim.dts b/kernel/arch/openrisc/boot/dts/or1ksim.dts
index d8aa830..c0cb74e 100644
--- a/kernel/arch/openrisc/boot/dts/or1ksim.dts
+++ b/kernel/arch/openrisc/boot/dts/or1ksim.dts
@@ -49,8 +49,9 @@
 	};
 
 	enet0: ethoc@92000000 {
-		compatible = "opencores,ethmac-rtlsvn338";
-		reg = <0x92000000 0x100>;
+		compatible = "opencores,ethoc";
+		reg = <0x92000000 0x800>;
 		interrupts = <4>;
+		big-endian;
 	};
 };

--
Gitblit v1.6.2