d29126c90a
Implement a macro based on fdt_first_property_offset and fdt_next_property_offset that provides a convenience to iterate over all the properties of a given node. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Acked-by: Simon Glass <sjg@chromium.org> [dwg: Removed a stray trailing blank line] Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
23 lines
242 B
Text
23 lines
242 B
Text
/dts-v1/;
|
|
|
|
/ {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
test1 {
|
|
test-properties = <3>;
|
|
|
|
test {
|
|
linux,phandle = <0x1>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
};
|
|
};
|
|
|
|
test2 {
|
|
test-properties = <0>;
|
|
|
|
test {
|
|
};
|
|
};
|
|
};
|