Joel Linn | a70493d | 2024-03-02 13:59:52 +0100 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | /* Values should match those defined in devicetree.cb */ |
| 4 | |
| 5 | #undef SIO_ENABLE_FDC0 // pnp 2e.0: Disable Floppy Controller |
| 6 | #undef SIO_ENABLE_COM1 // pnp 2e.1: Disable Serial Port 1 |
| 7 | #undef SIO_ENABLE_PS2K // pnp 2e.5: Disable PS/2 Keyboard |
| 8 | #undef SIO_ENABLE_PS2M // pnp 2e.6: Disable PS/2 Mouse |
| 9 | #undef SIO_ENABLE_INFR // pnp 2e.a: Disable Consumer IR |
| 10 | |
| 11 | #define SIO_ENABLE_ENVC // pnp 2e.4: Enable Environmental Controller |
| 12 | #define SIO_ENVC_IO0 0xa30 // pnp 2e.4: io 0x60 |
| 13 | #define SIO_ENVC_IO1 0xa20 // pnp 2e.4: io 0x62 |
| 14 | #define SIO_ENABLE_GPIO // pnp 2e.7: Enable GPIO |
| 15 | #define SIO_GPIO_IO0 0x0 // pnp 2e.7: io 0x60 |
| 16 | #define SIO_GPIO_IO1 0xa00 // pnp 2e.7: io 0x62 |
| 17 | |
| 18 | #include <superio/ite/it8772f/acpi/superio.asl> |