02cc83540b
If the path doesn't start with '/' check to see if it matches some alias under "/aliases" and substitute the matching alias value in the path and retry the lookup. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Acked-by: David Gibson <david@gibson.dropbear.id.au>
21 lines
303 B
Text
21 lines
303 B
Text
/dts-v1/;
|
|
|
|
/ {
|
|
aliases {
|
|
s1 = &sub1;
|
|
ss1 = &subsub1;
|
|
sss1 = &subsubsub1;
|
|
};
|
|
|
|
sub1: subnode@1 {
|
|
compatible = "subnode1";
|
|
|
|
subsub1: subsubnode {
|
|
compatible = "subsubnode1", "subsubnode";
|
|
|
|
subsubsub1: subsubsubnode {
|
|
compatible = "subsubsubnode1", "subsubsubnode";
|
|
};
|
|
};
|
|
};
|
|
};
|