[PATCH v2 12/21] dts: mtmips: add u-boot, dm-pre-reloc for some nodes in mt7628a.dtsi
Weijie Gao
weijie.gao at mediatek.com
Fri Jan 17 08:45:59 CET 2020
To enable DM support in SPL, some necessary nodes must be reserved for
serial, clk, sysreset and other drivers.
This patch adds u-boot,dm-pre-reloc for these nodes.
Signed-off-by: Weijie Gao <weijie.gao at mediatek.com>
---
Changes since v1: newly added
---
arch/mips/dts/mt7628a.dtsi | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/mips/dts/mt7628a.dtsi b/arch/mips/dts/mt7628a.dtsi
index 3d7b839e6d..744594c45a 100644
--- a/arch/mips/dts/mt7628a.dtsi
+++ b/arch/mips/dts/mt7628a.dtsi
@@ -23,11 +23,14 @@
#address-cells = <1>;
#size-cells = <1>;
+ u-boot,dm-pre-reloc;
+
resetctl-reboot {
compatible = "resetctl-reboot";
resets = <&rstctrl MT7628_SYS_RST>;
reset-names = "sysreset";
+ u-boot,dm-pre-reloc;
};
clkctrl: clkctrl at 0x2c {
@@ -42,6 +45,7 @@
reg = <0x34 0x4>;
compatible = "mediatek,mtmips-reset";
#reset-cells = <1>;
+ u-boot,dm-pre-reloc;
};
pinctrl: pinctrl at 60 {
@@ -52,6 +56,8 @@
pinctrl-names = "default";
pinctrl-0 = <&state_default>;
+ u-boot,dm-pre-reloc;
+
state_default: pin_state {
};
@@ -260,6 +266,8 @@
reset-names = "uart0";
reg-shift = <2>;
+
+ u-boot,dm-pre-reloc;
};
uart1: uart1 at d00 {
@@ -275,6 +283,8 @@
reset-names = "uart1";
reg-shift = <2>;
+
+ u-boot,dm-pre-reloc;
};
uart2: uart2 at e00 {
@@ -290,6 +300,8 @@
reset-names = "uart2";
reg-shift = <2>;
+
+ u-boot,dm-pre-reloc;
};
};
--
2.17.1
More information about the U-Boot
mailing list