This node is just a placeholder but fills that function better if it does
not trigger build warnings. This update satisfies the requirement that
nodes with #address-cells/#size-cells properties have more than one child
node.

This is flagged by dtc as follows:
 # make dtbs W=1
 arch/arm64/boot/dts/renesas/r8a77965-salvator-x.dtb: Warning 
(graph_child_address): /soc/sound@ec500000/ports: graph node has single child 
node 'port@0', #address-cells/#size-cells are not necessary
 arch/arm64/boot/dts/renesas/r8a77965-salvator-xs.dtb: Warning 
(graph_child_address): /soc/sound@ec500000/ports: graph node has single child 
node 'port@0', #address-cells/#size-cells are not necessary

Signed-off-by: Simon Horman <[email protected]>
---
Based on renesas-devel-20180628-v4.18-rc2
---
 arch/arm64/boot/dts/renesas/r8a77965.dtsi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a77965.dtsi 
b/arch/arm64/boot/dts/renesas/r8a77965.dtsi
index be8631dff1b4..a37749caf40e 100644
--- a/arch/arm64/boot/dts/renesas/r8a77965.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a77965.dtsi
@@ -1269,6 +1269,9 @@
                                port@0 {
                                        reg = <0>;
                                };
+                               port@1 {
+                                       reg = <1>;
+                               };
                        };
                };
 
-- 
2.11.0

Reply via email to