From: Fabio Estevam Date: Thu, 15 Mar 2018 18:02:10 +0000 (-0300) Subject: ARM: dts: imx7: Move tempmon node out of bus X-Git-Tag: v4.19~808^2~24^2~64 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=225fa59fddfa74734625eb7b8b67960eeb3ba9d6;p=platform%2Fkernel%2Flinux-rpi.git ARM: dts: imx7: Move tempmon node out of bus Move tempmon node from soc node to root node. tempmon node does not have any register properties and thus shouldn't be placed on the bus. This fixes the following build warning with W=1: arch/arm/boot/dts/imx7d-cl-som-imx7.dtb: Warning (simple_bus_reg): Node /soc/aips-bus@30000000/tempmon missing or empty reg/ranges property Fixes: de25b9bb4a40 ("ARM: dts: imx7s: add temperature monitor support") Signed-off-by: Fabio Estevam Signed-off-by: Shawn Guo --- diff --git a/arch/arm/boot/dts/imx7s.dtsi b/arch/arm/boot/dts/imx7s.dtsi index 4d42335c0dee..c9b56dc009cb 100644 --- a/arch/arm/boot/dts/imx7s.dtsi +++ b/arch/arm/boot/dts/imx7s.dtsi @@ -173,6 +173,17 @@ }; }; + tempmon: tempmon { + compatible = "fsl,imx7d-tempmon"; + interrupt-parent = <&gpc>; + interrupts = ; + fsl,tempmon =<&anatop>; + nvmem-cells = <&tempmon_calib>, + <&tempmon_temp_grade>; + nvmem-cell-names = "calib", "temp_grade"; + clocks = <&clks IMX7D_PLL_SYS_MAIN_CLK>; + }; + timer { compatible = "arm,armv7-timer"; interrupt-parent = <&intc>; @@ -540,16 +551,6 @@ }; }; - tempmon: tempmon { - compatible = "fsl,imx7d-tempmon"; - interrupts = ; - fsl,tempmon =<&anatop>; - nvmem-cells = <&tempmon_calib>, - <&tempmon_temp_grade>; - nvmem-cell-names = "calib", "temp_grade"; - clocks = <&clks IMX7D_PLL_SYS_MAIN_CLK>; - }; - anatop: anatop@30360000 { compatible = "fsl,imx7d-anatop", "fsl,imx6q-anatop", "syscon", "simple-bus";