dts/arm: Add the 3 MEC1501 basic timer instances.

4 are found: 2 with a counter of 16bits and 2 with a counter of 32 bits.
However, first 32bits instance will not be exposed as it will be used by
rtos timer driver directly to implement k_busy_wait()

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
Tomasz Bursztyka 2019-06-25 12:41:17 +02:00 committed by Andrew Boie
parent 0c8f9e3284
commit 5a09a51e31

View file

@ -169,6 +169,36 @@
#address-cells = <1>;
#size-cells = <0>;
};
timer0: timer@40000c00 {
compatible = "microchip,xec-timer";
clock-frequency = <48000000>;
reg = <0x40000C00 0x20>;
interrupts = <136 0>;
label = "TIMER_0";
max-value = <0xFFFF>;
prescaler = <0>;
status = "disabled";
};
timer1: timer@40000c20 {
compatible = "microchip,xec-timer";
clock-frequency = <48000000>;
reg = <0x40000C20 0x20>;
interrupts = <137 0>;
label = "TIMER_1";
max-value = <0xFFFF>;
prescaler = <0>;
status = "disabled";
};
timer3: timer@40000ca0 {
compatible = "microchip,xec-timer";
clock-frequency = <48000000>;
reg = <0x40000CA0 0x20>;
interrupts = <141 0>;
label = "TIMER_3";
max-value = <0xFFFFFFFF>;
prescaler = <0>;
status = "disabled";
};
};
};