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 5a3a7a9416689c5c8b521d3f3d5f742b7507e8ec 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.
$ grep -i -e 8042 -e kbd -e mpu -e pnp /tmp/kern.log | cut -d " " -f 7- [ 0.210990] acpi PNP0A08:00: Requesting ACPI _OSC control (0x1d) [ 0.211079] acpi PNP0A08:00: ACPI _OSC control (0x1d) granted [ 0.215591] calling pnp_init+0x0/0xf @ 1 [ 0.215616] initcall pnp_init+0x0/0xf returned 0 after 0 usecs [ 0.222362] calling pnp_system_init+0x0/0xa @ 1 [ 0.222399] initcall pnp_system_init+0x0/0xa returned 0 after 29 usecs [ 0.222404] calling pnpacpi_init+0x0/0x77 @ 1 [ 0.222407] pnp: PnP ACPI init [ 0.222438] ACPI: bus type PNP registered [ 0.223012] pnp 00:00: Plug and Play ACPI device, IDs PNP0b00 (active) [ 0.223156] pnp 00:01: Plug and Play ACPI device, IDs PNP0800 (active) [ 0.223186] pnp 00:02: [dma 4] [ 0.223233] pnp 00:02: Plug and Play ACPI device, IDs PNP0200 (active) [ 0.223363] pnp 00:03: Plug and Play ACPI device, IDs PNP0c04 (active) [ 0.223718] pnp 00:04: Plug and Play ACPI device, IDs PNP0a05 (active) [ 0.223994] pnp 00:05: Plug and Play ACPI device, IDs PNP0700 (disabled) [ 0.224304] pnp 00:06: Plug and Play ACPI device, IDs PNP0400 (disabled) [ 0.224581] pnp 00:07: Plug and Play ACPI device, IDs PNP0501 (disabled) [ 0.224886] pnp 00:08: Plug and Play ACPI device, IDs PNP0501 (disabled) [ 0.225336] pnp 00:09: Plug and Play ACPI device, IDs PNP0303 (disabled) [ 0.225610] pnp 00:0a: Plug and Play ACPI device, IDs PNP0f13 (disabled) [ 0.225849] pnp 00:0b: Plug and Play ACPI device, IDs PNPb02f (disabled) [ 0.226083] pnp 00:0c: Plug and Play ACPI device, IDs PNPb006 (disabled) [ 0.226339] system 00:0d: Plug and Play ACPI device, IDs PNP0c02 (disabled) [ 0.226357] pnp: PnP ACPI: found 14 devices [ 0.226360] ACPI: bus type PNP unregistered [ 0.226437] initcall pnpacpi_init+0x0/0x77 returned 0 after 3930 usecs [ 0.226443] calling pnpbios_init+0x0/0x31c @ 1 [ 0.226448] PnPBIOS: Disabled by ACPI PNP [ 0.226455] initcall pnpbios_init+0x0/0x31c returned -19 after 5 usecs [ 0.921532] calling pnpbios_thread_init+0x0/0x54 @ 1 [ 0.921540] initcall pnpbios_thread_init+0x0/0x54 returned 0 after 0 usecs [ 0.921545] calling isapnp_init+0x0/0x5c6 @ 1 [ 0.921549] isapnp: ISA Plug & Play support disabled [ 0.921555] initcall isapnp_init+0x0/0x5c6 returned 0 after 3 usecs [ 0.947430] calling i8042_init+0x0/0x383 @ 1 [ 0.947540] i8042 kbd 00:09: [irq 1] [ 0.947549] i8042 kbd 00:09: unable to assign resources [ 2.552437] i8042 kbd: probe of 00:09 failed with error -16 [ 2.552657] i8042 aux 00:0a: [irq 12] [ 2.553260] i8042 aux 00:0a: activated [ 2.553283] i8042: PNP: PS/2 Controller [PNP0f13:PS2M] at 0x0,0x0 irq 12 [ 2.553287] i8042: PNP: PS/2 controller has invalid data port 0x0; using default 0x60 [ 2.553290] i8042: PNP: PS/2 controller has invalid command port 0x0; using default 0x64 [ 2.553293] i8042: PNP: PS/2 controller doesn't have KBD irq; using default 1 [ 2.807764] serio: i8042 KBD port at 0x60,0x64 irq 1 [ 2.807869] initcall i8042_init+0x0/0x383 returned 0 after 1816824 usecs [ 2.808424] calling atkbd_init+0x0/0x1b @ 1 [ 2.808474] initcall atkbd_init+0x0/0x1b returned 0 after 42 usecs [ 2.808479] calling xenkbd_init+0x0/0x28 @ 1 [ 2.808484] initcall xenkbd_init+0x0/0x28 returned -19 after 0 usecs [ 68.133211] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input2 [ 71.322602] calling alsa_mpu401_uart_init+0x0/0x1000 [snd_mpu401_uart] @ 697 [ 71.322615] initcall alsa_mpu401_uart_init+0x0/0x1000 [snd_mpu401_uart] returned 0 after 0 usecs [ 73.965508] calling alsa_card_mpu401_init+0x0/0x1000 [snd_mpu401] @ 697 [ 73.965574] mpu401: probe of 00:0c failed with error -16 [ 73.965590] MPU-401 device not found or device busy [ 75.509538] initcall alsa_card_mpu401_init+0x0/0x1000 [snd_mpu401] returned -19 after 1507823 usecs
[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 | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/src/mainboard/asrock/e350m1/dsdt.asl b/src/mainboard/asrock/e350m1/dsdt.asl index 6269435..b1bb0f0 100644 --- a/src/mainboard/asrock/e350m1/dsdt.asl +++ b/src/mainboard/asrock/e350m1/dsdt.asl @@ -48,6 +48,9 @@ DefinitionBlock ( #include <southbridge/amd/cimx/sb800/acpi/fch.asl>
} + + #include <superio/winbond/w83627hf/acpi/superio.asl> + } /* End Scope(_SB) */
/* Contains the supported sleep states for this chipset */