arm64: dts: allwinner: sun50i-a64: Add missing address/size-cells
authorOndrej Jirman <megous@megous.com>
Mon, 20 Apr 2020 10:31:13 +0000 (12:31 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Mon, 4 May 2020 16:40:13 +0000 (18:40 +0200)
The binding specifies #address-cells and #size-cells should be present.
Without them present, dtc issues a warning because default for
#address-cells seems to be <2>:

arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi:1108.4-52:
  Warning (dma_ranges_format):
    /soc/dram-controller@1c62000:dma-ranges:
    "dma-ranges" property has invalid length (12 bytes)
    (parent #address-cells == 1, child #address-cells == 2,
    #size-cells == 1)

mbus #address-cells should be 1.

Signed-off-by: Ondrej Jirman <megous@megous.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi

index 8d10fe6d06b6e88b65a61a9ddb8a6b5c3b5011b7..ddd34183d5e4125d76363fe9425e98a0c337d2bf 100644 (file)
                        compatible = "allwinner,sun50i-a64-mbus";
                        reg = <0x01c62000 0x1000>;
                        clocks = <&ccu 112>;
+                       #address-cells = <1>;
+                       #size-cells = <1>;
                        dma-ranges = <0x00000000 0x40000000 0xc0000000>;
                        #interconnect-cells = <1>;
                };