Merge tag 'soc-dt-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
[platform/kernel/linux-rpi.git] / arch / arm64 / boot / dts / freescale / imx93.dtsi
index 1d8dd14..6f85a05 100644 (file)
@@ -8,6 +8,7 @@
 #include <dt-bindings/input/input.h>
 #include <dt-bindings/interrupt-controller/arm-gic.h>
 #include <dt-bindings/power/fsl,imx93-power.h>
+#include <dt-bindings/thermal/thermal.h>
 
 #include "imx93-pinfunc.h"
 
                interrupt-parent = <&gic>;
        };
 
+       thermal-zones {
+               cpu-thermal {
+                       polling-delay-passive = <250>;
+                       polling-delay = <2000>;
+
+                       thermal-sensors = <&tmu 0>;
+
+                       trips {
+                               cpu_alert: cpu-alert {
+                                       temperature = <80000>;
+                                       hysteresis = <2000>;
+                                       type = "passive";
+                               };
+
+                               cpu_crit: cpu-crit {
+                                       temperature = <90000>;
+                                       hysteresis = <2000>;
+                                       type = "critical";
+                               };
+                       };
+
+                       cooling-maps {
+                               map0 {
+                                       trip = <&cpu_alert>;
+                                       cooling-device =
+                                               <&A55_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+                                               <&A55_1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+                               };
+                       };
+               };
+       };
+
+       cm33: remoteproc-cm33 {
+               compatible = "fsl,imx93-cm33";
+               clocks = <&clk IMX93_CLK_CM33_GATE>;
+               status = "disabled";
+       };
+
        soc@0 {
                compatible = "simple-bus";
                #address-cells = <1>;
                        };
 
                        lpuart1: serial@44380000 {
-                               compatible = "fsl,imx93-lpuart", "fsl,imx7ulp-lpuart";
+                               compatible = "fsl,imx93-lpuart", "fsl,imx8ulp-lpuart", "fsl,imx7ulp-lpuart";
                                reg = <0x44380000 0x1000>;
                                interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
                                clocks = <&clk IMX93_CLK_LPUART1_GATE>;
                        };
 
                        lpuart2: serial@44390000 {
-                               compatible = "fsl,imx93-lpuart", "fsl,imx7ulp-lpuart";
+                               compatible = "fsl,imx93-lpuart", "fsl,imx8ulp-lpuart", "fsl,imx7ulp-lpuart";
                                reg = <0x44390000 0x1000>;
                                interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
                                clocks = <&clk IMX93_CLK_LPUART2_GATE>;
                                reg = <0x44480000 0x2000>;
                        };
 
+                       tmu: tmu@44482000 {
+                               compatible = "fsl,qoriq-tmu";
+                               reg = <0x44482000 0x1000>;
+                               clocks = <&clk IMX93_CLK_TMC_GATE>;
+                               little-endian;
+                               fsl,tmu-range = <0x800000da 0x800000e9
+                                                0x80000102 0x8000012a
+                                                0x80000166 0x800001a7
+                                                0x800001b6>;
+                               fsl,tmu-calibration = <0x00000000 0x0000000e
+                                                      0x00000001 0x00000029
+                                                      0x00000002 0x00000056
+                                                      0x00000003 0x000000a2
+                                                      0x00000004 0x00000116
+                                                      0x00000005 0x00000195
+                                                      0x00000006 0x000001b2>;
+                               #thermal-sensor-cells = <1>;
+                       };
+
+
                        adc1: adc@44530000 {
                                compatible = "nxp,imx93-adc";
                                reg = <0x44530000 0x10000>;
                        };
 
                        lpuart3: serial@42570000 {
-                               compatible = "fsl,imx93-lpuart", "fsl,imx7ulp-lpuart";
+                               compatible = "fsl,imx93-lpuart", "fsl,imx8ulp-lpuart", "fsl,imx7ulp-lpuart";
                                reg = <0x42570000 0x1000>;
                                interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
                                clocks = <&clk IMX93_CLK_LPUART3_GATE>;
                        };
 
                        lpuart4: serial@42580000 {
-                               compatible = "fsl,imx93-lpuart", "fsl,imx7ulp-lpuart";
+                               compatible = "fsl,imx93-lpuart", "fsl,imx8ulp-lpuart", "fsl,imx7ulp-lpuart";
                                reg = <0x42580000 0x1000>;
                                interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
                                clocks = <&clk IMX93_CLK_LPUART4_GATE>;
                        };
 
                        lpuart5: serial@42590000 {
-                               compatible = "fsl,imx93-lpuart", "fsl,imx7ulp-lpuart";
+                               compatible = "fsl,imx93-lpuart", "fsl,imx8ulp-lpuart", "fsl,imx7ulp-lpuart";
                                reg = <0x42590000 0x1000>;
                                interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
                                clocks = <&clk IMX93_CLK_LPUART5_GATE>;
                        };
 
                        lpuart6: serial@425a0000 {
-                               compatible = "fsl,imx93-lpuart", "fsl,imx7ulp-lpuart";
+                               compatible = "fsl,imx93-lpuart", "fsl,imx8ulp-lpuart", "fsl,imx7ulp-lpuart";
                                reg = <0x425a0000 0x1000>;
                                interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
                                clocks = <&clk IMX93_CLK_LPUART6_GATE>;
                        };
 
                        lpuart7: serial@42690000 {
-                               compatible = "fsl,imx93-lpuart", "fsl,imx7ulp-lpuart";
+                               compatible = "fsl,imx93-lpuart", "fsl,imx8ulp-lpuart", "fsl,imx7ulp-lpuart";
                                reg = <0x42690000 0x1000>;
                                interrupts = <GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH>;
                                clocks = <&clk IMX93_CLK_LPUART7_GATE>;
                        };
 
                        lpuart8: serial@426a0000 {
-                               compatible = "fsl,imx93-lpuart", "fsl,imx7ulp-lpuart";
+                               compatible = "fsl,imx93-lpuart", "fsl,imx8ulp-lpuart", "fsl,imx7ulp-lpuart";
                                reg = <0x426a0000 0x1000>;
                                interrupts = <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>;
                                clocks = <&clk IMX93_CLK_LPUART8_GATE>;
                                clock-names = "ipg", "ahb", "per";
                                bus-width = <8>;
                                fsl,tuning-start-tap = <20>;
-                               fsl,tuning-step= <2>;
+                               fsl,tuning-step = <2>;
                                status = "disabled";
                        };
 
                                clock-names = "ipg", "ahb", "per";
                                bus-width = <4>;
                                fsl,tuning-start-tap = <20>;
-                               fsl,tuning-step= <2>;
+                               fsl,tuning-step = <2>;
                                status = "disabled";
                        };
 
                                clock-names = "ipg", "ahb", "per";
                                bus-width = <4>;
                                fsl,tuning-start-tap = <20>;
-                               fsl,tuning-step= <2>;
+                               fsl,tuning-step = <2>;
                                status = "disabled";
                        };
                };