1*4882a593Smuzhiyun // SPDX-License-Identifier: GPL-2.0-only 2*4882a593Smuzhiyun /* 3*4882a593Smuzhiyun * ARC simulation Platform support code 4*4882a593Smuzhiyun * 5*4882a593Smuzhiyun * Copyright (C) 2012 Synopsys, Inc. (www.synopsys.com) 6*4882a593Smuzhiyun */ 7*4882a593Smuzhiyun 8*4882a593Smuzhiyun #include <linux/init.h> 9*4882a593Smuzhiyun #include <asm/mach_desc.h> 10*4882a593Smuzhiyun 11*4882a593Smuzhiyun /*----------------------- Machine Descriptions ------------------------------ 12*4882a593Smuzhiyun * 13*4882a593Smuzhiyun * Machine description is simply a set of platform/board specific callbacks 14*4882a593Smuzhiyun * This is not directly related to DeviceTree based dynamic device creation, 15*4882a593Smuzhiyun * however as part of early device tree scan, we also select the right 16*4882a593Smuzhiyun * callback set, by matching the DT compatible name. 17*4882a593Smuzhiyun */ 18*4882a593Smuzhiyun 19*4882a593Smuzhiyun static const char *simulation_compat[] __initconst = { 20*4882a593Smuzhiyun #ifdef CONFIG_ISA_ARCOMPACT 21*4882a593Smuzhiyun "snps,nsim", 22*4882a593Smuzhiyun "snps,nsimosci", 23*4882a593Smuzhiyun #else 24*4882a593Smuzhiyun "snps,nsimosci_hs", 25*4882a593Smuzhiyun "snps,zebu_hs", 26*4882a593Smuzhiyun #endif 27*4882a593Smuzhiyun NULL, 28*4882a593Smuzhiyun }; 29*4882a593Smuzhiyun 30*4882a593Smuzhiyun MACHINE_START(SIMULATION, "simulation") 31*4882a593Smuzhiyun .dt_compat = simulation_compat, 32*4882a593Smuzhiyun MACHINE_END 33