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

1 // SPDX-License-Identifier: GPL-2.0-only
25 #include <asm/mach-types.h>
35 static int __init set_smp_ops_by_method(struct device_node *node) in set_smp_ops_by_method() argument
40 if (of_property_read_string(node, "enable-method", &method)) in set_smp_ops_by_method()
43 for (; m->method; m++) in set_smp_ops_by_method()
44 if (!strcmp(m->method, method)) { in set_smp_ops_by_method()
45 smp_set_ops(m->ops); in set_smp_ops_by_method()
52 static inline int set_smp_ops_by_method(struct device_node *node) in set_smp_ops_by_method() argument
60 * arm_dt_init_cpu_maps - Function retrieves cpu nodes from the device tree
79 u32 tmp_map[NR_CPUS] = { [0 ... NR_CPUS-1] = MPIDR_INVALID }; in arm_dt_init_cpu_maps()
105 * Bits n:24 must be set to 0 in the DT since the reg property in arm_dt_init_cpu_maps()
110 prop_bytes -= sizeof(*cell); in arm_dt_init_cpu_maps()
127 "Duplicate /cpu reg properties in the DT\n")) { in arm_dt_init_cpu_maps()
136 * from 1. If a CPU node with a reg property matching the in arm_dt_init_cpu_maps()
138 * logical map built from DT is validated and can be used in arm_dt_init_cpu_maps()
148 if (WARN(cpuidx > nr_cpu_ids, "DT /cpu %u nodes greater than " in arm_dt_init_cpu_maps()
163 * Fallback to an enable-method in the cpus node if nothing found in in arm_dt_init_cpu_maps()
164 * a cpu node. in arm_dt_init_cpu_maps()
170 pr_warn("DT missing boot CPU MPIDR[23:0], fall back to default cpu_logical_map\n"); in arm_dt_init_cpu_maps()
175 * Since the boot CPU node contains proper data, and all nodes have in arm_dt_init_cpu_maps()
176 * a reg property, the DT CPU list can be considered valid and the in arm_dt_init_cpu_maps()
200 *match = m->dt_compat; in arch_get_next_mach()
205 * setup_machine_fdt - Machine setup when an dtb was passed to the kernel
206 * @dt_phys: physical address of dt blob
216 DT_MACHINE_START(GENERIC_DT, "Generic DT based system") in setup_machine_fdt()
241 size -= strlen(prop) + 1; in setup_machine_fdt()
250 if (mdesc->dt_fixup) in setup_machine_fdt()
251 mdesc->dt_fixup(); in setup_machine_fdt()
256 __machine_arch_type = mdesc->nr; in setup_machine_fdt()