summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2020-08-17 15:01:43 -0300
committerShawn Guo <shawnguo@kernel.org>2020-08-23 10:06:17 +0800
commitecc1aebe3436a3a97b42f7542f7b30a7a3cd1dc5 (patch)
treeac5f4dfbe6b39cca8f24a1d4d6c64f18ceae2724
parent140a1dc5aea1648258bd9a5e6186331199212079 (diff)
downloadlinux-stable-ecc1aebe3436a3a97b42f7542f7b30a7a3cd1dc5.tar.gz
linux-stable-ecc1aebe3436a3a97b42f7542f7b30a7a3cd1dc5.tar.bz2
linux-stable-ecc1aebe3436a3a97b42f7542f7b30a7a3cd1dc5.zip
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>
-rw-r--r--arch/arm/boot/dts/imx6q-prtwd2.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/imx6q-prtwd2.dts b/arch/arm/boot/dts/imx6q-prtwd2.dts
index dffafbcaa7af..349959d38020 100644
--- a/arch/arm/boot/dts/imx6q-prtwd2.dts
+++ b/arch/arm/boot/dts/imx6q-prtwd2.dts
@@ -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>;