<?xml version="1.0" encoding="UTF-8"?>
<!--
===============================================================================

  Copyright (c) 2018 Qualcomm Technologies, Inc.
  All Rights Reserved.
  Confidential and Proprietary - Qualcomm Technologies, Inc.

===============================================================================
-->

<tns:fuseblower xmlns:tns="http://www.qualcomm.com/fuseblower"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.qualcomm.com/fuseblower ../xsd/fuseblower.xsd">

    <metadata>
        <chipset>sdx50m</chipset>
        <version>1.0</version>
    </metadata>

    <module id="SECURITY_CONTROL_CORE">
        <base_address>0x000a0000</base_address>
        <description/>

        <fuse_region id="QFPROM_RAW_FEC_EN">
            <fuse ignore="false">
                <address>0x000a04b0</address>
                <operation>BLOW</operation>
                <field id="REGION11_FEC_EN">
                    <description>
                        OEM Secure Boot FEC Enable
                        Blow to enable FEC for OEM Secure Boot region. Ensure that
                        complete region is provisioned before FEC is enabled.
                    </description>
                    <owner>QTI</owner>
                    <value>0x0</value>
                    <bits>11</bits>
                </field>
                <field id="REGION13_FEC_EN">
                    <description>PK Hash FEC Enable</description>
                    <owner>QTI</owner>
                    <value>0x0</value>
                    <bits>13</bits>
                </field>
            </fuse>
        </fuse_region>

        <fuse_region id="QFPROM_RAW_OEM_CONFIG">
            <fuse ignore="false" n="0">
                <address>0x000a0150</address>
                <operation>BLOW</operation>
                <field id="WDOG_EN">
                    <description>Prevents WDOG_DISABLE GPIO from disabling WDOG. Frees up the GPIO and prevents potential for abuse by attacker.</description>
                    <owner>QTI</owner>
                    <value>0x0</value>
                    <bits>12</bits>
                </field>
                <field id="ROOT_CERT_TOTAL_NUM">
                    <description>This index is used to configure the number of root certificates hashed into OEM_PK_HASH when multiple roots are present.</description>
                    <owner>QTI</owner>
                    <value>0x0</value>
                    <bits>19:18</bits>
                </field>
                <field id="APPS_DBGEN_DISABLE">
                    <description>Blow this bit for secure solution. Disables the APPS global invasive (JTAG and monitor mode) debug capabilities. Can be overridden by OVERRIDE registers.</description>
                    <owner>QTI</owner>
                    <value>0x0</value>
                    <bits>42</bits>
                </field>
                <field id="APPS_NIDEN_DISABLE">
                    <description>Blow this bit for secure solution. Disables the APPS global non-invasive (trace and performance monitoring) debug capabilities. Can be overriden with OVERRIDE registers.</description>
                    <owner>QTI</owner>
                    <value>0x0</value>
                    <bits>43</bits>
                </field>
            </fuse>
            <fuse ignore="false" n="1">
                <address>0x000a0158</address>
                <operation>BLOW</operation>
                <field id="OEM_HW_ID">
                    <description>OEM HW ID</description>
                    <owner>QTI</owner>
                    <value>0x0000</value>
                    <bits>15:0</bits>
                </field>
                <field id="OEM_PRODUCT_ID">
                    <description>OEM Product ID</description>
                    <owner>QTI</owner>
                    <value>0x0000</value>
                    <bits>31:16</bits>
                </field>
            </fuse>
        </fuse_region>

        <fuse_region id="QFPROM_RAW_OEM_PK_HASH">
            <description>ROW 62, 63, 64, 65, 66, 67, 68</description>
            <fuse ignore="false" n="0">
                <address>0x000a01f0</address>
                <operation>BLOW</operation>
                <field id="HASH_DATA_ROW0">
                    <description>PK Hash[55:0]: Hash of the Public Key</description>
                    <owner>QTI</owner>
                    <value>0x00000000000000</value>
                    <bits>55:0</bits>
                </field>
                <field id="FEC_VALUE">
                    <description>FEC autocalculated based on 56 bits in the row</description>
                    <owner>QTI</owner>
                    <value>0x00</value>
                    <bits>62:56</bits>
                </field>
            </fuse>
            <fuse ignore="false" n="1">
                <address>0x000a01f8</address>
                <operation>BLOW</operation>
                <field id="HASH_DATA_ROW1">
                    <description>PK Hash[111:56]: Hash of the Public Key</description>
                    <owner>QTI</owner>
                    <value>0x00000000000000</value>
                    <bits>55:0</bits>
                </field>
                <field id="FEC_VALUE">
                    <description>FEC autocalculated based on 56 bits in the row</description>
                    <owner>QTI</owner>
                    <value>0x00</value>
                    <bits>62:56</bits>
                </field>
            </fuse>
            <fuse ignore="false" n="2">
                <address>0x000a0200</address>
                <operation>BLOW</operation>
                <field id="HASH_DATA_ROW2">
                    <description>PK Hash[167:112]: Hash of the Public Key</description>
                    <owner>QTI</owner>
                    <value>0x00000000000000</value>
                    <bits>55:0</bits>
                </field>
                <field id="FEC_VALUE">
                    <description>FEC autocalculated based on 56 bits in the row</description>
                    <owner>QTI</owner>
                    <value>0x00</value>
                    <bits>62:56</bits>
                </field>
            </fuse>
            <fuse ignore="false" n="3">
                <address>0x000a0208</address>
                <operation>BLOW</operation>
                <field id="HASH_DATA_ROW3">
                    <description>PK Hash[223:168]: Hash of the Public Key</description>
                    <owner>QTI</owner>
                    <value>0x00000000000000</value>
                    <bits>55:0</bits>
                </field>
                <field id="FEC_VALUE">
                    <description>FEC autocalculated based on 56 bits in the row</description>
                    <owner>QTI</owner>
                    <value>0x00</value>
                    <bits>62:56</bits>
                </field>
            </fuse>
            <fuse ignore="false" n="4">
                <address>0x000a0210</address>
                <operation>BLOW</operation>
                <field id="HASH_DATA_ROW4">
                    <description>PK Hash[279:224]: Hash of the Public Key</description>
                    <owner>QTI</owner>
                    <value>0x00000000000000</value>
                    <bits>55:0</bits>
                </field>
                <field id="FEC_VALUE">
                    <description>FEC autocalculated based on 56 bits in the row</description>
                    <owner>QTI</owner>
                    <value>0x00</value>
                    <bits>62:56</bits>
                </field>
            </fuse>
            <fuse ignore="false" n="5">
                <address>0x000a0218</address>
                <operation>BLOW</operation>
                <field id="HASH_DATA_ROW5">
                    <description>PK Hash[335:280]: Hash of the Public Key</description>
                    <owner>QTI</owner>
                    <value>0x00000000000000</value>
                    <bits>55:0</bits>
                </field>
                <field id="FEC_VALUE">
                    <description>FEC autocalculated based on 56 bits in the row</description>
                    <owner>QTI</owner>
                    <value>0x00</value>
                    <bits>62:56</bits>
                </field>
            </fuse>
            <fuse ignore="false" n="6">
                <address>0x000a0220</address>
                <operation>BLOW</operation>
                <field id="HASH_DATA_ROW6">
                    <description>PK Hash[383:336]: Hash of the Public Key</description>
                    <owner>QTI</owner>
                    <value>0x00000000000000</value>
                    <bits>47:0</bits>
                </field>
                <field id="FEC_VALUE">
                    <description>FEC autocalculated based on 56 bits in the row</description>
                    <owner>QTI</owner>
                    <value>0x00</value>
                    <bits>62:56</bits>
                </field>
            </fuse>
        </fuse_region>

        <fuse_region id="QFPROM_RAW_OEM_SEC_BOOT">
            <description>ROW 60</description>
            <fuse ignore="false" n="0">
                <address>0x000a01e0</address>
                <operation>BLOW</operation>
                <field id="SEC_BOOT1_ROM_PK_Hash_Index">
                    <description>
                        OEM_SECURE_BOOT1_ROM_PK_HASH_IDX[3:0]
                        If PK_HASH_IN_FUSE = '0'; this value selects which root
                        certificate hash to use from the ROM table.
                    </description>
                    <owner>QTI</owner>
                    <value>0x0</value>
                    <bits>3:0</bits>
                </field>
                <field id="SEC_BOOT1_PK_Hash_in_Fuse">
                    <description>
                        OEM_SECURE_BOOT1_PK_HASH_IN_FUSE
                        For boot configuration 1 (Apps): If this bit is '0' use the internal
                        ROM hash index and OEM_SECURE_BOOT1_ROM_PK_HASH_IDX[3:0] for the root
                        certificate hash. If this bit is '1' use the value stored in OEM_PK_HASH
                        for the root certificate hash.
                    </description>
                    <owner>QTI</owner>
                    <value>0x0</value>
                    <bits>4</bits>
                </field>
                <field id="SEC_BOOT1_Use_Serial_Num">
                    <description>
                        OEM_SECURE_BOOT1_USE_SERIAL_NUM
                        If this bit is '1' then the unique device serial number is required in
                        the authentication of code for boot configuration 1.
                    </description>
                    <owner>QTI</owner>
                    <value>0x0</value>
                    <bits>6</bits>
                </field>
                <field id="SEC_BOOT2_ROM_PK_Hash_Index">
                    <description>
                        OEM_SECURE_BOOT2_ROM_PK_HASH_IDX[3:0]
                        If PK_HASH_IN_FUSE = '0'; this value selects which root certificate hash
                        to use from the ROM table.
                    </description>
                    <owner>QTI</owner>
                    <value>0x0</value>
                    <bits>11:8</bits>
                </field>
                <field id="SEC_BOOT2_PK_Hash_in_Fuse">
                    <description>
                        OEM_SECURE_BOOT2_PK_HASH_IN_FUSE
                        For boot configuration 2 (MBA):If this bit is '0' use the internal ROM
                        hash index and OEM_SECURE_BOOT2_ROM_PK_HASH_IDX[3:0] for the root
                        certificate hash. If this bit is '1' use the value stored in OEM_PK_HASH
                        for the root certificate hash.
                    </description>
                    <owner>QTI</owner>
                    <value>0x0</value>
                    <bits>12</bits>
                </field>
                <field id="SEC_BOOT2_Use_Serial_Num">
                    <description>
                        OEM_SECURE_BOOT2_USE_SERIAL_NUM
                        If this bit is '1' then the unique device serial number is required in the
                        authentication of code for boot configuration 2.
                    </description>
                    <owner>QTI</owner>
                    <value>0x0</value>
                    <bits>14</bits>
                </field>
                <field id="SEC_BOOT3_ROM_PK_Hash_Index">
                    <description>
                        OEM_SECURE_BOOT3_ROM_PK_HASH_IDX[3:0]
                        If PK_HASH_IN_FUSE = '0'; this value selects which root certificate hash
                        to use from the ROM table.
                    </description>
                    <owner>QTI</owner>
                    <value>0x0</value>
                    <bits>19:16</bits>
                </field>
                <field id="SEC_BOOT3_PK_Hash_in_Fuse">
                    <description>
                        OEM_SECURE_BOOT2_PK_HASH_IN_FUSE
                        For boot configuration 3 (Modem): If this bit is '0' use the internal
                        ROM hash index and OEM_SECURE_BOOT3_ROM_PK_HASH_IDX[3:0] for the root
                        certificate hash. If this bit is '1' use the value stored in OEM_PK_HASH
                        for the root certificate hash.
                    </description>
                    <owner>QTI</owner>
                    <value>0x0</value>
                    <bits>20</bits>
                </field>
                <field id="SEC_BOOT3_Use_Serial_Num">
                    <description>
                        OEM_SECURE_BOOT3_USE_SERIAL_NUM
                        If this bit is '1' then the unique device serial number is required in the
                        authentication of code for boot configuration 3.
                    </description>
                    <owner>QTI</owner>
                    <value>0x0</value>
                    <bits>22</bits>
                </field>
                <field id="FEC_VALUE">
                    <value>0x00</value>
                    <bits>62:56</bits>
                </field>
            </fuse>
        </fuse_region>
    </module>
</tns:fuseblower>
