Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
reform-boundary-uboot
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Reform
reform-boundary-uboot
Commits
6870f207
Commit
6870f207
authored
6 years ago
by
Troy Kisky
Browse files
Options
Downloads
Patches
Plain Diff
nitrogen8mm: select CONFIG_FEC_PHY_BITBANG for ODE workaround
Signed-off-by:
Troy Kisky
<
troy.kisky@boundarydevices.com
>
parent
08e2d98d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
board/boundary/nitrogen8mm/nitrogen8mm.c
+11
-0
11 additions, 0 deletions
board/boundary/nitrogen8mm/nitrogen8mm.c
configs/nitrogen8mm_2g_defconfig
+1
-0
1 addition, 0 deletions
configs/nitrogen8mm_2g_defconfig
with
12 additions
and
0 deletions
board/boundary/nitrogen8mm/nitrogen8mm.c
+
11
−
0
View file @
6870f207
...
...
@@ -68,8 +68,15 @@ static iomux_v3_cfg_t const init_pads[] = {
#ifdef CONFIG_FEC_MXC
/* PHY - AR8035 */
#ifdef CONFIG_FEC_PHY_BITBANG
#define GP_MII_MDIO IMX_GPIO_NR(1, 17)
IMX8MM_PAD_ENET_MDIO_GPIO1_IO17
|
MUX_PAD_CTRL
(
0
),
#define GP_MII_MDC IMX_GPIO_NR(1, 16)
IMX8MM_PAD_ENET_MDC_GPIO1_IO16
|
MUX_PAD_CTRL
(
0
),
#else
IMX8MM_PAD_ENET_MDIO_ENET1_MDIO
|
MUX_PAD_CTRL
(
PAD_CTRL_ENET_MDIO
),
IMX8MM_PAD_ENET_MDC_ENET1_MDC
|
MUX_PAD_CTRL
(
PAD_CTRL_ENET_MDC
),
#endif
IMX8MM_PAD_ENET_TX_CTL_ENET1_RGMII_TX_CTL
|
MUX_PAD_CTRL
(
PAD_CTRL_ENET_TX
),
IMX8MM_PAD_ENET_TD0_ENET1_RGMII_TD0
|
MUX_PAD_CTRL
(
PAD_CTRL_ENET_TX
),
IMX8MM_PAD_ENET_TD1_ENET1_RGMII_TD1
|
MUX_PAD_CTRL
(
PAD_CTRL_ENET_TX
),
...
...
@@ -166,6 +173,10 @@ static const struct display_info_t displays[] = {
int
board_init
(
void
)
{
#ifdef CONFIG_FEC_PHY_BITBANG
gpio_request
(
GP_MII_MDC
,
"mii_mdc"
);
gpio_request
(
GP_MII_MDIO
,
"mii_mdio"
);
#endif
gpio_request
(
GP_I2C2_SN65DSI83_EN
,
"sn65dsi83_enable"
);
gpio_request
(
GP_GT911_RESET
,
"gt911_reset"
);
gpio_request
(
GPIRQ_GT911
,
"gt911_irq"
);
...
...
This diff is collapsed.
Click to expand it.
configs/nitrogen8mm_2g_defconfig
+
1
−
0
View file @
6870f207
...
...
@@ -68,6 +68,7 @@ CONFIG_PHYLIB=y
CONFIG_PHY_ATHEROS=y
CONFIG_NETDEVICES=y
CONFIG_FEC_MXC=y
CONFIG_FEC_PHY_BITBANG=y
CONFIG_PINCTRL=y
CONFIG_PINCTRL_IMX8M=y
CONFIG_DM_REGULATOR=y
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment