[PATCH] arm64: dts: imx8mn-var-som: reorder reg properties after compatible strings

Hugo Villeneuve hugo at hugovil.com
Tue Nov 7 08:01:22 PST 2023


From: Hugo Villeneuve <hvilleneuve at dimonoff.com>

Move reg nodes after the compatible string, to follow DT conventions.

Signed-off-by: Hugo Villeneuve <hvilleneuve at dimonoff.com>
---
 arch/arm64/boot/dts/freescale/imx8mn-var-som.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/freescale/imx8mn-var-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-var-som.dtsi
index b8946edf317b..9124476500f8 100644
--- a/arch/arm64/boot/dts/freescale/imx8mn-var-som.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mn-var-som.dtsi
@@ -60,8 +60,8 @@ &ecspi1 {
 
 	/* Resistive touch controller */
 	touchscreen at 0 {
-		reg = <0>;
 		compatible = "ti,ads7846";
+		reg = <0>;
 		pinctrl-names = "default";
 		pinctrl-0 = <&pinctrl_restouch>;
 		interrupt-parent = <&gpio1>;
@@ -292,8 +292,8 @@ &usdhc1 {
 	status = "okay";
 
 	brcmf: bcrmf at 1 {
-		reg = <1>;
 		compatible = "brcm,bcm4329-fmac";
+		reg = <1>;
 	};
 };
 

base-commit: be3ca57cfb777ad820c6659d52e60bbdd36bf5ff
-- 
2.39.2




More information about the linux-arm-kernel mailing list