arm64: dts: imx8mm: Pass the 'ranges' property
authorFabio Estevam <festevam@gmail.com>
Wed, 5 Jun 2019 09:12:29 +0000 (17:12 +0800)
committerShawn Guo <shawnguo@kernel.org>
Wed, 5 Jun 2019 09:12:29 +0000 (17:12 +0800)
Pass the 'ranges' property for each one of the AIPS bus in order
to fix the following build warnings:

arch/arm64/boot/dts/freescale/imx8mm.dtsi:209.23-388.5: Warning (unit_address_vs_reg): /soc/bus@30000000: node has a unit name, but
no reg property
arch/arm64/boot/dts/freescale/imx8mm.dtsi:390.23-439.5: Warning (unit_address_vs_reg): /soc/bus@30400000: node has a unit name, but
no reg property
arch/arm64/boot/dts/freescale/imx8mm.dtsi:441.23-658.5: Warning (unit_address_vs_reg): /soc/bus@30800000: node has a unit name, but
no reg property
arch/arm64/boot/dts/freescale/imx8mm.dtsi:660.23-724.5: Warning (unit_address_vs_reg): /soc/bus@32c00000: node has a unit name, but
no reg property

This also aligns with imx8mq.dtsi.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mm.dtsi

index 33c3448e4b5cd6818b85f97492b28ce44229cc4a..fccfb2fc2161893c2b303805253a95af802689c0 100644 (file)
                        compatible = "fsl,aips-bus", "simple-bus";
                        #address-cells = <1>;
                        #size-cells = <1>;
-                       ranges;
+                       ranges = <0x30000000 0x30000000 0x400000>;
 
                        sai1: sai@30010000 {
                                compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai";
                        compatible = "fsl,aips-bus", "simple-bus";
                        #address-cells = <1>;
                        #size-cells = <1>;
-                       ranges;
+                       ranges = <0x30400000 0x30400000 0x400000>;
 
                        pwm1: pwm@30660000 {
                                compatible = "fsl,imx8mm-pwm", "fsl,imx27-pwm";
                        compatible = "fsl,aips-bus", "simple-bus";
                        #address-cells = <1>;
                        #size-cells = <1>;
-                       ranges;
+                       ranges = <0x30800000 0x30800000 0x400000>;
 
                        ecspi1: spi@30820000 {
                                compatible = "fsl,imx8mm-ecspi", "fsl,imx51-ecspi";
                        compatible = "fsl,aips-bus", "simple-bus";
                        #address-cells = <1>;
                        #size-cells = <1>;
-                       ranges;
+                       ranges = <0x32c00000 0x32c00000 0x400000>;
 
                        usbotg1: usb@32e40000 {
                                compatible = "fsl,imx8mm-usb", "fsl,imx7d-usb";