Lines Matching defs:node
36 int node;
42 node = fdt_path_offset(dtb, "/secure-chosen");
43 if (node < 0) {
44 node = fdt_path_offset(dtb, "/chosen");
45 if (node < 0) {
51 prop = fdt_getprop(dtb, node, "stdout-path", NULL);
78 * get_node_status() - Get the DTB node status.
80 * @node: Node address in the device tree.
84 static uint32_t get_node_status(void *dtb, int node)
89 status_cell = fdt_getprop(dtb, node, "status", NULL);
102 * @node: Node address in the device tree.
107 static uint32_t fdt_add_uart_info(dt_uart_info_t *info, int node, void *dtb)
113 com = fdt_getprop(dtb, node, "compatible", NULL);
117 ERROR("Compatible property not found in DTB node\n");
122 ret = fdt_get_reg_props_by_index(dtb, node, 0, &base_addr, NULL);
131 info->status = get_node_status(dtb, node);
146 int node, ret = 0;
162 node = fdt_get_stdout_node_offset(dtb);
163 if (node < 0) {
164 ERROR("DT get stdout node failed : %d\n", node);
169 ret = fdt_add_uart_info(info, node, dtb);