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:
Philipp Tomsich 2017-07-28 17:46:39 +02:00
parent 1168d2dd4b
commit bc824cc03a
2 changed files with 6 additions and 1 deletions

View File

@ -85,4 +85,9 @@
};
};
&timer0 {
u-boot,dm-pre-reloc;
clock-frequency = <24000000>;
};

View File

@ -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>;