diff options
author | Tom Rini <trini@konsulko.com> | 2024-05-10 10:44:58 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-05-10 10:44:58 -0600 |
commit | d277a056c271b785e17eb09bad37a60dba75a2e2 (patch) | |
tree | 5493d13deaa91990a9c1468520a86d3f0be35398 | |
parent | 8d78cba50abb304c52a4633946b83c3f8c24cf6a (diff) | |
parent | 86b40d2d5f88352c3e5a9e97eb0c33ac9f4b04da (diff) | |
download | u-boot-WIP/10May2024-next.zip u-boot-WIP/10May2024-next.tar.gz u-boot-WIP/10May2024-next.tar.bz2 |
Merge patch series "Add AM64x Support to PRUSS and PRU_RPROC driver"WIP/10May2024-next
MD Danish Anwar <danishanwar@ti.com> says:
This series adds AM64x related compatibles to PRUSS and PRU_RPROC drivers.
This series is a prerequisite for ICSSG Ethernet driver.
Once Support for AM64x is added to PRUSS and PRU_RPROC driver, I'll send
another series to enable ICSSG Ethernet driver for AM64x as well.
-rw-r--r-- | drivers/remoteproc/pru_rproc.c | 9 | ||||
-rw-r--r-- | drivers/soc/ti/pruss.c | 1 |
2 files changed, 8 insertions, 2 deletions
diff --git a/drivers/remoteproc/pru_rproc.c b/drivers/remoteproc/pru_rproc.c index 115c342..9aec138 100644 --- a/drivers/remoteproc/pru_rproc.c +++ b/drivers/remoteproc/pru_rproc.c @@ -398,10 +398,12 @@ static void pru_set_id(struct pru_privdata *priv, struct udevice *dev) { u32 mask2 = 0x38000; - if (device_is_compatible(dev, "ti,am654-rtu")) + if (device_is_compatible(dev, "ti,am654-rtu") || + device_is_compatible(dev, "ti,am642-rtu")) mask2 = 0x6000; - if (device_is_compatible(dev, "ti,am654-tx-pru")) + if (device_is_compatible(dev, "ti,am654-tx-pru") || + device_is_compatible(dev, "ti,am642-tx-pru")) mask2 = 0xc000; if ((priv->pru_iram & mask2) == mask2) @@ -447,6 +449,9 @@ static const struct udevice_id pru_ids[] = { { .compatible = "ti,am654-pru"}, { .compatible = "ti,am654-rtu"}, { .compatible = "ti,am654-tx-pru" }, + { .compatible = "ti,am642-pru"}, + { .compatible = "ti,am642-rtu"}, + { .compatible = "ti,am642-tx-pru" }, {} }; diff --git a/drivers/soc/ti/pruss.c b/drivers/soc/ti/pruss.c index 8df8140..e3bb2ed 100644 --- a/drivers/soc/ti/pruss.c +++ b/drivers/soc/ti/pruss.c @@ -204,6 +204,7 @@ static int pruss_probe(struct udevice *dev) static const struct udevice_id pruss_ids[] = { { .compatible = "ti,am654-icssg"}, + { .compatible = "ti,am642-icssg"}, {} }; |