arm64: dts: renesas: r8a77965: Add address properties to rcar_sound port nodes
authorSimon Horman <[email protected]>
Thu, 26 Apr 2018 09:42:43 +0000 (11:42 +0200)
committerSimon Horman <[email protected]>
Wed, 16 May 2018 08:45:17 +0000 (10:45 +0200)
The rcar_sound port nodes have unit names and thus should have register
properties.

This is flagged by dtc as follows:
 # make dtbs W=1
 ...
 DTC     arch/arm64/boot/dts/renesas/r8a77965-salvator-x.dtb
arch/arm64/boot/dts/renesas/r8a77965-salvator-x.dtb: Warning (unit_address_vs_reg): /soc/sound@ec500000/ports/port@0: node has a unit name, but no reg property
 DTC     arch/arm64/boot/dts/renesas/r8a77965-salvator-xs.dtb
arch/arm64/boot/dts/renesas/r8a77965-salvator-xs.dtb: Warning (unit_address_vs_reg): /soc/sound@ec500000/ports/port@0: node has a unit name, but no reg property

Prior to this patch the port nodes only defined in board DTS files.
As the register properties are common this patch defines the port nodes
and provides register properties in the SoC DTS file.

Signed-off-by: Simon Horman <[email protected]>
Reviewed-by: Niklas Söderlund <[email protected]>
arch/arm64/boot/dts/renesas/r8a77965.dtsi

index b46af27441356a3af9e7b037fc2896daf72e6e4d..7c9555309c0ac34dbeb4332554ef747c7184e66c 100644 (file)
                                ssi1: ssi-1 {
                                };
                        };
+
+                       ports {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               port@0 {
+                                       reg = <0>;
+                               };
+                       };
                };
 
                xhci0: usb@ee000000 {