Lines Matching refs:node
130 void *node, *parent_node; in fixup_pci() local
133 node = finddevice("/pci"); in fixup_pci()
134 if (!node || !dt_is_compatible(node, "fsl,pq2-pci")) in fixup_pci()
138 if (!dt_xlate_reg(node, i, in fixup_pci()
146 dt_get_reg_format(node, &naddr, &nsize); in fixup_pci()
150 parent_node = get_parent(node); in fixup_pci()
158 len = getprop(node, "ranges", pci_ranges_buf, in fixup_pci()
247 void *node; in pq2_platform_fixups() local
253 node = finddevice("/soc/cpm"); in pq2_platform_fixups()
254 if (node) in pq2_platform_fixups()
255 setprop(node, "clock-frequency", &bd.bi_cpmfreq, 4); in pq2_platform_fixups()
257 node = finddevice("/soc/cpm/brg"); in pq2_platform_fixups()
258 if (node) in pq2_platform_fixups()
259 setprop(node, "clock-frequency", &bd.bi_brgfreq, 4); in pq2_platform_fixups()