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