]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ARM: dts: imx6q-prtwd2: Remove unneeded i2c unit name
authorFabio Estevam <festevam@gmail.com>
Mon, 17 Aug 2020 18:01:43 +0000 (15:01 -0300)
committerShawn Guo <shawnguo@kernel.org>
Sun, 23 Aug 2020 02:06:17 +0000 (10:06 +0800)
The following dtc warning is seen when building with W=1:

arch/arm/boot/dts/imx6q-prtwd2.dts:33.8-43.4: Warning (unit_address_vs_reg): /i2c@4: node has a unit name, but no reg or ranges property

Remove the unneeded i2c unit name to fix the issue.

Fixes: 4cdb06f19da5 ("ARM: dts: add Protonic WD2 board")
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6q-prtwd2.dts

index dffafbcaa7af337eb220af2edecb337362dbab4f..349959d38020066b3028bef12fe601c81041b3a2 100644 (file)
@@ -30,7 +30,7 @@
        };
 
        /* PRTWD2 rev 1 bitbang I2C for Ethernet Switch */
-       i2c@4 {
+       i2c {
                compatible = "i2c-gpio";
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_i2c4>;