From patchwork Fri Jan 17 07:45:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Weijie Gao X-Patchwork-Id: 239705 List-Id: U-Boot discussion From: weijie.gao at mediatek.com (Weijie Gao) Date: Fri, 17 Jan 2020 15:45:59 +0800 Subject: [PATCH v2 12/21] dts: mtmips: add u-boot, dm-pre-reloc for some nodes in mt7628a.dtsi Message-ID: <1579247159-32743-1-git-send-email-weijie.gao@mediatek.com> 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 --- 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; }; };