]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: imx8mm: sync dts from Linux Kernel 5.10-rc6
authorAdam Ford <aford173@gmail.com>
Fri, 4 Dec 2020 23:27:46 +0000 (17:27 -0600)
committerStefano Babic <sbabic@denx.de>
Sat, 26 Dec 2020 11:35:49 +0000 (12:35 +0100)
There have been some updates to the device tree since 5.6.
This also includes some clocks, and makes it easier to keep
board device tree files in sync with Linux

Signed-off-by: Adam Ford <aford173@gmail.com>
Acked-by: Peng Fan <peng.fan@nxp.com>
arch/arm/dts/imx8mm.dtsi

index 1e5e11592f7bc57c949736cb3247eb44e7878305..05ee062548e4fc2aca21e654aedf1ad7a89d9fce 100644 (file)
 
        aliases {
                ethernet0 = &fec1;
+               gpio0 = &gpio1;
+               gpio1 = &gpio2;
+               gpio2 = &gpio3;
+               gpio3 = &gpio4;
+               gpio4 = &gpio5;
                i2c0 = &i2c1;
                i2c1 = &i2c2;
                i2c2 = &i2c3;
                i2c3 = &i2c4;
+               mmc0 = &usdhc1;
+               mmc1 = &usdhc2;
+               mmc2 = &usdhc3;
                serial0 = &uart1;
                serial1 = &uart2;
                serial2 = &uart3;
                spi0 = &ecspi1;
                spi1 = &ecspi2;
                spi2 = &ecspi3;
-               mmc0 = &usdhc1;
-               mmc1 = &usdhc2;
-               mmc2 = &usdhc3;
-               gpio0 = &gpio1;
-               gpio1 = &gpio2;
-               gpio2 = &gpio3;
-               gpio3 = &gpio4;
-               gpio4 = &gpio5;
        };
 
        cpus {
@@ -68,6 +68,7 @@
                        nvmem-cells = <&cpu_speed_grade>;
                        nvmem-cell-names = "speed_grade";
                        cpu-idle-states = <&cpu_pd_wait>;
+                       #cooling-cells = <2>;
                };
 
                A53_1: cpu@1 {
@@ -80,6 +81,7 @@
                        next-level-cache = <&A53_L2>;
                        operating-points-v2 = <&a53_opp_table>;
                        cpu-idle-states = <&cpu_pd_wait>;
+                       #cooling-cells = <2>;
                };
 
                A53_2: cpu@2 {
@@ -92,6 +94,7 @@
                        next-level-cache = <&A53_L2>;
                        operating-points-v2 = <&a53_opp_table>;
                        cpu-idle-states = <&cpu_pd_wait>;
+                       #cooling-cells = <2>;
                };
 
                A53_3: cpu@3 {
                        next-level-cache = <&A53_L2>;
                        operating-points-v2 = <&a53_opp_table>;
                        cpu-idle-states = <&cpu_pd_wait>;
+                       #cooling-cells = <2>;
                };
 
                A53_L2: l2-cache0 {
 
                opp-1600000000 {
                        opp-hz = /bits/ 64 <1600000000>;
-                       opp-microvolt = <900000>;
+                       opp-microvolt = <950000>;
                        opp-supported-hw = <0xc>, <0x7>;
                        clock-latency-ns = <150000>;
                        opp-suspend;
                arm,no-tick-in-suspend;
        };
 
+       thermal-zones {
+               cpu-thermal {
+                       polling-delay-passive = <250>;
+                       polling-delay = <2000>;
+                       thermal-sensors = <&tmu>;
+                       trips {
+                               cpu_alert0: trip0 {
+                                       temperature = <85000>;
+                                       hysteresis = <2000>;
+                                       type = "passive";
+                               };
+
+                               cpu_crit0: trip1 {
+                                       temperature = <95000>;
+                                       hysteresis = <2000>;
+                                       type = "critical";
+                               };
+                       };
+
+                       cooling-maps {
+                               map0 {
+                                       trip = <&cpu_alert0>;
+                                       cooling-device =
+                                               <&A53_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+                                               <&A53_1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+                                               <&A53_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+                                               <&A53_3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+                               };
+                       };
+               };
+       };
+
        usbphynop1: usbphynop1 {
                compatible = "usb-nop-xceiv";
                clocks = <&clk IMX8MM_CLK_USB_PHY_REF>;
                ranges = <0x0 0x0 0x0 0x3e000000>;
 
                aips1: bus@30000000 {
-                       compatible = "simple-bus";
+                       compatible = "fsl,aips-bus", "simple-bus";
+                       reg = <0x30000000 0x400000>;
                        #address-cells = <1>;
                        #size-cells = <1>;
                        ranges = <0x30000000 0x30000000 0x400000>;
 
                        sai1: sai@30010000 {
+                               #sound-dai-cells = <0>;
                                compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai";
                                reg = <0x30010000 0x10000>;
                                interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
                        };
 
                        sai2: sai@30020000 {
+                               #sound-dai-cells = <0>;
                                compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai";
                                reg = <0x30020000 0x10000>;
                                interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
                        };
 
                        sai5: sai@30050000 {
+                               #sound-dai-cells = <0>;
                                compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai";
                                reg = <0x30050000 0x10000>;
                                interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
                        };
 
                        sai6: sai@30060000 {
+                               #sound-dai-cells = <0>;
                                compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai";
                                reg = <0x30060000 0x10000>;
                                interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
                                gpio-ranges = <&iomuxc 0 119 30>;
                        };
 
+                       tmu: tmu@30260000 {
+                               compatible = "fsl,imx8mm-tmu";
+                               reg = <0x30260000 0x10000>;
+                               clocks = <&clk IMX8MM_CLK_TMU_ROOT>;
+                               #thermal-sensor-cells = <0>;
+                       };
+
                        wdog1: watchdog@30280000 {
                                compatible = "fsl,imx8mm-wdt", "fsl,imx21-wdt";
                                reg = <0x30280000 0x10000>;
                                reg = <0x30340000 0x10000>;
                        };
 
-                       ocotp: ocotp-ctrl@30350000 {
+                       ocotp: efuse@30350000 {
                                compatible = "fsl,imx8mm-ocotp", "syscon";
                                reg = <0x30350000 0x10000>;
                                clocks = <&clk IMX8MM_CLK_OCOTP_ROOT>;
                                        compatible = "fsl,sec-v4.0-pwrkey";
                                        regmap = <&snvs>;
                                        interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
+                                       clocks = <&clk IMX8MM_CLK_SNVS_ROOT>;
+                                       clock-names = "snvs-pwrkey";
                                        linux,keycode = <KEY_POWER>;
                                        wakeup-source;
                                        status = "disabled";
                                         <&clk_ext3>, <&clk_ext4>;
                                clock-names = "osc_32k", "osc_24m", "clk_ext1", "clk_ext2",
                                              "clk_ext3", "clk_ext4";
-                               assigned-clocks = <&clk IMX8MM_CLK_NOC>,
+                               assigned-clocks = <&clk IMX8MM_CLK_A53_SRC>,
+                                               <&clk IMX8MM_CLK_A53_CORE>,
+                                               <&clk IMX8MM_CLK_NOC>,
                                                <&clk IMX8MM_CLK_AUDIO_AHB>,
                                                <&clk IMX8MM_CLK_IPG_AUDIO_ROOT>,
                                                <&clk IMX8MM_SYS_PLL3>,
                                                <&clk IMX8MM_VIDEO_PLL1>,
                                                <&clk IMX8MM_AUDIO_PLL1>,
                                                <&clk IMX8MM_AUDIO_PLL2>;
-                               assigned-clock-parents = <&clk IMX8MM_SYS_PLL3_OUT>,
+                               assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_800M>,
+                                                        <&clk IMX8MM_ARM_PLL_OUT>,
+                                                        <&clk IMX8MM_SYS_PLL3_OUT>,
                                                         <&clk IMX8MM_SYS_PLL1_800M>;
-                               assigned-clock-rates = <0>,
+                               assigned-clock-rates = <0>, <0>, <0>,
                                                        <400000000>,
                                                        <400000000>,
                                                        <750000000>,
                };
 
                aips2: bus@30400000 {
-                       compatible = "simple-bus";
+                       compatible = "fsl,aips-bus", "simple-bus";
+                       reg = <0x30400000 0x400000>;
                        #address-cells = <1>;
                        #size-cells = <1>;
                        ranges = <0x30400000 0x30400000 0x400000>;
                };
 
                aips3: bus@30800000 {
-                       compatible = "simple-bus";
+                       compatible = "fsl,aips-bus", "simple-bus";
+                       reg = <0x30800000 0x400000>;
                        #address-cells = <1>;
                        #size-cells = <1>;
-                       ranges = <0x30800000 0x30800000 0x400000>;
+                       ranges = <0x30800000 0x30800000 0x400000>,
+                                <0x8000000 0x8000000 0x10000000>;
 
                        ecspi1: spi@30820000 {
                                compatible = "fsl,imx8mm-ecspi", "fsl,imx51-ecspi";
                                status = "disabled";
                        };
 
+                       mu: mailbox@30aa0000 {
+                               compatible = "fsl,imx8mm-mu", "fsl,imx6sx-mu";
+                               reg = <0x30aa0000 0x10000>;
+                               interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&clk IMX8MM_CLK_MU_ROOT>;
+                               #mbox-cells = <2>;
+                       };
+
                        usdhc1: mmc@30b40000 {
                                compatible = "fsl,imx8mm-usdhc", "fsl,imx7d-usdhc";
                                reg = <0x30b40000 0x10000>;
                                status = "disabled";
                        };
 
+                       flexspi: spi@30bb0000 {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               compatible = "nxp,imx8mm-fspi";
+                               reg = <0x30bb0000 0x10000>, <0x8000000 0x10000000>;
+                               reg-names = "fspi_base", "fspi_mmap";
+                               interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&clk IMX8MM_CLK_QSPI_ROOT>,
+                                        <&clk IMX8MM_CLK_QSPI_ROOT>;
+                               clock-names = "fspi", "fspi_en";
+                               status = "disabled";
+                       };
+
                        sdma1: dma-controller@30bd0000 {
                                compatible = "fsl,imx8mm-sdma", "fsl,imx8mq-sdma";
                                reg = <0x30bd0000 0x10000>;
                                reg = <0x30be0000 0x10000>;
                                interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
                                             <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>,
-                                            <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
+                                            <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
+                                            <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
                                clocks = <&clk IMX8MM_CLK_ENET1_ROOT>,
                                         <&clk IMX8MM_CLK_ENET1_ROOT>,
                                         <&clk IMX8MM_CLK_ENET_TIMER>,
                };
 
                aips4: bus@32c00000 {
-                       compatible = "simple-bus";
+                       compatible = "fsl,aips-bus", "simple-bus";
+                       reg = <0x32c00000 0x400000>;
                        #address-cells = <1>;
                        #size-cells = <1>;
                        ranges = <0x32c00000 0x32c00000 0x400000>;
                ddr-pmu@3d800000 {
                        compatible = "fsl,imx8mm-ddr-pmu", "fsl,imx8m-ddr-pmu";
                        reg = <0x3d800000 0x400000>;
-                       interrupt-parent = <&gic>;
                        interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
                };
        };