1*f126890aSEmmanuel Vadot/* 2*f126890aSEmmanuel Vadot * Copyright 2014 Oleksij Rempel <linux@rempel-privat.de> 3*f126890aSEmmanuel Vadot * 4*f126890aSEmmanuel Vadot * Licensed under the X11 license or the GPL v2 (or later) 5*f126890aSEmmanuel Vadot */ 6*f126890aSEmmanuel Vadot 7*f126890aSEmmanuel Vadot#include <dt-bindings/clock/alphascale,asm9260.h> 8*f126890aSEmmanuel Vadot 9*f126890aSEmmanuel Vadot/ { 10*f126890aSEmmanuel Vadot #address-cells = <1>; 11*f126890aSEmmanuel Vadot #size-cells = <1>; 12*f126890aSEmmanuel Vadot interrupt-parent = <&icoll>; 13*f126890aSEmmanuel Vadot 14*f126890aSEmmanuel Vadot memory { 15*f126890aSEmmanuel Vadot device_type = "memory"; 16*f126890aSEmmanuel Vadot reg = <0x20000000 0x2000000>; 17*f126890aSEmmanuel Vadot }; 18*f126890aSEmmanuel Vadot 19*f126890aSEmmanuel Vadot cpus { 20*f126890aSEmmanuel Vadot #address-cells = <0>; 21*f126890aSEmmanuel Vadot #size-cells = <0>; 22*f126890aSEmmanuel Vadot 23*f126890aSEmmanuel Vadot cpu { 24*f126890aSEmmanuel Vadot compatible = "arm,arm926ej-s"; 25*f126890aSEmmanuel Vadot device_type = "cpu"; 26*f126890aSEmmanuel Vadot clocks = <&acc CLKID_SYS_CPU>; 27*f126890aSEmmanuel Vadot }; 28*f126890aSEmmanuel Vadot }; 29*f126890aSEmmanuel Vadot 30*f126890aSEmmanuel Vadot osc24m: oscillator { 31*f126890aSEmmanuel Vadot compatible = "fixed-clock"; 32*f126890aSEmmanuel Vadot #clock-cells = <0>; 33*f126890aSEmmanuel Vadot clock-frequency = <24000000>; 34*f126890aSEmmanuel Vadot clock-accuracy = <30000>; 35*f126890aSEmmanuel Vadot }; 36*f126890aSEmmanuel Vadot 37*f126890aSEmmanuel Vadot soc { 38*f126890aSEmmanuel Vadot #address-cells = <1>; 39*f126890aSEmmanuel Vadot #size-cells = <1>; 40*f126890aSEmmanuel Vadot compatible = "simple-bus"; 41*f126890aSEmmanuel Vadot ranges; 42*f126890aSEmmanuel Vadot 43*f126890aSEmmanuel Vadot acc: clock-controller@80040000 { 44*f126890aSEmmanuel Vadot compatible = "alphascale,asm9260-clock-controller"; 45*f126890aSEmmanuel Vadot #clock-cells = <1>; 46*f126890aSEmmanuel Vadot clocks = <&osc24m>; 47*f126890aSEmmanuel Vadot reg = <0x80040000 0x204>; 48*f126890aSEmmanuel Vadot }; 49*f126890aSEmmanuel Vadot 50*f126890aSEmmanuel Vadot icoll: interrupt-controller@80054000 { 51*f126890aSEmmanuel Vadot compatible = "alphascale,asm9260-icoll"; 52*f126890aSEmmanuel Vadot interrupt-controller; 53*f126890aSEmmanuel Vadot #interrupt-cells = <1>; 54*f126890aSEmmanuel Vadot reg = <0x80054000 0x200>; 55*f126890aSEmmanuel Vadot }; 56*f126890aSEmmanuel Vadot 57*f126890aSEmmanuel Vadot timer0: timer@80088000 { 58*f126890aSEmmanuel Vadot compatible = "alphascale,asm9260-timer"; 59*f126890aSEmmanuel Vadot reg = <0x80088000 0x4000>; 60*f126890aSEmmanuel Vadot clocks = <&acc CLKID_AHB_TIMER0>; 61*f126890aSEmmanuel Vadot interrupts = <29>; 62*f126890aSEmmanuel Vadot }; 63*f126890aSEmmanuel Vadot }; 64*f126890aSEmmanuel Vadot}; 65