mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
This corrects the address of the I2C5 Device. The I2C Controller #5 is on PCI Bus 0: Device 25: Function 1. The ACPI Address Encoding Logic is - High word = Device #. Low word = Function #. So, I2C5 (_ADR) = 0x0019 0001. BUG=none BRANCH=none TEST=Build and boot kunimitsu Change-Id: I4719a843260ef58cc2307e909e9ccbffea519177 Signed-off-by: Barnali Sarkar <barnali.sarkar@intel.com> Reviewed-on: https://review.coreboot.org/16048 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
83 lines
1.5 KiB
Text
83 lines
1.5 KiB
Text
/*
|
|
* This file is part of the coreboot project.
|
|
*
|
|
* Copyright (C) 2015 Google Inc.
|
|
* Copyright (C) 2015 Intel Corporation.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; version 2 of the License.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*/
|
|
|
|
/* Intel Serial IO Devices */
|
|
|
|
Device (I2C0)
|
|
{
|
|
Name (_ADR, 0x00150000)
|
|
Name (_DDN, "Serial IO I2C Controller 0")
|
|
}
|
|
|
|
Device (I2C1)
|
|
{
|
|
Name (_ADR, 0x00150001)
|
|
Name (_DDN, "Serial IO I2C Controller 1")
|
|
}
|
|
|
|
Device (I2C2)
|
|
{
|
|
Name (_ADR, 0x00150002)
|
|
Name (_DDN, "Serial IO I2C Controller 2")
|
|
}
|
|
|
|
Device (I2C3)
|
|
{
|
|
Name (_ADR, 0x00150003)
|
|
Name (_DDN, "Serial IO I2C Controller 3")
|
|
}
|
|
|
|
Device (I2C4)
|
|
{
|
|
Name (_ADR, 0x00190002)
|
|
Name (_DDN, "Serial IO I2C Controller 4")
|
|
}
|
|
|
|
Device (I2C5)
|
|
{
|
|
Name (_ADR, 0x00190001)
|
|
Name (_DDN, "Serial IO I2C Controller 5")
|
|
}
|
|
|
|
Device (SPI0)
|
|
{
|
|
Name (_ADR, 0x001E0002)
|
|
Name (_DDN, "Serial IO SPI Controller 0")
|
|
}
|
|
|
|
Device (SPI1)
|
|
{
|
|
Name (_ADR, 0x001E0003)
|
|
Name (_DDN, "Serial IO SPI Controller 1")
|
|
}
|
|
|
|
Device (UAR0)
|
|
{
|
|
Name (_ADR, 0x001E0000)
|
|
Name (_DDN, "Serial IO UART Controller 0")
|
|
}
|
|
|
|
Device (UAR1)
|
|
{
|
|
Name (_ADR, 0x001E0001)
|
|
Name (_DDN, "Serial IO UART Controller 1")
|
|
}
|
|
|
|
Device (UAR2)
|
|
{
|
|
Name (_ADR, 0x00190000)
|
|
Name (_DDN, "Serial IO UART Controller 2")
|
|
}
|