]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm: dts: imx8mn-var-som: Move SOM-specific nodes to SOM u-boot.dtsi
authorHugo Villeneuve <hvilleneuve@dimonoff.com>
Fri, 6 Feb 2026 20:55:24 +0000 (15:55 -0500)
committerFabio Estevam <festevam@gmail.com>
Fri, 6 Feb 2026 23:32:36 +0000 (20:32 -0300)
Move SOM-specific stuff into a new SOM u-boot.dtsi file.
This way, it can be used by multiple boards.

Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
arch/arm/dts/imx8mn-var-som-symphony-u-boot.dtsi
arch/arm/dts/imx8mn-var-som-u-boot.dtsi [new file with mode: 0644]

index 2bbc4a49418de409e96e3a1beaa785c20af5d6a1..a94a571df5ef96814cda5e1a38e67916e2a34d32 100644 (file)
@@ -3,52 +3,7 @@
  * Copyright 2021 Collabora Ltd.
  */
 
-#include "imx8mn-u-boot.dtsi"
-
-&{/soc@0/bus@30800000/i2c@30a20000/pmic@4b} {
-       bootph-pre-ram;
-};
-
-&{/soc@0/bus@30800000/i2c@30a20000/pmic@4b/regulators} {
-       bootph-pre-ram;
-};
-
-&eeprom_som {
-       #address-cells = <1>;
-       #size-cells = <1>;
-       eth_mac_address: eth-mac-address@19 {
-               reg = <0x19 0x06>;
-       };
-};
-
-&fec1 {
-       nvmem-cells = <&eth_mac_address>;
-       nvmem-cell-names = "mac-address";
-};
-
-&gpio1 {
-       bootph-pre-ram;
-};
-
-&gpio2 {
-       bootph-pre-ram;
-};
-
-&gpio4 {
-       bootph-pre-ram;
-};
-
-&i2c1 {
-       bootph-all;
-};
-
-&pinctrl_i2c1 {
-       bootph-all;
-};
-
-&pinctrl_pmic {
-       bootph-pre-ram;
-};
+#include "imx8mn-var-som-u-boot.dtsi"
 
 &pinctrl_reg_usdhc2_vmmc {
        bootph-pre-ram;
        bootph-pre-ram;
 };
 
-&pinctrl_usdhc3 {
-       bootph-pre-ram;
-};
-
-&pinctrl_wdog {
-       bootph-pre-ram;
-};
-
 &uart4 {
        bootph-pre-ram;
 };
 &usdhc2 {
        bootph-pre-ram;
 };
-
-&usdhc3 {
-       bootph-pre-ram;
-};
-
-&eeprom_som {
-       bootph-all;
-};
diff --git a/arch/arm/dts/imx8mn-var-som-u-boot.dtsi b/arch/arm/dts/imx8mn-var-som-u-boot.dtsi
new file mode 100644 (file)
index 0000000..c27ad08
--- /dev/null
@@ -0,0 +1,64 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright 2025 Dimonoff
+ */
+
+#include "imx8mn-u-boot.dtsi"
+
+&{/soc@0/bus@30800000/i2c@30a20000/pmic@4b} {
+       bootph-pre-ram;
+};
+
+&{/soc@0/bus@30800000/i2c@30a20000/pmic@4b/regulators} {
+       bootph-pre-ram;
+};
+
+&eeprom_som {
+       bootph-all;
+       #address-cells = <1>;
+       #size-cells = <1>;
+       eth_mac_address: eth-mac-address@19 {
+               reg = <0x19 0x06>;
+       };
+};
+
+&fec1 {
+       nvmem-cells = <&eth_mac_address>;
+       nvmem-cell-names = "mac-address";
+};
+
+&gpio1 {
+       bootph-pre-ram;
+};
+
+&gpio2 {
+       bootph-pre-ram;
+};
+
+&gpio4 {
+       bootph-pre-ram;
+};
+
+&i2c1 {
+       bootph-all;
+};
+
+&usdhc3 {
+       bootph-pre-ram;
+};
+
+&pinctrl_i2c1 {
+       bootph-all;
+};
+
+&pinctrl_wdog {
+       bootph-pre-ram;
+};
+
+&pinctrl_pmic {
+       bootph-pre-ram;
+};
+
+&pinctrl_usdhc3 {
+       bootph-pre-ram;
+};