0001 /*
0002 * Copyright 2014 Oleksij Rempel <linux@rempel-privat.de>
0003 *
0004 * Licensed under the X11 license or the GPL v2 (or later)
0005 */
0006
0007 #include <dt-bindings/clock/alphascale,asm9260.h>
0008
0009 / {
0010 #address-cells = <1>;
0011 #size-cells = <1>;
0012 interrupt-parent = <&icoll>;
0013
0014 memory {
0015 device_type = "memory";
0016 reg = <0x20000000 0x2000000>;
0017 };
0018
0019 cpus {
0020 #address-cells = <0>;
0021 #size-cells = <0>;
0022
0023 cpu {
0024 compatible = "arm,arm926ej-s";
0025 device_type = "cpu";
0026 clocks = <&acc CLKID_SYS_CPU>;
0027 };
0028 };
0029
0030 osc24m: oscillator {
0031 compatible = "fixed-clock";
0032 #clock-cells = <0>;
0033 clock-frequency = <24000000>;
0034 clock-accuracy = <30000>;
0035 };
0036
0037 soc {
0038 #address-cells = <1>;
0039 #size-cells = <1>;
0040 compatible = "simple-bus";
0041 ranges;
0042
0043 acc: clock-controller@80040000 {
0044 compatible = "alphascale,asm9260-clock-controller";
0045 #clock-cells = <1>;
0046 clocks = <&osc24m>;
0047 reg = <0x80040000 0x204>;
0048 };
0049
0050 icoll: interrupt-controller@80054000 {
0051 compatible = "alphascale,asm9260-icoll";
0052 interrupt-controller;
0053 #interrupt-cells = <1>;
0054 reg = <0x80054000 0x200>;
0055 };
0056
0057 timer0: timer@80088000 {
0058 compatible = "alphascale,asm9260-timer";
0059 reg = <0x80088000 0x4000>;
0060 clocks = <&acc CLKID_AHB_TIMER0>;
0061 interrupts = <29>;
0062 };
0063 };
0064 };