137dd3951SGregory CLEMENTMarvell Armada 370 and Armada XP Timers 237dd3951SGregory CLEMENT--------------------------------------- 337dd3951SGregory CLEMENT 437dd3951SGregory CLEMENTRequired properties: 5*4a22d9c9SEzequiel Garcia- compatible: Should be one of the following 6*4a22d9c9SEzequiel Garcia "marvell,armada-370-timer", 7*4a22d9c9SEzequiel Garcia "marvell,armada-375-timer", 8*4a22d9c9SEzequiel Garcia "marvell,armada-xp-timer". 937dd3951SGregory CLEMENT- interrupts: Should contain the list of Global Timer interrupts and 1037dd3951SGregory CLEMENT then local timer interrupts 1137dd3951SGregory CLEMENT- reg: Should contain location and length for timers register. First 1237dd3951SGregory CLEMENT pair for the Global Timer registers, second pair for the 1337dd3951SGregory CLEMENT local/private timers. 1463ce2cc4SEzequiel Garcia 1563ce2cc4SEzequiel GarciaClocks required for compatible = "marvell,armada-370-timer": 1663ce2cc4SEzequiel Garcia- clocks : Must contain a single entry describing the clock input 1763ce2cc4SEzequiel Garcia 18*4a22d9c9SEzequiel GarciaClocks required for compatibles = "marvell,armada-xp-timer", 19*4a22d9c9SEzequiel Garcia "marvell,armada-375-timer": 2063ce2cc4SEzequiel Garcia- clocks : Must contain an entry for each entry in clock-names. 2163ce2cc4SEzequiel Garcia- clock-names : Must include the following entries: 2263ce2cc4SEzequiel Garcia "nbclk" (L2/coherency fabric clock), 2363ce2cc4SEzequiel Garcia "fixed" (Reference 25 MHz fixed-clock). 2437dd3951SGregory CLEMENT 258ad31e66SEzequiel GarciaExamples: 268ad31e66SEzequiel Garcia 278ad31e66SEzequiel Garcia- Armada 370: 288ad31e66SEzequiel Garcia 298ad31e66SEzequiel Garcia timer { 308ad31e66SEzequiel Garcia compatible = "marvell,armada-370-timer"; 318ad31e66SEzequiel Garcia reg = <0x20300 0x30>, <0x21040 0x30>; 328ad31e66SEzequiel Garcia interrupts = <37>, <38>, <39>, <40>, <5>, <6>; 338ad31e66SEzequiel Garcia clocks = <&coreclk 2>; 348ad31e66SEzequiel Garcia }; 358ad31e66SEzequiel Garcia 368ad31e66SEzequiel Garcia- Armada XP: 378ad31e66SEzequiel Garcia 388ad31e66SEzequiel Garcia timer { 398ad31e66SEzequiel Garcia compatible = "marvell,armada-xp-timer"; 408ad31e66SEzequiel Garcia reg = <0x20300 0x30>, <0x21040 0x30>; 418ad31e66SEzequiel Garcia interrupts = <37>, <38>, <39>, <40>, <5>, <6>; 4263ce2cc4SEzequiel Garcia clocks = <&coreclk 2>, <&refclk>; 4363ce2cc4SEzequiel Garcia clock-names = "nbclk", "fixed"; 448ad31e66SEzequiel Garcia }; 45