[U-Boot] [PATCH 03/10] arm: arch-am33xx: Add pru_icss clkctrl

Greg Leonberg greg.leonberg at sunhillo.com
Wed Jul 27 21:27:50 CEST 2022


The pruicssclkctrl register needs to be added to the cm_perpll register
structure in order to allow the pruss driver to enable the clock for it
during the pruss probe function call on am33xx

This patch depends on patch 0002 of this patch series.

Signed-off-by: Greg Leonberg <greg.leonberg at sunhillo.com>
---
 arch/arm/include/asm/arch-am33xx/cpu.h | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/arch/arm/include/asm/arch-am33xx/cpu.h b/arch/arm/include/asm/arch-am33xx/cpu.h
index b713418..0af680e 100644
--- a/arch/arm/include/asm/arch-am33xx/cpu.h
+++ b/arch/arm/include/asm/arch-am33xx/cpu.h
@@ -177,7 +177,8 @@ struct cm_perpll {
 	unsigned int epwmss2clkctrl;	/* offset 0xD8 */
 	unsigned int l3instrclkctrl;	/* offset 0xDC */
 	unsigned int l3clkctrl;		/* Offset 0xE0 */
-	unsigned int resv8[2];
+	unsigned int resv8[1];
+	unsigned int pruicssclkctrl;	/* offset 0xE8 */
 	unsigned int timer5clkctrl;	/* offset 0xEC */
 	unsigned int timer6clkctrl;	/* offset 0xF0 */
 	unsigned int mmc1clkctrl;	/* offset 0xF4 */
@@ -185,7 +186,8 @@ struct cm_perpll {
 	unsigned int resv9[8];
 	unsigned int l4hsclkstctrl;	/* offset 0x11C */
 	unsigned int l4hsclkctrl;	/* offset 0x120 */
-	unsigned int resv10[8];
+	unsigned int resv10[7];
+	unsigned int pruicssclkstctrl;	/* offset 0x140 */
 	unsigned int cpswclkstctrl;	/* offset 0x144 */
 	unsigned int lcdcclkstctrl;	/* offset 0x148 */
 };
-- 
1.8.3.1



More information about the U-Boot mailing list