Lines Matching +full:dt +full:- +full:node
29 #include <asm/mach-types.h>
39 static int __init set_smp_ops_by_method(struct device_node *node) in set_smp_ops_by_method() argument
44 if (of_property_read_string(node, "enable-method", &method)) in set_smp_ops_by_method()
47 for (; m->method; m++) in set_smp_ops_by_method()
48 if (!strcmp(m->method, method)) { in set_smp_ops_by_method()
49 smp_set_ops(m->ops); in set_smp_ops_by_method()
56 static inline int set_smp_ops_by_method(struct device_node *node) in set_smp_ops_by_method() argument
64 * arm_dt_init_cpu_maps - Function retrieves cpu nodes from the device tree
83 u32 tmp_map[NR_CPUS] = { [0 ... NR_CPUS-1] = MPIDR_INVALID }; in arm_dt_init_cpu_maps()
95 if (of_node_cmp(cpu->type, "cpu")) in arm_dt_init_cpu_maps()
112 * Bits n:24 must be set to 0 in the DT since the reg property in arm_dt_init_cpu_maps()
117 prop_bytes -= sizeof(*cell); in arm_dt_init_cpu_maps()
134 "Duplicate /cpu reg properties in the DT\n")) { in arm_dt_init_cpu_maps()
143 * from 1. If a CPU node with a reg property matching the in arm_dt_init_cpu_maps()
145 * logical map built from DT is validated and can be used in arm_dt_init_cpu_maps()
155 if (WARN(cpuidx > nr_cpu_ids, "DT /cpu %u nodes greater than " in arm_dt_init_cpu_maps()
170 * Fallback to an enable-method in the cpus node if nothing found in in arm_dt_init_cpu_maps()
171 * a cpu node. in arm_dt_init_cpu_maps()
177 pr_warn("DT missing boot CPU MPIDR[23:0], fall back to default cpu_logical_map\n"); in arm_dt_init_cpu_maps()
182 * Since the boot CPU node contains proper data, and all nodes have in arm_dt_init_cpu_maps()
183 * a reg property, the DT CPU list can be considered valid and the in arm_dt_init_cpu_maps()
207 *match = m->dt_compat; in arch_get_next_mach()
212 * setup_machine_fdt - Machine setup when an dtb was passed to the kernel
213 * @dt_phys: physical address of dt blob
223 DT_MACHINE_START(GENERIC_DT, "Generic DT based system") in setup_machine_fdt()
248 size -= strlen(prop) + 1; in setup_machine_fdt()
257 if (mdesc->dt_fixup) in setup_machine_fdt()
258 mdesc->dt_fixup(); in setup_machine_fdt()
263 __machine_arch_type = mdesc->nr; in setup_machine_fdt()