[PATCH 14/30] leon, ambapp: updated AMBA PnP IDs and names database

Daniel Hellstrom daniel at gaisler.com
Thu Apr 13 19:31:23 UTC 2017


---
 c/src/lib/libbsp/sparc/shared/amba/ambapp_names.c  | 28 +++++++-
 c/src/lib/libbsp/sparc/shared/include/ambapp_ids.h | 82 ++++++++++++++++------
 2 files changed, 87 insertions(+), 23 deletions(-)

diff --git a/c/src/lib/libbsp/sparc/shared/amba/ambapp_names.c b/c/src/lib/libbsp/sparc/shared/amba/ambapp_names.c
index bae4f3a..5539d3c 100644
--- a/c/src/lib/libbsp/sparc/shared/amba/ambapp_names.c
+++ b/c/src/lib/libbsp/sparc/shared/amba/ambapp_names.c
@@ -125,6 +125,8 @@ static ambapp_device_name GAISLER_devices[] =
   {GAISLER_N2PLLCTRL, "N2PLLCTRL"},
   {GAISLER_SPI2AHB, "SPI2AHB"},
   {GAISLER_DDRSDMUX, "DDRSDMUX"},
+  {GAISLER_AHBFROM, "AHBFROM"},
+  {GAISLER_PCIEXP, "PCIEXP"},
   {GAISLER_APBPS2, "APBPS2"},
   {GAISLER_VGACTRL, "VGACTRL"},
   {GAISLER_LOGAN, "LOGAN"},
@@ -156,6 +158,7 @@ static ambapp_device_name GAISLER_devices[] =
   {GAISLER_GRPCI2, "GRPCI2"},
   {GAISLER_GRPCI2_DMA, "GRPCI2_DMA"},
   {GAISLER_GRPCI2_TB, "GRPCI2_TB"},
+  {GAISLER_MMA, "MMA"},
   {GAISLER_SATCAN, "SATCAN"},
   {GAISLER_CANMUX, "CANMUX"},
   {GAISLER_GRTMRX, "GRTMRX"},
@@ -172,8 +175,31 @@ static ambapp_device_name GAISLER_devices[] =
   {GAISLER_GRPWTX, "GRPWTX"},
   {GAISLER_GRPWRX, "GRPWRX"},
   {GAISLER_GPREGBANK, "GPREGBANK"},
-  {GAISLER_MIG_SERIES7, "MIG_SERIES7"},
+  {GAISLER_MIG_7SERIES, "MIG_7SERIES"},
+  {GAISLER_GRSPW2_SIST, "GRSPW2_SIST"},
+  {GAISLER_SGMII, "SGMII"},
+  {GAISLER_RGMII, "RGMII"},
+  {GAISLER_IRQGEN, "IRQGEN"},
+  {GAISLER_GRDMAC, "GRDMAC"},
+  {GAISLER_AHB2AVLA, "AHB2AVLA"},
   {GAISLER_SPWTDP, "SPWTDP"},
+  {GAISLER_L3STAT, "L3STAT"},
+  {GAISLER_GR740THS, "GR740THS"},
+  {GAISLER_GRRM, "GRRM"},
+  {GAISLER_CMAP, "CMAP"},
+  {GAISLER_CPGEN, "CPGEN"},
+  {GAISLER_AMBAPROT, "AMBAPROT"},
+  {GAISLER_IGLOO2_BRIDGE, "IGLOO2_BRIDGE"},
+  {GAISLER_AHB2AXI, "AHB2AXI"},
+  {GAISLER_AXI2AHB, "AXI2AHB"},
+  {GAISLER_FDIR_RSTCTRL, "FDIR_RSTCTRL"},
+  {GAISLER_APB3MST, "APB3MST"},
+  {GAISLER_LRAM, "LRAM"},
+  {GAISLER_BOOTSEQ, "BOOTSEQ"},
+  {GAISLER_TCCOP, "TCCOP"},
+  {GAISLER_SPIMASTER, "SPIMASTER"},
+  {GAISLER_SPISLAVE, "SPISLAVE"},
+  {GAISLER_GRSRIO, "GRSRIO"}, 
   {0, NULL}
 };
 
diff --git a/c/src/lib/libbsp/sparc/shared/include/ambapp_ids.h b/c/src/lib/libbsp/sparc/shared/include/ambapp_ids.h
index ccd0652..c0c3547 100644
--- a/c/src/lib/libbsp/sparc/shared/include/ambapp_ids.h
+++ b/c/src/lib/libbsp/sparc/shared/include/ambapp_ids.h
@@ -17,31 +17,43 @@
  *
  */
 
-
 #ifndef __AMBAPP_DEVS_H__
 #define __AMBAPP_DEVS_H__
 
 /* Vendor codes */
