ARM: dts: imx6qdl-nitrogen6_max: Remove unneeded unit address
authorFabio Estevam <fabio.estevam@nxp.com>
Mon, 4 Dec 2017 12:20:15 +0000 (10:20 -0200)
committerShawn Guo <shawnguo@kernel.org>
Tue, 26 Dec 2017 08:15:44 +0000 (16:15 +0800)
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>
arch/arm/boot/dts/imx6qdl-nitrogen6_max.dtsi

index 3a77f0f..fd05f7c 100644 (file)
                };
        };
 
-       i2cmux@2 {
+       i2c2mux {
                compatible = "i2c-mux-gpio";
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_i2c2mux>;
                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>;
                i2c-parent = <&i2c3>;
                idle-state = <0>;
 
-               i2c3@1 {
+               i2c3mux@1 {
                        reg = <1>;
                        #address-cells = <1>;
                        #size-cells = <0>;