Loading...
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};
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 <dt-bindings/clock/alphascale,asm9260.h>
8
9/ {
10 #address-cells = <1>;
11 #size-cells = <1>;
12 interrupt-parent = <&icoll>;
13
14 memory {
15 device_type = "memory";
16 reg = <0x20000000 0x2000000>;
17 };
18
19 cpus {
20 #address-cells = <0>;
21 #size-cells = <0>;
22
23 cpu {
24 compatible = "arm,arm926ej-s";
25 device_type = "cpu";
26 clocks = <&acc CLKID_SYS_CPU>;
27 };
28 };
29
30 osc24m: oscillator {
31 compatible = "fixed-clock";
32 #clock-cells = <0>;
33 clock-frequency = <24000000>;
34 clock-accuracy = <30000>;
35 };
36
37 soc {
38 #address-cells = <1>;
39 #size-cells = <1>;
40 compatible = "simple-bus";
41 ranges;
42
43 acc: clock-controller@80040000 {
44 compatible = "alphascale,asm9260-clock-controller";
45 #clock-cells = <1>;
46 clocks = <&osc24m>;
47 reg = <0x80040000 0x204>;
48 };
49
50 icoll: interrupt-controller@80054000 {
51 compatible = "alphascale,asm9260-icoll";
52 interrupt-controller;
53 #interrupt-cells = <1>;
54 reg = <0x80054000 0x200>;
55 };
56
57 timer0: timer@80088000 {
58 compatible = "alphascale,asm9260-timer";
59 reg = <0x80088000 0x4000>;
60 clocks = <&acc CLKID_AHB_TIMER0>;
61 interrupts = <29>;
62 };
63 };
64};