]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
arm64: dts: allwinner: a64: Remove unused address-cells/size-cells of dwmac-sun8i
authorCorentin Labbe <clabbe@baylibre.com>
Wed, 18 Jul 2018 11:40:41 +0000 (11:40 +0000)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Thu, 19 Jul 2018 14:37:23 +0000 (16:37 +0200)
address-cells/size-cells is unnecessary for dwmac-sun8i node.
It was in early days, but since a mdio node is used, it could be
removed.

This patch fix the following DT warning:
Warning (avoid_unnecessary_addr_size): /soc/ethernet@1c50000: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property

Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi

index 840753432ea59fe24339b7b4a0dbc8453f5bb420..d3daf90a8715c50b844eb6e6f577aeb2c756991b 100644 (file)
                        clocks = <&ccu CLK_BUS_EMAC>;
                        clock-names = "stmmaceth";
                        status = "disabled";
-                       #address-cells = <1>;
-                       #size-cells = <0>;
 
                        mdio: mdio {
                                compatible = "snps,dwmac-mdio";