Currently dtc happily eats both:
in the same way as:
val = <0 1>, <2 3>, <4 5>, <6 7>;
so long as the -cells values match.
Requiring the second format (one entry per <...>) would allow to dynamically derive -cells values and reduce boilerplate (by e.g. defaulting to #address-cells == #size-cells == <2> when ARRAY_SIZE(reg) is a multiple of 4 etc., while still allowing to manually override it where it's not obvious.
Currently dtc happily eats both:
in the same way as:
so long as the -cells values match.
Requiring the second format (one entry per
<...>) would allow to dynamically derive-cellsvalues and reduce boilerplate (by e.g. defaulting to#address-cells == #size-cells == <2>whenARRAY_SIZE(reg)is a multiple of 4 etc., while still allowing to manually override it where it's not obvious.