summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2020-08-17 20:01:43 +0200
committerShawn Guo <shawnguo@kernel.org>2020-08-23 04:06:17 +0200
commitecc1aebe3436a3a97b42f7542f7b30a7a3cd1dc5 (patch)
treeac5f4dfbe6b39cca8f24a1d4d6c64f18ceae2724
parentARM: dts: imx6qdl-gw51xx: Remove unneeded #address-cells/#size-cells (diff)
downloadlinux-ecc1aebe3436a3a97b42f7542f7b30a7a3cd1dc5.tar.xz
linux-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>;