aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorSimon Horman <horms+renesas@verge.net.au>2018-04-26 11:42:43 +0200
committerSimon Horman <horms+renesas@verge.net.au>2018-05-16 10:45:17 +0200
commite94ac4c7f4f0b9b2c28cfba3b7c6ba089092a22d (patch)
tree10249e113245b0e61214cd371e976cd087e1cfed
parentarm64: dts: renesas: r8a7796: Add address properties to rcar_sound port nodes (diff)
downloadwireguard-linux-e94ac4c7f4f0b9b2c28cfba3b7c6ba089092a22d.tar.xz
wireguard-linux-e94ac4c7f4f0b9b2c28cfba3b7c6ba089092a22d.zip
arm64: dts: renesas: r8a77965: Add address properties to rcar_sound port nodes
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 <horms+renesas@verge.net.au> Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Diffstat (limited to '')
-rw-r--r--arch/arm64/boot/dts/renesas/r8a77965.dtsi8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/renesas/r8a77965.dtsi b/arch/arm64/boot/dts/renesas/r8a77965.dtsi
index b46af2744135..7c9555309c0a 100644
--- a/arch/arm64/boot/dts/renesas/r8a77965.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a77965.dtsi
@@ -857,6 +857,14 @@
ssi1: ssi-1 {
};
};
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ port@0 {
+ reg = <0>;
+ };
+ };
};
xhci0: usb@ee000000 {