mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 21:21:37 +00:00
dts: rk3368: make timer0 accessible for SPL and TPL
To use it with the DM timer driver in SPL and TPL, timer0 needs to be marked as pre-reloc. Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
1168d2dd4b
commit
bc824cc03a
2 changed files with 6 additions and 1 deletions
|
@ -85,4 +85,9 @@
|
|||
};
|
||||
};
|
||||
|
||||
&timer0 {
|
||||
u-boot,dm-pre-reloc;
|
||||
clock-frequency = <24000000>;
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -687,7 +687,7 @@
|
|||
status = "disabled";
|
||||
};
|
||||
|
||||
timer@ff810000 {
|
||||
timer0: timer@ff810000 {
|
||||
compatible = "rockchip,rk3368-timer", "rockchip,rk3288-timer";
|
||||
reg = <0x0 0xff810000 0x0 0x20>;
|
||||
interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
|
||||
|
|
Loading…
Add table
Reference in a new issue