Skip to content

Commit 28a950c

Browse files
DhruvaG2000r-vignesh
authored andcommitted
arm64: dts: ti: k3-am62p5-sk: fix graph_child_address warnings
Fix the following warnings that are thrown when building dtbs with W=1: ../arch/arm64/boot/dts/ti/k3-am62p5-sk.dts:367.10-376.6: Warning (graph_child_address): /bus@f0000/i2c@20000000/usb-power-controller@3f/connector/ports: graph node has single child node 'port@0', #address-cells/#size-cells are not necessary ../arch/arm64/boot/dts/ti/k3-am62p-j722s-common-main.dtsi:647.22-657.5: Warning (graph_child_address): /bus@f0000/usb@f900000/usb@31000000: graph node has single child node 'port@0', #address-cells/#size-cells are not necessary also defined at ../arch/arm64/boot/dts/ti/k3-am62p5-sk.dts:517.7-528.3 Cc: Roger Quadros <[email protected]> Signed-off-by: Dhruva Gole <[email protected]> Reviewed-by: Roger Quadros <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vignesh Raghavendra <[email protected]>
1 parent 5e5c509 commit 28a950c

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

arch/arm64/boot/dts/ti/k3-am62p5-sk.dts

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -364,14 +364,9 @@
364364
self-powered;
365365
data-role = "dual";
366366
power-role = "sink";
367-
ports {
368-
#address-cells = <1>;
369-
#size-cells = <0>;
370-
port@0 {
371-
reg = <0>;
372-
usb_con_hs: endpoint {
373-
remote-endpoint = <&usb0_hs_ep>;
374-
};
367+
port {
368+
usb_con_hs: endpoint {
369+
remote-endpoint = <&usb0_hs_ep>;
375370
};
376371
};
377372
};
@@ -516,11 +511,8 @@
516511

517512
&usb0 {
518513
usb-role-switch;
519-
#address-cells = <1>;
520-
#size-cells = <0>;
521514

522-
port@0 {
523-
reg = <0>;
515+
port {
524516
usb0_hs_ep: endpoint {
525517
remote-endpoint = <&usb_con_hs>;
526518
};

0 commit comments

Comments
 (0)