Skip to content

Commit 3847e71

Browse files
Fabio EstevamShawn Guo
authored andcommitted
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: bd5880e ("ARM: dts: colibri-imx6ull: Enable dual-role switching") Signed-off-by: Fabio Estevam <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
1 parent 82655f9 commit 3847e71

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

arch/arm/boot/dts/imx6ull-colibri.dtsi

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,9 @@
3333
self-powered;
3434
type = "micro";
3535

36-
ports {
37-
#address-cells = <1>;
38-
#size-cells = <0>;
39-
40-
port@0 {
41-
reg = <0>;
42-
usb_dr_connector: endpoint {
43-
remote-endpoint = <&usb1_drd_sw>;
44-
};
36+
port {
37+
usb_dr_connector: endpoint {
38+
remote-endpoint = <&usb1_drd_sw>;
4539
};
4640
};
4741
};

0 commit comments

Comments
 (0)