soc: am65x: Add Devices info
[k3conf/k3conf.git] / common / socinfo.c
index 880ebf97eec02926a7bd52dc169651719fba4422..e89a01c448f36c437cd86aae7a095a07e8c5c60d 100644 (file)
 #include <soc/am65x/am65x_host_info.h>
 #include <soc/am65x/am65x_sec_proxy_info.h>
 #include <soc/am65x/am65x_processors_info.h>
+#include <soc/am65x/am65x_devices_info.h>
 #include <soc/j721e/j721e_host_info.h>
 #include <soc/j721e/j721e_sec_proxy_info.h>
+#include <soc/j721e/j721e_processors_info.h>
 
 /* Assuming these addresses and definitions stay common across K3 devices */
 #define CTRLMMR_WKUP_JTAG_DEVICE_ID    0x43000018
@@ -93,6 +95,8 @@ static void am654_init(void)
        sci_info->num_sp_threads[MCU_SEC_PROXY] = AM65X_MCU_SEC_PROXY_THREADS;
        sci_info->processors_info = am65x_processors_info;
        sci_info->num_processors = AM65X_MAX_PROCESSORS_IDS;
+       sci_info->devices_info = am65x_devices_info;
+       sci_info->num_devices = AM65X_MAX_DEVICES;
 }
 
 static void j721e_init(void)
@@ -105,6 +109,8 @@ static void j721e_init(void)
        sci_info->num_sp_threads[MAIN_SEC_PROXY] = J721E_MAIN_SEC_PROXY_THREADS;
        sci_info->sp_info[MCU_SEC_PROXY] = j721e_mcu_sp_info;
        sci_info->num_sp_threads[MCU_SEC_PROXY] = J721E_MCU_SEC_PROXY_THREADS;
+       sci_info->processors_info = j721e_processors_info;
+       sci_info->num_processors = J721E_MAX_PROCESSORS_IDS;
 }
 
 int soc_init(void)