]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
soc: add info to identify the am62p SoC family
authorBryan Brattlof <bb@ti.com>
Tue, 12 Mar 2024 20:20:19 +0000 (15:20 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 13 Mar 2024 14:10:04 +0000 (10:10 -0400)
Include the part number for TI's am62px family of SoCs so we can
properly identify it during boot

Reviewed-by: Igor Opaniuk <igor.opaniuk@foundries.io>
Reviewed-by: Neha Malcom Francis <n-francis@ti.com>
Signed-off-by: Bryan Brattlof <bb@ti.com>
arch/arm/mach-k3/include/mach/hardware.h
drivers/soc/soc_ti_k3.c

index 055715f20d6f22278754a8c99bcc821e2b19caa6..224367d9f1adcc1515aa1ead886ea0a8a6ff3cb5 100644 (file)
@@ -43,6 +43,7 @@
 #define JTAG_ID_PARTNO_SHIFT   12
 #define JTAG_ID_PARTNO_MASK    (0xffff << 12)
 #define JTAG_ID_PARTNO_AM62AX   0xbb8d
+#define JTAG_ID_PARTNO_AM62PX  0xbb9d
 #define JTAG_ID_PARTNO_AM62X   0xbb7e
 #define JTAG_ID_PARTNO_AM64X   0xbb38
 #define JTAG_ID_PARTNO_AM65X   0xbb5a
@@ -65,6 +66,7 @@ K3_SOC_ID(am64x, AM64X)
 K3_SOC_ID(j721s2, J721S2)
 K3_SOC_ID(am62x, AM62X)
 K3_SOC_ID(am62ax, AM62AX)
+K3_SOC_ID(am62px, AM62PX)
 
 #define K3_SEC_MGR_SYS_STATUS          0x44234100
 #define SYS_STATUS_DEV_TYPE_SHIFT      0
index d176980915605d19be0090246ebcb538e42de98c..3a4e58bba6715239339e7afc5b7c1cdf656624a2 100644 (file)
@@ -48,6 +48,9 @@ static const char *get_family_string(u32 idreg)
        case JTAG_ID_PARTNO_J784S4:
                family = "J784S4";
                break;
+       case JTAG_ID_PARTNO_AM62PX:
+               family = "AM62PX";
+               break;
        default:
                family = "Unknown Silicon";
        };