Merge branch 'topic/cs46xx-drop-fw' into for-next
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / r8a7740.dtsi
1 /*
2  * Device Tree Source for the r8a7740 SoC
3  *
4  * Copyright (C) 2012 Renesas Solutions Corp.
5  *
6  * This file is licensed under the terms of the GNU General Public License
7  * version 2.  This program is licensed "as is" without any warranty of any
8  * kind, whether express or implied.
9  */
10
11 /include/ "skeleton.dtsi"
12
13 / {
14         compatible = "renesas,r8a7740";
15
16         cpus {
17                 #address-cells = <1>;
18                 #size-cells = <0>;
19                 cpu@0 {
20                         compatible = "arm,cortex-a9";
21                         device_type = "cpu";
22                         reg = <0x0>;
23                 };
24         };
25
26         gic: interrupt-controller@c2800000 {
27                 compatible = "arm,cortex-a9-gic";
28                 #interrupt-cells = <3>;
29                 #address-cells = <1>;
30                 interrupt-controller;
31                 reg = <0xc2800000 0x1000>,
32                       <0xc2000000 0x1000>;
33         };
34
35         pmu {
36                 compatible = "arm,cortex-a9-pmu";
37                 interrupts = <0 83 4>;
38         };
39
40         /* irqpin0: IRQ0 - IRQ7 */
41         irqpin0: irqpin@e6900000 {
42                 compatible = "renesas,intc-irqpin";
43                 #interrupt-cells = <2>;
44                 interrupt-controller;
45                 reg = <0xe6900000 4>,
46                         <0xe6900010 4>,
47                         <0xe6900020 1>,
48                         <0xe6900040 1>,
49                         <0xe6900060 1>;
50                 interrupt-parent = <&gic>;
51                 interrupts = <0 149 0x4
52                               0 149 0x4
53                               0 149 0x4
54                               0 149 0x4
55                               0 149 0x4
56                               0 149 0x4
57                               0 149 0x4
58                               0 149 0x4>;
59         };
60
61         /* irqpin1: IRQ8 - IRQ15 */
62         irqpin1: irqpin@e6900004 {
63                 compatible = "renesas,intc-irqpin";
64                 #interrupt-cells = <2>;
65                 interrupt-controller;
66                 reg = <0xe6900004 4>,
67                         <0xe6900014 4>,
68                         <0xe6900024 1>,
69                         <0xe6900044 1>,
70                         <0xe6900064 1>;
71                 interrupt-parent = <&gic>;
72                 interrupts = <0 149 0x4
73                               0 149 0x4
74                               0 149 0x4
75                               0 149 0x4
76                               0 149 0x4
77                               0 149 0x4
78                               0 149 0x4
79                               0 149 0x4>;
80         };
81
82         /* irqpin2: IRQ16 - IRQ23 */
83         irqpin2: irqpin@e6900008 {
84                 compatible = "renesas,intc-irqpin";
85                 #interrupt-cells = <2>;
86                 interrupt-controller;
87                 reg = <0xe6900008 4>,
88                         <0xe6900018 4>,
89                         <0xe6900028 1>,
90                         <0xe6900048 1>,
91                         <0xe6900068 1>;
92                 interrupt-parent = <&gic>;
93                 interrupts = <0 149 0x4
94                               0 149 0x4
95                               0 149 0x4
96                               0 149 0x4
97                               0 149 0x4
98                               0 149 0x4
99                               0 149 0x4
100                               0 149 0x4>;
101         };
102
103         /* irqpin3: IRQ24 - IRQ31 */
104         irqpin3: irqpin@e690000c {
105                 compatible = "renesas,intc-irqpin";
106                 #interrupt-cells = <2>;
107                 interrupt-controller;
108                 reg = <0xe690000c 4>,
109                         <0xe690001c 4>,
110                         <0xe690002c 1>,
111                         <0xe690004c 1>,
112                         <0xe690006c 1>;
113                 interrupt-parent = <&gic>;
114                 interrupts = <0 149 0x4
115                               0 149 0x4
116                               0 149 0x4
117                               0 149 0x4
118                               0 149 0x4
119                               0 149 0x4
120                               0 149 0x4
121                               0 149 0x4>;
122         };
123
124         i2c0: i2c@fff20000 {
125                 #address-cells = <1>;
126                 #size-cells = <0>;
127                 compatible = "renesas,rmobile-iic";
128                 reg = <0xfff20000 0x425>;
129                 interrupt-parent = <&gic>;
130                 interrupts = <0 201 0x4
131                               0 202 0x4
132                               0 203 0x4
133                               0 204 0x4>;
134                 status = "disabled";
135         };
136
137         i2c1: i2c@e6c20000 {
138                 #address-cells = <1>;
139                 #size-cells = <0>;
140                 compatible = "renesas,rmobile-iic";
141                 reg = <0xe6c20000 0x425>;
142                 interrupt-parent = <&gic>;
143                 interrupts = <0 70 0x4
144                               0 71 0x4
145                               0 72 0x4
146                               0 73 0x4>;
147                 status = "disabled";
148         };
149
150         pfc: pfc@e6050000 {
151                 compatible = "renesas,pfc-r8a7740";
152                 reg = <0xe6050000 0x8000>,
153                       <0xe605800c 0x20>;
154                 gpio-controller;
155                 #gpio-cells = <2>;
156         };
157
158         tpu: pwm@e6600000 {
159                 compatible = "renesas,tpu-r8a7740", "renesas,tpu";
160                 reg = <0xe6600000 0x100>;
161                 status = "disabled";
162                 #pwm-cells = <3>;
163         };
164
165         mmcif0: mmcif@e6bd0000 {
166                 compatible = "renesas,sh-mmcif";
167                 reg = <0xe6bd0000 0x100>;
168                 interrupt-parent = <&gic>;
169                 interrupts = <0 56 4
170                                 0 57 4>;
171                 status = "disabled";
172         };
173
174         sdhi0: sdhi@e6850000 {
175                 compatible = "renesas,sdhi-r8a7740";
176                 reg = <0xe6850000 0x100>;
177                 interrupt-parent = <&gic>;
178                 interrupts = <0 117 4
179                                 0 118 4
180                                 0 119 4>;
181                 cap-sd-highspeed;
182                 cap-sdio-irq;
183                 status = "disabled";
184         };
185
186         sdhi1: sdhi@e6860000 {
187                 compatible = "renesas,sdhi-r8a7740";
188                 reg = <0xe6860000 0x100>;
189                 interrupt-parent = <&gic>;
190                 interrupts = <0 121 4
191                                 0 122 4
192                                 0 123 4>;
193                 cap-sd-highspeed;
194                 cap-sdio-irq;
195                 status = "disabled";
196         };
197 };