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
Jack Humbert
reform-boundary-uboot
Commits
a2689a91
Commit
a2689a91
authored
6 years ago
by
Troy Kisky
Browse files
Options
Downloads
Patches
Plain Diff
nitrogen8m: spl: setup pad IMX8MQ_PAD_GPIO1_IO08__GPIO1_IO8
Signed-off-by:
Troy Kisky
<
troy.kisky@boundarydevices.com
>
parent
b8477892
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
board/boundary/nitrogen8m/spl.c
+5
-5
5 additions, 5 deletions
board/boundary/nitrogen8m/spl.c
with
5 additions
and
5 deletions
board/boundary/nitrogen8m/spl.c
+
5
−
5
View file @
a2689a91
...
...
@@ -62,7 +62,10 @@ int board_mmc_getcd(struct mmc *mmc)
PAD_CTL_FSEL2)
#define USDHC_GPIO_PAD_CTRL (PAD_CTL_PUE | PAD_CTL_DSE1)
static
iomux_v3_cfg_t
const
usdhc1_pads
[]
=
{
static
iomux_v3_cfg_t
const
init_pads
[]
=
{
#define GP_I2C1_PCA9546_RESET IMX_GPIO_NR(1, 8)
IMX8MQ_PAD_GPIO1_IO08__GPIO1_IO8
|
MUX_PAD_CTRL
(
0x49
),
IMX8MQ_PAD_SD1_CLK__USDHC1_CLK
|
MUX_PAD_CTRL
(
USDHC_PAD_CTRL
),
IMX8MQ_PAD_SD1_CMD__USDHC1_CMD
|
MUX_PAD_CTRL
(
USDHC_PAD_CTRL
),
IMX8MQ_PAD_SD1_DATA0__USDHC1_DATA0
|
MUX_PAD_CTRL
(
USDHC_PAD_CTRL
),
...
...
@@ -95,8 +98,6 @@ int board_mmc_init(bd_t *bis)
switch
(
i
)
{
case
0
:
usdhc_cfg
[
0
].
sdhc_clk
=
mxc_get_clock
(
USDHC1_CLK_ROOT
);
imx_iomux_v3_setup_multiple_pads
(
usdhc1_pads
,
ARRAY_SIZE
(
usdhc1_pads
));
gpio_request
(
GP_EMMC_RESET
,
"usdhc1_reset"
);
gpio_direction_output
(
GP_EMMC_RESET
,
0
);
udelay
(
500
);
...
...
@@ -120,8 +121,6 @@ int board_mmc_init(bd_t *bis)
#define GP_DRAM_1P1_VSEL IMX_GPIO_NR(2, 11)
#define GP_SOC_GPU_VPU_VSEL IMX_GPIO_NR(2, 20)
#define GP_I2C1_PCA9546_RESET IMX_GPIO_NR(1, 8)
#define I2C_MUX_ADDR 0x70
#define I2C_FAN53555_ADDR 0x60
void
ddr_voltage_init
(
void
)
...
...
@@ -179,6 +178,7 @@ int power_init_board(void)
void
spl_board_init
(
void
)
{
enable_tzc380
();
imx_iomux_v3_setup_multiple_pads
(
init_pads
,
ARRAY_SIZE
(
init_pads
));
/* Adjust pmic voltage to 1.0V for 800M */
setup_i2c
(
0
,
CONFIG_SYS_I2C_SPEED
,
0x7f
,
&
i2c_pad_info1
);
...
...
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