On Wednesday 24 September 2014 11:00:34 Jingchang Lu wrote: > > We also do the phy-handle fixup on our PowerPC platform based on the aliases, > and so I adopt the same way to make these fixup consistent between SoCs. > And the u-boot fdt fixup code base on the aliases has been upstreamed, so may > we keep this aliases unchanged? I don't see a strong reason to change it, it just seemed strange to me. > BTW, find a node by alias is easily, could you give me some clue on finding a node > by a label directly, Thanks. I haven't used libfdt in this way myself, so I don't know how it would be done. However, the idea is that the labels in dts files end up as ELF symbols in the dtb, so you can look them up by following the ELF headers. Arnd -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html