-#define VENDOR_GAISLER       1
-#define VENDOR_PENDER        2
-#define VENDOR_ESA           4
-#define VENDOR_ASTRIUM       6
-#define VENDOR_OPENCHIP      7
-#define VENDOR_OPENCORES     8
-#define VENDOR_CONTRIB       9
-#define VENDOR_EONIC         11
-#define VENDOR_RADIONOR      15
-#define VENDOR_GLEICHMANN    16
-#define VENDOR_MENTA         17
-#define VENDOR_SUN           19
-#define VENDOR_MOVIDIA       20
-#define VENDOR_ORBITA        23
-#define VENDOR_SYNOPSYS      33
-#define VENDOR_NASA          34
-#define VENDOR_ACTEL         172
-#define VENDOR_CAL           202
-#define VENDOR_EMBEDDIT      234
-#define VENDOR_CETON         203
+#define VENDOR_RESERVED      0x00
+#define VENDOR_GAISLER       0x01
+#define VENDOR_PENDER        0x02
+#define VENDOR_ESA           0x04
+#define VENDOR_ASTRIUM       0x06
+#define VENDOR_OPENCHIP      0x07
+#define VENDOR_OPENCORES     0x08
+#define VENDOR_CONTRIB       0x09
+#define VENDOR_DLR           0x0a
+#define VENDOR_EONIC         0x0b
+#define VENDOR_TELECOMPT     0x0c
+#define VENDOR_DTU           0x0d
+#define VENDOR_BSC           0x0e
+#define VENDOR_RADIONOR      0x0f
+#define VENDOR_GLEICHMANN    0x10
+#define VENDOR_MENTA         0x11
+#define VENDOR_SUN           0x13
+#define VENDOR_MOVIDIA       0x14
+#define VENDOR_ORBITA        0x17
+#define VENDOR_SIEMENS       0x1a
+#define VENDOR_SYNOPSYS      0x21
+#define VENDOR_NASA          0x22
+#define VENDOR_NIIET         0x23
+#define VENDOR_S3            0x31
+#define VENDOR_ACTEL         0xac
+#define VENDOR_APPLECORE     0xae
+#define VENDOR_C3E           0xc3
+#define VENDOR_CBKPAN        0xc8
+#define VENDOR_CAL           0xca
+#define VENDOR_CETON         0xcb
+#define VENDOR_EMBEDDIT      0xea
+#define VENDOR_NASA_GSFC     0xfc
+#define VENDOR_AZST          0xfe
 
 /* Gaisler Research device id's */
 #define GAISLER_LEON2DSU     0x002
@@ -136,6 +148,8 @@
 #define GAISLER_N2PLLCTRL    0x05b
 #define GAISLER_SPI2AHB      0x05c
 #define GAISLER_DDRSDMUX     0x05d
+#define GAISLER_AHBFROM      0x05e
+#define GAISLER_PCIEXP       0x05f
 #define GAISLER_APBPS2       0x060
 #define GAISLER_VGACTRL      0x061
 #define GAISLER_LOGAN        0x062
@@ -169,6 +183,7 @@
 #define GAISLER_GRPCI2       0x07c
 #define GAISLER_GRPCI2_DMA   0x07d
 #define GAISLER_GRPCI2_TB    0x07e
+#define GAISLER_MMA          0x07f
 #define GAISLER_SATCAN       0x080
 #define GAISLER_CANMUX       0x081
 #define GAISLER_GRTMRX       0x082
@@ -186,8 +201,31 @@
 #define GAISLER_GRPWTX       0x08d
 #define GAISLER_GRPWRX       0x08e
 #define GAISLER_GPREGBANK    0x08f
-#define GAISLER_MIG_SERIES7  0x090
+#define GAISLER_MIG_7SERIES  0x090
+#define GAISLER_GRSPW2_SIST  0x091
+#define GAISLER_SGMII        0x092
+#define GAISLER_RGMII        0x093
+#define GAISLER_IRQGEN       0x094
+#define GAISLER_GRDMAC       0x095
+#define GAISLER_AHB2AVLA     0x096
 #define GAISLER_SPWTDP       0x097
+#define GAISLER_L3STAT       0x098
+#define GAISLER_GR740THS     0x099
+#define GAISLER_GRRM         0x09a
+#define GAISLER_CMAP         0x09b
+#define GAISLER_CPGEN        0x09c
+#define GAISLER_AMBAPROT     0x09d
+#define GAISLER_IGLOO2_BRIDGE 0x09e
+#define GAISLER_AHB2AXI      0x09f
+#define GAISLER_AXI2AHB      0x0a0
+#define GAISLER_FDIR_RSTCTRL 0x0a1
+#define GAISLER_APB3MST      0x0a2
+#define GAISLER_LRAM         0x0a3
+#define GAISLER_BOOTSEQ      0x0a4
+#define GAISLER_TCCOP        0x0a5
+#define GAISLER_SPIMASTER    0x0a6
+#define GAISLER_SPISLAVE     0x0a7
+#define GAISLER_GRSRIO       0x0a8
 
 #define GAISLER_PIPEWRAPPER  0xffa
 #define GAISLER_L2TIME       0xffd  /* internal device: leon2 timer */
-- 
2.7.4




More information about the devel mailing list