The dtc compiler gives no help in identifying syntax errors in .dts files. I have the following DT node (simplified):
&amba_pl {
ntscpal {
compatible = "xlnx,ntscpal-0.1";
.....
};
};
This is working just fine and my Linux kernel builds correctly. I now want to add an alias for this node like this:
aliases {
ntscpal = &amba_pl/ntscpal;
};
But this gives a dtc error: "FATAL ERROR: Unable to parse input tree" and only gives the line number of the line: "ntscpal = &amba_pl/ntscpal;"
Question: What is wrong with this? I have check several docs on this and I think I am using the correct syntax yet it fails.
Question: does the aliases{} node have to be specified for the root DT node?
Thanks, -Andres