mb/adlrvp: Add new ADL P board variant for MCHP1727
Add new board variant to enable MCHP1727 Modular EC Card on RVP BUG=b:179214042 BRANCH=none TEST=emerge brya and verify that adlrvp_p_mchp images boot Change-Id: I9dc96ad5c5db21fedbe480d19fcae8434d3bd169 Signed-off-by: Brandon Breitenstein <brandon.breitenstein@intel.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/56839 Reviewed-by: Vijay P Hiremath <vijay.p.hiremath@intel.com> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
d56d2a86ed
commit
c54e22c589
|
@ -1,4 +1,4 @@
|
||||||
if BOARD_INTEL_ADLRVP_P || BOARD_INTEL_ADLRVP_P_EXT_EC || BOARD_INTEL_ADLRVP_M || BOARD_INTEL_ADLRVP_M_EXT_EC
|
if BOARD_INTEL_ADLRVP_P || BOARD_INTEL_ADLRVP_P_EXT_EC || BOARD_INTEL_ADLRVP_P_MCHP || BOARD_INTEL_ADLRVP_M || BOARD_INTEL_ADLRVP_M_EXT_EC
|
||||||
|
|
||||||
config BOARD_SPECIFIC_OPTIONS
|
config BOARD_SPECIFIC_OPTIONS
|
||||||
def_bool y
|
def_bool y
|
||||||
|
@ -10,10 +10,11 @@ config BOARD_SPECIFIC_OPTIONS
|
||||||
select DRIVERS_I2C_GENERIC
|
select DRIVERS_I2C_GENERIC
|
||||||
select DRIVERS_INTEL_DPTF
|
select DRIVERS_INTEL_DPTF
|
||||||
select DRIVERS_INTEL_MIPI_CAMERA
|
select DRIVERS_INTEL_MIPI_CAMERA
|
||||||
select DRIVERS_INTEL_PMC if BOARD_INTEL_ADLRVP_P_EXT_EC || BOARD_INTEL_ADLRVP_M_EXT_EC
|
select DRIVERS_INTEL_PMC if BOARD_INTEL_ADLRVP_P_EXT_EC || BOARD_INTEL_ADLRVP_M_EXT_EC || BOARD_INTEL_ADLRVP_P_MCHP
|
||||||
select DRIVERS_INTEL_SOUNDWIRE
|
select DRIVERS_INTEL_SOUNDWIRE
|
||||||
select DRIVERS_USB_ACPI
|
select DRIVERS_USB_ACPI
|
||||||
select DRIVERS_SPI_ACPI
|
select DRIVERS_SPI_ACPI
|
||||||
|
select EC_GOOGLE_CHROMEEC_ACPI_MEMMAP if BOARD_INTEL_ADLRVP_P_MCHP
|
||||||
select SOC_INTEL_ALDERLAKE
|
select SOC_INTEL_ALDERLAKE
|
||||||
select SOC_INTEL_ALDERLAKE_PCH_M if BOARD_INTEL_ADLRVP_M || BOARD_INTEL_ADLRVP_M_EXT_EC
|
select SOC_INTEL_ALDERLAKE_PCH_M if BOARD_INTEL_ADLRVP_M || BOARD_INTEL_ADLRVP_M_EXT_EC
|
||||||
select HAVE_SPD_IN_CBFS
|
select HAVE_SPD_IN_CBFS
|
||||||
|
@ -42,6 +43,7 @@ config MAINBOARD_DIR
|
||||||
config VARIANT_DIR
|
config VARIANT_DIR
|
||||||
default "adlrvp_p" if BOARD_INTEL_ADLRVP_P
|
default "adlrvp_p" if BOARD_INTEL_ADLRVP_P
|
||||||
default "adlrvp_p_ext_ec" if BOARD_INTEL_ADLRVP_P_EXT_EC
|
default "adlrvp_p_ext_ec" if BOARD_INTEL_ADLRVP_P_EXT_EC
|
||||||
|
default "adlrvp_p_mchp" if BOARD_INTEL_ADLRVP_P_MCHP
|
||||||
default "adlrvp_m" if BOARD_INTEL_ADLRVP_M
|
default "adlrvp_m" if BOARD_INTEL_ADLRVP_M
|
||||||
default "adlrvp_m_ext_ec" if BOARD_INTEL_ADLRVP_M_EXT_EC
|
default "adlrvp_m_ext_ec" if BOARD_INTEL_ADLRVP_M_EXT_EC
|
||||||
|
|
||||||
|
@ -75,7 +77,7 @@ config DIMM_SPD_SIZE
|
||||||
choice
|
choice
|
||||||
prompt "ON BOARD EC"
|
prompt "ON BOARD EC"
|
||||||
default ADL_INTEL_EC if BOARD_INTEL_ADLRVP_P || BOARD_INTEL_ADLRVP_M
|
default ADL_INTEL_EC if BOARD_INTEL_ADLRVP_P || BOARD_INTEL_ADLRVP_M
|
||||||
default ADL_CHROME_EC if BOARD_INTEL_ADLRVP_P_EXT_EC || BOARD_INTEL_ADLRVP_M_EXT_EC
|
default ADL_CHROME_EC if BOARD_INTEL_ADLRVP_P_EXT_EC || BOARD_INTEL_ADLRVP_M_EXT_EC || BOARD_INTEL_ADLRVP_P_MCHP
|
||||||
help
|
help
|
||||||
This option allows you to select the on board EC to use.
|
This option allows you to select the on board EC to use.
|
||||||
Select whether the board has Intel EC or Chrome EC
|
Select whether the board has Intel EC or Chrome EC
|
||||||
|
|
|
@ -7,6 +7,13 @@ config BOARD_INTEL_ADLRVP_P_EXT_EC
|
||||||
bool "Alderlake-P RVP with Chrome EC"
|
bool "Alderlake-P RVP with Chrome EC"
|
||||||
select INTEL_LPSS_UART_FOR_CONSOLE
|
select INTEL_LPSS_UART_FOR_CONSOLE
|
||||||
|
|
||||||
|
config BOARD_INTEL_ADLRVP_P_MCHP
|
||||||
|
bool "Alderlake-P RVP with Microchip EC"
|
||||||
|
select INTEL_LPSS_UART_FOR_CONSOLE
|
||||||
|
select DRIVERS_INTEL_MIPI_CAMERA
|
||||||
|
select SOC_INTEL_COMMON_BLOCK_IPU
|
||||||
|
select EC_GOOGLE_CHROMEEC_MEC
|
||||||
|
|
||||||
config BOARD_INTEL_ADLRVP_M
|
config BOARD_INTEL_ADLRVP_M
|
||||||
bool "Alderlake-M RVP"
|
bool "Alderlake-M RVP"
|
||||||
select DRIVERS_UART_8250IO
|
select DRIVERS_UART_8250IO
|
||||||
|
|
|
@ -0,0 +1,34 @@
|
||||||
|
chip soc/intel/alderlake
|
||||||
|
|
||||||
|
device domain 0 on
|
||||||
|
device ref pch_espi on
|
||||||
|
chip ec/google/chromeec
|
||||||
|
use conn0 as mux_conn[0]
|
||||||
|
use conn1 as mux_conn[1]
|
||||||
|
device pnp 0c09.0 on end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
device ref pmc hidden
|
||||||
|
# The pmc_mux chip driver is a placeholder for the
|
||||||
|
# PMC.MUX device in the ACPI hierarchy.
|
||||||
|
chip drivers/intel/pmc_mux
|
||||||
|
device generic 0 on
|
||||||
|
chip drivers/intel/pmc_mux/conn
|
||||||
|
register "usb2_port_number" = "1"
|
||||||
|
register "usb3_port_number" = "1"
|
||||||
|
# SBU is fixed, HSL follows CC
|
||||||
|
register "sbu_orientation" = "TYPEC_ORIENTATION_NORMAL"
|
||||||
|
device generic 0 alias conn0 on end
|
||||||
|
end
|
||||||
|
chip drivers/intel/pmc_mux/conn
|
||||||
|
register "usb2_port_number" = "2"
|
||||||
|
register "usb3_port_number" = "2"
|
||||||
|
# SBU is fixed, HSL follows CC
|
||||||
|
register "sbu_orientation" = "TYPEC_ORIENTATION_NORMAL"
|
||||||
|
device generic 1 alias conn1 on end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in New Issue