c12b2b0c20
Add internal fdt_cells() to avoid copy and paste. Test error cases and default values. Fix typo in fdt_size_cells() documentation comment. Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
30 lines
384 B
Text
30 lines
384 B
Text
/dts-v1/;
|
|
|
|
/ {
|
|
compatible = "test_addresses";
|
|
#address-cells = <2>;
|
|
#size-cells = <2>;
|
|
|
|
identity-bus@0 {
|
|
};
|
|
|
|
simple-bus@1000000 {
|
|
#address-cells = <2>;
|
|
#size-cells = <1>;
|
|
};
|
|
|
|
c0@0 {
|
|
#address-cells = <1 1>;
|
|
#size-cells = <1 1>;
|
|
};
|
|
|
|
c1@0 {
|
|
#address-cells = <0x80000000>;
|
|
#size-cells = <0x80000000>;
|
|
};
|
|
|
|
c2@0 {
|
|
#address-cells = <5>;
|
|
#size-cells = <5>;
|
|
};
|
|
};
|