Lines Matching defs:node
194 * @node: device tree node for this clock
197 static void __init of_psc_clk_init(struct device_node *node, spinlock_t *lock)
199 const char *clk_name = node->name;
211 i = of_property_match_string(node, "reg-names", "control");
212 data->control_base = of_iomap(node, i);
218 i = of_property_match_string(node, "reg-names", "domain");
219 data->domain_base = of_iomap(node, i);
225 of_property_read_u32(node, "domain-id", &data->domain_id);
231 of_property_read_string(node, "clock-output-names", &clk_name);
232 parent_name = of_clk_get_parent_name(node, 0);
240 of_clk_add_provider(node, of_clk_src_simple_get, clk);
244 pr_err("%s: error registering clk %pOFn\n", __func__, node);
257 * @node: device tree node for this clock
259 static void __init of_keystone_psc_clk_init(struct device_node *node)
261 of_psc_clk_init(node, &psc_lock);