This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Migration from DM814x rev B to rev C - internal register to ID part revision

Good day!

Is there an internal register in the DM8148 that will identify the new part as a Rev C device (i.e. an Revision register that will be different between Rev B and Rev C parts)? I need to confirm this because we're going to need to track the boards that are built with the different revisions of parts and we need to make sure there's a mechanism for doing so...

 

thanks!

 

AnjliB

  • Hi,

    If by "revision B" device you mean "silicon revision 2.x" device, and by "revision C" device you mean "silicon revision 3.x" device, then:

    The silicon revision is determined from the DEVICE_ID[31:28] DEVREV bit field. The DEVICE_ID register is at address 0x48140600.

    Here is the u-boot source code, that is responsible for determine the device silicon revision:

    /******************************************
     * get_cpu_rev(void) - extract rev info
     ******************************************/
    u32 get_cpu_rev(void)
    {
        u32 id;
        u32 rev;

        id = readl(DEVICE_ID);
        rev = (id >> 28) & 0xF;

    #ifdef CONFIG_TI814X
        /* PG2.1 devices should read 0x3 as chip rev
         * Some PG2.1 devices have 0xc as chip rev
         */
        if (0x3 == rev || 0xc == rev)
            return PG2_1;
        else if (0x4 == rev)
            return PG3_0;
        else
            return PG1_0;
    #endif
        return rev;
    }

    Check also the below threads:

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/t/245169.aspx

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/t/222257.aspx?Redirected=true

    Regards,

    Pavel