Stefan Reinauer | 6651da3 | 2012-04-27 23:16:30 +0200 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright (C) 2011 The ChromiumOS Authors. All rights reserved. |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License as published by |
| 8 | * the Free Software Foundation; version 2 of the License. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
Stefan Reinauer | 6651da3 | 2012-04-27 23:16:30 +0200 | [diff] [blame] | 14 | */ |
| 15 | |
| 16 | /* Values should match those defined in devicetree.cb */ |
| 17 | |
| 18 | #undef SIO_ENABLE_FDC0 // pnp 2e.0: Disable Floppy Controller |
| 19 | #undef SIO_ENABLE_INFR // pnp 2e.a: Disable Consumer IR |
| 20 | |
| 21 | #define SIO_ENABLE_PS2K // pnp 2e.5: Enable PS/2 Keyboard |
| 22 | #define SIO_ENABLE_PS2M // pnp 2e.6: Enable PS/2 Mouse |
| 23 | #define SIO_ENABLE_COM1 // pnp 2e.1: Enable Serial Port 1 |
| 24 | #define SIO_ENABLE_ENVC // pnp 2e.4: Enable Environmental Controller |
| 25 | #define SIO_ENVC_IO0 0x700 // pnp 2e.4: io 0x60 |
| 26 | #define SIO_ENVC_IO1 0x710 // pnp 2e.4: io 0x62 |
| 27 | #define SIO_ENABLE_GPIO // pnp 2e.7: Enable GPIO |
| 28 | #define SIO_GPIO_IO0 0x720 // pnp 2e.7: io 0x60 |
| 29 | #define SIO_GPIO_IO1 0x730 // pnp 2e.7: io 0x60 |
| 30 | |
Stefan Reinauer | e6063fe | 2012-04-30 14:57:51 -0700 | [diff] [blame] | 31 | #include "superio/smsc/sio1007/acpi/superio.asl" |