137dd3951SGregory CLEMENTMarvell Armada 370 and Armada XP Timers 237dd3951SGregory CLEMENT--------------------------------------- 337dd3951SGregory CLEMENT 437dd3951SGregory CLEMENTRequired properties: 58ad31e66SEzequiel Garcia- compatible: Should be either "marvell,armada-370-timer" or 68ad31e66SEzequiel Garcia "marvell,armada-xp-timer" as appropriate. 737dd3951SGregory CLEMENT- interrupts: Should contain the list of Global Timer interrupts and 837dd3951SGregory CLEMENT then local timer interrupts 937dd3951SGregory CLEMENT- reg: Should contain location and length for timers register. First 1037dd3951SGregory CLEMENT pair for the Global Timer registers, second pair for the 1137dd3951SGregory CLEMENT local/private timers. 12*63ce2cc4SEzequiel Garcia 13*63ce2cc4SEzequiel GarciaClocks required for compatible = "marvell,armada-370-timer": 14*63ce2cc4SEzequiel Garcia- clocks : Must contain a single entry describing the clock input 15*63ce2cc4SEzequiel Garcia 16*63ce2cc4SEzequiel GarciaClocks required for compatible = "marvell,armada-xp-timer": 17*63ce2cc4SEzequiel Garcia- clocks : Must contain an entry for each entry in clock-names. 18*63ce2cc4SEzequiel Garcia- clock-names : Must include the following entries: 19*63ce2cc4SEzequiel Garcia "nbclk" (L2/coherency fabric clock), 20*63ce2cc4SEzequiel Garcia "fixed" (Reference 25 MHz fixed-clock). 2137dd3951SGregory CLEMENT 228ad31e66SEzequiel GarciaExamples: 238ad31e66SEzequiel Garcia 248ad31e66SEzequiel Garcia- Armada 370: 258ad31e66SEzequiel Garcia 268ad31e66SEzequiel Garcia timer { 278ad31e66SEzequiel Garcia compatible = "marvell,armada-370-timer"; 288ad31e66SEzequiel Garcia reg = <0x20300 0x30>, <0x21040 0x30>; 298ad31e66SEzequiel Garcia interrupts = <37>, <38>, <39>, <40>, <5>, <6>; 308ad31e66SEzequiel Garcia clocks = <&coreclk 2>; 318ad31e66SEzequiel Garcia }; 328ad31e66SEzequiel Garcia 338ad31e66SEzequiel Garcia- Armada XP: 348ad31e66SEzequiel Garcia 358ad31e66SEzequiel Garcia timer { 368ad31e66SEzequiel Garcia compatible = "marvell,armada-xp-timer"; 378ad31e66SEzequiel Garcia reg = <0x20300 0x30>, <0x21040 0x30>; 388ad31e66SEzequiel Garcia interrupts = <37>, <38>, <39>, <40>, <5>, <6>; 39*63ce2cc4SEzequiel Garcia clocks = <&coreclk 2>, <&refclk>; 40*63ce2cc4SEzequiel Garcia clock-names = "nbclk", "fixed"; 418ad31e66SEzequiel Garcia }; 42