Commit cf645197 authored by Dhruva Gole's avatar Dhruva Gole Committed by Vignesh Raghavendra
Browse files

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 <rogerq@kernel.org>
Signed-off-by: default avatarDhruva Gole <d-gole@ti.com>
Tested-by: default avatarRoger Quadros <rogerq@kernel.org>
Link: https://lore.kernel.org/r/20240626101520.1782320-3-d-gole@ti.com


Signed-off-by: default avatarVignesh Raghavendra <vigneshr@ti.com>
parent 28a950c4
Loading
Loading
Loading
Loading
+4 −13
Original line number Diff line number Diff line
@@ -340,12 +340,7 @@ connector {
			self-powered;
			data-role = "dual";
			power-role = "sink";
			ports {
				#address-cells = <1>;
				#size-cells = <0>;

				port@0 {
					reg = <0>;
			port {
				usb_con_hs: endpoint {
					remote-endpoint = <&usb0_hs_ep>;
				};
@@ -353,7 +348,6 @@ usb_con_hs: endpoint {
		};
	};
};
};

&main_i2c1 {
	status = "okay";
@@ -475,12 +469,9 @@ &usbss1 {

&usb0 {
	bootph-all;
	#address-cells = <1>;
	#size-cells = <0>;
	usb-role-switch;

	port@0 {
		reg = <0>;
	port {
		usb0_hs_ep: endpoint {
		    remote-endpoint = <&usb_con_hs>;
	       };