[coreboot-gerrit] Patch set updated for coreboot: mb/asus/p5gc-mx: Fix and complete SIO devicetree options

Arthur Heymans (arthur@aheymans.xyz) gerrit at coreboot.org
Sun Dec 25 23:17:51 CET 2016


Arthur Heymans (arthur at aheymans.xyz) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17965

-gerrit

commit 752ee20d337168a0b22e9253ed959ab10bb8e63b
Author: Arthur Heymans <arthur at aheymans.xyz>
Date:   Sun Dec 25 17:52:15 2016 +0100

    mb/asus/p5gc-mx: Fix and complete SIO devicetree options
    
    The devicetree lacks the 'chip' option for the Super I/O,
    which causes the Super I/O related entries to be ignored.
    
    This also adds other LDN that are present on this Super I/O.
    
    Change-Id: Ida1b3c6575aa53bc7060070835c811665bdc1db1
    Signed-off-by: Arthur Heymans <arthur at aheymans.xyz>
---
 src/mainboard/asus/p5gc-mx/devicetree.cb | 60 ++++++++++++++++++++------------
 1 file changed, 37 insertions(+), 23 deletions(-)

diff --git a/src/mainboard/asus/p5gc-mx/devicetree.cb b/src/mainboard/asus/p5gc-mx/devicetree.cb
index 7064feb..07a2afe 100644
--- a/src/mainboard/asus/p5gc-mx/devicetree.cb
+++ b/src/mainboard/asus/p5gc-mx/devicetree.cb
@@ -85,29 +85,43 @@ chip northbridge/intel/i945
 
 			device pci 1f.0 on # LPC bridge
 				ioapic_irq 2 INTA 0x10
-				device pnp 2e.0 on # Floppy
-					io 0x60 = 0x3f0
-					irq 0x70 = 6
-					drq 0x74 = 2
-				end
-				device pnp 2e.1 on # Parallel port
-					io 0x60 = 0x378
-					irq 0x70 = 7
-					drq 0x74 = 3
-				end
-				device pnp 2e.2 on # COM1
-					io 0x60 = 0x3f8
-					irq 0x70 = 4
-				end
-				device pnp 2e.3 on # COM2
-					io 0x60 = 0x2f8
-					irq 0x70 = 3
-				end
-				device pnp 2e.5 on # Keyboard
-					io 0x60 = 0x60
-					io 0x62 = 0x64
-					irq 0x70 = 1 # Keyboard
-					irq 0x72 = 12 # Mouse
+				chip superio/winbond/w83627dhg
+					device pnp 2e.0 on # Floppy
+						io 0x60 = 0x3f0
+						irq 0x70 = 6
+						drq 0x74 = 2
+					end
+					device pnp 2e.1 on # Parallel port
+						io 0x60 = 0x378
+						irq 0x70 = 7
+						drq 0x74 = 3
+					end
+					device pnp 2e.2 on # COM1
+						io 0x60 = 0x3f8
+						irq 0x70 = 4
+					end
+					device pnp 2e.3 on # COM2
+						io 0x60 = 0x2f8
+						irq 0x70 = 3
+					end
+					device pnp 2e.5 on # Keyboard
+						io 0x60 = 0x60
+						io 0x62 = 0x64
+						irq 0x70 = 1 # Keyboard
+						irq 0x72 = 12 # Mouse
+					end
+					device pnp 2e.6 off end # SPI
+					device pnp 2e.7 on end # GPIO6
+					device pnp 2e.8 off end # WDTO# & PLED
+					device pnp 2e.9 on end # GPIO2-5
+					device pnp 2e.a on # ACPI
+						irq 0x70 = 0
+					end
+					device pnp 2e.b on # HWM
+						io 0x60 = 0x290
+						irq 0x70 = 0
+					device pnp 2e.c on end # PECI, SST
+					end
 				end
 			end
 			device pci 1f.1 on # IDE



More information about the coreboot-gerrit mailing list