Lines Matching +full:dt +full:- +full:node

1 // SPDX-License-Identifier: GPL-2.0-only
24 #include <asm/mach-types.h>
34 static int __init set_smp_ops_by_method(struct device_node *node) in set_smp_ops_by_method() argument
39 if (of_property_read_string(node, "enable-method", &method)) in set_smp_ops_by_method()
42 for (; m->method; m++) in set_smp_ops_by_method()
43 if (!strcmp(m->method, method)) { in set_smp_ops_by_method()
44 smp_set_ops(m->ops); in set_smp_ops_by_method()
51 static inline int set_smp_ops_by_method(struct device_node *node) in set_smp_ops_by_method() argument
59 * arm_dt_init_cpu_maps - Function retrieves cpu nodes from the device tree
78 u32 tmp_map[NR_CPUS] = { [0 ... NR_CPUS-1] = MPIDR_INVALID }; in arm_dt_init_cpu_maps()
91 * Bits n:24 must be set to 0 in the DT since the reg property in arm_dt_init_cpu_maps()
108 "Duplicate /cpu reg properties in the DT\n")) { in arm_dt_init_cpu_maps()
117 * from 1. If a CPU node with a reg property matching the in arm_dt_init_cpu_maps()
119 * logical map built from DT is validated and can be used in arm_dt_init_cpu_maps()
129 if (WARN(cpuidx > nr_cpu_ids, "DT /cpu %u nodes greater than " in arm_dt_init_cpu_maps()
144 * Fallback to an enable-method in the cpus node if nothing found in in arm_dt_init_cpu_maps()
145 * a cpu node. in arm_dt_init_cpu_maps()
151 pr_warn("DT missing boot CPU MPIDR[23:0], fall back to default cpu_logical_map\n"); in arm_dt_init_cpu_maps()
156 * Since the boot CPU node contains proper data, and all nodes have in arm_dt_init_cpu_maps()
157 * a reg property, the DT CPU list can be considered valid and the in arm_dt_init_cpu_maps()
181 *match = m->dt_compat; in arch_get_next_mach()
186 * setup_machine_fdt - Machine setup when an dtb was passed to the kernel
187 * @dt_virt: virtual address of dt blob
196 DT_MACHINE_START(GENERIC_DT, "Generic DT based system") in setup_machine_fdt()
220 size -= strlen(prop) + 1; in setup_machine_fdt()
229 if (mdesc->dt_fixup) in setup_machine_fdt()
230 mdesc->dt_fixup(); in setup_machine_fdt()
235 __machine_arch_type = mdesc->nr; in setup_machine_fdt()