[PATCH v3 3/3] ARM: dts: omap3-devkit8000: Fix CONFIG_DM_ETH warning

Anthoine Bourgeois anthoine.bourgeois at gmail.com
Thu Jun 2 22:27:08 CEST 2022


Add the missing ethernet node in u-boot dts.

Signed-off-by: Anthoine Bourgeois <anthoine.bourgeois at gmail.com>
---
 arch/arm/dts/omap3-devkit8000-u-boot.dtsi | 6 ++++++
 configs/devkit8000_defconfig              | 1 +
 2 files changed, 7 insertions(+)

diff --git a/arch/arm/dts/omap3-devkit8000-u-boot.dtsi b/arch/arm/dts/omap3-devkit8000-u-boot.dtsi
index 2c03701c89..a5768b7281 100644
--- a/arch/arm/dts/omap3-devkit8000-u-boot.dtsi
+++ b/arch/arm/dts/omap3-devkit8000-u-boot.dtsi
@@ -11,4 +11,10 @@
 	chosen {
 		stdout-path = &uart3;
 	};
+
+	ethernet at 2c000000 {
+	        compatible = "davicom,dm9000";
+	        reg = <0x2c000000 2 0x2c000400 2>;
+	        bank-width = <2>;
+	};
 };
diff --git a/configs/devkit8000_defconfig b/configs/devkit8000_defconfig
index 23b9d2cfb1..59c3d92a62 100644
--- a/configs/devkit8000_defconfig
+++ b/configs/devkit8000_defconfig
@@ -74,5 +74,6 @@ CONFIG_SYS_NAND_OOBSIZE=0x40
 CONFIG_SYS_NAND_BUSWIDTH_16BIT=y
 CONFIG_SYS_NAND_U_BOOT_LOCATIONS=y
 CONFIG_SYS_NAND_U_BOOT_OFFS=0x80000
+CONFIG_DM_ETH=y
 CONFIG_DRIVER_DM9000=y
 CONFIG_JFFS2_NAND=y
-- 
2.35.1



More information about the U-Boot mailing list