1*c66ec88fSEmmanuel VadotMarvell Armada 370 and Armada XP Timers 2*c66ec88fSEmmanuel Vadot--------------------------------------- 3*c66ec88fSEmmanuel Vadot 4*c66ec88fSEmmanuel VadotRequired properties: 5*c66ec88fSEmmanuel Vadot- compatible: Should be one of the following 6*c66ec88fSEmmanuel Vadot "marvell,armada-370-timer", 7*c66ec88fSEmmanuel Vadot "marvell,armada-375-timer", 8*c66ec88fSEmmanuel Vadot "marvell,armada-xp-timer". 9*c66ec88fSEmmanuel Vadot- interrupts: Should contain the list of Global Timer interrupts and 10*c66ec88fSEmmanuel Vadot then local timer interrupts 11*c66ec88fSEmmanuel Vadot- reg: Should contain location and length for timers register. First 12*c66ec88fSEmmanuel Vadot pair for the Global Timer registers, second pair for the 13*c66ec88fSEmmanuel Vadot local/private timers. 14*c66ec88fSEmmanuel Vadot 15*c66ec88fSEmmanuel VadotClocks required for compatible = "marvell,armada-370-timer": 16*c66ec88fSEmmanuel Vadot- clocks : Must contain a single entry describing the clock input 17*c66ec88fSEmmanuel Vadot 18*c66ec88fSEmmanuel VadotClocks required for compatibles = "marvell,armada-xp-timer", 19*c66ec88fSEmmanuel Vadot "marvell,armada-375-timer": 20*c66ec88fSEmmanuel Vadot- clocks : Must contain an entry for each entry in clock-names. 21*c66ec88fSEmmanuel Vadot- clock-names : Must include the following entries: 22*c66ec88fSEmmanuel Vadot "nbclk" (L2/coherency fabric clock), 23*c66ec88fSEmmanuel Vadot "fixed" (Reference 25 MHz fixed-clock). 24*c66ec88fSEmmanuel Vadot 25*c66ec88fSEmmanuel VadotExamples: 26*c66ec88fSEmmanuel Vadot 27*c66ec88fSEmmanuel Vadot- Armada 370: 28*c66ec88fSEmmanuel Vadot 29*c66ec88fSEmmanuel Vadot timer { 30*c66ec88fSEmmanuel Vadot compatible = "marvell,armada-370-timer"; 31*c66ec88fSEmmanuel Vadot reg = <0x20300 0x30>, <0x21040 0x30>; 32*c66ec88fSEmmanuel Vadot interrupts = <37>, <38>, <39>, <40>, <5>, <6>; 33*c66ec88fSEmmanuel Vadot clocks = <&coreclk 2>; 34*c66ec88fSEmmanuel Vadot }; 35*c66ec88fSEmmanuel Vadot 36*c66ec88fSEmmanuel Vadot- Armada XP: 37*c66ec88fSEmmanuel Vadot 38*c66ec88fSEmmanuel Vadot timer { 39*c66ec88fSEmmanuel Vadot compatible = "marvell,armada-xp-timer"; 40*c66ec88fSEmmanuel Vadot reg = <0x20300 0x30>, <0x21040 0x30>; 41*c66ec88fSEmmanuel Vadot interrupts = <37>, <38>, <39>, <40>, <5>, <6>; 42*c66ec88fSEmmanuel Vadot clocks = <&coreclk 2>, <&refclk>; 43*c66ec88fSEmmanuel Vadot clock-names = "nbclk", "fixed"; 44*c66ec88fSEmmanuel Vadot }; 45