summaryrefslogtreecommitdiff
path: root/src/mainboard/google/brya/variants/ghost/overridetree.cb
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/brya/variants/ghost/overridetree.cb')
-rw-r--r--src/mainboard/google/brya/variants/ghost/overridetree.cb294
1 files changed, 0 insertions, 294 deletions
diff --git a/src/mainboard/google/brya/variants/ghost/overridetree.cb b/src/mainboard/google/brya/variants/ghost/overridetree.cb
deleted file mode 100644
index 95c1b4dba0..0000000000
--- a/src/mainboard/google/brya/variants/ghost/overridetree.cb
+++ /dev/null
@@ -1,294 +0,0 @@
-chip soc/intel/alderlake
- #+-------------------+---------------------------+
- #| Field | Value |
- #+-------------------+---------------------------+
- #| GSPI1 | FPMCU |
- #| I2C0 | Audio |
- #| I2C1 | cr50 TPM. Early init is |
- #| | required to set up a BAR |
- #| | for TPM communication |
- #| I2C2 | Misc (Cam, Display, LED) |
- #| I2C3 | Touchscreen |
- #| I2C4 | NC |
- #| I2C5 | Touchpad |
- #+-------------------+---------------------------+
- register "common_soc_config" = "{
- .i2c[0] = {
- .speed = I2C_SPEED_FAST,
- },
- .i2c[1] = {
- .early_init = 1,
- .speed = I2C_SPEED_FAST,
- },
- .i2c[2] = {
- .speed = I2C_SPEED_FAST,
- },
- .i2c[3] = {
- .speed = I2C_SPEED_FAST,
- },
- .i2c[5] = {
- .speed = I2C_SPEED_FAST,
- },
- }"
-
- # I2C Port Config
- register "serial_io_i2c_mode" = "{
- [PchSerialIoIndexI2C0] = PchSerialIoPci,
- [PchSerialIoIndexI2C1] = PchSerialIoPci,
- [PchSerialIoIndexI2C2] = PchSerialIoPci,
- [PchSerialIoIndexI2C3] = PchSerialIoPci,
- [PchSerialIoIndexI2C4] = PchSerialIoDisabled,
- [PchSerialIoIndexI2C5] = PchSerialIoPci,
- [PchSerialIoIndexI2C7] = PchSerialIoDisabled,
- }"
-
- # GSPI config
- register "serial_io_gspi_mode" = "{
- [PchSerialIoIndexGSPI0] = PchSerialIoPci,
- [PchSerialIoIndexGSPI1] = PchSerialIoPci,
- }"
-
- register "usb2_ports[0]" = "USB2_PORT_TYPE_C(OC0)" # USB2_C0
- register "usb2_ports[1]" = "USB2_PORT_TYPE_C(OC1)" # USB2_C1
- register "usb2_ports[2]" = "USB2_PORT_EMPTY"
- register "usb2_ports[3]" = "USB2_PORT_EMPTY"
- register "usb2_ports[4]" = "USB2_PORT_MID(OC_SKIP)" # DCI port
- register "usb2_ports[5]" = "USB2_PORT_EMPTY"
- register "usb2_ports[8]" = "USB2_PORT_EMPTY"
-
- register "usb3_ports[0]" = "USB3_PORT_EMPTY"
- register "usb3_ports[1]" = "USB3_PORT_DEFAULT(OC_SKIP)" # DCI port
- register "usb3_ports[3]" = "USB3_PORT_EMPTY"
-
- register "tcss_ports[0]" = "TCSS_PORT_EMPTY"
- register "tcss_ports[1]" = "TCSS_PORT_DEFAULT(OC1)" # TypeC C1
- register "tcss_ports[2]" = "TCSS_PORT_DEFAULT(OC0)" # TypeC C0
-
- device domain 0 on
- device ref cnvi_wifi on
- chip drivers/wifi/generic
- register "wake" = "GPE0_PME_B0"
- device generic 0 on end
- end
- end
- device ref pcie_rp6 off end
- device ref pcie_rp7 off end
- device ref pcie_rp8 off end
- device ref tcss_dma0 on
- chip drivers/intel/usb4/retimer
- register "dfp[0].power_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_E4)"
- use tcss_usb3_port2 as dfp[0].typec_port
- device generic 0 on end
- end
- end
- device ref tcss_dma1 on
- chip drivers/intel/usb4/retimer
- register "dfp[0].power_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_E4)"
- use tcss_usb3_port3 as dfp[0].typec_port
- device generic 0 on end
- end
- end
- device ref i2c0 on
- chip drivers/i2c/cs42l42
- register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_A23)"
- register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A8)"
- register "ts_inv" = "true"
- register "ts_dbnc_rise" = "RISE_DEB_1000_MS"
- register "ts_dbnc_fall" = "FALL_DEB_0_MS"
- register "btn_det_init_dbnce" = "100"
- register "btn_det_event_dbnce" = "10"
- register "bias_lvls[0]" = "15"
- register "bias_lvls[1]" = "8"
- register "bias_lvls[2]" = "4"
- register "bias_lvls[3]" = "1"
- register "hs_bias_ramp_rate" = "HSBIAS_RAMP_SLOW"
- register "hs_bias_sense_disable" = "true"
- device i2c 48 on end
- end
- chip drivers/i2c/max98396
- register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A11)"
- register "vmon_slot_no" = "0"
- register "imon_slot_no" = "1"
- register "uid" = "0"
- register "desc" = ""Right Speaker Amp""
- register "name" = ""MAXR""
- device i2c 3c on end
- end
- chip drivers/i2c/max98396
- register "vmon_slot_no" = "2"
- register "imon_slot_no" = "3"
- register "uid" = "1"
- register "desc" = ""Left Speaker Amp""
- register "name" = ""MAXL""
- device i2c 3d on end
- end
- end
- device ref i2c1 on
- chip drivers/i2c/tpm
- register "hid" = ""GOOG0005""
- register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_A13_IRQ)"
- device i2c 50 on end
- end
- end
- device ref i2c2 on
- chip drivers/intel/mipi_camera
- register "acpi_hid" = ""OVTI5675""
- register "acpi_uid" = "0"
- register "acpi_name" = ""CAM0""
- register "chip_name" = ""Ov 5675 Camera""
- register "device_type" = "INTEL_ACPI_CAMERA_SENSOR"
-
- register "ssdb.lanes_used" = "2"
- register "ssdb.link_used" = "1"
- register "num_freq_entries" = "1"
- register "link_freq[0]" = "DEFAULT_LINK_FREQ"
- register "remote_name" = ""IPU0""
- register "max_dstate_for_probe" = "ACPI_DEVICE_SLEEP_D3_COLD"
-
- register "has_power_resource" = "1"
-
- # Controls
- register "clk_panel.clks[0].clknum" = "IMGCLKOUT_2"
- register "clk_panel.clks[0].freq" = "FREQ_19_2_MHZ"
-
- register "gpio_panel.gpio[0].gpio_num" = "GPP_C4" # EN_UCAM_PWR
- register "gpio_panel.gpio[1].gpio_num" = "GPP_F20" # UCAM_RST_L
-
- # ON
- register "on_seq.ops_cnt" = "4"
- register "on_seq.ops[0]" = "SEQ_OPS_CLK_ENABLE(0, 0)"
- register "on_seq.ops[1]" = "SEQ_OPS_GPIO_ENABLE(0, 5)"
- register "on_seq.ops[2]" = "SEQ_OPS_GPIO_DISABLE(1, 5)"
- register "on_seq.ops[3]" = "SEQ_OPS_GPIO_ENABLE(1, 5)"
-
- # OFF
- register "off_seq.ops_cnt" = "3"
- register "off_seq.ops[0]" = "SEQ_OPS_CLK_DISABLE(0, 0)"
- register "off_seq.ops[1]" = "SEQ_OPS_GPIO_DISABLE(1, 0)"
- register "off_seq.ops[2]" = "SEQ_OPS_GPIO_DISABLE(0, 0)"
-
- device i2c 36 on end
- end
- chip drivers/intel/mipi_camera
- register "acpi_hid" = "ACPI_DT_NAMESPACE_HID"
- register "acpi_uid" = "1"
- register "acpi_name" = ""NVM0""
- register "chip_name" = ""M24C64X""
- register "device_type" = "INTEL_ACPI_CAMERA_NVM"
- register "max_dstate_for_probe" = "ACPI_DEVICE_SLEEP_D0"
-
- register "nvm_size" = "0x2000"
- register "nvm_pagesize" = "1"
- register "nvm_readonly" = "1"
- register "nvm_width" = "0x10"
- register "nvm_compat" = ""atmel,24c64""
- device i2c 50 on end
- end
- end
- device ref ipu on
- chip drivers/intel/mipi_camera
- register "acpi_uid" = "0x50000"
- register "acpi_name" = ""IPU0""
- register "device_type" = "INTEL_ACPI_CAMERA_CIO2"
-
- register "cio2_num_ports" = "1"
- register "cio2_lanes_used" = "{2}" # 2 CSI Camera lanes are used
- register "cio2_lane_endpoint[0]" = ""^I2C2.CAM0""
- register "cio2_prt[0]" = "1"
- device generic 0 on end
- end
- end
- device ref gspi0 on
- chip drivers/nxp/uwb
- register "name" = ""UWB0""
- register "desc" = ""NXP UWB Module""
- register "speed" = "1000000"
- register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_HIGH(GPP_F21)"
- register "ce_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A12)"
- register "ri_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A7)"
- device spi 0 on end
- end
- end
- device ref gspi1 on
- chip drivers/spi/acpi
- register "name" = ""CRFP""
- register "hid" = "ACPI_DT_NAMESPACE_HID"
- register "uid" = "1"
- register "compat_string" = ""google,cros-ec-spi""
- register "irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_F15_IRQ)"
- register "wake" = "GPE0_DW2_15"
- device spi 0 on end
- end # FPMCU
- end
- device ref pch_espi on
- chip ec/google/chromeec
- # Replicate Brya, except we have 2 ports instead of 3.
- use conn0 as mux_conn[0]
- use conn1 as mux_conn[1]
- device pnp 0c09.0 on end
- end
- end
- device ref pmc hidden
- chip drivers/intel/pmc_mux
- device generic 0 on
- chip drivers/intel/pmc_mux/conn
- # C0: Left side (on DB)
- use usb2_port1 as usb2_port
- use tcss_usb3_port3 as usb3_port
- device generic 0 alias conn0 on end
- end
- chip drivers/intel/pmc_mux/conn
- # C1: Right side (on MLB)
- use usb2_port2 as usb2_port
- use tcss_usb3_port2 as usb3_port
- device generic 1 alias conn1 on end
- end
- end
- end
- end
- device ref tcss_xhci on
- chip drivers/usb/acpi
- device ref tcss_root_hub on
- chip drivers/usb/acpi
- register "desc" = ""USB3 Type-C Port C0 (DB)""
- register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
- register "use_custom_pld" = "true"
- # USB C0 is on the LEFT panel, LEFT side (i.e. rear)
- register "custom_pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(1, 1))"
- device ref tcss_usb3_port3 on end
- end
- chip drivers/usb/acpi
- register "desc" = ""USB3 Type-C Port C1 (MLB)""
- register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
- register "use_custom_pld" = "true"
- # USB C1 is on the RIGHT panel, RIGHT side (i.e. rear)
- register "custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, RIGHT, ACPI_PLD_GROUP(2, 1))"
- device ref tcss_usb3_port2 on end
- end
- end
- end
- end
- device ref xhci on
- chip drivers/usb/acpi
- device ref xhci_root_hub on
- chip drivers/usb/acpi
- register "desc" = ""USB2 Type-C Port C0 (DB)""
- register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
- register "use_custom_pld" = "true"
- # USB C0 is on the LEFT panel, LEFT side (i.e. rear)
- register "custom_pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(1, 1))"
- device ref usb2_port1 on end
- end
- chip drivers/usb/acpi
- register "desc" = ""USB2 Type-C Port C1 (MLB)""
- register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
- register "use_custom_pld" = "true"
- # USB C1 is on the RIGHT panel, RIGHT side (i.e. rear)
- register "custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, RIGHT, ACPI_PLD_GROUP(2, 1))"
- device ref usb2_port2 on end
- end
- end
- end
- end
- end
-end