Lines Matching defs:node
47 * For any node defined as compatible with fsl,pq2-localbus,
113 printf("Bad /localbus node\r\n");
130 void *node, *parent_node;
133 node = finddevice("/pci");
134 if (!node || !dt_is_compatible(node, "fsl,pq2-pci"))
138 if (!dt_xlate_reg(node, i,
146 dt_get_reg_format(node, &naddr, &nsize);
150 parent_node = get_parent(node);
158 len = getprop(node, "ranges", pci_ranges_buf,
238 printf("Bad PCI node -- using existing firmware setup.\r\n");
242 printf("Unsupported PCI node -- using existing firmware setup.\r\n");
247 void *node;
253 node = finddevice("/soc/cpm");
254 if (node)
255 setprop(node, "clock-frequency", &bd.bi_cpmfreq, 4);
257 node = finddevice("/soc/cpm/brg");
258 if (node)
259 setprop(node, "clock-frequency", &bd.bi_brgfreq, 4);