]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
fdt: Add compatible strings for Arria 10
authorTien Fong Chee <tien.fong.chee@intel.com>
Mon, 25 Sep 2017 08:40:03 +0000 (16:40 +0800)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Sun, 26 Nov 2017 01:34:10 +0000 (02:34 +0100)
Add compatible strings for Intel Arria 10 SoCFPGA device.

Signed-off-by: Tien Fong Chee <tien.fong.chee@intel.com>
include/fdtdec.h
lib/fdtdec.c

index 1ba02be8e1b1f4bc200ac7d18008ee8d82ce1962..0fb3e07212288651cc7ef3b1f8cea501cdc5f45a 100644 (file)
@@ -159,6 +159,8 @@ enum fdt_compat_id {
        COMPAT_ALTERA_SOCFPGA_F2SDR0,           /* SoCFPGA fpga2SDRAM0 bridge */
        COMPAT_ALTERA_SOCFPGA_F2SDR1,           /* SoCFPGA fpga2SDRAM1 bridge */
        COMPAT_ALTERA_SOCFPGA_F2SDR2,           /* SoCFPGA fpga2SDRAM2 bridge */
+       COMPAT_ALTERA_SOCFPGA_FPGA0,            /* SOCFPGA FPGA manager */
+       COMPAT_ALTERA_SOCFPGA_NOC,              /* SOCFPGA Arria 10 NOC */
 
        COMPAT_COUNT,
 };
index 45f3fe7baf8e76505e4b769bb945a62452ba1522..c4582eaccae7ae8c96dade8a46b21c2183b9e07a 100644 (file)
@@ -71,6 +71,8 @@ static const char * const compat_names[COMPAT_COUNT] = {
        COMPAT(ALTERA_SOCFPGA_F2SDR0, "altr,socfpga-fpga2sdram0-bridge"),
        COMPAT(ALTERA_SOCFPGA_F2SDR1, "altr,socfpga-fpga2sdram1-bridge"),
        COMPAT(ALTERA_SOCFPGA_F2SDR2, "altr,socfpga-fpga2sdram2-bridge"),
+       COMPAT(ALTERA_SOCFPGA_FPGA0, "altr,socfpga-a10-fpga-mgr"),
+       COMPAT(ALTERA_SOCFPGA_NOC, "altr,socfpga-a10-noc"),
 };
 
 const char *fdtdec_get_compatible(enum fdt_compat_id id)