imx91: Drop OF_UPSTREAM
authorPeng Fan <peng.fan@nxp.com>
Thu, 12 Jun 2025 02:13:56 +0000 (10:13 +0800)
committerTom Rini <trini@konsulko.com>
Thu, 12 Jun 2025 14:19:57 +0000 (08:19 -0600)
i.MX91 device tree still not landed in linux kernel, so drop OF_UPSTREAM
and move the device tree files to arch/arm/dts

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Sumit Garg <sumit.garg@oss.qualcomm.com>
arch/arm/dts/imx91-11x11-evk.dts [moved from dts/upstream/src/arm64/freescale/imx91-11x11-evk.dts with 100% similarity]
arch/arm/dts/imx91-pinfunc.h [moved from dts/upstream/src/arm64/freescale/imx91-pinfunc.h with 100% similarity]
arch/arm/dts/imx91.dtsi [moved from dts/upstream/src/arm64/freescale/imx91.dtsi with 79% similarity]
arch/arm/mach-imx/imx9/Kconfig
configs/imx91_11x11_evk_defconfig
configs/imx91_11x11_evk_inline_ecc_defconfig

similarity index 79%
rename from dts/upstream/src/arm64/freescale/imx91.dtsi
rename to arch/arm/dts/imx91.dtsi
index be923e5..9963f0b 100644 (file)
@@ -7,7 +7,6 @@
 #include "imx93.dtsi"
 
 /delete-node/ &A55_1;
-/delete-node/ &cm33;
 /delete-node/ &mlmix;
 /delete-node/ &mu1;
 /delete-node/ &mu2;
        assigned-clock-rates = <100000000>, <250000000>;
 };
 
-&i3c1 {
-       clocks = <&clk IMX93_CLK_BUS_AON>,
-                       <&clk IMX93_CLK_I3C1_GATE>,
-                       <&clk IMX93_CLK_DUMMY>;
-};
-
-&i3c2 {
-       clocks = <&clk IMX93_CLK_BUS_WAKEUP>,
-                       <&clk IMX93_CLK_I3C2_GATE>,
-                       <&clk IMX93_CLK_DUMMY>;
-};
-
 &iomuxc {
        compatible = "fsl,imx91-iomuxc";
 };
        status = "disabled";
 };
 
-&{/soc@0/ddr-pmu@4e300dc0} {
-       compatible = "fsl,imx91-ddr-pmu", "fsl,imx93-ddr-pmu";
-};
-
 &{/thermal-zones/cpu-thermal/cooling-maps/map0} {
        cooling-device = <&A55_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
 };
index e6cafdc..280d255 100644 (file)
@@ -43,7 +43,6 @@ config TARGET_IMX91_11X11_EVK
        bool "imx91_11x11_evk"
        select OF_BOARD_FIXUP
        select IMX91
-       imply OF_UPSTREAM
        imply BOOTSTD_FULL
        imply BOOTSTD_BOOTCOMMAND
 
index 810a8a8..a57c1fd 100644 (file)
@@ -11,7 +11,7 @@ CONFIG_ENV_SIZE=0x4000
 CONFIG_ENV_OFFSET=0x700000
 CONFIG_IMX_CONFIG="arch/arm/mach-imx/imx9/imximage.cfg"
 CONFIG_DM_GPIO=y
-CONFIG_DEFAULT_DEVICE_TREE="freescale/imx91-11x11-evk"
+CONFIG_DEFAULT_DEVICE_TREE="imx91-11x11-evk"
 CONFIG_TARGET_IMX91_11X11_EVK=y
 CONFIG_OF_LIBFDT_OVERLAY=y
 CONFIG_SYS_MONITOR_LEN=524288
index f330ea6..0533aca 100644 (file)
@@ -11,7 +11,7 @@ CONFIG_ENV_SIZE=0x4000
 CONFIG_ENV_OFFSET=0x700000
 CONFIG_IMX_CONFIG="arch/arm/mach-imx/imx9/imximage.cfg"
 CONFIG_DM_GPIO=y
-CONFIG_DEFAULT_DEVICE_TREE="freescale/imx91-11x11-evk"
+CONFIG_DEFAULT_DEVICE_TREE="imx91-11x11-evk"
 CONFIG_TARGET_IMX91_11X11_EVK=y
 CONFIG_OF_LIBFDT_OVERLAY=y
 CONFIG_SYS_MONITOR_LEN=524288