arm64: dts: renesas: r8a77965: Add #address-cells and #size-cells
authorJacopo Mondi <jacopo+renesas@jmondi.org>
Fri, 23 Feb 2018 13:40:54 +0000 (14:40 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 13 Mar 2018 18:06:03 +0000 (19:06 +0100)
Add "#address-cells" and "#size-cells" properties to all place-holder nodes
that have children nodes defined by salvator-x[s].dtsi device tree.

This silences the following DTC compiler warnings:
Warning (reg_format): "reg" property in /soc/.. has invalid length (4 bytes)
(#address-cells == 2, #size-cells == 1)
Warning (avoid_default_addr_size): Relying on default #address-cells
value for /soc/...
Warning (avoid_default_addr_size): Relying on default #size-cells value
for /soc/...

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm64/boot/dts/renesas/r8a77965.dtsi

index 4286453ba92d61ff8f09cb6f9bc092426281062f..61efb2d222578b84728d0eda83c7952a51bde11b 100644 (file)
                };
 
                avb: ethernet@e6800000 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
                        reg = <0 0xe6800000 0 0x800>, <0 0xe6a00000 0 0x10000>;
                        /* placeholder */
                };
                csi20: csi2@fea80000 {
                        reg = <0 0xfea80000 0 0x10000>;
                        /* placeholder */
+
+                       ports {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                       };
                };
 
                csi40: csi2@feaa0000 {
                        reg = <0 0xfeaa0000 0 0x10000>;
                        /* placeholder */
+
+                       ports {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                       };
                };
 
                vin0: video@e6ef0000 {
                };
 
                i2c2: i2c@e6510000 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
                        reg = <0 0xe6510000 0 0x40>;
                        /* placeholder */
                };
                };
 
                i2c4: i2c@e66d8000 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
                        reg = <0 0xe66d8000 0 0x40>;
                        /* placeholder */
                };
                };
 
                i2c_dvfs: i2c@e60b0000 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
                        reg = <0 0xe60b0000 0 0x425>;
                        /* placeholder */
                };
                        /* placeholder */
 
                        ports {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+
                                port@0 {
                                        reg = <0>;
                                        du_out_rgb: endpoint {