mntmn
dfded62ee7
reform2: add config file
8 months ago
mntmn
fd95e03d8d
reform2: WIP build and flash scripts
8 months ago
mntmn
b3a8287b13
reform2: WIP tweaks to nitrogen8m_som.h
8 months ago
mntmn
4b9d8552b7
reform2: hack to force sd/emmc to 4 bits and non-removable
8 months ago
mntmn
3291375546
reform2: WIP some comments for lpddr4_init
8 months ago
mntmn
79ef7eefe4
reform2: dump clocks and test some DDR bytes in SPL
8 months ago
mntmn
aa51149ba9
reform2: remove some unneeded features from nitrogen8m_som.c
8 months ago
mntmn
b5750e89af
reform2: sd/mmc: force enable all controllers
8 months ago
Troy Kisky
7e83e972a4
son: spl change soc voltage to .9V
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
1 year ago
Troy Kisky
4748acafb5
son: set VDD_VPU_GPU to .9
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
1 year ago
Troy Kisky
f71ea992d4
squash Makefile: test for CONFIG_IMX8MN
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
1 year ago
Troy Kisky
6332e1ed54
imx8m: imx8mq: soc: fix get chip rev for B1 revision"
This reverts commit 308ca269d0
.
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
1 year ago
Troy Kisky
61986c013a
boundary: common: mx6: 800mhz_256mx16: increase tRFC
nw2 seems to need this change. Data sheet says 104 ns. This
is a little more.
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
1 year ago
Troy Kisky
5e63b20ab8
son: initial addition, Boundary Devices board
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
1 year ago
Troy Kisky
c20449e5f4
fbpanel: add jeida/spwg/split-mode support to mipi panels
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
1 year ago
Troy Kisky
b3e69f41a2
nitrogen8mm: spl: combine pads into 1 array
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
1 year ago
Troy Kisky
8f257b301e
nitrogen8m: fix unused GPIRQ_ENET_PHY definition
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
1 year ago
Troy Kisky
0d43ae8659
fbpanel: increase hsync_len for panel LTK080A60A004T
This seems to fix the flicker issue on i.MX8MM
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
1 year ago
Troy Kisky
b687661f06
fbpanel: increase hsync_len for panel M101NWWB
This seems to fix the flicker issue on i.MX8MM
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
1 year ago
Troy Kisky
0bd5847cea
arch-imx8m: imx-regs-imx8mq: add GPR_TZASC_SWAP_ID
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
1 year ago
Troy Kisky
8ffffc619d
nitrogen8mm: add rev 2
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
1 year ago
Troy Kisky
1e10b96c81
nitrogen8mm: add TARGET_NITROGEN8MN
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
1 year ago
Troy Kisky
70e84d952c
hl8mm: initial addition, Boundary Devices board
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
1 year ago
Troy Kisky
5f2dad04f4
boundary: bootscripts: add 8MMQ/8MNano
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
1 year ago
Troy Kisky
e79df699f9
fbpanel: add VD_MIPI_TM070JDHG30
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
1 year ago
Peng Fan
97ab4bd9dd
imx: add i.MX8MN DDR4 board support
Support pinctrl/clk/sdhc, include ddr4 timing data.
Log:
U-Boot SPL 2019.10-rc3-00356-g497c500423-dirty (Sep 16 2019 - 10:54:58 +0800)
Normal Boot
Trying to boot from BOOTROM
image offset 0x8000, pagesize 0x200, ivt offset 0x0
U-Boot 2019.10-rc3-00356-g497c500423-dirty (Sep 16 2019 - 10:54:58 +0800)
CPU: Freescale i.MX8MNano rev1.0 at 24 MHz
Reset cause: POR
Model: NXP i.MX8MNano DDR4 EVK board
DRAM: 2 GiB
MMC: FSL_SDHC: 1, FSL_SDHC: 2
Loading Environment from MMC... *** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Net: No ethernet found.
Hit any key to stop autoboot: 0
Signed-off-by: Peng Fan <peng.fan@nxp.com>
1 year ago
Troy Kisky
4bc2b575d3
clock_imx8mm: grab init_uart_clk from mainline
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
1 year ago
Kever Yang
de3420aa26
sysreset: enable driver support in SPL/TPL
SPL/TPL also need use sysreset for some feature like panic callback.
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
1 year ago
Troy Kisky
f05c37e1f9
Makefile: test for CONFIG_IMX8MN
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
1 year ago
Peng Fan
a7c06e8330
drivers: ddr: introduce DDR driver for i.MX8M
Introduce DDR driver for i.MX8M. The driver will be used by SPL to
initialze DDR PHY and DDR Controller.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
ddr: imx8m: Fix ddr4 driver build issue
Since the parameter of dram_pll_init is changed, update to use new.
Also remove non-existed header file.
Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
2 years ago
Peng Fan
f8cb4a7d79
imx: add dtsi for i.MX8MN
Add dtsi for i.MX8MN
Signed-off-by: Peng Fan <peng.fan@nxp.com>
1 year ago
Peng Fan
bbdcc113e2
imx8m: restrict reset_cpu
Make reset_cpu only visible when CONFIG_SYSRESET not defined
or CONFIG_SPL_BUILD.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
1 year ago
Peng Fan
9608382083
imx8m: add i.MX8MN ddr4 image cfg file
Add cfg file for i.MX8MN DDR4
Signed-off-by: Peng Fan <peng.fan@nxp.com>
1 year ago
Troy Kisky
48bcfc2d6a
protect LCDIF_PIXEL_CLK_ROOT
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
1 year ago
Troy Kisky
04f09c9b44
imx8m: imx-regs: add IMX8MN support
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
1 year ago
Troy Kisky
47af0c2ebc
tools: imx8m_image: test for ddr4 vs lpddr4
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
1 year ago
Peng Fan
c874b22ce8
tools: imx8m_image: support ddr4 firmware
some boards use ddr4, not lpddr4, so we need to check ddr4 firmware.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
1 year ago
Peng Fan
1277d11daf
pinctrl: imx8m: support i.MX8MN
Support i.MX8MN in imx8m pinctrl driver
Signed-off-by: Peng Fan <peng.fan@nxp.com>
1 year ago
Peng Fan
3009df457a
tools: imx8mimage: add ROM VERSION
The IVT offset is changed on i.MX8MN. Use ROM_VERSION to pass the
v1 or v2 to mkimage.
v1 is for iMX8MQ and iMX8MM
v2 is for iMX8M Nano (iMX8MN)
Signed-off-by: Peng Fan <peng.fan@nxp.com>
1 year ago
Peng Fan
4fdf099d83
imx8mn: add get_boot_device
No ROM INFO structure on iMX8MN, use new ROM API to get boot device
from ROM.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
1 year ago
Peng Fan
30a4b90ad1
imx: cpu: restrict get_boot_device
i.MX8MN has its own get_boot_device, so restrict with i.MX8MQ and
i.MX8MM.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
1 year ago
Peng Fan
fe5c1edf75
imx: add rom api support
i.MX8MN support loading images with rom api, so we implement
reuse board_return_to_bootrom to let ROM loading images.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
1 year ago
Peng Fan
7026d0a987
imx8mn: add pin header
Add pin header for i.MX8MN
Signed-off-by: Peng Fan <peng.fan@nxp.com>
1 year ago
Peng Fan
bf255d7d6d
imx: add i.MX8MN PE property
i.MX8MN does not have LVTTL, it has a PE property
Signed-off-by: Peng Fan <peng.fan@nxp.com>
1 year ago
Peng Fan
3af24536bf
imx8mn: set BYPASS ID SWAP to avoid AXI bus errors
Set the BYPASS ID SWAP bit (GPR10 bit 1) in order for GPU not to
generated AXI bus errors with TZC380 enabled.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
1 year ago
Peng Fan
42ebaf7051
imx8m: add clk support for i.MX8MN
i.MX8MN has similar architecture with i.MX8MM, so it could reuse
the clock code of i.MX8MM, but i.MX8MN has different CCM root
configurations, so need a separate root entry.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
1 year ago
Peng Fan
1d0ff50dbd
imx8mn: support get_cpu_rev
Add a dummy cpu type and support get_cpu_rev for i.MX8MN
Signed-off-by: Peng Fan <peng.fan@nxp.com>
1 year ago
Peng Fan
308ca269d0
imx8m: imx8mq: get chip rev for B1 revision
The i.MX8MQ B1 uses OCOTP_HW_OCOTP_READ_FUSE_DATA register for chip id.
It returns a magic number 0xff0055aa. update get_cpu_rev to support it,
and enable ocotp clock to access ocotp.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
1 year ago
Peng Fan
5c7054b80e
imx: cpu: add CHIP_REV_2_1 macro
Introduce CHIP_REV_2_1 macro.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
2 years ago
Peng Fan
0fe89cbbcb
imx: add get_cpu_rev support for i.MX8MM
There are several variants based on i.MX8MM, add the support in
get_cpu_rev
Signed-off-by: Peng Fan <peng.fan@nxp.com>
1 year ago