Lines Matching refs:node
532 static void __init ti_fapll_setup(struct device_node *node) in ti_fapll_setup() argument
556 name = ti_dt_clk_name(node); in ti_fapll_setup()
559 init->num_parents = of_clk_get_parent_count(node); in ti_fapll_setup()
561 pr_err("%pOFn must have two parents\n", node); in ti_fapll_setup()
565 of_clk_parent_fill(node, parent_name, 2); in ti_fapll_setup()
568 fd->clk_ref = of_clk_get(node, 0); in ti_fapll_setup()
570 pr_err("%pOFn could not get clk_ref\n", node); in ti_fapll_setup()
574 fd->clk_bypass = of_clk_get(node, 1); in ti_fapll_setup()
576 pr_err("%pOFn could not get clk_bypass\n", node); in ti_fapll_setup()
580 fd->base = of_iomap(node, 0); in ti_fapll_setup()
582 pr_err("%pOFn could not get IO base\n", node); in ti_fapll_setup()
614 if (of_property_read_string_index(node, "clock-output-names", in ti_fapll_setup()
618 if (of_property_read_u32_index(node, "clock-indices", i, in ti_fapll_setup()
647 of_clk_add_provider(node, of_clk_src_onecell_get, &fd->outputs); in ti_fapll_setup()