Skip to content

Commit cf64519

Browse files
DhruvaG2000r-vignesh
authored andcommitted
arm64: dts: ti: k3-am62x-sk-common: Fix graph_child_address warns
Fix the following warnings when compiling dtbs with W=1: ../arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi:343.10-353.6: Warning (graph_child_address): /bus@f0000/i2c@20000000/tps6598x@3f/connector/ports: graph node has single child node 'port@0', #address-cells/#size-cells are not necessary ../arch/arm64/boot/dts/ti/k3-am62-main.dtsi:633.22-643.5: Warning (graph_child_address): /bus@f0000/dwc3-usb@f900000/usb@31000000: graph node has single child node 'port@0', #address-cells/#size-cells are not necessary Cc: Roger Quadros <[email protected]> Signed-off-by: Dhruva Gole <[email protected]> Tested-by: Roger Quadros <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vignesh Raghavendra <[email protected]>
1 parent 28a950c commit cf64519

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -340,15 +340,9 @@
340340
self-powered;
341341
data-role = "dual";
342342
power-role = "sink";
343-
ports {
344-
#address-cells = <1>;
345-
#size-cells = <0>;
346-
347-
port@0 {
348-
reg = <0>;
349-
usb_con_hs: endpoint {
350-
remote-endpoint = <&usb0_hs_ep>;
351-
};
343+
port {
344+
usb_con_hs: endpoint {
345+
remote-endpoint = <&usb0_hs_ep>;
352346
};
353347
};
354348
};
@@ -475,12 +469,9 @@
475469

476470
&usb0 {
477471
bootph-all;
478-
#address-cells = <1>;
479-
#size-cells = <0>;
480472
usb-role-switch;
481473

482-
port@0 {
483-
reg = <0>;
474+
port {
484475
usb0_hs_ep: endpoint {
485476
remote-endpoint = <&usb_con_hs>;
486477
};

0 commit comments

Comments
 (0)