Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: imx6q-prtwd2: Remove unneeded i2c unit name

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: 88010b8174ab ("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>

authored by

Fabio Estevam and committed by
Shawn Guo
ecc1aebe 140a1dc5

+1 -1
+1 -1
arch/arm/boot/dts/imx6q-prtwd2.dts
··· 30 30 }; 31 31 32 32 /* PRTWD2 rev 1 bitbang I2C for Ethernet Switch */ 33 - i2c@4 { 33 + i2c { 34 34 compatible = "i2c-gpio"; 35 35 pinctrl-names = "default"; 36 36 pinctrl-0 = <&pinctrl_i2c4>;