Skip to contentSkip to conversation

imx6q-lxr: Convert to OF_UPSTREAM

PATCH Applied Fabio Estevam 1 participant 2 messages Feb 3, 2025 – Feb 27, 2025

Subsystems (3)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 imx6q-lxr: Convert to OF_UPSTREAM

From: Fabio Estevam <[email protected]>

The imx6q-lxr devicetree has landed in kernel 6.13.

Switch to OF_UPSTREAM to make use of the upstream devicetree.

---
 arch/arm/dts/Makefile                   |   1 -
 arch/arm/dts/imx6q-lxr.dts              |  87 -----
 arch/arm/dts/imx6q-phytec-pfla02.dtsi   |  17 -
 arch/arm/dts/imx6qdl-phytec-pfla02.dtsi | 467 ------------------------
 arch/arm/mach-imx/mx6/Kconfig           |   1 +
 configs/lxr2_defconfig                  |   2 +-
 6 files changed, 2 insertions(+), 573 deletions(-)
 delete mode 100644 arch/arm/dts/imx6q-lxr.dts
 delete mode 100644 arch/arm/dts/imx6q-phytec-pfla02.dtsi
 delete mode 100644 arch/arm/dts/imx6qdl-phytec-pfla02.dtsi
arch/arm/dts/Makefile +0 -1
index 0bf3697bdbe0..b95790e30163 100644
@@ -797,7 +797,6 @@ dtb-y += \
 	imx6q-icore-rqs.dtb \
 	imx6q-kp.dtb \
 	imx6q-logicpd.dtb \
-	imx6q-lxr.dtb \
 	imx6q-marsboard.dtb \
 	imx6q-mccmon6.dtb\
 	imx6q-nitrogen6x.dtb \
arch/arm/dts/imx6q-lxr.dts deleted +0 -87

87 lines not on this page · raw message

arch/arm/dts/imx6q-phytec-pfla02.dtsi deleted +0 -17
deleted file mode 100644
index 500944bd2a05..000000000000
@@ -1,17 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-or-later
-/*
- * Copyright 2013 Christian Hemp, Phytec Messtechnik GmbH
- */
-
-#include "imx6q.dtsi"
-#include "imx6qdl-phytec-pfla02.dtsi"
-
-/ {
-	model = "Phytec phyFLEX-i.MX6 Quad";
-	compatible = "phytec,imx6q-pfla02", "fsl,imx6q";
-
-	memory@10000000 {
-		device_type = "memory";
-		reg = <0x10000000 0x80000000>;
-	};
-};
arch/arm/dts/imx6qdl-phytec-pfla02.dtsi deleted +0 -467

467 lines not on this page · raw message

arch/arm/mach-imx/mx6/Kconfig +1 -0
index 4020e16d92dc..2f873ed6ddf1 100644
@@ -550,6 +550,7 @@ config TARGET_LXR2
 	select DM_THERMAL/
 	select SUPPORT_SPL
 	imply CMD_DM
+	imply OF_UPSTREAM
 
 config TARGET_PCM058
 	bool "Phytec PCM058 i.MX6 Quad"
configs/lxr2_defconfig +1 -1
index 7ab817960a2c..8db09a53191f 100644
@@ -13,7 +13,7 @@ CONFIG_ENV_SECT_SIZE=0x10000
 CONFIG_MX6Q=y
 CONFIG_TARGET_LXR2=y
 CONFIG_DM_GPIO=y
-CONFIG_DEFAULT_DEVICE_TREE="imx6q-lxr"
+CONFIG_DEFAULT_DEVICE_TREE="nxp/imx/imx6q-lxr"
 CONFIG_SYS_MONITOR_LEN=409600
 CONFIG_SPL_MMC=y
 CONFIG_SPL_SERIAL=y
Signature · 1 line
2.34.1