Lines Matching +full:dt +full:- +full:node
21 #include <asm/yamon-dt.h>
60 /* leave the GIC node intact if a GIC is present */ in remove_gic()
65 gic_off = fdt_node_offset_by_compatible(fdt, -1, "mti,gic"); in remove_gic()
67 pr_err("unable to find DT GIC node: %d\n", gic_off); in remove_gic()
73 pr_err("unable to nop GIC node\n"); in remove_gic()
77 cpu_off = fdt_node_offset_by_compatible(fdt, -1, in remove_gic()
78 "mti,cpu-interrupt-controller"); in remove_gic()
80 pr_err("unable to find CPU intc node: %d\n", cpu_off); in remove_gic()
87 return -EINVAL; in remove_gic()
90 uart_off = fdt_node_offset_by_compatible(fdt, -1, "ns16550a"); in remove_gic()
92 err = fdt_setprop_u32(fdt, uart_off, "interrupt-parent", in remove_gic()
95 pr_warn("unable to set UART interrupt-parent: %d\n", in remove_gic()
111 if (uart_off != -FDT_ERR_NOTFOUND) { in remove_gic()
112 pr_err("error searching for UART DT node: %d\n", uart_off); in remove_gic()
116 eth_off = fdt_node_offset_by_compatible(fdt, -1, "smsc,lan9115"); in remove_gic()
118 pr_err("unable to find ethernet DT node: %d\n", eth_off); in remove_gic()
122 err = fdt_setprop_u32(fdt, eth_off, "interrupt-parent", cpu_phandle); in remove_gic()
124 pr_err("unable to set ethernet interrupt-parent: %d\n", err); in remove_gic()
134 ehci_off = fdt_node_offset_by_compatible(fdt, -1, "generic-ehci"); in remove_gic()
136 pr_err("unable to find EHCI DT node: %d\n", ehci_off); in remove_gic()
140 err = fdt_setprop_u32(fdt, ehci_off, "interrupt-parent", cpu_phandle); in remove_gic()
142 pr_err("unable to set EHCI interrupt-parent: %d\n", err); in remove_gic()
170 panic("Corrupt DT"); in sead3_fixup_fdt()
173 BUG_ON(fdt_node_check_compatible(fdt, 0, "mti,sead-3")); in sead3_fixup_fdt()