Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

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