2 * Copyright 2015 Annapurna Labs Ltd.
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License,
6 * version 2, as published by the Free Software Foundation.
8 * Alternatively, redistribution and use in source and binary forms, with or
9 * without modification, are permitted provided that the following conditions
12 * * Redistributions of source code must retain the above copyright notice,
13 * this list of conditions and the following disclaimer.
15 * * Redistributions in binary form must reproduce the above copyright
16 * notice, this list of conditions and the following disclaimer in
17 * the documentation and/or other materials provided with the
20 * This program is distributed in the hope it will be useful, but WITHOUT
21 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
22 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
27 #include <dt-bindings/interrupt-controller/arm-gic.h>
28 #include "skeleton64.dtsi"
31 /* SOC compatibility */
32 compatible = "al,alpine";
34 /* CPU Configuration */
38 enable-method = "al,alpine-smp";
41 compatible = "arm,cortex-a15";
44 clock-frequency = <0>; /* Filled by loader */
48 compatible = "arm,cortex-a15";
51 clock-frequency = <0>; /* Filled by loader */
55 compatible = "arm,cortex-a15";
58 clock-frequency = <0>; /* Filled by loader */
62 compatible = "arm,cortex-a15";
65 clock-frequency = <0>; /* Filled by loader */
72 compatible = "simple-bus";
73 interrupt-parent = <&gic>;
77 compatible = "arm,cortex-a15-timer",
80 <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
81 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
82 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
83 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
84 clock-frequency = <0>; /* Filled by loader */
87 /* Interrupt Controller */
89 compatible = "arm,cortex-a15-gic";
90 #interrupt-cells = <3>;
94 reg = <0x0 0xfb001000 0x0 0x1000>,
95 <0x0 0xfb002000 0x0 0x2000>,
96 <0x0 0xfb004000 0x0 0x1000>,
97 <0x0 0xfb006000 0x0 0x2000>;
99 <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
102 /* CPU Resume registers */
103 cpu-resume@fbff5ec0 {
104 compatible = "al,alpine-cpu-resume";
105 reg = <0x0 0xfbff5ec0 0x0 0x30>;
108 /* North Bridge Service Registers */
109 sysfabric-service@fb070000 {
110 compatible = "al,alpine-sysfabric-service", "syscon";
111 reg = <0x0 0xfb070000 0x0 0x10000>;
114 /* Performance Monitor Unit */
116 compatible = "arm,cortex-a15-pmu";
117 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
118 <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
119 <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
120 <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
123 uart0:uart@fd883000 {
124 compatible = "ns16550a";
125 reg = <0x0 0xfd883000 0x0 0x1000>;
126 clock-frequency = <0>; /* Filled by loader */
127 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
132 uart1:uart@0xfd884000 {
133 compatible = "ns16550a";
134 reg = <0x0 0xfd884000 0x0 0x1000>;
135 clock-frequency = <0>; /* Filled by loader */
136 interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
141 /* Internal PCIe Controller */
142 pcie-internal@0xfbc00000 {
143 compatible = "pci-host-ecam-generic";
146 #address-cells = <3>;
147 #interrupt-cells = <1>;
148 reg = <0x0 0xfbc00000 0x0 0x100000>;
149 interrupt-map-mask = <0xf800 0 0 7>;
150 /* Add legacy interrupts for SATA devices only */
151 interrupt-map = <0x4000 0 0 1 &gic 0 43 4>,
152 <0x4800 0 0 1 &gic 0 44 4>;
154 /* 32 bit non prefetchable memory space */
155 ranges = <0x02000000 0x0 0xfe000000 0x0 0xfe000000 0x0 0x1000000>;
157 bus-range = <0x00 0x00>;
158 msi-parent = <&msix>;
161 msix: msix@fbe00000 {
162 compatible = "al,alpine-msix";
163 reg = <0x0 0xfbe00000 0x0 0x100000>;
164 interrupt-controller;
166 al,msi-base-spi = <96>;
167 al,msi-num-spis = <64>;