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>
master
Philipp Tomsich 7 years ago
parent 1168d2dd4b
commit bc824cc03a
  1. 5
      arch/arm/dts/rk3368-lion-u-boot.dtsi
  2. 2
      arch/arm/dts/rk3368.dtsi

@ -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…
Cancel
Save