]>
Commit | Line | Data |
---|---|---|
c58a1545 | 1 | /* |
349f556e | 2 | * Device Tree Source for Renesas r8a7779 |
c58a1545 SH |
3 | * |
4 | * Copyright (C) 2013 Renesas Solutions Corp. | |
5 | * Copyright (C) 2013 Simon Horman | |
6 | * | |
7 | * This file is licensed under the terms of the GNU General Public License | |
8 | * version 2. This program is licensed "as is" without any warranty of any | |
9 | * kind, whether express or implied. | |
10 | */ | |
11 | ||
12 | /include/ "skeleton.dtsi" | |
13 | ||
14 | / { | |
15 | compatible = "renesas,r8a7779"; | |
16 | ||
17 | cpus { | |
18 | #address-cells = <1>; | |
19 | #size-cells = <0>; | |
20 | ||
21 | cpu@0 { | |
22 | device_type = "cpu"; | |
23 | compatible = "arm,cortex-a9"; | |
24 | reg = <0>; | |
25 | }; | |
26 | cpu@1 { | |
27 | device_type = "cpu"; | |
28 | compatible = "arm,cortex-a9"; | |
29 | reg = <1>; | |
30 | }; | |
31 | cpu@2 { | |
32 | device_type = "cpu"; | |
33 | compatible = "arm,cortex-a9"; | |
34 | reg = <2>; | |
35 | }; | |
36 | cpu@3 { | |
37 | device_type = "cpu"; | |
38 | compatible = "arm,cortex-a9"; | |
39 | reg = <3>; | |
40 | }; | |
41 | }; | |
42 | ||
43 | gic: interrupt-controller@f0001000 { | |
44 | compatible = "arm,cortex-a9-gic"; | |
45 | #interrupt-cells = <3>; | |
46 | interrupt-controller; | |
47 | reg = <0xf0001000 0x1000>, | |
48 | <0xf0000100 0x100>; | |
49 | }; | |
10e8d4f6 | 50 | |
f5c771b5 LP |
51 | gpio0: gpio@ffc40000 { |
52 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; | |
53 | reg = <0xffc40000 0x2c>; | |
54 | interrupt-parent = <&gic>; | |
55 | interrupts = <0 141 0x4>; | |
56 | #gpio-cells = <2>; | |
57 | gpio-controller; | |
58 | gpio-ranges = <&pfc 0 0 32>; | |
59 | #interrupt-cells = <2>; | |
60 | interrupt-controller; | |
61 | }; | |
62 | ||
63 | gpio1: gpio@ffc41000 { | |
64 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; | |
65 | reg = <0xffc41000 0x2c>; | |
66 | interrupt-parent = <&gic>; | |
67 | interrupts = <0 142 0x4>; | |
68 | #gpio-cells = <2>; | |
69 | gpio-controller; | |
70 | gpio-ranges = <&pfc 0 32 32>; | |
71 | #interrupt-cells = <2>; | |
72 | interrupt-controller; | |
73 | }; | |
74 | ||
75 | gpio2: gpio@ffc42000 { | |
76 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; | |
77 | reg = <0xffc42000 0x2c>; | |
78 | interrupt-parent = <&gic>; | |
79 | interrupts = <0 143 0x4>; | |
80 | #gpio-cells = <2>; | |
81 | gpio-controller; | |
82 | gpio-ranges = <&pfc 0 64 32>; | |
83 | #interrupt-cells = <2>; | |
84 | interrupt-controller; | |
85 | }; | |
86 | ||
87 | gpio3: gpio@ffc43000 { | |
88 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; | |
89 | reg = <0xffc43000 0x2c>; | |
90 | interrupt-parent = <&gic>; | |
91 | interrupts = <0 144 0x4>; | |
92 | #gpio-cells = <2>; | |
93 | gpio-controller; | |
94 | gpio-ranges = <&pfc 0 96 32>; | |
95 | #interrupt-cells = <2>; | |
96 | interrupt-controller; | |
97 | }; | |
98 | ||
99 | gpio4: gpio@ffc44000 { | |
100 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; | |
101 | reg = <0xffc44000 0x2c>; | |
102 | interrupt-parent = <&gic>; | |
103 | interrupts = <0 145 0x4>; | |
104 | #gpio-cells = <2>; | |
105 | gpio-controller; | |
106 | gpio-ranges = <&pfc 0 128 32>; | |
107 | #interrupt-cells = <2>; | |
108 | interrupt-controller; | |
109 | }; | |
110 | ||
111 | gpio5: gpio@ffc45000 { | |
112 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; | |
113 | reg = <0xffc45000 0x2c>; | |
114 | interrupt-parent = <&gic>; | |
115 | interrupts = <0 146 0x4>; | |
116 | #gpio-cells = <2>; | |
117 | gpio-controller; | |
118 | gpio-ranges = <&pfc 0 160 32>; | |
119 | #interrupt-cells = <2>; | |
120 | interrupt-controller; | |
121 | }; | |
122 | ||
123 | gpio6: gpio@ffc46000 { | |
124 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; | |
125 | reg = <0xffc46000 0x2c>; | |
126 | interrupt-parent = <&gic>; | |
127 | interrupts = <0 147 0x4>; | |
128 | #gpio-cells = <2>; | |
129 | gpio-controller; | |
130 | gpio-ranges = <&pfc 0 192 9>; | |
131 | #interrupt-cells = <2>; | |
132 | interrupt-controller; | |
133 | }; | |
134 | ||
24603f3c GL |
135 | irqpin0: irqpin@fe780010 { |
136 | compatible = "renesas,intc-irqpin"; | |
137 | #interrupt-cells = <2>; | |
84b47dfc | 138 | status = "disabled"; |
24603f3c GL |
139 | interrupt-controller; |
140 | reg = <0xfe78001c 4>, | |
141 | <0xfe780010 4>, | |
142 | <0xfe780024 4>, | |
143 | <0xfe780044 4>, | |
144 | <0xfe780064 4>; | |
145 | interrupt-parent = <&gic>; | |
146 | interrupts = <0 27 0x4 | |
147 | 0 28 0x4 | |
148 | 0 29 0x4 | |
149 | 0 30 0x4>; | |
150 | sense-bitfield-width = <2>; | |
151 | }; | |
152 | ||
98724b7e | 153 | i2c0: i2c@ffc70000 { |
10e8d4f6 SH |
154 | #address-cells = <1>; |
155 | #size-cells = <0>; | |
156 | compatible = "renesas,rmobile-iic"; | |
157 | reg = <0xffc70000 0x1000>; | |
158 | interrupt-parent = <&gic>; | |
159 | interrupts = <0 79 0x4>; | |
eda3a4fa | 160 | status = "disabled"; |
10e8d4f6 SH |
161 | }; |
162 | ||
98724b7e | 163 | i2c1: i2c@ffc71000 { |
10e8d4f6 SH |
164 | #address-cells = <1>; |
165 | #size-cells = <0>; | |
166 | compatible = "renesas,rmobile-iic"; | |
167 | reg = <0xffc71000 0x1000>; | |
168 | interrupt-parent = <&gic>; | |
169 | interrupts = <0 82 0x4>; | |
eda3a4fa | 170 | status = "disabled"; |
10e8d4f6 SH |
171 | }; |
172 | ||
98724b7e | 173 | i2c2: i2c@ffc72000 { |
10e8d4f6 SH |
174 | #address-cells = <1>; |
175 | #size-cells = <0>; | |
176 | compatible = "renesas,rmobile-iic"; | |
177 | reg = <0xffc72000 0x1000>; | |
178 | interrupt-parent = <&gic>; | |
179 | interrupts = <0 80 0x4>; | |
eda3a4fa | 180 | status = "disabled"; |
10e8d4f6 SH |
181 | }; |
182 | ||
98724b7e | 183 | i2c3: i2c@ffc73000 { |
10e8d4f6 SH |
184 | #address-cells = <1>; |
185 | #size-cells = <0>; | |
186 | compatible = "renesas,rmobile-iic"; | |
187 | reg = <0xffc73000 0x1000>; | |
188 | interrupt-parent = <&gic>; | |
189 | interrupts = <0 81 0x4>; | |
eda3a4fa | 190 | status = "disabled"; |
10e8d4f6 | 191 | }; |
25a65975 | 192 | |
3ab03d01 LP |
193 | pfc: pfc@fffc0000 { |
194 | compatible = "renesas,pfc-r8a7779"; | |
195 | reg = <0xfffc0000 0x23c>; | |
196 | }; | |
197 | ||
25a65975 KM |
198 | thermal@ffc48000 { |
199 | compatible = "renesas,rcar-thermal"; | |
200 | reg = <0xffc48000 0x38>; | |
201 | }; | |
7840a65a VB |
202 | |
203 | sata: sata@fc600000 { | |
204 | compatible = "renesas,rcar-sata"; | |
205 | reg = <0xfc600000 0x2000>; | |
206 | interrupt-parent = <&gic>; | |
207 | interrupts = <0 100 0x4>; | |
208 | }; | |
c58a1545 | 209 | }; |