artecgroup/dbe61: Set up NAND and USB power handling settings
Also upper-cases the hex in lpc_serirq_polarity as all other Geode boards have it as such, and remove parts of the commented out reference v2 setup block that should be handled by this change now.
Oddly enough the USB power handling setting (that was to get the other pair of USB ports powered during DBE62 work) actually make memtest work, while without it it gets unexpected interrupt halts. The SPD commit earlier missed this local change as an unrelated one.
Signed-off-by: Mart Raudsepp mart.raudsepp@artecdesign.ee --- mainboard/artecgroup/dbe61/dts | 15 +++++---------- 1 files changed, 5 insertions(+), 10 deletions(-)
diff --git a/mainboard/artecgroup/dbe61/dts b/mainboard/artecgroup/dbe61/dts index 69a6217..291764a 100644 --- a/mainboard/artecgroup/dbe61/dts +++ b/mainboard/artecgroup/dbe61/dts @@ -22,14 +22,8 @@
/* chip southbridge/amd/cs5536_lx - register "enable_ide_nand_flash" = "0" - - register "isa_irq" = "0" #register "flash_irq" = "14"
- ## IDE IRQ - register "enable_ide_irq" = "0" - register "audio_irq" = "5" register "usb_irq" = "7"
@@ -55,9 +49,6 @@ # Configure KEL Emulation IRQ, 0 to disable register "kel_emul_irq" = "0"
- device pci f.0 on end # ISA Bridge - device pci f.1 on end # Flash controller - device pci f.2 off end # IDE controller device pci f.3 on end # Audio device pci f.4 on end # OHCI device pci f.5 on end # EHCI @@ -95,12 +86,14 @@ end * Each bit is an IRQ 0-15. */ lpc_serirq_enable = "0x00001002"; /* LPC IRQ polarity. Each bit is an IRQ 0-15. */ - lpc_serirq_polarity = "0x0000effd"; + lpc_serirq_polarity = "0x0000EFFD"; /* 0:continuous 1:quiet */ lpc_serirq_mode = "1"; /* GPIO(0-0x20) for INT D:C:B:A, 0xFF=none. * See virtual PIC spec. */ enable_gpio_int_route = "0x0D0C0700"; + /* 0:IDE; 1:FLASH on CS0, 2:FLASH on CS1, 3:FLASH on CS2, 4:FLASH on CS3. */ + enable_ide_nand_flash = "2"; /* COM1 settings */ com1_enable = "0"; com1_address = "0x2f8"; @@ -109,6 +102,8 @@ end com2_enable = "1"; com2_address = "0x3f8"; com2_irq = "4"; + /* USB Port Power Handling setting. */ + pph = "0xf5"; }; pci@f,2 { /config/("southbridge/amd/cs5536/ide");
On 12.11.2008 19:06, Mart Raudsepp wrote:
artecgroup/dbe61: Set up NAND and USB power handling settings
Also upper-cases the hex in lpc_serirq_polarity as all other Geode boards have it as such, and remove parts of the commented out reference v2 setup block that should be handled by this change now.
Oddly enough the USB power handling setting (that was to get the other pair of USB ports powered during DBE62 work) actually make memtest work, while without it it gets unexpected interrupt halts. The SPD commit earlier missed this local change as an unrelated one.
The paragraph above is a bit unclear to me. What's the relationship between memtest and the other pair of USB ports? Do they both work now or is it an "either or" decision?
Signed-off-by: Mart Raudsepp mart.raudsepp@artecdesign.ee
With an improved working of the commit message, this is Acked-by: Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net
Regards, Carl-Daniel
Ühel kenal päeval, K, 2008-11-12 kell 19:15, kirjutas Carl-Daniel Hailfinger:
On 12.11.2008 19:06, Mart Raudsepp wrote:
artecgroup/dbe61: Set up NAND and USB power handling settings
Also upper-cases the hex in lpc_serirq_polarity as all other Geode boards have it as such, and remove parts of the commented out reference v2 setup block that should be handled by this change now.
Oddly enough the USB power handling setting (that was to get the other pair of USB ports powered during DBE62 work) actually make memtest work, while without it it gets unexpected interrupt halts. The SPD commit earlier missed this local change as an unrelated one.
The paragraph above is a bit unclear to me. What's the relationship between memtest and the other pair of USB ports? Do they both work now or is it an "either or" decision?
No, it's that without the pph = "0xf5"; memtest payload fails to test memory and instead halts with an unexpected interrupt error. On Friday when sending and committing the patch for getting the fake SPD suitable for DBE61C I had this USB power setting as an additional change in my local tree, so technically the commit on Friday didn't make memtest work fine yet as claimed in commit message, but did get the timings usable. So it's odd that that pph dts setting for USB power handling affects memtest working or not.
Signed-off-by: Mart Raudsepp mart.raudsepp@artecdesign.ee
With an improved working of the commit message, this is Acked-by: Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net
Regards, Carl-Daniel
Ühel kenal päeval, K, 2008-11-12 kell 19:15, kirjutas Carl-Daniel Hailfinger:
On 12.11.2008 19:06, Mart Raudsepp wrote:
artecgroup/dbe61: Set up NAND and USB power handling settings
Also upper-cases the hex in lpc_serirq_polarity as all other Geode boards have it as such, and remove parts of the commented out reference v2 setup block that should be handled by this change now.
Oddly enough the USB power handling setting (that was to get the other pair of USB ports powered during DBE62 work) actually make memtest work, while without it it gets unexpected interrupt halts. The SPD commit earlier missed this local change as an unrelated one.
The paragraph above is a bit unclear to me. What's the relationship between memtest and the other pair of USB ports? Do they both work now or is it an "either or" decision?
New commit log message:
artecgroup/dbe61: Set up NAND and USB power handling settings
Also upper-cases the hex in lpc_serirq_polarity as all other Geode boards have it as such, and remove parts of the commented out reference v2 setup block that should be handled by this change now.
The USB power handling setting is meant to get the second pair of USB ports to be powered on, as this changed done by Ron to DBE62 fixed DBE62's third and fourth USB port to be usable.
Oddly the USB power handling setting also makes memtest work, while without it memtest gets unexpected interrupt halts right after it loads up.
Signed-off-by: Mart Raudsepp mart.raudsepp@artecdesign.ee
With an improved working of the commit message, this is Acked-by: Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net
r1006
Regards, Mart Raudsepp