Magnus Damm | 755d57b | 2012-07-06 17:08:07 +0900 | [diff] [blame] | 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 | |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame^] | 13 | #include <dt-bindings/interrupt-controller/irq.h> |
| 14 | |
Magnus Damm | 755d57b | 2012-07-06 17:08:07 +0900 | [diff] [blame] | 15 | / { |
| 16 | compatible = "renesas,r8a7740"; |
| 17 | |
| 18 | cpus { |
Lorenzo Pieralisi | b403201 | 2013-04-18 18:39:50 +0100 | [diff] [blame] | 19 | #address-cells = <1>; |
| 20 | #size-cells = <0>; |
Magnus Damm | 755d57b | 2012-07-06 17:08:07 +0900 | [diff] [blame] | 21 | cpu@0 { |
| 22 | compatible = "arm,cortex-a9"; |
Lorenzo Pieralisi | b403201 | 2013-04-18 18:39:50 +0100 | [diff] [blame] | 23 | device_type = "cpu"; |
| 24 | reg = <0x0>; |
Magnus Damm | 755d57b | 2012-07-06 17:08:07 +0900 | [diff] [blame] | 25 | }; |
| 26 | }; |
Bastian Hecht | 744fdc8 | 2013-04-17 12:34:05 +0200 | [diff] [blame] | 27 | |
| 28 | gic: interrupt-controller@c2800000 { |
| 29 | compatible = "arm,cortex-a9-gic"; |
| 30 | #interrupt-cells = <3>; |
| 31 | #address-cells = <1>; |
| 32 | interrupt-controller; |
| 33 | reg = <0xc2800000 0x1000>, |
| 34 | <0xc2000000 0x1000>; |
| 35 | }; |
| 36 | |
Magnus Damm | b21ed4e | 2013-07-24 12:59:09 +0900 | [diff] [blame] | 37 | pmu { |
| 38 | compatible = "arm,cortex-a9-pmu"; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame^] | 39 | interrupts = <0 83 IRQ_TYPE_LEVEL_HIGH>; |
Magnus Damm | b21ed4e | 2013-07-24 12:59:09 +0900 | [diff] [blame] | 40 | }; |
| 41 | |
Bastian Hecht | 744fdc8 | 2013-04-17 12:34:05 +0200 | [diff] [blame] | 42 | /* irqpin0: IRQ0 - IRQ7 */ |
| 43 | irqpin0: irqpin@e6900000 { |
| 44 | compatible = "renesas,intc-irqpin"; |
| 45 | #interrupt-cells = <2>; |
| 46 | interrupt-controller; |
| 47 | reg = <0xe6900000 4>, |
| 48 | <0xe6900010 4>, |
| 49 | <0xe6900020 1>, |
| 50 | <0xe6900040 1>, |
| 51 | <0xe6900060 1>; |
| 52 | interrupt-parent = <&gic>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame^] | 53 | interrupts = <0 149 IRQ_TYPE_LEVEL_HIGH |
| 54 | 0 149 IRQ_TYPE_LEVEL_HIGH |
| 55 | 0 149 IRQ_TYPE_LEVEL_HIGH |
| 56 | 0 149 IRQ_TYPE_LEVEL_HIGH |
| 57 | 0 149 IRQ_TYPE_LEVEL_HIGH |
| 58 | 0 149 IRQ_TYPE_LEVEL_HIGH |
| 59 | 0 149 IRQ_TYPE_LEVEL_HIGH |
| 60 | 0 149 IRQ_TYPE_LEVEL_HIGH>; |
Bastian Hecht | 744fdc8 | 2013-04-17 12:34:05 +0200 | [diff] [blame] | 61 | }; |
| 62 | |
| 63 | /* irqpin1: IRQ8 - IRQ15 */ |
| 64 | irqpin1: irqpin@e6900004 { |
| 65 | compatible = "renesas,intc-irqpin"; |
| 66 | #interrupt-cells = <2>; |
| 67 | interrupt-controller; |
| 68 | reg = <0xe6900004 4>, |
| 69 | <0xe6900014 4>, |
| 70 | <0xe6900024 1>, |
| 71 | <0xe6900044 1>, |
| 72 | <0xe6900064 1>; |
| 73 | interrupt-parent = <&gic>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame^] | 74 | interrupts = <0 149 IRQ_TYPE_LEVEL_HIGH |
| 75 | 0 149 IRQ_TYPE_LEVEL_HIGH |
| 76 | 0 149 IRQ_TYPE_LEVEL_HIGH |
| 77 | 0 149 IRQ_TYPE_LEVEL_HIGH |
| 78 | 0 149 IRQ_TYPE_LEVEL_HIGH |
| 79 | 0 149 IRQ_TYPE_LEVEL_HIGH |
| 80 | 0 149 IRQ_TYPE_LEVEL_HIGH |
| 81 | 0 149 IRQ_TYPE_LEVEL_HIGH>; |
Bastian Hecht | 744fdc8 | 2013-04-17 12:34:05 +0200 | [diff] [blame] | 82 | }; |
| 83 | |
| 84 | /* irqpin2: IRQ16 - IRQ23 */ |
| 85 | irqpin2: irqpin@e6900008 { |
| 86 | compatible = "renesas,intc-irqpin"; |
| 87 | #interrupt-cells = <2>; |
| 88 | interrupt-controller; |
| 89 | reg = <0xe6900008 4>, |
| 90 | <0xe6900018 4>, |
| 91 | <0xe6900028 1>, |
| 92 | <0xe6900048 1>, |
| 93 | <0xe6900068 1>; |
| 94 | interrupt-parent = <&gic>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame^] | 95 | interrupts = <0 149 IRQ_TYPE_LEVEL_HIGH |
| 96 | 0 149 IRQ_TYPE_LEVEL_HIGH |
| 97 | 0 149 IRQ_TYPE_LEVEL_HIGH |
| 98 | 0 149 IRQ_TYPE_LEVEL_HIGH |
| 99 | 0 149 IRQ_TYPE_LEVEL_HIGH |
| 100 | 0 149 IRQ_TYPE_LEVEL_HIGH |
| 101 | 0 149 IRQ_TYPE_LEVEL_HIGH |
| 102 | 0 149 IRQ_TYPE_LEVEL_HIGH>; |
Bastian Hecht | 744fdc8 | 2013-04-17 12:34:05 +0200 | [diff] [blame] | 103 | }; |
| 104 | |
| 105 | /* irqpin3: IRQ24 - IRQ31 */ |
| 106 | irqpin3: irqpin@e690000c { |
| 107 | compatible = "renesas,intc-irqpin"; |
| 108 | #interrupt-cells = <2>; |
| 109 | interrupt-controller; |
| 110 | reg = <0xe690000c 4>, |
| 111 | <0xe690001c 4>, |
| 112 | <0xe690002c 1>, |
| 113 | <0xe690004c 1>, |
| 114 | <0xe690006c 1>; |
| 115 | interrupt-parent = <&gic>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame^] | 116 | interrupts = <0 149 IRQ_TYPE_LEVEL_HIGH |
| 117 | 0 149 IRQ_TYPE_LEVEL_HIGH |
| 118 | 0 149 IRQ_TYPE_LEVEL_HIGH |
| 119 | 0 149 IRQ_TYPE_LEVEL_HIGH |
| 120 | 0 149 IRQ_TYPE_LEVEL_HIGH |
| 121 | 0 149 IRQ_TYPE_LEVEL_HIGH |
| 122 | 0 149 IRQ_TYPE_LEVEL_HIGH |
| 123 | 0 149 IRQ_TYPE_LEVEL_HIGH>; |
Bastian Hecht | 744fdc8 | 2013-04-17 12:34:05 +0200 | [diff] [blame] | 124 | }; |
| 125 | |
| 126 | i2c0: i2c@fff20000 { |
| 127 | #address-cells = <1>; |
| 128 | #size-cells = <0>; |
| 129 | compatible = "renesas,rmobile-iic"; |
| 130 | reg = <0xfff20000 0x425>; |
| 131 | interrupt-parent = <&gic>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame^] | 132 | interrupts = <0 201 IRQ_TYPE_LEVEL_HIGH |
| 133 | 0 202 IRQ_TYPE_LEVEL_HIGH |
| 134 | 0 203 IRQ_TYPE_LEVEL_HIGH |
| 135 | 0 204 IRQ_TYPE_LEVEL_HIGH>; |
Guennadi Liakhovetski | eda3a4f | 2013-09-26 13:06:01 +0200 | [diff] [blame] | 136 | status = "disabled"; |
Bastian Hecht | 744fdc8 | 2013-04-17 12:34:05 +0200 | [diff] [blame] | 137 | }; |
| 138 | |
| 139 | i2c1: i2c@e6c20000 { |
| 140 | #address-cells = <1>; |
| 141 | #size-cells = <0>; |
| 142 | compatible = "renesas,rmobile-iic"; |
| 143 | reg = <0xe6c20000 0x425>; |
| 144 | interrupt-parent = <&gic>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame^] | 145 | interrupts = <0 70 IRQ_TYPE_LEVEL_HIGH |
| 146 | 0 71 IRQ_TYPE_LEVEL_HIGH |
| 147 | 0 72 IRQ_TYPE_LEVEL_HIGH |
| 148 | 0 73 IRQ_TYPE_LEVEL_HIGH>; |
Guennadi Liakhovetski | eda3a4f | 2013-09-26 13:06:01 +0200 | [diff] [blame] | 149 | status = "disabled"; |
Bastian Hecht | 744fdc8 | 2013-04-17 12:34:05 +0200 | [diff] [blame] | 150 | }; |
Laurent Pinchart | f36218d | 2012-11-20 14:02:54 +0100 | [diff] [blame] | 151 | |
| 152 | pfc: pfc@e6050000 { |
| 153 | compatible = "renesas,pfc-r8a7740"; |
| 154 | reg = <0xe6050000 0x8000>, |
| 155 | <0xe605800c 0x20>; |
| 156 | gpio-controller; |
| 157 | #gpio-cells = <2>; |
| 158 | }; |
Linus Torvalds | fa91515 | 2013-09-09 16:33:57 -0700 | [diff] [blame] | 159 | |
Laurent Pinchart | 8b3e32c | 2013-07-26 00:51:00 +0200 | [diff] [blame] | 160 | tpu: pwm@e6600000 { |
| 161 | compatible = "renesas,tpu-r8a7740", "renesas,tpu"; |
| 162 | reg = <0xe6600000 0x100>; |
| 163 | status = "disabled"; |
| 164 | #pwm-cells = <3>; |
| 165 | }; |
Guennadi Liakhovetski | e99d796 | 2013-09-27 10:02:57 +0200 | [diff] [blame] | 166 | |
Kuninori Morimoto | 7d90789 | 2013-10-21 19:35:08 -0700 | [diff] [blame] | 167 | mmcif0: mmc@e6bd0000 { |
Guennadi Liakhovetski | e99d796 | 2013-09-27 10:02:57 +0200 | [diff] [blame] | 168 | compatible = "renesas,sh-mmcif"; |
| 169 | reg = <0xe6bd0000 0x100>; |
| 170 | interrupt-parent = <&gic>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame^] | 171 | interrupts = <0 56 IRQ_TYPE_LEVEL_HIGH |
| 172 | 0 57 IRQ_TYPE_LEVEL_HIGH>; |
Guennadi Liakhovetski | e99d796 | 2013-09-27 10:02:57 +0200 | [diff] [blame] | 173 | status = "disabled"; |
| 174 | }; |
| 175 | |
Kuninori Morimoto | 7d90789 | 2013-10-21 19:35:08 -0700 | [diff] [blame] | 176 | sdhi0: sd@e6850000 { |
Guennadi Liakhovetski | e99d796 | 2013-09-27 10:02:57 +0200 | [diff] [blame] | 177 | compatible = "renesas,sdhi-r8a7740"; |
| 178 | reg = <0xe6850000 0x100>; |
| 179 | interrupt-parent = <&gic>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame^] | 180 | interrupts = <0 117 IRQ_TYPE_LEVEL_HIGH |
| 181 | 0 118 IRQ_TYPE_LEVEL_HIGH |
| 182 | 0 119 IRQ_TYPE_LEVEL_HIGH>; |
Guennadi Liakhovetski | e99d796 | 2013-09-27 10:02:57 +0200 | [diff] [blame] | 183 | cap-sd-highspeed; |
| 184 | cap-sdio-irq; |
| 185 | status = "disabled"; |
| 186 | }; |
| 187 | |
Kuninori Morimoto | 7d90789 | 2013-10-21 19:35:08 -0700 | [diff] [blame] | 188 | sdhi1: sd@e6860000 { |
Guennadi Liakhovetski | e99d796 | 2013-09-27 10:02:57 +0200 | [diff] [blame] | 189 | compatible = "renesas,sdhi-r8a7740"; |
| 190 | reg = <0xe6860000 0x100>; |
| 191 | interrupt-parent = <&gic>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame^] | 192 | interrupts = <0 121 IRQ_TYPE_LEVEL_HIGH |
| 193 | 0 122 IRQ_TYPE_LEVEL_HIGH |
| 194 | 0 123 IRQ_TYPE_LEVEL_HIGH>; |
Guennadi Liakhovetski | e99d796 | 2013-09-27 10:02:57 +0200 | [diff] [blame] | 195 | cap-sd-highspeed; |
| 196 | cap-sdio-irq; |
| 197 | status = "disabled"; |
| 198 | }; |
Kuninori Morimoto | 7d90789 | 2013-10-21 19:35:08 -0700 | [diff] [blame] | 199 | |
| 200 | sdhi2: sd@e6870000 { |
| 201 | compatible = "renesas,sdhi-r8a7740"; |
| 202 | reg = <0xe6870000 0x100>; |
| 203 | interrupt-parent = <&gic>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame^] | 204 | interrupts = <0 125 IRQ_TYPE_LEVEL_HIGH |
| 205 | 0 126 IRQ_TYPE_LEVEL_HIGH |
| 206 | 0 127 IRQ_TYPE_LEVEL_HIGH>; |
Kuninori Morimoto | 7d90789 | 2013-10-21 19:35:08 -0700 | [diff] [blame] | 207 | cap-sd-highspeed; |
| 208 | cap-sdio-irq; |
| 209 | status = "disabled"; |
| 210 | }; |
Magnus Damm | 755d57b | 2012-07-06 17:08:07 +0900 | [diff] [blame] | 211 | }; |