blob: 6a69a572dd82e8629894569e0b772955680a3c50 [file] [log] [blame]
<root>
<include>
<name>servoflex_v2_r0_p50.xml</name>
</include>
<include>
<name>x86_ec_common.xml</name>
</include>
<include>
<name>cr50.xml</name>
</include>
<include>
<name>gsc_reset_pch_disable.xml</name>
</include>
<include>
<name>ec_efs2.xml</name>
</include>
<!-- warm_reset is on pin 39, reconfigure -->
<include>
<name>warm_reset_reconf.xml</name>
</include>
<map>
<name>ap_spi_mux_map</name>
<doc>Map for Zork ap_spi_mux_sel control. Picks which debugger interface, meaning GSC (CCD) or Servo Header (case open debug), should have access to AP SPI flash.</doc>
<params gsc="0" servo="1" />
</map>
<control>
<name>fw_wp_state</name>
<doc>Used to turn fw wp off and on</doc>
<!-- fw_wp_vref and spi2_vref share the same voltage rail on the servo
device, and the Zork AP SPI Flash (DUT_SPI2) is 1.8V, so set fw_wp_vref to
match. b/143319676 -->
<params clobber_ok="" fw_wp_vref="pp1800"/>
</control>
<control>
<name>ec_chip</name>
<doc>EC chip name (read-only)</doc>
<params clobber_ok="" cmd="get" subtype="chip" interface="servo"
drv="cros_chip" chip="npcx_int_spi" chip_for_ccd_cr50="npcx_uut"/>
</control>
<control>
<name>power_state</name>
<doc>Used to turn the DUT off and on</doc>
<params clobber_ok="" cmd="set" drv="cros_ec_softrec_power"/>
</control>
<control>
<name>dev_mode</name>
<alias>ap_spi_mux_sel</alias>
<doc>Controls a mux on Zork that switches between GSC or Servo Header access to AP SPI flash. (Zork AP is always connected to its API flash, this mux is /not/ in path for the AP.)</doc>
<!-- change type to push-pull since we need to drive high
https://issuetracker.google.com/143179371 -->
<params clobber_ok="patch" od="PP" map="ap_spi_mux_map" />
</control>
<control>
<name>cpu_fw_spi</name>
<doc>Enable SPI mode for flashing CPU firmware over servo</doc>
<params clobber_ok="full" interface="servo" drv="macro" map="onoff">
<content>
<item key="macro_map">
<item key="1">
<item>spi2_vref:pp1800</item>
<item>spi2_buf_en:on</item>
<item>spi2_buf_on_flex_en:on</item>
<item>cold_reset:on</item>
<item>ap_spi_mux_sel:servo</item>
</item>
<item key="0">
<item>spi2_vref:off</item>
<item>spi2_buf_en:off</item>
<item>spi2_buf_on_flex_en:off</item>
<item>cold_reset:off</item>
<item>ap_spi_mux_sel:gsc</item>
</item>
</item>
</content>
</params>
</control>
</root>