dts: microchip,xec-timer: Add properties for GIRQ info

Add girq and girq-bit to encode per device information.  This allows the
driver to get any device unique info from device tree.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2020-02-14 09:04:13 -06:00 committed by Kumar Gala
commit 9ed4f39110
2 changed files with 16 additions and 0 deletions

View file

@ -194,6 +194,8 @@
max-value = <0xFFFF>;
prescaler = <0>;
status = "disabled";
girq = <23>;
girq-bit = <0>;
};
timer1: timer@40000c20 {
compatible = "microchip,xec-timer";
@ -204,6 +206,8 @@
max-value = <0xFFFF>;
prescaler = <0>;
status = "disabled";
girq = <23>;
girq-bit = <1>;
};
timer3: timer@40000ca0 {
compatible = "microchip,xec-timer";
@ -213,6 +217,8 @@
label = "TIMER_3";
max-value = <0xFFFFFFFF>;
prescaler = <0>;
girq = <23>;
girq-bit = <5>;
};
ps2_0: ps2@40009000 {
compatible = "microchip,xec-ps2";

View file

@ -26,3 +26,13 @@ properties:
type: int
required: true
description: Maximum counter value the instance can handle
girq:
type: int
required: true
description: GIRQ for this device
girq-bit:
type: int
required: true
description: Bit position in GIRQ for this device