forked from u-boot/u-boot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of git://www.denx.de/git/u-boot-imx
- Loading branch information
Showing
45 changed files
with
1,576 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
if TARGET_ADVANTECH_DMS_BA16 | ||
|
||
choice | ||
prompt "DDR Size" | ||
default SYS_DDR_2G | ||
|
||
config SYS_DDR_1G | ||
bool "1GiB" | ||
|
||
config SYS_DDR_2G | ||
bool "2GiB" | ||
|
||
endchoice | ||
|
||
config IMX_CONFIG | ||
default "board/advantech/dms-ba16/dms-ba16_2g.cfg" if SYS_DDR_2G | ||
default "board/advantech/dms-ba16/dms-ba16_1g.cfg" if SYS_DDR_1G | ||
|
||
config SYS_BOARD | ||
default "dms-ba16" | ||
|
||
config SYS_VENDOR | ||
default "advantech" | ||
|
||
config SYS_SOC | ||
default "mx6" | ||
|
||
config SYS_CONFIG_NAME | ||
default "advantech_dms-ba16" | ||
|
||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
ADVANTECH_DMS-BA16 BOARD | ||
M: Akshay Bhat <[email protected]> | ||
M: Ken Lin <[email protected]> | ||
S: Maintained | ||
F: board/advantech/dms-ba16/ | ||
F: include/configs/advantech_dms-ba16.h | ||
F: configs/dms-ba16_defconfig | ||
F: configs/dms-ba16-1g_defconfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# | ||
# Copyright 2016 Timesys Corporation | ||
# Copyright 2016 Advantech Corporation | ||
# | ||
# SPDX-License-Identifier: GPL-2.0+ | ||
# | ||
|
||
obj-y := dms-ba16.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/* set the default clock gate to save power */ | ||
DATA 4, CCM_CCGR0, 0x00C03F3F | ||
DATA 4, CCM_CCGR1, 0x0030FC03 | ||
DATA 4, CCM_CCGR2, 0x0FFFC000 | ||
DATA 4, CCM_CCGR3, 0x3FF00000 | ||
DATA 4, CCM_CCGR4, 0x00FFF300 | ||
DATA 4, CCM_CCGR5, 0x0F0000C3 | ||
DATA 4, CCM_CCGR6, 0x000003FF | ||
|
||
/* enable AXI cache for VDOA/VPU/IPU */ | ||
DATA 4, MX6_IOMUXC_GPR4, 0xF00000CF | ||
/* set IPU AXI-id0 Qos=0xf(bypass) AXI-id1 Qos=0x7 */ | ||
DATA 4, MX6_IOMUXC_GPR6, 0x007F007F | ||
DATA 4, MX6_IOMUXC_GPR7, 0x007F007F | ||
|
||
/* | ||
* Setup CCM_CCOSR register as follows: | ||
* | ||
* cko1_en 1 --> CKO1 enabled | ||
* cko1_div 111 --> divide by 8 | ||
* cko1_sel 1011 --> ahb_clk_root | ||
* | ||
* This sets CKO1 at ahb_clk_root/8 132/8 16.5 MHz | ||
*/ | ||
DATA 4, CCM_CCOSR, 0x000000fb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
/* DDR IO */ | ||
DATA 4, MX6_IOM_GRP_DDR_TYPE, 0x000c0000 | ||
DATA 4, MX6_IOM_GRP_DDRPKE, 0x00000000 | ||
DATA 4, MX6_IOM_DRAM_SDCLK_0, 0x00000030 | ||
DATA 4, MX6_IOM_DRAM_SDCLK_1, 0x00000030 | ||
DATA 4, MX6_IOM_DRAM_CAS, 0x00000030 | ||
DATA 4, MX6_IOM_DRAM_RAS, 0x00000030 | ||
DATA 4, MX6_IOM_GRP_ADDDS, 0x00000030 | ||
DATA 4, MX6_IOM_DRAM_RESET, 0x00000030 | ||
DATA 4, MX6_IOM_DRAM_SDBA2, 0x00000000 | ||
DATA 4, MX6_IOM_DRAM_SDODT0, 0x00000030 | ||
DATA 4, MX6_IOM_DRAM_SDODT1, 0x00000030 | ||
DATA 4, MX6_IOM_GRP_CTLDS, 0x00000030 | ||
DATA 4, MX6_IOM_DDRMODE_CTL, 0x00020000 | ||
DATA 4, MX6_IOM_DRAM_SDQS0, 0x00000030 | ||
DATA 4, MX6_IOM_DRAM_SDQS1, 0x00000030 | ||
DATA 4, MX6_IOM_DRAM_SDQS2, 0x00000030 | ||
DATA 4, MX6_IOM_DRAM_SDQS3, 0x00000030 | ||
DATA 4, MX6_IOM_DRAM_SDQS4, 0x00000030 | ||
DATA 4, MX6_IOM_DRAM_SDQS5, 0x00000030 | ||
DATA 4, MX6_IOM_DRAM_SDQS6, 0x00000030 | ||
DATA 4, MX6_IOM_DRAM_SDQS7, 0x00000030 | ||
DATA 4, MX6_IOM_GRP_DDRMODE, 0x00020000 | ||
DATA 4, MX6_IOM_GRP_B0DS, 0x00000030 | ||
DATA 4, MX6_IOM_GRP_B1DS, 0x00000030 | ||
DATA 4, MX6_IOM_GRP_B2DS, 0x00000030 | ||
DATA 4, MX6_IOM_GRP_B3DS, 0x00000030 | ||
DATA 4, MX6_IOM_GRP_B4DS, 0x00000030 | ||
DATA 4, MX6_IOM_GRP_B5DS, 0x00000030 | ||
DATA 4, MX6_IOM_GRP_B6DS, 0x00000030 | ||
DATA 4, MX6_IOM_GRP_B7DS, 0x00000030 | ||
DATA 4, MX6_IOM_DRAM_DQM0, 0x00000030 | ||
DATA 4, MX6_IOM_DRAM_DQM1, 0x00000030 | ||
DATA 4, MX6_IOM_DRAM_DQM2, 0x00000030 | ||
DATA 4, MX6_IOM_DRAM_DQM3, 0x00000030 | ||
DATA 4, MX6_IOM_DRAM_DQM4, 0x00000030 | ||
DATA 4, MX6_IOM_DRAM_DQM5, 0x00000030 | ||
DATA 4, MX6_IOM_DRAM_DQM6, 0x00000030 | ||
DATA 4, MX6_IOM_DRAM_DQM7, 0x00000030 |
Oops, something went wrong.