imx8mq: synchronise device tree with linux
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>
Mon, 7 Nov 2022 21:22:38 +0000 (22:22 +0100)
committerStefano Babic <sbabic@denx.de>
Tue, 8 Nov 2022 16:35:00 +0000 (17:35 +0100)
Synchronise device tree with linux v6.1-rc3.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
arch/arm/dts/imx8mq-evk.dts
arch/arm/dts/imx8mq-librem5-r3.dtsi [new file with mode: 0644]
arch/arm/dts/imx8mq-librem5-r4.dts
arch/arm/dts/imx8mq-librem5.dtsi
arch/arm/dts/imx8mq-u-boot.dtsi
arch/arm/dts/imx8mq.dtsi
include/dt-bindings/reset/imx8mq-reset.h

index 99fed35..82387b9 100644 (file)
                linux,autosuspend-period = <125>;
        };
 
+       audio_codec_bt_sco: audio-codec-bt-sco {
+               compatible = "linux,bt-sco";
+               #sound-dai-cells = <1>;
+       };
+
        wm8524: audio-codec {
                #sound-dai-cells = <0>;
                compatible = "wlf,wm8524";
                wlf,mute-gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
        };
 
+       sound-bt-sco {
+               compatible = "simple-audio-card";
+               simple-audio-card,name = "bt-sco-audio";
+               simple-audio-card,format = "dsp_a";
+               simple-audio-card,bitclock-inversion;
+               simple-audio-card,frame-master = <&btcpu>;
+               simple-audio-card,bitclock-master = <&btcpu>;
+
+               btcpu: simple-audio-card,cpu {
+                       sound-dai = <&sai3>;
+                       dai-tdm-slot-num = <2>;
+                       dai-tdm-slot-width = <16>;
+               };
+
+               simple-audio-card,codec {
+                       sound-dai = <&audio_codec_bt_sco 1>;
+               };
+       };
+
        sound-wm8524 {
                compatible = "simple-audio-card";
                simple-audio-card,name = "wm8524-audio";
        status = "okay";
 };
 
+&sai3 {
+       #sound-dai-cells = <0>;
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_sai3>;
+       assigned-clocks = <&clk IMX8MQ_CLK_SAI3>;
+       assigned-clock-parents = <&clk IMX8MQ_AUDIO_PLL1_OUT>;
+       assigned-clock-rates = <24576000>;
+       status = "okay";
+};
+
 &snvs_pwrkey {
        status = "okay";
 };
                >;
        };
 
