Commit 3847e716 authored by Fabio Estevam's avatar Fabio Estevam Committed by Shawn Guo
Browse files

ARM: dts: imx6ull-colibri: Remove unnecessary #address-cells/#size-cells



Building with W=1 leads to the following dtc warning:

arch/arm/boot/dts/imx6ull-colibri.dtsi:36.9-46.5: Warning (graph_child_address): /connector/ports: graph node has single child node 'port@0', #address-cells/#size-cells are not necessary

Since a single port is used, 'ports' can be removed, as well as the
unnecessary #address-cells/#size-cells.

Fixes: bd5880e1 ("ARM: dts: colibri-imx6ull: Enable dual-role switching")
Signed-off-by: default avatarFabio Estevam <festevam@denx.de>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 82655f90
Loading
Loading
Loading
Loading
+3 −9
Original line number Diff line number Diff line
@@ -33,18 +33,12 @@
		self-powered;
		type = "micro";

		ports {
			#address-cells = <1>;
			#size-cells = <0>;

			port@0 {
				reg = <0>;
		port {
			usb_dr_connector: endpoint {
				remote-endpoint = <&usb1_drd_sw>;
			};
		};
	};
	};

	gpio-keys {
		compatible = "gpio-keys";