bootstrap: iomux adaptions for i.MX8 MIPI

These settings were obtained with a JTAG debugger from a running Linux
system. They work for MIPI as well as for HDMI.

issue #3900
This commit is contained in:
Sebastian Sumpf 2020-09-23 11:05:35 +02:00 committed by Christian Helmuth
parent 325e9cb9fa
commit 27f705bc48

View File

@ -59,8 +59,8 @@ Bootstrap::Platform::Board::Board()
{ 0x303301EC, 0x0 }, { 0x303301EC, 0x0 },
{ 0x303301FC, 0x1 }, { 0x303301FC, 0x1 },
{ 0x30330200, 0x1 }, { 0x30330200, 0x1 },
{ 0x3033021C, 0x10 }, { 0x3033021C, 0x5 },
{ 0x30330220, 0x10 }, { 0x30330220, 0x5 },
{ 0x30330224, 0x10 }, { 0x30330224, 0x10 },
{ 0x30330228, 0x10 }, { 0x30330228, 0x10 },
{ 0x3033022C, 0x12 }, { 0x3033022C, 0x12 },
@ -74,12 +74,23 @@ Bootstrap::Platform::Board::Board()
{ 0x303302C0, 0x4F }, { 0x303302C0, 0x4F },
{ 0x303302C4, 0x16 }, { 0x303302C4, 0x16 },
{ 0x303302CC, 0x59 }, { 0x303302CC, 0x59 },
{ 0x3033033C, 0x9F }, { 0x30330308, 0x9F },
{ 0x30330340, 0xDF }, { 0x3033030C, 0xDF },
{ 0x30330344, 0xDF }, { 0x30330310, 0xDF },
{ 0x30330348, 0xDF }, { 0x30330314, 0xDF },
{ 0x3033034C, 0xDF }, { 0x30330318, 0xDF },
{ 0x30330350, 0xDF }, { 0x3033031C, 0xDF },
{ 0x30330320, 0xDF },
{ 0x30330324, 0xDF },
{ 0x30330328, 0xDF },
{ 0x3033032C, 0xDF },
{ 0x30330334, 0x9f },
{ 0x3033033C, 0x83 },
{ 0x30330340, 0xC3 },
{ 0x30330344, 0xC3 },
{ 0x30330348, 0xC3 },
{ 0x3033034C, 0xC3 },
{ 0x30330350, 0xC3 },
{ 0x30330368, 0x59 }, { 0x30330368, 0x59 },
{ 0x30330370, 0x19 }, { 0x30330370, 0x19 },
{ 0x3033039C, 0x19 }, { 0x3033039C, 0x19 },
@ -110,15 +121,18 @@ Bootstrap::Platform::Board::Board()
{ 0x30330430, 0xD6 }, { 0x30330430, 0xD6 },
{ 0x30330450, 0xD6 }, { 0x30330450, 0xD6 },
{ 0x30330454, 0xD6 }, { 0x30330454, 0xD6 },
{ 0x30330460, 0x19 },
{ 0x30330464, 0x49 }, { 0x30330464, 0x49 },
{ 0x30330468, 0x49 }, { 0x30330468, 0x49 },
{ 0x3033046C, 0x16 }, { 0x3033046C, 0x16 },
{ 0x30330484, 0x67 }, { 0x30330484, 0x16 },
{ 0x30330488, 0x67 }, { 0x30330488, 0x16 },
{ 0x3033048C, 0x67 }, { 0x3033048C, 0x67 },
{ 0x30330490, 0x67 }, { 0x30330490, 0x67 },
{ 0x30330494, 0x76 }, { 0x30330494, 0x76 },
{ 0x30330498, 0x76 }, { 0x30330498, 0x76 },
{ 0x3033049C, 0x49 },
{ 0x303304A0, 0x49 },
{ 0x303304AC, 0x49 }, { 0x303304AC, 0x49 },
{ 0x303304B0, 0x49 }, { 0x303304B0, 0x49 },
{ 0x303304C8, 0x1 }, { 0x303304C8, 0x1 },
@ -126,7 +140,12 @@ Bootstrap::Platform::Board::Board()
{ 0x30330500, 0x1 }, { 0x30330500, 0x1 },
{ 0x30330504, 0x2 }, { 0x30330504, 0x2 },
{ 0x30340038, 0x49409600 }, { 0x30340038, 0x49409600 },
{ 0x30340040, 0x49409200 } { 0x30340040, 0x49409200 },
{ 0x30340034, 0x4 }, /* MIPI mux selector */
/*
{ 0x30340060, 0x180800 },
{ 0x30340064, 0x6400520 },
{ 0x30340068, 0x0A }, */
}; };
struct Gpio_reg : Genode::Mmio struct Gpio_reg : Genode::Mmio