提交 2eebe5b3 编写于 作者: S Sean Anderson 提交者: Leo Yu-Chi Liang

riscv: Enable some devices pre-relocation

These devices are necessary for the clock driver, which is required by the
sram driver, to run pre-relocation.
Signed-off-by: NSean Anderson <seanga2@gmail.com>
上级 09ad08fa
......@@ -91,6 +91,7 @@
<&sysclk K210_CLK_SRAM1>,
<&sysclk K210_CLK_PLL1>;
clock-names = "sram0", "sram1", "airam";
u-boot,dm-pre-reloc;
};
reserved-memory {
......@@ -109,6 +110,7 @@
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <26000000>;
u-boot,dm-pre-reloc;
};
};
......@@ -505,11 +507,13 @@
"syscon", "simple-mfd";
reg = <0x50440000 0x100>;
reg-io-width = <4>;
u-boot,dm-pre-reloc;
sysclk: clock-controller {
#clock-cells = <1>;
compatible = "kendryte,k210-clk";
clocks = <&in0>;
u-boot,dm-pre-reloc;
};
sysrst: reset-controller {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册