[PATCH] arm64: dts: imx8mm-nitrogen-r2: Pass the i2c3 unit name

Fabio Estevam festevam at gmail.com
Mon Feb 8 09:33:27 EST 2021


Pass the i2c3 unit name to fix the following W=1 build warning:

arch/arm64/boot/dts/freescale/imx8mm-nitrogen-r2.dts:159.8-172.5: Warning (unit_address_vs_reg): /soc at 0/bus at 30800000/i2c at 30a40000/i2cmux at 70/i2c3: node has a reg or ranges property, but no unit name

Signed-off-by: Fabio Estevam <festevam at gmail.com>
---
 arch/arm64/boot/dts/freescale/imx8mm-nitrogen-r2.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/freescale/imx8mm-nitrogen-r2.dts b/arch/arm64/boot/dts/freescale/imx8mm-nitrogen-r2.dts
index c0c384d76147..48ccbb8ff127 100644
--- a/arch/arm64/boot/dts/freescale/imx8mm-nitrogen-r2.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mm-nitrogen-r2.dts
@@ -156,7 +156,7 @@ i2cmux at 70 {
 		#address-cells = <1>;
 		#size-cells = <0>;
 
-		i2c3 {
+		i2c3 at 0 {
 			reg = <0>;
 			#address-cells = <1>;
 			#size-cells = <0>;
-- 
2.25.1




More information about the linux-arm-kernel mailing list