From: Jagan Teki <jagan@openedev.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v4 14/16] imx6: geam6ul: Add FEC support
Date: Tue, 13 Dec 2016 17:57:04 +0100 [thread overview]
Message-ID: <1481648226-30773-15-git-send-email-jagan@openedev.com> (raw)
In-Reply-To: <1481648226-30773-1-git-send-email-jagan@openedev.com>
From: Jagan Teki <jagan@amarulasolutions.com>
Add FEC support for Engicam GEAM6UL module.
Cc: Stefano Babic <sbabic@denx.de>
Cc: Matteo Lisi <matteo.lisi@engicam.com>
Cc: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---
arch/arm/cpu/armv7/mx6/Kconfig | 1 +
configs/imx6ul_geam_mmc_defconfig | 3 +++
configs/imx6ul_geam_nand_defconfig | 3 +++
include/configs/imx6ul_geam.h | 10 ++++++++++
4 files changed, 17 insertions(+)
diff --git a/arch/arm/cpu/armv7/mx6/Kconfig b/arch/arm/cpu/armv7/mx6/Kconfig
index 50e9b4b..d57ce9b 100644
--- a/arch/arm/cpu/armv7/mx6/Kconfig
+++ b/arch/arm/cpu/armv7/mx6/Kconfig
@@ -173,6 +173,7 @@ config TARGET_MX6UL_GEAM
select MX6UL
select OF_CONTROL
select DM
+ select DM_ETH
select DM_GPIO
select DM_I2C
select DM_MMC
diff --git a/configs/imx6ul_geam_mmc_defconfig b/configs/imx6ul_geam_mmc_defconfig
index e1e1dd2..d5be076 100644
--- a/configs/imx6ul_geam_mmc_defconfig
+++ b/configs/imx6ul_geam_mmc_defconfig
@@ -18,6 +18,8 @@ CONFIG_SYS_MAXARGS=32
CONFIG_CMD_BOOTZ=y
CONFIG_CMD_GPIO=y
CONFIG_CMD_MEMTEST=y
+CONFIG_CMD_MII=y
+CONFIG_CMD_PING=y
CONFIG_CMD_MMC=y
CONFIG_CMD_CACHE=y
CONFIG_CMD_EXT2=y
@@ -27,6 +29,7 @@ CONFIG_CMD_FAT=y
CONFIG_CMD_FS_GENERIC=y
CONFIG_CMD_I2C=y
CONFIG_OF_LIBFDT=y
+CONFIG_FEC_MXC=y
CONFIG_MXC_UART=y
CONFIG_IMX_THERMAL=y
CONFIG_PINCTRL=y
diff --git a/configs/imx6ul_geam_nand_defconfig b/configs/imx6ul_geam_nand_defconfig
index b7a44c7..cc45602 100644
--- a/configs/imx6ul_geam_nand_defconfig
+++ b/configs/imx6ul_geam_nand_defconfig
@@ -18,9 +18,12 @@ CONFIG_SYS_MAXARGS=32
CONFIG_CMD_BOOTZ=y
CONFIG_CMD_GPIO=y
CONFIG_CMD_MEMTEST=y
+CONFIG_CMD_MII=y
+CONFIG_CMD_PING=y
CONFIG_CMD_NAND=y
CONFIG_CMD_CACHE=y
CONFIG_OF_LIBFDT=y
+CONFIG_FEC_MXC=y
CONFIG_MXC_UART=y
CONFIG_NAND_MXS=y
CONFIG_IMX_THERMAL=y
diff --git a/include/configs/imx6ul_geam.h b/include/configs/imx6ul_geam.h
index 7cfdfef..48b1120 100644
--- a/include/configs/imx6ul_geam.h
+++ b/include/configs/imx6ul_geam.h
@@ -137,6 +137,16 @@
# define CONFIG_APBH_DMA_BURST8
#endif
+/* Ethernet */
+#ifdef CONFIG_FEC_MXC
+# define CONFIG_FEC_MXC_PHYADDR 0
+# define CONFIG_FEC_XCV_TYPE RMII
+
+# define CONFIG_MII
+# define CONFIG_PHYLIB
+# define CONFIG_PHY_SMSC
+#endif
+
/* SPL */
#ifdef CONFIG_SPL
# ifdef CONFIG_NAND_MXS
--
1.9.1
next prev parent reply other threads:[~2016-12-13 16:57 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-13 16:56 [U-Boot] [PATCH v4 00/16] imx6: Add Engicam GEAM6UL/i.CoreM6 RQS board support Jagan Teki
2016-12-13 16:56 ` [U-Boot] [PATCH v4 01/16] arm: dts: Add devicetree for i.MX6UL Jagan Teki
2016-12-13 16:56 ` [U-Boot] [PATCH v4 02/16] arm: imx6ul: Add Engicam GEAM6UL Starter Kit initial support Jagan Teki
2016-12-13 16:56 ` [U-Boot] [PATCH v4 03/16] arm: dts: imx6ul-geam: Add I2C nodes Jagan Teki
2016-12-13 16:56 ` [U-Boot] [PATCH v4 04/16] imx6: geam6ul: Add I2C support Jagan Teki
2016-12-13 16:56 ` [U-Boot] [PATCH v4 05/16] imx6: geam6ul: Add NAND support Jagan Teki
2016-12-13 16:56 ` [U-Boot] [PATCH v4 06/16] imx6: geam6ul: Enable MTD device support Jagan Teki
2016-12-13 16:56 ` [U-Boot] [PATCH v4 07/16] imx6: geam6ul: Add default mtd nand partition table Jagan Teki
2016-12-13 16:56 ` [U-Boot] [PATCH v4 08/16] arm: imx6q: Add Engicam i.CoreM6 Quad/Dual RQS Starter Kit initial support Jagan Teki
2016-12-13 16:56 ` [U-Boot] [PATCH v4 09/16] arm: imx6q: Add Engicam i.CoreM6 Solo/Duallite " Jagan Teki
2016-12-13 16:57 ` [U-Boot] [PATCH v4 10/16] imx6: icorem6: Rename engicam icorem6 defconfig files Jagan Teki
2016-12-13 16:57 ` [U-Boot] [PATCH v4 11/16] arm: dts: imx6qdl-icore-rqs: Add I2C node's Jagan Teki
2016-12-13 16:57 ` [U-Boot] [PATCH v4 12/16] imx6: icorem6_rqs: Add I2C support Jagan Teki
2016-12-13 16:57 ` [U-Boot] [PATCH v4 13/16] arm: dts: imx6ul-geam: Add FEC node Jagan Teki
2016-12-13 16:57 ` Jagan Teki [this message]
2016-12-13 16:57 ` [U-Boot] [PATCH v4 15/16] arm: dts: imx6qdl-icore-rqs: " Jagan Teki
2016-12-13 16:57 ` [U-Boot] [PATCH v4 16/16] imx6: icorem6_rqs: Add FEC support Jagan Teki
2016-12-16 9:23 ` [U-Boot] [PATCH v4 00/16] imx6: Add Engicam GEAM6UL/i.CoreM6 RQS board support Jagan Teki
2016-12-16 15:42 ` Stefano Babic
2016-12-16 16:00 ` Jagan Teki
2016-12-16 16:08 ` Jagan Teki
2016-12-16 16:29 ` Stefano Babic
2016-12-16 16:52 ` Jagan Teki
2016-12-16 17:27 ` Stefano Babic
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1481648226-30773-15-git-send-email-jagan@openedev.com \
--to=jagan@openedev.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox