blob: 905f148399478aba3ade704c676b9788d3132a87 [file] [log] [blame]
Joseph Load03b1a2013-10-08 12:50:05 +08001#include <dt-bindings/interrupt-controller/arm-gic.h>
2
3#include "skeleton.dtsi"
4
5/ {
6 compatible = "nvidia,tegra124";
7 interrupt-parent = <&gic>;
8
9 gic: interrupt-controller@50041000 {
10 compatible = "arm,cortex-a15-gic";
11 #interrupt-cells = <3>;
12 interrupt-controller;
13 reg = <0x50041000 0x1000>,
14 <0x50042000 0x1000>,
15 <0x50044000 0x2000>,
16 <0x50046000 0x2000>;
17 interrupts = <GIC_PPI 9
18 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
19 };
20
21 timer@60005000 {
22 compatible = "nvidia,tegra124-timer", "nvidia,tegra20-timer";
23 reg = <0x60005000 0x400>;
24 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
25 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
26 <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
27 <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
28 <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
29 <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>;
30 };
31
32 /*
33 * There are two serial driver i.e. 8250 based simple serial
34 * driver and APB DMA based serial driver for higher baudrate
35 * and performace. To enable the 8250 based driver, the compatible
36 * is "nvidia,tegra124-uart", "nvidia,tegra20-uart" and to enable
37 * the APB DMA based serial driver, the comptible is
38 * "nvidia,tegra124-hsuart", "nvidia,tegra30-hsuart".
39 */
40 serial@70006000 {
41 compatible = "nvidia,tegra124-uart", "nvidia,tegra20-uart";
42 reg = <0x70006000 0x40>;
43 reg-shift = <2>;
44 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
45 status = "disabled";
46 };
47
48 serial@70006040 {
49 compatible = "nvidia,tegra124-uart", "nvidia,tegra20-uart";
50 reg = <0x70006040 0x40>;
51 reg-shift = <2>;
52 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
53 status = "disabled";
54 };
55
56 serial@70006200 {
57 compatible = "nvidia,tegra124-uart", "nvidia,tegra20-uart";
58 reg = <0x70006200 0x40>;
59 reg-shift = <2>;
60 interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
61 status = "disabled";
62 };
63
64 serial@70006300 {
65 compatible = "nvidia,tegra124-uart", "nvidia,tegra20-uart";
66 reg = <0x70006300 0x40>;
67 reg-shift = <2>;
68 interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
69 status = "disabled";
70 };
71
72 serial@70006400 {
73 compatible = "nvidia,tegra124-uart", "nvidia,tegra20-uart";
74 reg = <0x70006400 0x40>;
75 reg-shift = <2>;
76 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
77 status = "disabled";
78 };
79
80 rtc@7000e000 {
81 compatible = "nvidia,tegra124-rtc", "nvidia,tegra20-rtc";
82 reg = <0x7000e000 0x100>;
83 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
84 status = "disabled";
85 };
86
87 pmc@7000e400 {
88 compatible = "nvidia,tegra124-pmc";
89 reg = <0x7000e400 0x400>;
90 };
91
92 cpus {
93 #address-cells = <1>;
94 #size-cells = <0>;
95
96 cpu@0 {
97 device_type = "cpu";
98 compatible = "arm,cortex-a15";
99 reg = <0>;
100 };
101
102 cpu@1 {
103 device_type = "cpu";
104 compatible = "arm,cortex-a15";
105 reg = <1>;
106 };
107
108 cpu@2 {
109 device_type = "cpu";
110 compatible = "arm,cortex-a15";
111 reg = <2>;
112 };
113
114 cpu@3 {
115 device_type = "cpu";
116 compatible = "arm,cortex-a15";
117 reg = <3>;
118 };
119 };
120
121 timer {
122 compatible = "arm,armv7-timer";
123 interrupts = <GIC_PPI 13
124 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
125 <GIC_PPI 14
126 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
127 <GIC_PPI 11
128 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
129 <GIC_PPI 10
130 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
131 };
132};