+       pinctrl_sai3: sai3grp {
+               fsl,pins = <
+                       MX8MQ_IOMUXC_SAI3_TXFS_SAI3_TX_SYNC     0xd6
+                       MX8MQ_IOMUXC_SAI3_TXC_SAI3_TX_BCLK      0xd6
+                       MX8MQ_IOMUXC_SAI3_TXD_SAI3_TX_DATA0     0xd6
+                       MX8MQ_IOMUXC_SAI3_RXD_SAI3_RX_DATA0     0xd6
+               >;
+       };
+
        pinctrl_spdif1: spdif1grp {
                fsl,pins = <
                        MX8MQ_IOMUXC_SPDIF_TX_SPDIF1_OUT        0xd6
diff --git a/arch/arm/dts/imx8mq-librem5-r3.dtsi b/arch/arm/dts/imx8mq-librem5-r3.dtsi
new file mode 100644 (file)
index 0000000..e4f8b47
--- /dev/null
@@ -0,0 +1,45 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+// Copyright (C) 2021 Purism SPC <kernel@puri.sm>
+
+/dts-v1/;
+
+/*
+ * This file describes hardware that is shared among r3 ("Dogwood") and
+ * later revisions of the Librem 5 so it has to be included in dts there.
+ */
+
+#include "imx8mq-librem5.dtsi"
+
+/ {
+       model = "Purism Librem 5r3";
+       compatible = "purism,librem5r3", "purism,librem5", "fsl,imx8mq";
+};
+
+&accel_gyro {
+       mount-matrix =  "1",  "0",  "0",
+                       "0",  "1",  "0",
+                       "0",  "0", "-1";
+};
+
+&bq25895 {
+       ti,battery-regulation-voltage = <4200000>; /* uV */
+       ti,charge-current = <1500000>; /* uA */
+       ti,termination-current = <144000>;  /* uA */
+};
+
+&camera_front {
+       pinctrl-0 = <&pinctrl_csi1>, <&pinctrl_r3_camera_pwr>;
+       shutdown-gpios = <&gpio5 4 GPIO_ACTIVE_LOW>;
+};
+
+&iomuxc {
+       pinctrl_r3_camera_pwr: r3camerapwrgrp {
+               fsl,pins = <
+                       MX8MQ_IOMUXC_SPDIF_RX_GPIO5_IO4         0x83
+               >;
+       };
+};
+
+&proximity {
+       proximity-near-level = <25>;
+};
index cbfb49a..1056b79 100644 (file)
@@ -1,35 +1,27 @@
 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
-// Copyright (C) 2020 Purism SPC <kernel@puri.sm>
+// Copyright (C) 2021 Purism SPC <kernel@puri.sm>
 
 /dts-v1/;
 
-#include "imx8mq-librem5.dtsi"
+#include "imx8mq-librem5-r3.dtsi"
 
 / {
        model = "Purism Librem 5r4";
        compatible = "purism,librem5r4", "purism,librem5", "fsl,imx8mq";
 };
 
-&accel_gyro {
-       mount-matrix =  "1",  "0",  "0",
-                       "0",  "1",  "0",
-                       "0",  "0", "-1";
-};
-
 &bat {
        maxim,rsns-microohm = <1667>;
 };
 
-&bq25895 {
-       ti,battery-regulation-voltage = <4200000>; /* uV */
-       ti,charge-current = <1500000>; /* uA */
-       ti,termination-current = <144000>;  /* uA */
-};
-
 &led_backlight {
        led-max-microamp = <25000>;
 };
 
+&lcd_panel {
+       compatible = "ys,ys57pss36bh5gq";
+};
+
 &proximity {
        proximity-near-level = <10>;
 };
index 60d47c7..ae08556 100644 (file)
@@ -7,6 +7,7 @@
 
 #include "dt-bindings/input/input.h"
 #include <dt-bindings/interrupt-controller/irq.h>
+#include <dt-bindings/leds/common.h>
 #include "dt-bindings/pwm/pwm.h"
 #include "dt-bindings/usb/pd.h"
 #include "imx8mq.dtsi"
@@ -14,6 +15,7 @@
 / {
        model = "Purism Librem 5";
        compatible = "purism,librem5", "fsl,imx8mq";
+       chassis-type = "handset";
 
        backlight_dsi: backlight-dsi {
                compatible = "led-backlight";
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_keys>;
 
-               vol-down {
+               key-vol-down {
                        label = "VOL_DOWN";
                        gpios = <&gpio1 17 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_VOLUMEDOWN>;
                        debounce-interval = <50>;
+                       wakeup-source;
                };
 
-               vol-up {
+               key-vol-up {
                        label = "VOL_UP";
                        gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_VOLUMEUP>;
                        debounce-interval = <50>;
+                       wakeup-source;
+               };
+       };
+
+       led-controller {
+               compatible = "pwm-leds";
+
+               led-0 {
+                       function = LED_FUNCTION_STATUS;
+                       color = <LED_COLOR_ID_BLUE>;
+                       max-brightness = <248>;
+                       pwms = <&pwm2 0 50000 0>;
+               };
+
+               led-1 {
+                       function = LED_FUNCTION_STATUS;
+                       color = <LED_COLOR_ID_GREEN>;
+                       max-brightness = <248>;
+                       pwms = <&pwm4 0 50000 0>;
+               };
+
+               led-2 {
+                       function = LED_FUNCTION_STATUS;
+                       color = <LED_COLOR_ID_RED>;
+                       max-brightness = <248>;
+                       pwms = <&pwm3 0 50000 0>;
                };
        };
 
                enable-active-high;
        };
 
+       /*
+        * the pinctrl for reg_csi_1v8 and reg_vcam_1v8 is added to the PMIC
+        * since we can't have it twice in the 2 different regulator nodes.
+        */
+       reg_csi_1v8: regulator-csi-1v8 {
+               compatible = "regulator-fixed";
+               regulator-name = "CAMERA_VDDIO_1V8";
+               regulator-min-microvolt = <1800000>;
+               regulator-max-microvolt = <1800000>;
+               vin-supply = <&reg_vdd_3v3>;
+               gpio = <&gpio1 0 GPIO_ACTIVE_HIGH>;
+               enable-active-high;
+       };
+
+       /* controlled by the CAMERA_POWER_KEY HKS */
+       reg_vcam_1v2: regulator-vcam-1v2 {
+               compatible = "regulator-fixed";
+               regulator-name = "CAMERA_VDDD_1V2";
+               regulator-min-microvolt = <1200000>;
+               regulator-max-microvolt = <1200000>;
+               vin-supply = <&reg_vdd_1v8>;
+               enable-active-high;
+       };
+
+       reg_vcam_2v8: regulator-vcam-2v8 {
+               compatible = "regulator-fixed";
+               regulator-name = "CAMERA_VDDA_2V8";
+               regulator-min-microvolt = <2800000>;
+               regulator-max-microvolt = <2800000>;
+               vin-supply = <&reg_vdd_3v3>;
+               gpio = <&gpio1 0 GPIO_ACTIVE_HIGH>;
+               enable-active-high;
+       };
+
        reg_gnss: regulator-gnss {
                compatible = "regulator-fixed";
                pinctrl-names = "default";
        cpu-supply = <&buck2_reg>;
 };
 
+&csi1 {
+       status = "okay";
+};
+
 &ddrc {
        operating-points-v2 = <&ddrc_opp_table>;
+       status = "okay";
 
        ddrc_opp_table: opp-table {
                compatible = "operating-points-v2";
                };
 
                partition@30000 {
-                       label = "protected1";
-                       reg = <0x30000 0x10000>;
+                       label = "firmware";
+                       reg = <0x30000 0x1d0000>;
                        read-only;
                };
-
-               partition@40000 {
-                       label = "rw";
-                       reg = <0x40000 0x1C0000>;
-               };
        };
 };
 
                >;
        };
 
+       pinctrl_camera_pwr: camerapwrgrp {
+               fsl,pins = <
+                       /* CAMERA_PWR_EN_3V3 */
+                       MX8MQ_IOMUXC_GPIO1_IO00_GPIO1_IO0       0x83
+               >;
+       };
+
+       pinctrl_csi1: csi1grp {
+               fsl,pins = <
+                       /* CSI1_NRST */
+                       MX8MQ_IOMUXC_ENET_RXC_GPIO1_IO25        0x83
+               >;
+       };
+
        pinctrl_charger_in: chargeringrp {
                fsl,pins = <
                        /* CHRG_INT */
                        MX8MQ_IOMUXC_NAND_CE2_B_GPIO3_IO3       0x80
-                       /* CHG_STATUS_B */
-                       MX8MQ_IOMUXC_NAND_ALE_GPIO3_IO0         0x80
                >;
        };
 
                interrupt-names = "irq";
 
                connector {
+                       compatible = "usb-c-connector";
+                       label = "USB-C";
+                       data-role = "dual";
+
                        ports {
                                #address-cells = <1>;
                                #size-cells = <0>;
                compatible = "rohm,bd71837";
                reg = <0x4b>;
                pinctrl-names = "default";
-               pinctrl-0 = <&pinctrl_pmic>;
+               pinctrl-0 = <&pinctrl_pmic>, <&pinctrl_camera_pwr>;
                clocks = <&pmic_osc>;
                clock-names = "osc";
                clock-output-names = "pmic_clk";
                >;
        };
 
+       camera_front: camera@20 {
+               compatible = "hynix,hi846";
+               reg = <0x20>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&pinctrl_csi1>;
+               clocks = <&clk IMX8MQ_CLK_CLKO2>;
+               assigned-clocks = <&clk IMX8MQ_CLK_CLKO2>;
+               assigned-clock-rates = <25000000>;
+               reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>;
+               vdda-supply = <&reg_vcam_2v8>;
+               vddd-supply = <&reg_vcam_1v2>;
+               vddio-supply = <&reg_csi_1v8>;
+               rotation = <90>;
+               orientation = <0>;
+
+               port {
+                       camera1_ep: endpoint {
+                               data-lanes = <1 2>;
+                               link-frequencies = /bits/ 64
+                                       <80000000 200000000 300000000>;
+                               remote-endpoint = <&mipi1_sensor_ep>;
+                       };
+               };
+       };
+
        backlight@36 {
                compatible = "ti,lm36922";
                reg = <0x36>;
        pinctrl-0 = <&pinctrl_i2c4>;
        status = "okay";
 
+       vcm@c {
+               compatible = "dongwoon,dw9714";
+               reg = <0x0c>;
+               vcc-supply = <&reg_csi_1v8>;
+       };
+
        bat: fuel-gauge@36 {
                compatible = "maxim,max17055";
                reg = <0x36>;
                interrupts = <20 IRQ_TYPE_LEVEL_LOW>;
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_gauge>;
+               power-supplies = <&bq25895>;
                maxim,over-heat-temp = <700>;
                maxim,over-volt = <4500>;
                maxim,rsns-microohm = <5000>;
                ti,precharge-current = <130000>; /* uA */
                ti,minimum-sys-voltage = <3700000>; /* uV */
                ti,boost-voltage = <5000000>; /* uV */
-               ti,boost-max-current = <500000>; /* uA */
+               ti,boost-max-current = <1500000>; /* uA */
                ti,use-vinmin-threshold = <1>; /* enable VINDPM */
                ti,vinmin-threshold = <3900000>; /* uV */
                monitored-battery = <&bat>;
        status = "okay";
 };
 
+&mipi_csi1 {
+       status = "okay";
+
+       ports {
+               port@0 {
+                       reg = <0>;
+
+                       mipi1_sensor_ep: endpoint {
+                               remote-endpoint = <&camera1_ep>;
+                               data-lanes = <1 2>;
+                       };
+               };
+       };
+};
+
 &mipi_dsi {
        #address-cells = <1>;
        #size-cells = <0>;
        #size-cells = <0>;
        dr_mode = "otg";
        snps,dis_u3_susphy_quirk;
+       usb-role-switch;
        status = "okay";
 
        port@0 {
index c69c6cc..8d385e8 100644 (file)
 
 };
 
-&{/soc@0} {
+&soc {
        u-boot,dm-spl;
 };
 
-&{/soc@0/bus@30000000} {
+&aips1 {
        u-boot,dm-spl;
 };
 
-&{/soc@0/bus@30400000} {
+&aips2 {
        u-boot,dm-spl;
 };
 
-&{/soc@0/bus@30800000} {
+&aips3 {
        u-boot,dm-spl;
 };
 
-&{/soc@0/bus@32c00000} {
+&aips4 {
        u-boot,dm-spl;
 };
 
index 49eadb0..19eaa52 100644 (file)
@@ -94,7 +94,7 @@
        clk_ext4: clock-ext4 {
                compatible = "fixed-clock";
                #clock-cells = <0>;
-               clock-frequency= <133000000>;
+               clock-frequency = <133000000>;
                clock-output-names = "clk_ext4";
        };
 
                arm,no-tick-in-suspend;
        };
 
-       soc@0 {
+       soc: soc@0 {
                compatible = "fsl,imx8mq-soc", "simple-bus";
                #address-cells = <1>;
                #size-cells = <1>;
                nvmem-cells = <&imx8mq_uid>;
                nvmem-cell-names = "soc_unique_id";
 
-               bus@30000000 { /* AIPS1 */
+               aips1: bus@30000000 { /* AIPS1 */
                        compatible = "fsl,aips-bus", "simple-bus";
                        reg = <0x30000000 0x400000>;
                        #address-cells = <1>;
                                                      <0x00030005 0x00000053>,
                                                      <0x00030006 0x0000005f>,
                                                      <0x00030007 0x00000071>;
-                               #thermal-sensor-cells =  <1>;
+                               #thermal-sensor-cells = <1>;
                        };
 
                        wdog1: watchdog@30280000 {
                                status = "disabled";
                        };
 
-                       sdma2: sdma@302c0000 {
+                       sdma2: dma-controller@302c0000 {
                                compatible = "fsl,imx8mq-sdma","fsl,imx7d-sdma";
                                reg = <0x302c0000 0x10000>;
                                interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
                        };
                };
 
-               bus@30400000 { /* AIPS2 */
+               aips2: bus@30400000 { /* AIPS2 */
                        compatible = "fsl,aips-bus", "simple-bus";
                        reg = <0x30400000 0x400000>;
                        #address-cells = <1>;
                        };
                };
 
-               bus@30800000 { /* AIPS3 */
+               aips3: bus@30800000 { /* AIPS3 */
                        compatible = "fsl,aips-bus", "simple-bus";
                        reg = <0x30800000 0x400000>;
                        #address-cells = <1>;
                                        compatible = "fsl,sec-v4.0-job-ring";
                                        reg = <0x1000 0x1000>;
                                        interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
+                                       status = "disabled";
                                };
 
                                sec_jr1: jr@2000 {
                                status = "disabled";
                        };
 
-                       sdma1: sdma@30bd0000 {
+                       sdma1: dma-controller@30bd0000 {
                                compatible = "fsl,imx8mq-sdma","fsl,imx7d-sdma";
                                reg = <0x30bd0000 0x10000>;
                                interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
                        };
                };
 
-               bus@32c00000 { /* AIPS4 */
+               aips4: bus@32c00000 { /* AIPS4 */
                        compatible = "fsl,aips-bus", "simple-bus";
                        reg = <0x32c00000 0x400000>;
                        #address-cells = <1>;
index 9a30108..7058706 100755 (executable)
 #define IMX8MQ_RESET_A53_L2RESET               17
 #define IMX8MQ_RESET_SW_NON_SCLR_M4C_RST       18
 #define IMX8MQ_RESET_OTG1_PHY_RESET            19
-#define IMX8MQ_RESET_OTG2_PHY_RESET            20
-#define IMX8MQ_RESET_MIPI_DSI_RESET_BYTE_N     21
-#define IMX8MQ_RESET_MIPI_DSI_RESET_N          22
-#define IMX8MQ_RESET_MIPI_DSI_DPI_RESET_N      23
-#define IMX8MQ_RESET_MIPI_DSI_ESC_RESET_N      24
-#define IMX8MQ_RESET_MIPI_DSI_PCLK_RESET_N     25
-#define IMX8MQ_RESET_PCIEPHY                   26
-#define IMX8MQ_RESET_PCIEPHY_PERST             27
-#define IMX8MQ_RESET_PCIE_CTRL_APPS_EN         28
-#define IMX8MQ_RESET_PCIE_CTRL_APPS_TURNOFF    29
-#define IMX8MQ_RESET_HDMI_PHY_APB_RESET                30      /* i.MX8MM does NOT support */
+#define IMX8MQ_RESET_OTG2_PHY_RESET            20      /* i.MX8MN does NOT support */
+#define IMX8MQ_RESET_MIPI_DSI_RESET_BYTE_N     21      /* i.MX8MN does NOT support */
+#define IMX8MQ_RESET_MIPI_DSI_RESET_N          22      /* i.MX8MN does NOT support */
+#define IMX8MQ_RESET_MIPI_DSI_DPI_RESET_N      23      /* i.MX8MN does NOT support */
+#define IMX8MQ_RESET_MIPI_DSI_ESC_RESET_N      24      /* i.MX8MN does NOT support */
+#define IMX8MQ_RESET_MIPI_DSI_PCLK_RESET_N     25      /* i.MX8MN does NOT support */
+#define IMX8MQ_RESET_PCIEPHY                   26      /* i.MX8MN does NOT support */
+#define IMX8MQ_RESET_PCIEPHY_PERST             27      /* i.MX8MN does NOT support */
+#define IMX8MQ_RESET_PCIE_CTRL_APPS_EN         28      /* i.MX8MN does NOT support */
+#define IMX8MQ_RESET_PCIE_CTRL_APPS_TURNOFF    29      /* i.MX8MN does NOT support */
+#define IMX8MQ_RESET_HDMI_PHY_APB_RESET                30      /* i.MX8MM/i.MX8MN does NOT support */
 #define IMX8MQ_RESET_DISP_RESET                        31
 #define IMX8MQ_RESET_GPU_RESET                 32
-#define IMX8MQ_RESET_VPU_RESET                 33
-#define IMX8MQ_RESET_PCIEPHY2                  34      /* i.MX8MM does NOT support */
-#define IMX8MQ_RESET_PCIEPHY2_PERST            35      /* i.MX8MM does NOT support */
-#define IMX8MQ_RESET_PCIE2_CTRL_APPS_EN                36      /* i.MX8MM does NOT support */
-#define IMX8MQ_RESET_PCIE2_CTRL_APPS_TURNOFF   37      /* i.MX8MM does NOT support */
-#define IMX8MQ_RESET_MIPI_CSI1_CORE_RESET      38      /* i.MX8MM does NOT support */
-#define IMX8MQ_RESET_MIPI_CSI1_PHY_REF_RESET   39      /* i.MX8MM does NOT support */
-#define IMX8MQ_RESET_MIPI_CSI1_ESC_RESET       40      /* i.MX8MM does NOT support */
-#define IMX8MQ_RESET_MIPI_CSI2_CORE_RESET      41      /* i.MX8MM does NOT support */
-#define IMX8MQ_RESET_MIPI_CSI2_PHY_REF_RESET   42      /* i.MX8MM does NOT support */
-#define IMX8MQ_RESET_MIPI_CSI2_ESC_RESET       43      /* i.MX8MM does NOT support */
-#define IMX8MQ_RESET_DDRC1_PRST                        44
-#define IMX8MQ_RESET_DDRC1_CORE_RESET          45
-#define IMX8MQ_RESET_DDRC1_PHY_RESET           46
-#define IMX8MQ_RESET_DDRC2_PRST                        47      /* i.MX8MM does NOT support */
-#define IMX8MQ_RESET_DDRC2_CORE_RESET          48      /* i.MX8MM does NOT support */
-#define IMX8MQ_RESET_DDRC2_PHY_RESET           49      /* i.MX8MM does NOT support */
+#define IMX8MQ_RESET_VPU_RESET                 33      /* i.MX8MN does NOT support */
+#define IMX8MQ_RESET_PCIEPHY2                  34      /* i.MX8MM/i.MX8MN does NOT support */
+#define IMX8MQ_RESET_PCIEPHY2_PERST            35      /* i.MX8MM/i.MX8MN does NOT support */
+#define IMX8MQ_RESET_PCIE2_CTRL_APPS_EN                36      /* i.MX8MM/i.MX8MN does NOT support */
+#define IMX8MQ_RESET_PCIE2_CTRL_APPS_TURNOFF   37      /* i.MX8MM/i.MX8MN does NOT support */
+#define IMX8MQ_RESET_MIPI_CSI1_CORE_RESET      38      /* i.MX8MM/i.MX8MN does NOT support */
+#define IMX8MQ_RESET_MIPI_CSI1_PHY_REF_RESET   39      /* i.MX8MM/i.MX8MN does NOT support */
+#define IMX8MQ_RESET_MIPI_CSI1_ESC_RESET       40      /* i.MX8MM/i.MX8MN does NOT support */
+#define IMX8MQ_RESET_MIPI_CSI2_CORE_RESET      41      /* i.MX8MM/i.MX8MN does NOT support */
+#define IMX8MQ_RESET_MIPI_CSI2_PHY_REF_RESET   42      /* i.MX8MM/i.MX8MN does NOT support */
+#define IMX8MQ_RESET_MIPI_CSI2_ESC_RESET       43      /* i.MX8MM/i.MX8MN does NOT support */
+#define IMX8MQ_RESET_DDRC1_PRST                        44      /* i.MX8MN does NOT support */
+#define IMX8MQ_RESET_DDRC1_CORE_RESET          45      /* i.MX8MN does NOT support */
+#define IMX8MQ_RESET_DDRC1_PHY_RESET           46      /* i.MX8MN does NOT support */
+#define IMX8MQ_RESET_DDRC2_PRST                        47      /* i.MX8MM/i.MX8MN does NOT support */
+#define IMX8MQ_RESET_DDRC2_CORE_RESET          48      /* i.MX8MM/i.MX8MN does NOT support */
+#define IMX8MQ_RESET_DDRC2_PHY_RESET           49      /* i.MX8MM/i.MX8MN does NOT support */
+#define IMX8MQ_RESET_SW_M4C_RST                        50
+#define IMX8MQ_RESET_SW_M4P_RST                        51
+#define IMX8MQ_RESET_M4_ENABLE                 52
 
-#define IMX8MQ_RESET_NUM                       50
+#define IMX8MQ_RESET_NUM                       53
 
 #endif