mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-28 08:35:38 +00:00
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: Sean Anderson <seanga2@gmail.com>
This commit is contained in:
parent
09ad08fa1a
commit
2eebe5b373
1 changed files with 4 additions and 0 deletions
|
@ -91,6 +91,7 @@
|
||||||
<&sysclk K210_CLK_SRAM1>,
|
<&sysclk K210_CLK_SRAM1>,
|
||||||
<&sysclk K210_CLK_PLL1>;
|
<&sysclk K210_CLK_PLL1>;
|
||||||
clock-names = "sram0", "sram1", "airam";
|
clock-names = "sram0", "sram1", "airam";
|
||||||
|
u-boot,dm-pre-reloc;
|
||||||
};
|
};
|
||||||
|
|
||||||
reserved-memory {
|
reserved-memory {
|
||||||
|
@ -109,6 +110,7 @@
|
||||||
compatible = "fixed-clock";
|
compatible = "fixed-clock";
|
||||||
#clock-cells = <0>;
|
#clock-cells = <0>;
|
||||||
clock-frequency = <26000000>;
|
clock-frequency = <26000000>;
|
||||||
|
u-boot,dm-pre-reloc;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -505,11 +507,13 @@
|
||||||
"syscon", "simple-mfd";
|
"syscon", "simple-mfd";
|
||||||
reg = <0x50440000 0x100>;
|
reg = <0x50440000 0x100>;
|
||||||
reg-io-width = <4>;
|
reg-io-width = <4>;
|
||||||
|
u-boot,dm-pre-reloc;
|
||||||
|
|
||||||
sysclk: clock-controller {
|
sysclk: clock-controller {
|
||||||
#clock-cells = <1>;
|
#clock-cells = <1>;
|
||||||
compatible = "kendryte,k210-clk";
|
compatible = "kendryte,k210-clk";
|
||||||
clocks = <&in0>;
|
clocks = <&in0>;
|
||||||
|
u-boot,dm-pre-reloc;
|
||||||
};
|
};
|
||||||
|
|
||||||
sysrst: reset-controller {
|
sysrst: reset-controller {
|
||||||
|
|
Loading…
Add table
Reference in a new issue