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:
parent
d6b6ebe522
commit
9ed4f39110
2 changed files with 16 additions and 0 deletions
|
@ -194,6 +194,8 @@
|
||||||
max-value = <0xFFFF>;
|
max-value = <0xFFFF>;
|
||||||
prescaler = <0>;
|
prescaler = <0>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
|
girq = <23>;
|
||||||
|
girq-bit = <0>;
|
||||||
};
|
};
|
||||||
timer1: timer@40000c20 {
|
timer1: timer@40000c20 {
|
||||||
compatible = "microchip,xec-timer";
|
compatible = "microchip,xec-timer";
|
||||||
|
@ -204,6 +206,8 @@
|
||||||
max-value = <0xFFFF>;
|
max-value = <0xFFFF>;
|
||||||
prescaler = <0>;
|
prescaler = <0>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
|
girq = <23>;
|
||||||
|
girq-bit = <1>;
|
||||||
};
|
};
|
||||||
timer3: timer@40000ca0 {
|
timer3: timer@40000ca0 {
|
||||||
compatible = "microchip,xec-timer";
|
compatible = "microchip,xec-timer";
|
||||||
|
@ -213,6 +217,8 @@
|
||||||
label = "TIMER_3";
|
label = "TIMER_3";
|
||||||
max-value = <0xFFFFFFFF>;
|
max-value = <0xFFFFFFFF>;
|
||||||
prescaler = <0>;
|
prescaler = <0>;
|
||||||
|
girq = <23>;
|
||||||
|
girq-bit = <5>;
|
||||||
};
|
};
|
||||||
ps2_0: ps2@40009000 {
|
ps2_0: ps2@40009000 {
|
||||||
compatible = "microchip,xec-ps2";
|
compatible = "microchip,xec-ps2";
|
||||||
|
|
|
@ -26,3 +26,13 @@ properties:
|
||||||
type: int
|
type: int
|
||||||
required: true
|
required: true
|
||||||
description: Maximum counter value the instance can handle
|
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue