Paul Menzel (paulepanter@users.sourceforge.net) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/2943
-gerrit
commit 94e0b9264200b90a920b8157a85adc064b124d7f Author: Paul Menzel paulepanter@users.sourceforge.net Date: Thu Mar 28 14:05:45 2013 +0100
ASRock E350M1: Include ASL file of Winbond W83627HF in the DSDT
Unfortunately there are still some problems, but note that the ASRock E350M1 actually has a Nuvoton NCT6775F, which is supposed to be compatible though [1]. At least Scott chose it in its `devicetree.cb`.
Hooking up this ACPI snippet, under Linux, serial does not work anymore. It works fine for coreboot, SeaBIOS and GRUB.
$ dmesg | egrep -i -e kbd -e acpi [ 0.145384] calling acpi_pci_init+0x0/0x4d @ 1 [ 0.145388] ACPI: bus type pci registered [ 0.145392] initcall acpi_pci_init+0x0/0x4d returned 0 after 0 usecs [ 0.148960] calling acpi_init+0x0/0x27b @ 1 [ 0.148960] ACPI: Added _OSI(Module Device) [ 0.148960] ACPI: Added _OSI(Processor Device) [ 0.148960] ACPI: Added _OSI(3.0 _SCP Extensions) [ 0.148960] ACPI: Added _OSI(Processor Aggregator Device) [ 0.149539] ACPI: EC: Look up EC in DSDT [ 0.152869] ACPI: Executed 2 blocks of module-level executable AML code [ 0.158645] ACPI: Interpreter enabled [ 0.158655] ACPI: (supports S0 S1 S2 S3 S4 S5) [ 0.158705] ACPI: BIOS offers _BFS [ 0.158708] ACPI: If "acpi.bfs=1" improves resume, please notify linux-acpi@vger.kernel.org [ 0.158713] ACPI: Using IOAPIC for interrupt routing [ 0.183262] initcall acpi_init+0x0/0x27b returned 0 after 31251 usecs [ 0.183448] ACPI: No dock devices found. [ 0.183459] calling acpi_pci_root_init+0x0/0x26 @ 1 [ 0.183472] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug [ 0.183609] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff]) [ 0.186229] ACPI: PCI Interrupt Routing Table [_SB_.PCI0._PRT] [ 0.186570] ACPI: PCI Interrupt Routing Table [_SB_.PCI0.AGPB._PRT] [ 0.186658] ACPI: PCI Interrupt Routing Table [_SB_.PCI0.PIBR._PRT] [ 0.186864] pci0000:00: Requesting ACPI _OSC control (0x1d) [ 0.186918] pci0000:00: ACPI _OSC control (0x1d) granted [ 0.196771] initcall acpi_pci_root_init+0x0/0x26 returned 0 after 15625 usecs [ 0.196778] calling acpi_pci_link_init+0x0/0x36 @ 1 [ 0.196927] ACPI: PCI Interrupt Link [INTA] (IRQs 3 4 5 7 10 11 12 15) *0 [ 0.197157] ACPI: PCI Interrupt Link [INTB] (IRQs 3 4 5 7 10 11 12 15) *0 [ 0.197313] ACPI: PCI Interrupt Link [INTC] (IRQs 3 4 5 7 10 11 12 15) *0 [ 0.197468] ACPI: PCI Interrupt Link [INTD] (IRQs 3 4 5 7 10 11 12 15) *0 [ 0.197623] ACPI: PCI Interrupt Link [INTE] (IRQs 3 4 5 7 10 11 12 15) *0 [ 0.197777] ACPI: PCI Interrupt Link [INTF] (IRQs 9) *0 [ 0.197927] ACPI: PCI Interrupt Link [INTG] (IRQs 3 4 5 7 10 11 12 15) *0 [ 0.198080] ACPI: PCI Interrupt Link [INTH] (IRQs 3 4 5 7 10 11 12 15) *0 [ 0.198133] initcall acpi_pci_link_init+0x0/0x36 returned 0 after 0 usecs [ 0.198564] PCI: Using ACPI for IRQ routing [ 0.203236] calling acpi_event_init+0x0/0x42 @ 1 [ 0.203260] initcall acpi_event_init+0x0/0x42 returned 0 after 17 usecs [ 0.203305] calling pnpacpi_init+0x0/0x77 @ 1 [ 0.203309] pnp: PnP ACPI init [ 0.203340] ACPI: bus type pnp registered [ 0.203762] pnp 00:00: Plug and Play ACPI device, IDs PNP0a05 (active) [ 0.204137] pnp 00:01: Plug and Play ACPI device, IDs PNP0700 (disabled) [ 0.204451] pnp 00:02: Plug and Play ACPI device, IDs PNP0400 (disabled) [ 0.204734] pnp 00:03: Plug and Play ACPI device, IDs PNP0501 (disabled) [ 0.205029] pnp 00:04: Plug and Play ACPI device, IDs PNP0501 (disabled) [ 0.205471] pnp 00:05: Plug and Play ACPI device, IDs PNP0303 (disabled) [ 0.205747] pnp 00:06: Plug and Play ACPI device, IDs PNP0f13 (disabled) [ 0.205986] pnp 00:07: Plug and Play ACPI device, IDs PNPb02f (disabled) [ 0.206241] pnp 00:08: Plug and Play ACPI device, IDs PNPb006 (disabled) [ 0.206510] system 00:09: Plug and Play ACPI device, IDs PNP0c02 (disabled) [ 0.206715] pnp 00:0a: Plug and Play ACPI device, IDs PNP0a08 PNP0a03 (active) [ 0.207119] pnp 00:0b: Plug and Play ACPI device, IDs PNP0b00 (active) [ 0.207203] pnp 00:0c: Plug and Play ACPI device, IDs PNP0800 (active) [ 0.207314] pnp 00:0d: Plug and Play ACPI device, IDs PNP0200 (active) [ 0.207476] pnp 00:0e: Plug and Play ACPI device, IDs PNP0c04 (active) [ 0.207502] pnp: PnP ACPI: found 15 devices [ 0.207506] ACPI: ACPI bus type pnp unregistered [ 0.207582] initcall pnpacpi_init+0x0/0x77 returned 0 after 4169 usecs [ 0.207594] PnPBIOS: Disabled by ACPI PNP [ 0.225665] calling init_acpi_pm_clocksource+0x0/0x164 @ 1 [ 0.260733] initcall init_acpi_pm_clocksource+0x0/0x164 returned 0 after 34239 usecs [ 0.855693] calling acpiphp_init+0x0/0x4e @ 1 [ 0.855697] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5 [ 0.856259] initcall acpiphp_init+0x0/0x4e returned -19 after 546 usecs [ 0.856609] calling acpi_reserve_resources+0x0/0xc4 @ 1 [ 0.856621] initcall acpi_reserve_resources+0x0/0xc4 returned 0 after 5 usecs [ 0.856638] calling acpi_hed_init+0x0/0x1f @ 1 [ 0.856675] initcall acpi_hed_init+0x0/0x1f returned 0 after 29 usecs [ 0.970098] i8042 kbd 00:05: [irq 1] [ 0.970106] i8042 kbd 00:05: unable to assign resources [ 0.970349] i8042 kbd: probe of 00:05 failed with error -16 [ 0.971153] i8042: PNP: PS/2 controller doesn't have KBD irq; using default 1 [ 1.224701] serio: i8042 KBD port at 0x60,0x64 irq 1 [ 1.225631] calling atkbd_init+0x0/0x1b @ 1 [ 1.225751] initcall atkbd_init+0x0/0x1b returned 0 after 109 usecs [ 1.225757] calling xenkbd_init+0x0/0x46 @ 1 [ 1.225765] initcall xenkbd_init+0x0/0x46 returned -19 after 1 usecs [ 25.448901] calling acpi_container_init+0x0/0x1000 [container] @ 499 [ 25.452331] initcall acpi_container_init+0x0/0x1000 [container] returned 0 after 3337 usecs [ 25.453368] calling acpi_button_init+0x0/0x1000 [button] @ 498 [ 25.453569] ACPI: Power Button [PWRB] [ 25.453701] ACPI: Power Button [PWRF] [ 25.453802] initcall acpi_button_init+0x0/0x1000 [button] returned 0 after 411 usecs [ 25.510107] calling acpi_processor_init+0x0/0x1000 [processor] @ 504 [ 25.510247] ACPI: acpi_idle registered with cpuidle [ 25.511931] initcall acpi_processor_init+0x0/0x1000 [processor] returned 0 after 1762 usecs [ 26.386279] parport_pc 00:02: reported by Plug and Play ACPI
[1] https://www.kernel.org/doc/Documentation/hwmon/w83627ehf
Change-Id: I82c98f16e6879d47594fcf90140a827b98a39a7f Signed-off-by: Paul Menzel paulepanter@users.sourceforge.net --- src/mainboard/asrock/e350m1/dsdt.asl | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/src/mainboard/asrock/e350m1/dsdt.asl b/src/mainboard/asrock/e350m1/dsdt.asl index 25030aa..7520be8 100644 --- a/src/mainboard/asrock/e350m1/dsdt.asl +++ b/src/mainboard/asrock/e350m1/dsdt.asl @@ -792,6 +792,8 @@ DefinitionBlock ( } /* End Method(_SB.INTH._SRS) */ } /* End Device(INTH) */
+ #include <superio/winbond/w83627hf/acpi/superio.asl> + } /* End Scope(_SB) */