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