diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2017-12-04 15:20:15 +0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2017-12-26 11:15:44 +0300 |
commit | d03cd580a3e97c072c5a2fec479ea9062e178e4b (patch) | |
tree | 2fbfec47e8a42af69e873568b0f488e266496f92 /arch/arm/boot/dts/imx6qdl-nitrogen6_max.dtsi | |
parent | fceb9e31c081818af4537a373084c9c929543b6d (diff) | |
download | linux-d03cd580a3e97c072c5a2fec479ea9062e178e4b.tar.xz |
ARM: dts: imx6qdl-nitrogen6_max: Remove unneeded unit address
Remove the unneeded unit address for the i2cmux nodes in order to fix
the following build warnings with W=1:
arch/arm/boot/dts/imx6q-nitrogen6_max.dtb: Warning (unit_address_vs_reg): Node /i2cmux@2 has a unit name, but no reg property
arch/arm/boot/dts/imx6q-nitrogen6_max.dtb: Warning (unit_address_vs_reg): Node /i2cmux@3 has a unit name, but no reg property
While at it, rename the i2cmux nodes and subnodes to make it clearer to which
i2c controller the mux belongs to.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/imx6qdl-nitrogen6_max.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx6qdl-nitrogen6_max.dtsi | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/boot/dts/imx6qdl-nitrogen6_max.dtsi b/arch/arm/boot/dts/imx6qdl-nitrogen6_max.dtsi index 3a77f0fedfce..fd05f7caa472 100644 --- a/arch/arm/boot/dts/imx6qdl-nitrogen6_max.dtsi +++ b/arch/arm/boot/dts/imx6qdl-nitrogen6_max.dtsi @@ -172,7 +172,7 @@ }; }; - i2cmux@2 { + i2c2mux { compatible = "i2c-mux-gpio"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_i2c2mux>; @@ -183,20 +183,20 @@ i2c-parent = <&i2c2>; idle-state = <0>; - i2c2@1 { + i2c2mux@1 { reg = <1>; #address-cells = <1>; #size-cells = <0>; }; - i2c2@2 { + i2c2mux@2 { reg = <2>; #address-cells = <1>; #size-cells = <0>; }; }; - i2cmux@3 { + i2c3mux { compatible = "i2c-mux-gpio"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_i2c3mux>; @@ -206,7 +206,7 @@ i2c-parent = <&i2c3>; idle-state = <0>; - i2c3@1 { + i2c3mux@1 { reg = <1>; #address-cells = <1>; #size-cells = <0>; |