Magnus Damm | 0468b2d | 2013-03-28 00:49:34 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree Source for the r8a7790 SoC |
| 3 | * |
Sergei Shtylyov | d8913c6 | 2014-02-20 02:20:43 +0300 | [diff] [blame] | 4 | * Copyright (C) 2013-2014 Renesas Solutions Corp. |
| 5 | * Copyright (C) 2014 Cogent Embedded Inc. |
Magnus Damm | 0468b2d | 2013-03-28 00:49:34 +0900 | [diff] [blame] | 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 | |
Laurent Pinchart | 22a1f59 | 2013-12-11 15:05:14 +0100 | [diff] [blame] | 12 | #include <dt-bindings/clock/r8a7790-clock.h> |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 13 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
| 14 | #include <dt-bindings/interrupt-controller/irq.h> |
| 15 | |
Magnus Damm | 0468b2d | 2013-03-28 00:49:34 +0900 | [diff] [blame] | 16 | / { |
| 17 | compatible = "renesas,r8a7790"; |
| 18 | interrupt-parent = <&gic>; |
Takashi Yoshii | 8585deb | 2013-03-29 16:49:17 +0900 | [diff] [blame] | 19 | #address-cells = <2>; |
| 20 | #size-cells = <2>; |
Magnus Damm | 0468b2d | 2013-03-28 00:49:34 +0900 | [diff] [blame] | 21 | |
Wolfram Sang | 6b1d7c6 | 2014-02-16 10:40:58 +0100 | [diff] [blame] | 22 | aliases { |
| 23 | i2c0 = &i2c0; |
| 24 | i2c1 = &i2c1; |
| 25 | i2c2 = &i2c2; |
| 26 | i2c3 = &i2c3; |
Wolfram Sang | 05f3991 | 2014-03-25 19:56:29 +0100 | [diff] [blame] | 27 | i2c4 = &iic0; |
| 28 | i2c5 = &iic1; |
| 29 | i2c6 = &iic2; |
| 30 | i2c7 = &iic3; |
Geert Uytterhoeven | fad6d45 | 2014-02-25 11:30:13 +0100 | [diff] [blame] | 31 | spi0 = &qspi; |
Geert Uytterhoeven | ae8a614 | 2014-02-25 11:30:15 +0100 | [diff] [blame] | 32 | spi1 = &msiof0; |
| 33 | spi2 = &msiof1; |
| 34 | spi3 = &msiof2; |
| 35 | spi4 = &msiof3; |
Wolfram Sang | 6b1d7c6 | 2014-02-16 10:40:58 +0100 | [diff] [blame] | 36 | }; |
| 37 | |
Magnus Damm | 0468b2d | 2013-03-28 00:49:34 +0900 | [diff] [blame] | 38 | cpus { |
| 39 | #address-cells = <1>; |
| 40 | #size-cells = <0>; |
| 41 | |
| 42 | cpu0: cpu@0 { |
| 43 | device_type = "cpu"; |
| 44 | compatible = "arm,cortex-a15"; |
| 45 | reg = <0>; |
| 46 | clock-frequency = <1300000000>; |
Benoit Cousson | b989e13 | 2014-06-03 21:02:24 +0900 | [diff] [blame] | 47 | voltage-tolerance = <1>; /* 1% */ |
| 48 | clocks = <&cpg_clocks R8A7790_CLK_Z>; |
| 49 | clock-latency = <300000>; /* 300 us */ |
| 50 | |
| 51 | /* kHz - uV - OPPs unknown yet */ |
| 52 | operating-points = <1400000 1000000>, |
| 53 | <1225000 1000000>, |
| 54 | <1050000 1000000>, |
| 55 | < 875000 1000000>, |
| 56 | < 700000 1000000>, |
| 57 | < 350000 1000000>; |
Magnus Damm | 0468b2d | 2013-03-28 00:49:34 +0900 | [diff] [blame] | 58 | }; |
Magnus Damm | c1f9597 | 2013-08-29 08:22:17 +0900 | [diff] [blame] | 59 | |
| 60 | cpu1: cpu@1 { |
| 61 | device_type = "cpu"; |
| 62 | compatible = "arm,cortex-a15"; |
| 63 | reg = <1>; |
| 64 | clock-frequency = <1300000000>; |
| 65 | }; |
| 66 | |
| 67 | cpu2: cpu@2 { |
| 68 | device_type = "cpu"; |
| 69 | compatible = "arm,cortex-a15"; |
| 70 | reg = <2>; |
| 71 | clock-frequency = <1300000000>; |
| 72 | }; |
| 73 | |
| 74 | cpu3: cpu@3 { |
| 75 | device_type = "cpu"; |
| 76 | compatible = "arm,cortex-a15"; |
| 77 | reg = <3>; |
| 78 | clock-frequency = <1300000000>; |
| 79 | }; |
Magnus Damm | 2007e74 | 2013-09-15 00:28:58 +0900 | [diff] [blame] | 80 | |
| 81 | cpu4: cpu@4 { |
| 82 | device_type = "cpu"; |
| 83 | compatible = "arm,cortex-a7"; |
| 84 | reg = <0x100>; |
| 85 | clock-frequency = <780000000>; |
| 86 | }; |
| 87 | |
| 88 | cpu5: cpu@5 { |
| 89 | device_type = "cpu"; |
| 90 | compatible = "arm,cortex-a7"; |
| 91 | reg = <0x101>; |
| 92 | clock-frequency = <780000000>; |
| 93 | }; |
| 94 | |
| 95 | cpu6: cpu@6 { |
| 96 | device_type = "cpu"; |
| 97 | compatible = "arm,cortex-a7"; |
| 98 | reg = <0x102>; |
| 99 | clock-frequency = <780000000>; |
| 100 | }; |
| 101 | |
| 102 | cpu7: cpu@7 { |
| 103 | device_type = "cpu"; |
| 104 | compatible = "arm,cortex-a7"; |
| 105 | reg = <0x103>; |
| 106 | clock-frequency = <780000000>; |
| 107 | }; |
Magnus Damm | 0468b2d | 2013-03-28 00:49:34 +0900 | [diff] [blame] | 108 | }; |
| 109 | |
| 110 | gic: interrupt-controller@f1001000 { |
| 111 | compatible = "arm,cortex-a15-gic"; |
| 112 | #interrupt-cells = <3>; |
| 113 | #address-cells = <0>; |
| 114 | interrupt-controller; |
Takashi Yoshii | 8585deb | 2013-03-29 16:49:17 +0900 | [diff] [blame] | 115 | reg = <0 0xf1001000 0 0x1000>, |
| 116 | <0 0xf1002000 0 0x1000>, |
| 117 | <0 0xf1004000 0 0x2000>, |
| 118 | <0 0xf1006000 0 0x2000>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 119 | interrupts = <1 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; |
Magnus Damm | 0468b2d | 2013-03-28 00:49:34 +0900 | [diff] [blame] | 120 | }; |
| 121 | |
Magnus Damm | 23de227 | 2013-11-21 14:19:29 +0900 | [diff] [blame] | 122 | gpio0: gpio@e6050000 { |
Laurent Pinchart | f98e10c | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 123 | compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar"; |
Magnus Damm | 23de227 | 2013-11-21 14:19:29 +0900 | [diff] [blame] | 124 | reg = <0 0xe6050000 0 0x50>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 125 | interrupts = <0 4 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | f98e10c | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 126 | #gpio-cells = <2>; |
| 127 | gpio-controller; |
| 128 | gpio-ranges = <&pfc 0 0 32>; |
| 129 | #interrupt-cells = <2>; |
| 130 | interrupt-controller; |
Geert Uytterhoeven | 81f6883 | 2014-04-23 10:25:27 +0200 | [diff] [blame] | 131 | clocks = <&mstp9_clks R8A7790_CLK_GPIO0>; |
Laurent Pinchart | f98e10c | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 132 | }; |
| 133 | |
Magnus Damm | 23de227 | 2013-11-21 14:19:29 +0900 | [diff] [blame] | 134 | gpio1: gpio@e6051000 { |
Laurent Pinchart | f98e10c | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 135 | compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar"; |
Magnus Damm | 23de227 | 2013-11-21 14:19:29 +0900 | [diff] [blame] | 136 | reg = <0 0xe6051000 0 0x50>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 137 | interrupts = <0 5 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | f98e10c | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 138 | #gpio-cells = <2>; |
| 139 | gpio-controller; |
| 140 | gpio-ranges = <&pfc 0 32 32>; |
| 141 | #interrupt-cells = <2>; |
| 142 | interrupt-controller; |
Geert Uytterhoeven | 81f6883 | 2014-04-23 10:25:27 +0200 | [diff] [blame] | 143 | clocks = <&mstp9_clks R8A7790_CLK_GPIO1>; |
Laurent Pinchart | f98e10c | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 144 | }; |
| 145 | |
Magnus Damm | 23de227 | 2013-11-21 14:19:29 +0900 | [diff] [blame] | 146 | gpio2: gpio@e6052000 { |
Laurent Pinchart | f98e10c | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 147 | compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar"; |
Magnus Damm | 23de227 | 2013-11-21 14:19:29 +0900 | [diff] [blame] | 148 | reg = <0 0xe6052000 0 0x50>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 149 | interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | f98e10c | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 150 | #gpio-cells = <2>; |
| 151 | gpio-controller; |
| 152 | gpio-ranges = <&pfc 0 64 32>; |
| 153 | #interrupt-cells = <2>; |
| 154 | interrupt-controller; |
Geert Uytterhoeven | 81f6883 | 2014-04-23 10:25:27 +0200 | [diff] [blame] | 155 | clocks = <&mstp9_clks R8A7790_CLK_GPIO2>; |
Laurent Pinchart | f98e10c | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 156 | }; |
| 157 | |
Magnus Damm | 23de227 | 2013-11-21 14:19:29 +0900 | [diff] [blame] | 158 | gpio3: gpio@e6053000 { |
Laurent Pinchart | f98e10c | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 159 | compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar"; |
Magnus Damm | 23de227 | 2013-11-21 14:19:29 +0900 | [diff] [blame] | 160 | reg = <0 0xe6053000 0 0x50>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 161 | interrupts = <0 7 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | f98e10c | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 162 | #gpio-cells = <2>; |
| 163 | gpio-controller; |
| 164 | gpio-ranges = <&pfc 0 96 32>; |
| 165 | #interrupt-cells = <2>; |
| 166 | interrupt-controller; |
Geert Uytterhoeven | 81f6883 | 2014-04-23 10:25:27 +0200 | [diff] [blame] | 167 | clocks = <&mstp9_clks R8A7790_CLK_GPIO3>; |
Laurent Pinchart | f98e10c | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 168 | }; |
| 169 | |
Magnus Damm | 23de227 | 2013-11-21 14:19:29 +0900 | [diff] [blame] | 170 | gpio4: gpio@e6054000 { |
Laurent Pinchart | f98e10c | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 171 | compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar"; |
Magnus Damm | 23de227 | 2013-11-21 14:19:29 +0900 | [diff] [blame] | 172 | reg = <0 0xe6054000 0 0x50>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 173 | interrupts = <0 8 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | f98e10c | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 174 | #gpio-cells = <2>; |
| 175 | gpio-controller; |
| 176 | gpio-ranges = <&pfc 0 128 32>; |
| 177 | #interrupt-cells = <2>; |
| 178 | interrupt-controller; |
Geert Uytterhoeven | 81f6883 | 2014-04-23 10:25:27 +0200 | [diff] [blame] | 179 | clocks = <&mstp9_clks R8A7790_CLK_GPIO4>; |
Laurent Pinchart | f98e10c | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 180 | }; |
| 181 | |
Magnus Damm | 23de227 | 2013-11-21 14:19:29 +0900 | [diff] [blame] | 182 | gpio5: gpio@e6055000 { |
Laurent Pinchart | f98e10c | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 183 | compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar"; |
Magnus Damm | 23de227 | 2013-11-21 14:19:29 +0900 | [diff] [blame] | 184 | reg = <0 0xe6055000 0 0x50>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 185 | interrupts = <0 9 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | f98e10c | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 186 | #gpio-cells = <2>; |
| 187 | gpio-controller; |
| 188 | gpio-ranges = <&pfc 0 160 32>; |
| 189 | #interrupt-cells = <2>; |
| 190 | interrupt-controller; |
Geert Uytterhoeven | 81f6883 | 2014-04-23 10:25:27 +0200 | [diff] [blame] | 191 | clocks = <&mstp9_clks R8A7790_CLK_GPIO5>; |
Laurent Pinchart | f98e10c | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 192 | }; |
| 193 | |
Magnus Damm | 03e2f56 | 2013-11-20 16:59:30 +0900 | [diff] [blame] | 194 | thermal@e61f0000 { |
| 195 | compatible = "renesas,thermal-r8a7790", "renesas,rcar-thermal"; |
| 196 | reg = <0 0xe61f0000 0 0x14>, <0 0xe61f0100 0 0x38>; |
Magnus Damm | 03e2f56 | 2013-11-20 16:59:30 +0900 | [diff] [blame] | 197 | interrupts = <0 69 IRQ_TYPE_LEVEL_HIGH>; |
Geert Uytterhoeven | d3a439d | 2014-01-07 19:57:14 +0100 | [diff] [blame] | 198 | clocks = <&mstp5_clks R8A7790_CLK_THERMAL>; |
Magnus Damm | 03e2f56 | 2013-11-20 16:59:30 +0900 | [diff] [blame] | 199 | }; |
| 200 | |
Magnus Damm | 0468b2d | 2013-03-28 00:49:34 +0900 | [diff] [blame] | 201 | timer { |
| 202 | compatible = "arm,armv7-timer"; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 203 | interrupts = <1 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, |
| 204 | <1 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, |
| 205 | <1 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, |
| 206 | <1 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; |
Magnus Damm | 0468b2d | 2013-03-28 00:49:34 +0900 | [diff] [blame] | 207 | }; |
Magnus Damm | 8f5ec0a | 2013-03-28 00:49:54 +0900 | [diff] [blame] | 208 | |
| 209 | irqc0: interrupt-controller@e61c0000 { |
Magnus Damm | 220fc35 | 2013-11-20 09:07:40 +0900 | [diff] [blame] | 210 | compatible = "renesas,irqc-r8a7790", "renesas,irqc"; |
Magnus Damm | 8f5ec0a | 2013-03-28 00:49:54 +0900 | [diff] [blame] | 211 | #interrupt-cells = <2>; |
| 212 | interrupt-controller; |
Takashi Yoshii | 8585deb | 2013-03-29 16:49:17 +0900 | [diff] [blame] | 213 | reg = <0 0xe61c0000 0 0x200>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 214 | interrupts = <0 0 IRQ_TYPE_LEVEL_HIGH>, |
| 215 | <0 1 IRQ_TYPE_LEVEL_HIGH>, |
| 216 | <0 2 IRQ_TYPE_LEVEL_HIGH>, |
| 217 | <0 3 IRQ_TYPE_LEVEL_HIGH>; |
Magnus Damm | 8f5ec0a | 2013-03-28 00:49:54 +0900 | [diff] [blame] | 218 | }; |
Guennadi Liakhovetski | 8c9b1aa | 2013-07-08 17:54:46 +0200 | [diff] [blame] | 219 | |
Laurent Pinchart | b9fea49 | 2014-07-19 01:50:24 +0200 | [diff] [blame^] | 220 | dmac0: dma-controller@e6700000 { |
| 221 | compatible = "renesas,rcar-dmac"; |
| 222 | reg = <0 0xe6700000 0 0x20000>; |
| 223 | interrupts = <0 197 IRQ_TYPE_LEVEL_HIGH |
| 224 | 0 200 IRQ_TYPE_LEVEL_HIGH |
| 225 | 0 201 IRQ_TYPE_LEVEL_HIGH |
| 226 | 0 202 IRQ_TYPE_LEVEL_HIGH |
| 227 | 0 203 IRQ_TYPE_LEVEL_HIGH |
| 228 | 0 204 IRQ_TYPE_LEVEL_HIGH |
| 229 | 0 205 IRQ_TYPE_LEVEL_HIGH |
| 230 | 0 206 IRQ_TYPE_LEVEL_HIGH |
| 231 | 0 207 IRQ_TYPE_LEVEL_HIGH |
| 232 | 0 208 IRQ_TYPE_LEVEL_HIGH |
| 233 | 0 209 IRQ_TYPE_LEVEL_HIGH |
| 234 | 0 210 IRQ_TYPE_LEVEL_HIGH |
| 235 | 0 211 IRQ_TYPE_LEVEL_HIGH |
| 236 | 0 212 IRQ_TYPE_LEVEL_HIGH |
| 237 | 0 213 IRQ_TYPE_LEVEL_HIGH |
| 238 | 0 214 IRQ_TYPE_LEVEL_HIGH>; |
| 239 | interrupt-names = "error", |
| 240 | "ch0", "ch1", "ch2", "ch3", |
| 241 | "ch4", "ch5", "ch6", "ch7", |
| 242 | "ch8", "ch9", "ch10", "ch11", |
| 243 | "ch12", "ch13", "ch14"; |
| 244 | clocks = <&mstp2_clks R8A7790_CLK_SYS_DMAC0>; |
| 245 | clock-names = "fck"; |
| 246 | #dma-cells = <1>; |
| 247 | dma-channels = <15>; |
| 248 | }; |
| 249 | |
| 250 | dmac1: dma-controller@e6720000 { |
| 251 | compatible = "renesas,rcar-dmac"; |
| 252 | reg = <0 0xe6720000 0 0x20000>; |
| 253 | interrupts = <0 220 IRQ_TYPE_LEVEL_HIGH |
| 254 | 0 216 IRQ_TYPE_LEVEL_HIGH |
| 255 | 0 217 IRQ_TYPE_LEVEL_HIGH |
| 256 | 0 218 IRQ_TYPE_LEVEL_HIGH |
| 257 | 0 219 IRQ_TYPE_LEVEL_HIGH |
| 258 | 0 308 IRQ_TYPE_LEVEL_HIGH |
| 259 | 0 309 IRQ_TYPE_LEVEL_HIGH |
| 260 | 0 310 IRQ_TYPE_LEVEL_HIGH |
| 261 | 0 311 IRQ_TYPE_LEVEL_HIGH |
| 262 | 0 312 IRQ_TYPE_LEVEL_HIGH |
| 263 | 0 313 IRQ_TYPE_LEVEL_HIGH |
| 264 | 0 314 IRQ_TYPE_LEVEL_HIGH |
| 265 | 0 315 IRQ_TYPE_LEVEL_HIGH |
| 266 | 0 316 IRQ_TYPE_LEVEL_HIGH |
| 267 | 0 317 IRQ_TYPE_LEVEL_HIGH |
| 268 | 0 318 IRQ_TYPE_LEVEL_HIGH>; |
| 269 | interrupt-names = "error", |
| 270 | "ch0", "ch1", "ch2", "ch3", |
| 271 | "ch4", "ch5", "ch6", "ch7", |
| 272 | "ch8", "ch9", "ch10", "ch11", |
| 273 | "ch12", "ch13", "ch14"; |
| 274 | clocks = <&mstp2_clks R8A7790_CLK_SYS_DMAC1>; |
| 275 | clock-names = "fck"; |
| 276 | #dma-cells = <1>; |
| 277 | dma-channels = <15>; |
| 278 | }; |
Guennadi Liakhovetski | edd2b9f | 2013-09-26 19:20:58 +0200 | [diff] [blame] | 279 | i2c0: i2c@e6508000 { |
| 280 | #address-cells = <1>; |
| 281 | #size-cells = <0>; |
| 282 | compatible = "renesas,i2c-r8a7790"; |
| 283 | reg = <0 0xe6508000 0 0x40>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 284 | interrupts = <0 287 IRQ_TYPE_LEVEL_HIGH>; |
Ben Dooks | 2450bad | 2014-01-20 11:44:21 +0000 | [diff] [blame] | 285 | clocks = <&mstp9_clks R8A7790_CLK_I2C0>; |
Guennadi Liakhovetski | edd2b9f | 2013-09-26 19:20:58 +0200 | [diff] [blame] | 286 | status = "disabled"; |
| 287 | }; |
| 288 | |
| 289 | i2c1: i2c@e6518000 { |
| 290 | #address-cells = <1>; |
| 291 | #size-cells = <0>; |
| 292 | compatible = "renesas,i2c-r8a7790"; |
| 293 | reg = <0 0xe6518000 0 0x40>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 294 | interrupts = <0 288 IRQ_TYPE_LEVEL_HIGH>; |
Ben Dooks | 2450bad | 2014-01-20 11:44:21 +0000 | [diff] [blame] | 295 | clocks = <&mstp9_clks R8A7790_CLK_I2C1>; |
Guennadi Liakhovetski | edd2b9f | 2013-09-26 19:20:58 +0200 | [diff] [blame] | 296 | status = "disabled"; |
| 297 | }; |
| 298 | |
| 299 | i2c2: i2c@e6530000 { |
| 300 | #address-cells = <1>; |
| 301 | #size-cells = <0>; |
| 302 | compatible = "renesas,i2c-r8a7790"; |
| 303 | reg = <0 0xe6530000 0 0x40>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 304 | interrupts = <0 286 IRQ_TYPE_LEVEL_HIGH>; |
Ben Dooks | 2450bad | 2014-01-20 11:44:21 +0000 | [diff] [blame] | 305 | clocks = <&mstp9_clks R8A7790_CLK_I2C2>; |
Guennadi Liakhovetski | edd2b9f | 2013-09-26 19:20:58 +0200 | [diff] [blame] | 306 | status = "disabled"; |
| 307 | }; |
| 308 | |
| 309 | i2c3: i2c@e6540000 { |
| 310 | #address-cells = <1>; |
| 311 | #size-cells = <0>; |
| 312 | compatible = "renesas,i2c-r8a7790"; |
| 313 | reg = <0 0xe6540000 0 0x40>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 314 | interrupts = <0 290 IRQ_TYPE_LEVEL_HIGH>; |
Ben Dooks | 2450bad | 2014-01-20 11:44:21 +0000 | [diff] [blame] | 315 | clocks = <&mstp9_clks R8A7790_CLK_I2C3>; |
Guennadi Liakhovetski | edd2b9f | 2013-09-26 19:20:58 +0200 | [diff] [blame] | 316 | status = "disabled"; |
| 317 | }; |
| 318 | |
Wolfram Sang | 05f3991 | 2014-03-25 19:56:29 +0100 | [diff] [blame] | 319 | iic0: i2c@e6500000 { |
| 320 | #address-cells = <1>; |
| 321 | #size-cells = <0>; |
| 322 | compatible = "renesas,iic-r8a7790", "renesas,rmobile-iic"; |
| 323 | reg = <0 0xe6500000 0 0x425>; |
| 324 | interrupts = <0 174 IRQ_TYPE_LEVEL_HIGH>; |
| 325 | clocks = <&mstp3_clks R8A7790_CLK_IIC0>; |
| 326 | status = "disabled"; |
| 327 | }; |
| 328 | |
| 329 | iic1: i2c@e6510000 { |
| 330 | #address-cells = <1>; |
| 331 | #size-cells = <0>; |
| 332 | compatible = "renesas,iic-r8a7790", "renesas,rmobile-iic"; |
| 333 | reg = <0 0xe6510000 0 0x425>; |
| 334 | interrupts = <0 175 IRQ_TYPE_LEVEL_HIGH>; |
| 335 | clocks = <&mstp3_clks R8A7790_CLK_IIC1>; |
| 336 | status = "disabled"; |
| 337 | }; |
| 338 | |
| 339 | iic2: i2c@e6520000 { |
| 340 | #address-cells = <1>; |
| 341 | #size-cells = <0>; |
| 342 | compatible = "renesas,iic-r8a7790", "renesas,rmobile-iic"; |
| 343 | reg = <0 0xe6520000 0 0x425>; |
| 344 | interrupts = <0 176 IRQ_TYPE_LEVEL_HIGH>; |
| 345 | clocks = <&mstp3_clks R8A7790_CLK_IIC2>; |
| 346 | status = "disabled"; |
| 347 | }; |
| 348 | |
| 349 | iic3: i2c@e60b0000 { |
| 350 | #address-cells = <1>; |
| 351 | #size-cells = <0>; |
| 352 | compatible = "renesas,iic-r8a7790", "renesas,rmobile-iic"; |
| 353 | reg = <0 0xe60b0000 0 0x425>; |
| 354 | interrupts = <0 173 IRQ_TYPE_LEVEL_HIGH>; |
| 355 | clocks = <&mstp9_clks R8A7790_CLK_IICDVFS>; |
| 356 | status = "disabled"; |
| 357 | }; |
| 358 | |
Guennadi Liakhovetski | 8c9b1aa | 2013-07-08 17:54:46 +0200 | [diff] [blame] | 359 | mmcif0: mmcif@ee200000 { |
Magnus Damm | 063e8560 | 2013-11-20 09:05:53 +0900 | [diff] [blame] | 360 | compatible = "renesas,mmcif-r8a7790", "renesas,sh-mmcif"; |
Guennadi Liakhovetski | 8c9b1aa | 2013-07-08 17:54:46 +0200 | [diff] [blame] | 361 | reg = <0 0xee200000 0 0x80>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 362 | interrupts = <0 169 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | 72197ca | 2013-12-11 15:05:15 +0100 | [diff] [blame] | 363 | clocks = <&mstp3_clks R8A7790_CLK_MMCIF0>; |
Guennadi Liakhovetski | 8c9b1aa | 2013-07-08 17:54:46 +0200 | [diff] [blame] | 364 | reg-io-width = <4>; |
| 365 | status = "disabled"; |
| 366 | }; |
| 367 | |
Kuninori Morimoto | b718aa4 | 2013-10-21 19:36:13 -0700 | [diff] [blame] | 368 | mmcif1: mmc@ee220000 { |
Magnus Damm | 063e8560 | 2013-11-20 09:05:53 +0900 | [diff] [blame] | 369 | compatible = "renesas,mmcif-r8a7790", "renesas,sh-mmcif"; |
Guennadi Liakhovetski | 8c9b1aa | 2013-07-08 17:54:46 +0200 | [diff] [blame] | 370 | reg = <0 0xee220000 0 0x80>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 371 | interrupts = <0 170 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | 72197ca | 2013-12-11 15:05:15 +0100 | [diff] [blame] | 372 | clocks = <&mstp3_clks R8A7790_CLK_MMCIF1>; |
Guennadi Liakhovetski | 8c9b1aa | 2013-07-08 17:54:46 +0200 | [diff] [blame] | 373 | reg-io-width = <4>; |
| 374 | status = "disabled"; |
| 375 | }; |
| 376 | |
Laurent Pinchart | 9694c77 | 2013-05-09 15:05:57 +0200 | [diff] [blame] | 377 | pfc: pfc@e6060000 { |
| 378 | compatible = "renesas,pfc-r8a7790"; |
| 379 | reg = <0 0xe6060000 0 0x250>; |
| 380 | }; |
Olof Johansson | 55689bf | 2013-08-14 00:24:05 -0700 | [diff] [blame] | 381 | |
Kuninori Morimoto | b718aa4 | 2013-10-21 19:36:13 -0700 | [diff] [blame] | 382 | sdhi0: sd@ee100000 { |
Guennadi Liakhovetski | df1d058 | 2013-08-29 17:14:49 +0200 | [diff] [blame] | 383 | compatible = "renesas,sdhi-r8a7790"; |
Ben Dooks | d721a15 | 2013-12-16 12:38:48 +0000 | [diff] [blame] | 384 | reg = <0 0xee100000 0 0x200>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 385 | interrupts = <0 165 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | 72197ca | 2013-12-11 15:05:15 +0100 | [diff] [blame] | 386 | clocks = <&mstp3_clks R8A7790_CLK_SDHI0>; |
Guennadi Liakhovetski | 8c9b1aa | 2013-07-08 17:54:46 +0200 | [diff] [blame] | 387 | cap-sd-highspeed; |
| 388 | status = "disabled"; |
| 389 | }; |
| 390 | |
Kuninori Morimoto | b718aa4 | 2013-10-21 19:36:13 -0700 | [diff] [blame] | 391 | sdhi1: sd@ee120000 { |
Guennadi Liakhovetski | df1d058 | 2013-08-29 17:14:49 +0200 | [diff] [blame] | 392 | compatible = "renesas,sdhi-r8a7790"; |
Ben Dooks | d721a15 | 2013-12-16 12:38:48 +0000 | [diff] [blame] | 393 | reg = <0 0xee120000 0 0x200>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 394 | interrupts = <0 166 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | 72197ca | 2013-12-11 15:05:15 +0100 | [diff] [blame] | 395 | clocks = <&mstp3_clks R8A7790_CLK_SDHI1>; |
Guennadi Liakhovetski | 8c9b1aa | 2013-07-08 17:54:46 +0200 | [diff] [blame] | 396 | cap-sd-highspeed; |
| 397 | status = "disabled"; |
| 398 | }; |
| 399 | |
Kuninori Morimoto | b718aa4 | 2013-10-21 19:36:13 -0700 | [diff] [blame] | 400 | sdhi2: sd@ee140000 { |
Guennadi Liakhovetski | df1d058 | 2013-08-29 17:14:49 +0200 | [diff] [blame] | 401 | compatible = "renesas,sdhi-r8a7790"; |
Guennadi Liakhovetski | 8c9b1aa | 2013-07-08 17:54:46 +0200 | [diff] [blame] | 402 | reg = <0 0xee140000 0 0x100>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 403 | interrupts = <0 167 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | 72197ca | 2013-12-11 15:05:15 +0100 | [diff] [blame] | 404 | clocks = <&mstp3_clks R8A7790_CLK_SDHI2>; |
Guennadi Liakhovetski | 8c9b1aa | 2013-07-08 17:54:46 +0200 | [diff] [blame] | 405 | cap-sd-highspeed; |
| 406 | status = "disabled"; |
| 407 | }; |
| 408 | |
Kuninori Morimoto | b718aa4 | 2013-10-21 19:36:13 -0700 | [diff] [blame] | 409 | sdhi3: sd@ee160000 { |
Guennadi Liakhovetski | df1d058 | 2013-08-29 17:14:49 +0200 | [diff] [blame] | 410 | compatible = "renesas,sdhi-r8a7790"; |
Guennadi Liakhovetski | 8c9b1aa | 2013-07-08 17:54:46 +0200 | [diff] [blame] | 411 | reg = <0 0xee160000 0 0x100>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 412 | interrupts = <0 168 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | 72197ca | 2013-12-11 15:05:15 +0100 | [diff] [blame] | 413 | clocks = <&mstp3_clks R8A7790_CLK_SDHI3>; |
Guennadi Liakhovetski | 8c9b1aa | 2013-07-08 17:54:46 +0200 | [diff] [blame] | 414 | cap-sd-highspeed; |
| 415 | status = "disabled"; |
| 416 | }; |
Laurent Pinchart | 22a1f59 | 2013-12-11 15:05:14 +0100 | [diff] [blame] | 417 | |
Laurent Pinchart | 597af20 | 2013-10-29 16:23:12 +0100 | [diff] [blame] | 418 | scifa0: serial@e6c40000 { |
Laurent Pinchart | 59d2b51 | 2014-01-21 13:48:38 +0100 | [diff] [blame] | 419 | compatible = "renesas,scifa-r8a7790", "renesas,scifa"; |
Laurent Pinchart | 597af20 | 2013-10-29 16:23:12 +0100 | [diff] [blame] | 420 | reg = <0 0xe6c40000 0 64>; |
Laurent Pinchart | 1f4c745 | 2014-01-21 13:48:39 +0100 | [diff] [blame] | 421 | interrupts = <0 144 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | 597af20 | 2013-10-29 16:23:12 +0100 | [diff] [blame] | 422 | clocks = <&mstp2_clks R8A7790_CLK_SCIFA0>; |
| 423 | clock-names = "sci_ick"; |
| 424 | status = "disabled"; |
| 425 | }; |
| 426 | |
| 427 | scifa1: serial@e6c50000 { |
Laurent Pinchart | 59d2b51 | 2014-01-21 13:48:38 +0100 | [diff] [blame] | 428 | compatible = "renesas,scifa-r8a7790", "renesas,scifa"; |
Laurent Pinchart | 597af20 | 2013-10-29 16:23:12 +0100 | [diff] [blame] | 429 | reg = <0 0xe6c50000 0 64>; |
Laurent Pinchart | 1f4c745 | 2014-01-21 13:48:39 +0100 | [diff] [blame] | 430 | interrupts = <0 145 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | 597af20 | 2013-10-29 16:23:12 +0100 | [diff] [blame] | 431 | clocks = <&mstp2_clks R8A7790_CLK_SCIFA1>; |
| 432 | clock-names = "sci_ick"; |
| 433 | status = "disabled"; |
| 434 | }; |
| 435 | |
| 436 | scifa2: serial@e6c60000 { |
Laurent Pinchart | 59d2b51 | 2014-01-21 13:48:38 +0100 | [diff] [blame] | 437 | compatible = "renesas,scifa-r8a7790", "renesas,scifa"; |
Laurent Pinchart | 597af20 | 2013-10-29 16:23:12 +0100 | [diff] [blame] | 438 | reg = <0 0xe6c60000 0 64>; |
Laurent Pinchart | 1f4c745 | 2014-01-21 13:48:39 +0100 | [diff] [blame] | 439 | interrupts = <0 151 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | 597af20 | 2013-10-29 16:23:12 +0100 | [diff] [blame] | 440 | clocks = <&mstp2_clks R8A7790_CLK_SCIFA2>; |
| 441 | clock-names = "sci_ick"; |
| 442 | status = "disabled"; |
| 443 | }; |
| 444 | |
| 445 | scifb0: serial@e6c20000 { |
Laurent Pinchart | 59d2b51 | 2014-01-21 13:48:38 +0100 | [diff] [blame] | 446 | compatible = "renesas,scifb-r8a7790", "renesas,scifb"; |
Laurent Pinchart | 597af20 | 2013-10-29 16:23:12 +0100 | [diff] [blame] | 447 | reg = <0 0xe6c20000 0 64>; |
Laurent Pinchart | 1f4c745 | 2014-01-21 13:48:39 +0100 | [diff] [blame] | 448 | interrupts = <0 148 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | 597af20 | 2013-10-29 16:23:12 +0100 | [diff] [blame] | 449 | clocks = <&mstp2_clks R8A7790_CLK_SCIFB0>; |
| 450 | clock-names = "sci_ick"; |
| 451 | status = "disabled"; |
| 452 | }; |
| 453 | |
| 454 | scifb1: serial@e6c30000 { |
Laurent Pinchart | 59d2b51 | 2014-01-21 13:48:38 +0100 | [diff] [blame] | 455 | compatible = "renesas,scifb-r8a7790", "renesas,scifb"; |
Laurent Pinchart | 597af20 | 2013-10-29 16:23:12 +0100 | [diff] [blame] | 456 | reg = <0 0xe6c30000 0 64>; |
Laurent Pinchart | 1f4c745 | 2014-01-21 13:48:39 +0100 | [diff] [blame] | 457 | interrupts = <0 149 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | 597af20 | 2013-10-29 16:23:12 +0100 | [diff] [blame] | 458 | clocks = <&mstp2_clks R8A7790_CLK_SCIFB1>; |
| 459 | clock-names = "sci_ick"; |
| 460 | status = "disabled"; |
| 461 | }; |
| 462 | |
| 463 | scifb2: serial@e6ce0000 { |
Laurent Pinchart | 59d2b51 | 2014-01-21 13:48:38 +0100 | [diff] [blame] | 464 | compatible = "renesas,scifb-r8a7790", "renesas,scifb"; |
Laurent Pinchart | 597af20 | 2013-10-29 16:23:12 +0100 | [diff] [blame] | 465 | reg = <0 0xe6ce0000 0 64>; |
Laurent Pinchart | 1f4c745 | 2014-01-21 13:48:39 +0100 | [diff] [blame] | 466 | interrupts = <0 150 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | 597af20 | 2013-10-29 16:23:12 +0100 | [diff] [blame] | 467 | clocks = <&mstp2_clks R8A7790_CLK_SCIFB2>; |
| 468 | clock-names = "sci_ick"; |
| 469 | status = "disabled"; |
| 470 | }; |
| 471 | |
| 472 | scif0: serial@e6e60000 { |
Laurent Pinchart | 59d2b51 | 2014-01-21 13:48:38 +0100 | [diff] [blame] | 473 | compatible = "renesas,scif-r8a7790", "renesas,scif"; |
Laurent Pinchart | 597af20 | 2013-10-29 16:23:12 +0100 | [diff] [blame] | 474 | reg = <0 0xe6e60000 0 64>; |
Laurent Pinchart | 1f4c745 | 2014-01-21 13:48:39 +0100 | [diff] [blame] | 475 | interrupts = <0 152 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | 597af20 | 2013-10-29 16:23:12 +0100 | [diff] [blame] | 476 | clocks = <&mstp7_clks R8A7790_CLK_SCIF0>; |
| 477 | clock-names = "sci_ick"; |
| 478 | status = "disabled"; |
| 479 | }; |
| 480 | |
| 481 | scif1: serial@e6e68000 { |
Laurent Pinchart | 59d2b51 | 2014-01-21 13:48:38 +0100 | [diff] [blame] | 482 | compatible = "renesas,scif-r8a7790", "renesas,scif"; |
Laurent Pinchart | 597af20 | 2013-10-29 16:23:12 +0100 | [diff] [blame] | 483 | reg = <0 0xe6e68000 0 64>; |
Laurent Pinchart | 1f4c745 | 2014-01-21 13:48:39 +0100 | [diff] [blame] | 484 | interrupts = <0 153 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | 597af20 | 2013-10-29 16:23:12 +0100 | [diff] [blame] | 485 | clocks = <&mstp7_clks R8A7790_CLK_SCIF1>; |
| 486 | clock-names = "sci_ick"; |
| 487 | status = "disabled"; |
| 488 | }; |
| 489 | |
| 490 | hscif0: serial@e62c0000 { |
Laurent Pinchart | 59d2b51 | 2014-01-21 13:48:38 +0100 | [diff] [blame] | 491 | compatible = "renesas,hscif-r8a7790", "renesas,hscif"; |
Laurent Pinchart | 597af20 | 2013-10-29 16:23:12 +0100 | [diff] [blame] | 492 | reg = <0 0xe62c0000 0 96>; |
Laurent Pinchart | 1f4c745 | 2014-01-21 13:48:39 +0100 | [diff] [blame] | 493 | interrupts = <0 154 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | 597af20 | 2013-10-29 16:23:12 +0100 | [diff] [blame] | 494 | clocks = <&mstp7_clks R8A7790_CLK_HSCIF0>; |
| 495 | clock-names = "sci_ick"; |
| 496 | status = "disabled"; |
| 497 | }; |
| 498 | |
| 499 | hscif1: serial@e62c8000 { |
Laurent Pinchart | 59d2b51 | 2014-01-21 13:48:38 +0100 | [diff] [blame] | 500 | compatible = "renesas,hscif-r8a7790", "renesas,hscif"; |
Laurent Pinchart | 597af20 | 2013-10-29 16:23:12 +0100 | [diff] [blame] | 501 | reg = <0 0xe62c8000 0 96>; |
Laurent Pinchart | 1f4c745 | 2014-01-21 13:48:39 +0100 | [diff] [blame] | 502 | interrupts = <0 155 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | 597af20 | 2013-10-29 16:23:12 +0100 | [diff] [blame] | 503 | clocks = <&mstp7_clks R8A7790_CLK_HSCIF1>; |
| 504 | clock-names = "sci_ick"; |
| 505 | status = "disabled"; |
| 506 | }; |
| 507 | |
Sergei Shtylyov | d8913c6 | 2014-02-20 02:20:43 +0300 | [diff] [blame] | 508 | ether: ethernet@ee700000 { |
| 509 | compatible = "renesas,ether-r8a7790"; |
| 510 | reg = <0 0xee700000 0 0x400>; |
| 511 | interrupts = <0 162 IRQ_TYPE_LEVEL_HIGH>; |
| 512 | clocks = <&mstp8_clks R8A7790_CLK_ETHER>; |
| 513 | phy-mode = "rmii"; |
| 514 | #address-cells = <1>; |
| 515 | #size-cells = <0>; |
| 516 | status = "disabled"; |
| 517 | }; |
| 518 | |
Valentine Barshak | cde630f | 2014-01-14 21:05:30 +0400 | [diff] [blame] | 519 | sata0: sata@ee300000 { |
| 520 | compatible = "renesas,sata-r8a7790"; |
| 521 | reg = <0 0xee300000 0 0x2000>; |
Valentine Barshak | cde630f | 2014-01-14 21:05:30 +0400 | [diff] [blame] | 522 | interrupts = <0 105 IRQ_TYPE_LEVEL_HIGH>; |
| 523 | clocks = <&mstp8_clks R8A7790_CLK_SATA0>; |
| 524 | status = "disabled"; |
| 525 | }; |
| 526 | |
| 527 | sata1: sata@ee500000 { |
| 528 | compatible = "renesas,sata-r8a7790"; |
| 529 | reg = <0 0xee500000 0 0x2000>; |
Valentine Barshak | cde630f | 2014-01-14 21:05:30 +0400 | [diff] [blame] | 530 | interrupts = <0 106 IRQ_TYPE_LEVEL_HIGH>; |
| 531 | clocks = <&mstp8_clks R8A7790_CLK_SATA1>; |
| 532 | status = "disabled"; |
| 533 | }; |
| 534 | |
Laurent Pinchart | 22a1f59 | 2013-12-11 15:05:14 +0100 | [diff] [blame] | 535 | clocks { |
| 536 | #address-cells = <2>; |
| 537 | #size-cells = <2>; |
| 538 | ranges; |
| 539 | |
| 540 | /* External root clock */ |
| 541 | extal_clk: extal_clk { |
| 542 | compatible = "fixed-clock"; |
| 543 | #clock-cells = <0>; |
| 544 | /* This value must be overriden by the board. */ |
| 545 | clock-frequency = <0>; |
| 546 | clock-output-names = "extal"; |
| 547 | }; |
| 548 | |
Phil Edworthy | 51d1791 | 2014-06-13 10:37:16 +0100 | [diff] [blame] | 549 | /* External PCIe clock - can be overridden by the board */ |
| 550 | pcie_bus_clk: pcie_bus_clk { |
| 551 | compatible = "fixed-clock"; |
| 552 | #clock-cells = <0>; |
| 553 | clock-frequency = <100000000>; |
| 554 | clock-output-names = "pcie_bus"; |
| 555 | status = "disabled"; |
| 556 | }; |
| 557 | |
Kuninori Morimoto | c7c2ec3 | 2014-01-13 18:25:39 -0800 | [diff] [blame] | 558 | /* |
| 559 | * The external audio clocks are configured as 0 Hz fixed frequency clocks by |
| 560 | * default. Boards that provide audio clocks should override them. |
| 561 | */ |
| 562 | audio_clk_a: audio_clk_a { |
| 563 | compatible = "fixed-clock"; |
| 564 | #clock-cells = <0>; |
| 565 | clock-frequency = <0>; |
| 566 | clock-output-names = "audio_clk_a"; |
| 567 | }; |
| 568 | audio_clk_b: audio_clk_b { |
| 569 | compatible = "fixed-clock"; |
| 570 | #clock-cells = <0>; |
| 571 | clock-frequency = <0>; |
| 572 | clock-output-names = "audio_clk_b"; |
| 573 | }; |
| 574 | audio_clk_c: audio_clk_c { |
| 575 | compatible = "fixed-clock"; |
| 576 | #clock-cells = <0>; |
| 577 | clock-frequency = <0>; |
| 578 | clock-output-names = "audio_clk_c"; |
| 579 | }; |
| 580 | |
Laurent Pinchart | 22a1f59 | 2013-12-11 15:05:14 +0100 | [diff] [blame] | 581 | /* Special CPG clocks */ |
| 582 | cpg_clocks: cpg_clocks@e6150000 { |
| 583 | compatible = "renesas,r8a7790-cpg-clocks", |
| 584 | "renesas,rcar-gen2-cpg-clocks"; |
| 585 | reg = <0 0xe6150000 0 0x1000>; |
| 586 | clocks = <&extal_clk>; |
| 587 | #clock-cells = <1>; |
| 588 | clock-output-names = "main", "pll0", "pll1", "pll3", |
| 589 | "lb", "qspi", "sdh", "sd0", "sd1", |
| 590 | "z"; |
| 591 | }; |
| 592 | |
| 593 | /* Variable factor clocks */ |
| 594 | sd2_clk: sd2_clk@e6150078 { |
| 595 | compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock"; |
| 596 | reg = <0 0xe6150078 0 4>; |
| 597 | clocks = <&pll1_div2_clk>; |
| 598 | #clock-cells = <0>; |
| 599 | clock-output-names = "sd2"; |
| 600 | }; |
| 601 | sd3_clk: sd3_clk@e615007c { |
| 602 | compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock"; |
| 603 | reg = <0 0xe615007c 0 4>; |
| 604 | clocks = <&pll1_div2_clk>; |
| 605 | #clock-cells = <0>; |
| 606 | clock-output-names = "sd3"; |
| 607 | }; |
| 608 | mmc0_clk: mmc0_clk@e6150240 { |
| 609 | compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock"; |
| 610 | reg = <0 0xe6150240 0 4>; |
| 611 | clocks = <&pll1_div2_clk>; |
| 612 | #clock-cells = <0>; |
| 613 | clock-output-names = "mmc0"; |
| 614 | }; |
| 615 | mmc1_clk: mmc1_clk@e6150244 { |
| 616 | compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock"; |
| 617 | reg = <0 0xe6150244 0 4>; |
| 618 | clocks = <&pll1_div2_clk>; |
| 619 | #clock-cells = <0>; |
| 620 | clock-output-names = "mmc1"; |
| 621 | }; |
| 622 | ssp_clk: ssp_clk@e6150248 { |
| 623 | compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock"; |
| 624 | reg = <0 0xe6150248 0 4>; |
| 625 | clocks = <&pll1_div2_clk>; |
| 626 | #clock-cells = <0>; |
| 627 | clock-output-names = "ssp"; |
| 628 | }; |
| 629 | ssprs_clk: ssprs_clk@e615024c { |
| 630 | compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock"; |
| 631 | reg = <0 0xe615024c 0 4>; |
| 632 | clocks = <&pll1_div2_clk>; |
| 633 | #clock-cells = <0>; |
| 634 | clock-output-names = "ssprs"; |
| 635 | }; |
| 636 | |
| 637 | /* Fixed factor clocks */ |
| 638 | pll1_div2_clk: pll1_div2_clk { |
| 639 | compatible = "fixed-factor-clock"; |
| 640 | clocks = <&cpg_clocks R8A7790_CLK_PLL1>; |
| 641 | #clock-cells = <0>; |
| 642 | clock-div = <2>; |
| 643 | clock-mult = <1>; |
| 644 | clock-output-names = "pll1_div2"; |
| 645 | }; |
| 646 | z2_clk: z2_clk { |
| 647 | compatible = "fixed-factor-clock"; |
| 648 | clocks = <&cpg_clocks R8A7790_CLK_PLL1>; |
| 649 | #clock-cells = <0>; |
| 650 | clock-div = <2>; |
| 651 | clock-mult = <1>; |
| 652 | clock-output-names = "z2"; |
| 653 | }; |
| 654 | zg_clk: zg_clk { |
| 655 | compatible = "fixed-factor-clock"; |
| 656 | clocks = <&cpg_clocks R8A7790_CLK_PLL1>; |
| 657 | #clock-cells = <0>; |
| 658 | clock-div = <3>; |
| 659 | clock-mult = <1>; |
| 660 | clock-output-names = "zg"; |
| 661 | }; |
| 662 | zx_clk: zx_clk { |
| 663 | compatible = "fixed-factor-clock"; |
| 664 | clocks = <&cpg_clocks R8A7790_CLK_PLL1>; |
| 665 | #clock-cells = <0>; |
| 666 | clock-div = <3>; |
| 667 | clock-mult = <1>; |
| 668 | clock-output-names = "zx"; |
| 669 | }; |
| 670 | zs_clk: zs_clk { |
| 671 | compatible = "fixed-factor-clock"; |
| 672 | clocks = <&cpg_clocks R8A7790_CLK_PLL1>; |
| 673 | #clock-cells = <0>; |
| 674 | clock-div = <6>; |
| 675 | clock-mult = <1>; |
| 676 | clock-output-names = "zs"; |
| 677 | }; |
| 678 | hp_clk: hp_clk { |
| 679 | compatible = "fixed-factor-clock"; |
| 680 | clocks = <&cpg_clocks R8A7790_CLK_PLL1>; |
| 681 | #clock-cells = <0>; |
| 682 | clock-div = <12>; |
| 683 | clock-mult = <1>; |
| 684 | clock-output-names = "hp"; |
| 685 | }; |
| 686 | i_clk: i_clk { |
| 687 | compatible = "fixed-factor-clock"; |
| 688 | clocks = <&cpg_clocks R8A7790_CLK_PLL1>; |
| 689 | #clock-cells = <0>; |
| 690 | clock-div = <2>; |
| 691 | clock-mult = <1>; |
| 692 | clock-output-names = "i"; |
| 693 | }; |
| 694 | b_clk: b_clk { |
| 695 | compatible = "fixed-factor-clock"; |
| 696 | clocks = <&cpg_clocks R8A7790_CLK_PLL1>; |
| 697 | #clock-cells = <0>; |
| 698 | clock-div = <12>; |
| 699 | clock-mult = <1>; |
| 700 | clock-output-names = "b"; |
| 701 | }; |
| 702 | p_clk: p_clk { |
| 703 | compatible = "fixed-factor-clock"; |
| 704 | clocks = <&cpg_clocks R8A7790_CLK_PLL1>; |
| 705 | #clock-cells = <0>; |
| 706 | clock-div = <24>; |
| 707 | clock-mult = <1>; |
| 708 | clock-output-names = "p"; |
| 709 | }; |
| 710 | cl_clk: cl_clk { |
| 711 | compatible = "fixed-factor-clock"; |
| 712 | clocks = <&cpg_clocks R8A7790_CLK_PLL1>; |
| 713 | #clock-cells = <0>; |
| 714 | clock-div = <48>; |
| 715 | clock-mult = <1>; |
| 716 | clock-output-names = "cl"; |
| 717 | }; |
| 718 | m2_clk: m2_clk { |
| 719 | compatible = "fixed-factor-clock"; |
| 720 | clocks = <&cpg_clocks R8A7790_CLK_PLL1>; |
| 721 | #clock-cells = <0>; |
| 722 | clock-div = <8>; |
| 723 | clock-mult = <1>; |
| 724 | clock-output-names = "m2"; |
| 725 | }; |
| 726 | imp_clk: imp_clk { |
| 727 | compatible = "fixed-factor-clock"; |
| 728 | clocks = <&cpg_clocks R8A7790_CLK_PLL1>; |
| 729 | #clock-cells = <0>; |
| 730 | clock-div = <4>; |
| 731 | clock-mult = <1>; |
| 732 | clock-output-names = "imp"; |
| 733 | }; |
| 734 | rclk_clk: rclk_clk { |
| 735 | compatible = "fixed-factor-clock"; |
| 736 | clocks = <&cpg_clocks R8A7790_CLK_PLL1>; |
| 737 | #clock-cells = <0>; |
| 738 | clock-div = <(48 * 1024)>; |
| 739 | clock-mult = <1>; |
| 740 | clock-output-names = "rclk"; |
| 741 | }; |
| 742 | oscclk_clk: oscclk_clk { |
| 743 | compatible = "fixed-factor-clock"; |
| 744 | clocks = <&cpg_clocks R8A7790_CLK_PLL1>; |
| 745 | #clock-cells = <0>; |
| 746 | clock-div = <(12 * 1024)>; |
| 747 | clock-mult = <1>; |
| 748 | clock-output-names = "oscclk"; |
| 749 | }; |
| 750 | zb3_clk: zb3_clk { |
| 751 | compatible = "fixed-factor-clock"; |
| 752 | clocks = <&cpg_clocks R8A7790_CLK_PLL3>; |
| 753 | #clock-cells = <0>; |
| 754 | clock-div = <4>; |
| 755 | clock-mult = <1>; |
| 756 | clock-output-names = "zb3"; |
| 757 | }; |
| 758 | zb3d2_clk: zb3d2_clk { |
| 759 | compatible = "fixed-factor-clock"; |
| 760 | clocks = <&cpg_clocks R8A7790_CLK_PLL3>; |
| 761 | #clock-cells = <0>; |
| 762 | clock-div = <8>; |
| 763 | clock-mult = <1>; |
| 764 | clock-output-names = "zb3d2"; |
| 765 | }; |
| 766 | ddr_clk: ddr_clk { |
| 767 | compatible = "fixed-factor-clock"; |
| 768 | clocks = <&cpg_clocks R8A7790_CLK_PLL3>; |
| 769 | #clock-cells = <0>; |
| 770 | clock-div = <8>; |
| 771 | clock-mult = <1>; |
| 772 | clock-output-names = "ddr"; |
| 773 | }; |
| 774 | mp_clk: mp_clk { |
| 775 | compatible = "fixed-factor-clock"; |
| 776 | clocks = <&pll1_div2_clk>; |
| 777 | #clock-cells = <0>; |
| 778 | clock-div = <15>; |
| 779 | clock-mult = <1>; |
| 780 | clock-output-names = "mp"; |
| 781 | }; |
| 782 | cp_clk: cp_clk { |
| 783 | compatible = "fixed-factor-clock"; |
| 784 | clocks = <&extal_clk>; |
| 785 | #clock-cells = <0>; |
| 786 | clock-div = <2>; |
| 787 | clock-mult = <1>; |
| 788 | clock-output-names = "cp"; |
| 789 | }; |
| 790 | |
| 791 | /* Gate clocks */ |
Laurent Pinchart | 9d90951 | 2013-12-19 16:51:01 +0100 | [diff] [blame] | 792 | mstp0_clks: mstp0_clks@e6150130 { |
| 793 | compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks"; |
| 794 | reg = <0 0xe6150130 0 4>, <0 0xe6150030 0 4>; |
| 795 | clocks = <&mp_clk>; |
| 796 | #clock-cells = <1>; |
| 797 | renesas,clock-indices = <R8A7790_CLK_MSIOF0>; |
| 798 | clock-output-names = "msiof0"; |
| 799 | }; |
Laurent Pinchart | 22a1f59 | 2013-12-11 15:05:14 +0100 | [diff] [blame] | 800 | mstp1_clks: mstp1_clks@e6150134 { |
| 801 | compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks"; |
| 802 | reg = <0 0xe6150134 0 4>, <0 0xe6150038 0 4>; |
| 803 | clocks = <&p_clk>, <&p_clk>, <&p_clk>, <&rclk_clk>, |
| 804 | <&cp_clk>, <&zs_clk>, <&zs_clk>, <&zs_clk>, |
| 805 | <&zs_clk>; |
| 806 | #clock-cells = <1>; |
| 807 | renesas,clock-indices = < |
| 808 | R8A7790_CLK_TMU1 R8A7790_CLK_TMU3 R8A7790_CLK_TMU2 |
| 809 | R8A7790_CLK_CMT0 R8A7790_CLK_TMU0 R8A7790_CLK_VSP1_DU1 |
Laurent Pinchart | 79ea993 | 2014-04-02 16:31:46 +0200 | [diff] [blame] | 810 | R8A7790_CLK_VSP1_DU0 R8A7790_CLK_VSP1_R R8A7790_CLK_VSP1_S |
Laurent Pinchart | 22a1f59 | 2013-12-11 15:05:14 +0100 | [diff] [blame] | 811 | >; |
| 812 | clock-output-names = |
| 813 | "tmu1", "tmu3", "tmu2", "cmt0", "tmu0", "vsp1-du1", |
| 814 | "vsp1-du0", "vsp1-rt", "vsp1-sy"; |
| 815 | }; |
| 816 | mstp2_clks: mstp2_clks@e6150138 { |
| 817 | compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks"; |
| 818 | reg = <0 0xe6150138 0 4>, <0 0xe6150040 0 4>; |
| 819 | clocks = <&mp_clk>, <&mp_clk>, <&mp_clk>, <&mp_clk>, <&mp_clk>, |
Laurent Pinchart | c819acd | 2014-07-19 01:50:23 +0200 | [diff] [blame] | 820 | <&mp_clk>, <&mp_clk>, <&mp_clk>, <&mp_clk>, <&zs_clk>, |
| 821 | <&zs_clk>; |
Laurent Pinchart | 22a1f59 | 2013-12-11 15:05:14 +0100 | [diff] [blame] | 822 | #clock-cells = <1>; |
| 823 | renesas,clock-indices = < |
| 824 | R8A7790_CLK_SCIFA2 R8A7790_CLK_SCIFA1 R8A7790_CLK_SCIFA0 |
Laurent Pinchart | 9d90951 | 2013-12-19 16:51:01 +0100 | [diff] [blame] | 825 | R8A7790_CLK_MSIOF2 R8A7790_CLK_SCIFB0 R8A7790_CLK_SCIFB1 |
| 826 | R8A7790_CLK_MSIOF1 R8A7790_CLK_MSIOF3 R8A7790_CLK_SCIFB2 |
Laurent Pinchart | c819acd | 2014-07-19 01:50:23 +0200 | [diff] [blame] | 827 | R8A7790_CLK_SYS_DMAC1 R8A7790_CLK_SYS_DMAC0 |
Laurent Pinchart | 22a1f59 | 2013-12-11 15:05:14 +0100 | [diff] [blame] | 828 | >; |
| 829 | clock-output-names = |
Laurent Pinchart | 9d90951 | 2013-12-19 16:51:01 +0100 | [diff] [blame] | 830 | "scifa2", "scifa1", "scifa0", "msiof2", "scifb0", |
Laurent Pinchart | c819acd | 2014-07-19 01:50:23 +0200 | [diff] [blame] | 831 | "scifb1", "msiof1", "msiof3", "scifb2", |
| 832 | "sys-dmac1", "sys-dmac0"; |
Laurent Pinchart | 22a1f59 | 2013-12-11 15:05:14 +0100 | [diff] [blame] | 833 | }; |
| 834 | mstp3_clks: mstp3_clks@e615013c { |
| 835 | compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks"; |
| 836 | reg = <0 0xe615013c 0 4>, <0 0xe6150048 0 4>; |
Wolfram Sang | 1746514 | 2014-03-11 22:24:37 +0100 | [diff] [blame] | 837 | clocks = <&hp_clk>, <&cp_clk>, <&mmc1_clk>, <&sd3_clk>, |
| 838 | <&sd2_clk>, <&cpg_clocks R8A7790_CLK_SD1>, <&cpg_clocks R8A7790_CLK_SD0>, <&mmc0_clk>, |
Phil Edworthy | ecafea8 | 2014-06-13 10:37:15 +0100 | [diff] [blame] | 839 | <&hp_clk>, <&mp_clk>, <&hp_clk>, <&mp_clk>, <&rclk_clk>; |
Laurent Pinchart | 22a1f59 | 2013-12-11 15:05:14 +0100 | [diff] [blame] | 840 | #clock-cells = <1>; |
| 841 | renesas,clock-indices = < |
Wolfram Sang | 1746514 | 2014-03-11 22:24:37 +0100 | [diff] [blame] | 842 | R8A7790_CLK_IIC2 R8A7790_CLK_TPU0 R8A7790_CLK_MMCIF1 R8A7790_CLK_SDHI3 |
| 843 | R8A7790_CLK_SDHI2 R8A7790_CLK_SDHI1 R8A7790_CLK_SDHI0 R8A7790_CLK_MMCIF0 |
Phil Edworthy | ecafea8 | 2014-06-13 10:37:15 +0100 | [diff] [blame] | 844 | R8A7790_CLK_IIC0 R8A7790_CLK_PCIEC R8A7790_CLK_IIC1 R8A7790_CLK_SSUSB R8A7790_CLK_CMT1 |
Laurent Pinchart | 22a1f59 | 2013-12-11 15:05:14 +0100 | [diff] [blame] | 845 | >; |
| 846 | clock-output-names = |
Wolfram Sang | 1746514 | 2014-03-11 22:24:37 +0100 | [diff] [blame] | 847 | "iic2", "tpu0", "mmcif1", "sdhi3", |
| 848 | "sdhi2", "sdhi1", "sdhi0", "mmcif0", |
Phil Edworthy | ecafea8 | 2014-06-13 10:37:15 +0100 | [diff] [blame] | 849 | "iic0", "pciec", "iic1", "ssusb", "cmt1"; |
Laurent Pinchart | 22a1f59 | 2013-12-11 15:05:14 +0100 | [diff] [blame] | 850 | }; |
| 851 | mstp5_clks: mstp5_clks@e6150144 { |
| 852 | compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks"; |
| 853 | reg = <0 0xe6150144 0 4>, <0 0xe615003c 0 4>; |
| 854 | clocks = <&extal_clk>, <&p_clk>; |
| 855 | #clock-cells = <1>; |
| 856 | renesas,clock-indices = <R8A7790_CLK_THERMAL R8A7790_CLK_PWM>; |
| 857 | clock-output-names = "thermal", "pwm"; |
| 858 | }; |
| 859 | mstp7_clks: mstp7_clks@e615014c { |
| 860 | compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks"; |
| 861 | reg = <0 0xe615014c 0 4>, <0 0xe61501c4 0 4>; |
| 862 | clocks = <&mp_clk>, <&mp_clk>, <&zs_clk>, <&zs_clk>, <&p_clk>, |
| 863 | <&p_clk>, <&zx_clk>, <&zx_clk>, <&zx_clk>, <&zx_clk>, |
| 864 | <&zx_clk>; |
| 865 | #clock-cells = <1>; |
| 866 | renesas,clock-indices = < |
| 867 | R8A7790_CLK_EHCI R8A7790_CLK_HSUSB R8A7790_CLK_HSCIF1 |
| 868 | R8A7790_CLK_HSCIF0 R8A7790_CLK_SCIF1 R8A7790_CLK_SCIF0 |
| 869 | R8A7790_CLK_DU2 R8A7790_CLK_DU1 R8A7790_CLK_DU0 |
| 870 | R8A7790_CLK_LVDS1 R8A7790_CLK_LVDS0 |
| 871 | >; |
| 872 | clock-output-names = |
| 873 | "ehci", "hsusb", "hscif1", "hscif0", "scif1", |
| 874 | "scif0", "du2", "du1", "du0", "lvds1", "lvds0"; |
| 875 | }; |
| 876 | mstp8_clks: mstp8_clks@e6150990 { |
| 877 | compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks"; |
| 878 | reg = <0 0xe6150990 0 4>, <0 0xe61509a0 0 4>; |
Laurent Pinchart | bccccc3 | 2014-01-07 09:22:55 +0100 | [diff] [blame] | 879 | clocks = <&zg_clk>, <&zg_clk>, <&zg_clk>, <&zg_clk>, <&p_clk>, |
| 880 | <&zs_clk>, <&zs_clk>; |
Laurent Pinchart | 22a1f59 | 2013-12-11 15:05:14 +0100 | [diff] [blame] | 881 | #clock-cells = <1>; |
Laurent Pinchart | 3f2beaa | 2014-01-07 09:22:53 +0100 | [diff] [blame] | 882 | renesas,clock-indices = < |
| 883 | R8A7790_CLK_VIN3 R8A7790_CLK_VIN2 R8A7790_CLK_VIN1 |
Laurent Pinchart | bccccc3 | 2014-01-07 09:22:55 +0100 | [diff] [blame] | 884 | R8A7790_CLK_VIN0 R8A7790_CLK_ETHER R8A7790_CLK_SATA1 |
| 885 | R8A7790_CLK_SATA0 |
Laurent Pinchart | 3f2beaa | 2014-01-07 09:22:53 +0100 | [diff] [blame] | 886 | >; |
Laurent Pinchart | bccccc3 | 2014-01-07 09:22:55 +0100 | [diff] [blame] | 887 | clock-output-names = |
| 888 | "vin3", "vin2", "vin1", "vin0", "ether", "sata1", "sata0"; |
Laurent Pinchart | 22a1f59 | 2013-12-11 15:05:14 +0100 | [diff] [blame] | 889 | }; |
| 890 | mstp9_clks: mstp9_clks@e6150994 { |
| 891 | compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks"; |
| 892 | reg = <0 0xe6150994 0 4>, <0 0xe61509a4 0 4>; |
Geert Uytterhoeven | 81f6883 | 2014-04-23 10:25:27 +0200 | [diff] [blame] | 893 | clocks = <&cp_clk>, <&cp_clk>, <&cp_clk>, |
| 894 | <&cp_clk>, <&cp_clk>, <&cp_clk>, |
| 895 | <&p_clk>, <&p_clk>, <&cpg_clocks R8A7790_CLK_QSPI>, <&cp_clk>, |
Laurent Pinchart | 3672b05 | 2014-04-01 13:02:17 +0200 | [diff] [blame] | 896 | <&hp_clk>, <&hp_clk>, <&hp_clk>, <&hp_clk>; |
Laurent Pinchart | 22a1f59 | 2013-12-11 15:05:14 +0100 | [diff] [blame] | 897 | #clock-cells = <1>; |
| 898 | renesas,clock-indices = < |
Geert Uytterhoeven | 81f6883 | 2014-04-23 10:25:27 +0200 | [diff] [blame] | 899 | R8A7790_CLK_GPIO5 R8A7790_CLK_GPIO4 R8A7790_CLK_GPIO3 |
| 900 | R8A7790_CLK_GPIO2 R8A7790_CLK_GPIO1 R8A7790_CLK_GPIO0 |
Wolfram Sang | 1746514 | 2014-03-11 22:24:37 +0100 | [diff] [blame] | 901 | R8A7790_CLK_RCAN1 R8A7790_CLK_RCAN0 R8A7790_CLK_QSPI_MOD R8A7790_CLK_IICDVFS |
| 902 | R8A7790_CLK_I2C3 R8A7790_CLK_I2C2 R8A7790_CLK_I2C1 R8A7790_CLK_I2C0 |
Laurent Pinchart | 22a1f59 | 2013-12-11 15:05:14 +0100 | [diff] [blame] | 903 | >; |
Laurent Pinchart | 91b56ca | 2013-12-19 16:51:03 +0100 | [diff] [blame] | 904 | clock-output-names = |
Geert Uytterhoeven | 81f6883 | 2014-04-23 10:25:27 +0200 | [diff] [blame] | 905 | "gpio5", "gpio4", "gpio3", "gpio2", "gpio1", "gpio0", |
Wolfram Sang | 1746514 | 2014-03-11 22:24:37 +0100 | [diff] [blame] | 906 | "rcan1", "rcan0", "qspi_mod", "iic3", |
| 907 | "i2c3", "i2c2", "i2c1", "i2c0"; |
Laurent Pinchart | 22a1f59 | 2013-12-11 15:05:14 +0100 | [diff] [blame] | 908 | }; |
Kuninori Morimoto | bcde372 | 2014-06-10 23:53:27 -0700 | [diff] [blame] | 909 | mstp10_clks: mstp10_clks@e6150998 { |
| 910 | compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks"; |
| 911 | reg = <0 0xe6150998 0 4>, <0 0xe61509a8 0 4>; |
| 912 | clocks = <&p_clk>, |
| 913 | <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>, |
| 914 | <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>, |
| 915 | <&p_clk>, |
| 916 | <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>, |
| 917 | <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>, |
| 918 | <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>, |
| 919 | <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>, |
| 920 | <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>, |
| 921 | <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>; |
| 922 | |
| 923 | #clock-cells = <1>; |
| 924 | clock-indices = < |
| 925 | R8A7790_CLK_SSI_ALL |
| 926 | R8A7790_CLK_SSI9 R8A7790_CLK_SSI8 R8A7790_CLK_SSI7 R8A7790_CLK_SSI6 R8A7790_CLK_SSI5 |
| 927 | R8A7790_CLK_SSI4 R8A7790_CLK_SSI3 R8A7790_CLK_SSI2 R8A7790_CLK_SSI1 R8A7790_CLK_SSI0 |
| 928 | R8A7790_CLK_SCU_ALL |
| 929 | R8A7790_CLK_SCU_DVC1 R8A7790_CLK_SCU_DVC0 |
| 930 | R8A7790_CLK_SCU_SRC9 R8A7790_CLK_SCU_SRC8 R8A7790_CLK_SCU_SRC7 R8A7790_CLK_SCU_SRC6 R8A7790_CLK_SCU_SRC5 |
| 931 | R8A7790_CLK_SCU_SRC4 R8A7790_CLK_SCU_SRC3 R8A7790_CLK_SCU_SRC2 R8A7790_CLK_SCU_SRC1 R8A7790_CLK_SCU_SRC0 |
| 932 | >; |
| 933 | clock-output-names = |
| 934 | "ssi-all", |
| 935 | "ssi9", "ssi8", "ssi7", "ssi6", "ssi5", |
| 936 | "ssi4", "ssi3", "ssi2", "ssi1", "ssi0", |
| 937 | "scu-all", |
| 938 | "scu-dvc1", "scu-dvc0", |
| 939 | "scu-src9", "scu-src8", "scu-src7", "scu-src6", "scu-src5", |
| 940 | "scu-src4", "scu-src3", "scu-src2", "scu-src1", "scu-src0"; |
| 941 | }; |
Laurent Pinchart | 22a1f59 | 2013-12-11 15:05:14 +0100 | [diff] [blame] | 942 | }; |
Geert Uytterhoeven | 7053e13 | 2014-02-10 11:47:29 +0100 | [diff] [blame] | 943 | |
Geert Uytterhoeven | fad6d45 | 2014-02-25 11:30:13 +0100 | [diff] [blame] | 944 | qspi: spi@e6b10000 { |
Geert Uytterhoeven | 7053e13 | 2014-02-10 11:47:29 +0100 | [diff] [blame] | 945 | compatible = "renesas,qspi-r8a7790", "renesas,qspi"; |
| 946 | reg = <0 0xe6b10000 0 0x2c>; |
Geert Uytterhoeven | 7053e13 | 2014-02-10 11:47:29 +0100 | [diff] [blame] | 947 | interrupts = <0 184 IRQ_TYPE_LEVEL_HIGH>; |
| 948 | clocks = <&mstp9_clks R8A7790_CLK_QSPI_MOD>; |
| 949 | num-cs = <1>; |
| 950 | #address-cells = <1>; |
| 951 | #size-cells = <0>; |
| 952 | status = "disabled"; |
| 953 | }; |
Geert Uytterhoeven | ae8a614 | 2014-02-25 11:30:15 +0100 | [diff] [blame] | 954 | |
| 955 | msiof0: spi@e6e20000 { |
| 956 | compatible = "renesas,msiof-r8a7790"; |
| 957 | reg = <0 0xe6e20000 0 0x0064>; |
| 958 | interrupts = <0 156 IRQ_TYPE_LEVEL_HIGH>; |
| 959 | clocks = <&mstp0_clks R8A7790_CLK_MSIOF0>; |
| 960 | #address-cells = <1>; |
| 961 | #size-cells = <0>; |
| 962 | status = "disabled"; |
| 963 | }; |
| 964 | |
| 965 | msiof1: spi@e6e10000 { |
| 966 | compatible = "renesas,msiof-r8a7790"; |
| 967 | reg = <0 0xe6e10000 0 0x0064>; |
| 968 | interrupts = <0 157 IRQ_TYPE_LEVEL_HIGH>; |
| 969 | clocks = <&mstp2_clks R8A7790_CLK_MSIOF1>; |
| 970 | #address-cells = <1>; |
| 971 | #size-cells = <0>; |
| 972 | status = "disabled"; |
| 973 | }; |
| 974 | |
| 975 | msiof2: spi@e6e00000 { |
| 976 | compatible = "renesas,msiof-r8a7790"; |
| 977 | reg = <0 0xe6e00000 0 0x0064>; |
| 978 | interrupts = <0 158 IRQ_TYPE_LEVEL_HIGH>; |
| 979 | clocks = <&mstp2_clks R8A7790_CLK_MSIOF2>; |
| 980 | #address-cells = <1>; |
| 981 | #size-cells = <0>; |
| 982 | status = "disabled"; |
| 983 | }; |
| 984 | |
| 985 | msiof3: spi@e6c90000 { |
| 986 | compatible = "renesas,msiof-r8a7790"; |
| 987 | reg = <0 0xe6c90000 0 0x0064>; |
| 988 | interrupts = <0 159 IRQ_TYPE_LEVEL_HIGH>; |
| 989 | clocks = <&mstp2_clks R8A7790_CLK_MSIOF3>; |
| 990 | #address-cells = <1>; |
| 991 | #size-cells = <0>; |
| 992 | status = "disabled"; |
| 993 | }; |
Kuninori Morimoto | 7df2fd5 | 2014-06-10 23:53:54 -0700 | [diff] [blame] | 994 | |
Ben Dooks | ff4f3eb | 2014-06-24 21:59:54 +0400 | [diff] [blame] | 995 | pci0: pci@ee090000 { |
| 996 | compatible = "renesas,pci-r8a7790"; |
| 997 | device_type = "pci"; |
| 998 | clocks = <&mstp7_clks R8A7790_CLK_EHCI>; |
| 999 | reg = <0 0xee090000 0 0xc00>, |
| 1000 | <0 0xee080000 0 0x1100>; |
| 1001 | interrupts = <0 108 IRQ_TYPE_LEVEL_HIGH>; |
| 1002 | status = "disabled"; |
| 1003 | |
| 1004 | bus-range = <0 0>; |
| 1005 | #address-cells = <3>; |
| 1006 | #size-cells = <2>; |
| 1007 | #interrupt-cells = <1>; |
| 1008 | ranges = <0x02000000 0 0xee080000 0 0xee080000 0 0x00010000>; |
| 1009 | interrupt-map-mask = <0xff00 0 0 0x7>; |
| 1010 | interrupt-map = <0x0000 0 0 1 &gic 0 108 IRQ_TYPE_LEVEL_HIGH |
Geert Uytterhoeven | 517ec80 | 2014-06-30 11:49:53 +0200 | [diff] [blame] | 1011 | 0x0800 0 0 1 &gic 0 108 IRQ_TYPE_LEVEL_HIGH |
| 1012 | 0x1000 0 0 2 &gic 0 108 IRQ_TYPE_LEVEL_HIGH>; |
Ben Dooks | ff4f3eb | 2014-06-24 21:59:54 +0400 | [diff] [blame] | 1013 | }; |
| 1014 | |
| 1015 | pci1: pci@ee0b0000 { |
| 1016 | compatible = "renesas,pci-r8a7790"; |
| 1017 | device_type = "pci"; |
| 1018 | clocks = <&mstp7_clks R8A7790_CLK_EHCI>; |
| 1019 | reg = <0 0xee0b0000 0 0xc00>, |
| 1020 | <0 0xee0a0000 0 0x1100>; |
| 1021 | interrupts = <0 112 IRQ_TYPE_LEVEL_HIGH>; |
| 1022 | status = "disabled"; |
| 1023 | |
| 1024 | bus-range = <1 1>; |
| 1025 | #address-cells = <3>; |
| 1026 | #size-cells = <2>; |
| 1027 | #interrupt-cells = <1>; |
| 1028 | ranges = <0x02000000 0 0xee0a0000 0 0xee0a0000 0 0x00010000>; |
| 1029 | interrupt-map-mask = <0xff00 0 0 0x7>; |
| 1030 | interrupt-map = <0x0000 0 0 1 &gic 0 112 IRQ_TYPE_LEVEL_HIGH |
Geert Uytterhoeven | 517ec80 | 2014-06-30 11:49:53 +0200 | [diff] [blame] | 1031 | 0x0800 0 0 1 &gic 0 112 IRQ_TYPE_LEVEL_HIGH |
| 1032 | 0x1000 0 0 2 &gic 0 112 IRQ_TYPE_LEVEL_HIGH>; |
Ben Dooks | ff4f3eb | 2014-06-24 21:59:54 +0400 | [diff] [blame] | 1033 | }; |
| 1034 | |
| 1035 | pci2: pci@ee0d0000 { |
| 1036 | compatible = "renesas,pci-r8a7790"; |
| 1037 | device_type = "pci"; |
| 1038 | clocks = <&mstp7_clks R8A7790_CLK_EHCI>; |
| 1039 | reg = <0 0xee0d0000 0 0xc00>, |
| 1040 | <0 0xee0c0000 0 0x1100>; |
| 1041 | interrupts = <0 113 IRQ_TYPE_LEVEL_HIGH>; |
| 1042 | status = "disabled"; |
| 1043 | |
| 1044 | bus-range = <2 2>; |
| 1045 | #address-cells = <3>; |
| 1046 | #size-cells = <2>; |
| 1047 | #interrupt-cells = <1>; |
| 1048 | ranges = <0x02000000 0 0xee0c0000 0 0xee0c0000 0 0x00010000>; |
| 1049 | interrupt-map-mask = <0xff00 0 0 0x7>; |
| 1050 | interrupt-map = <0x0000 0 0 1 &gic 0 113 IRQ_TYPE_LEVEL_HIGH |
Geert Uytterhoeven | 517ec80 | 2014-06-30 11:49:53 +0200 | [diff] [blame] | 1051 | 0x0800 0 0 1 &gic 0 113 IRQ_TYPE_LEVEL_HIGH |
| 1052 | 0x1000 0 0 2 &gic 0 113 IRQ_TYPE_LEVEL_HIGH>; |
Ben Dooks | ff4f3eb | 2014-06-24 21:59:54 +0400 | [diff] [blame] | 1053 | }; |
| 1054 | |
Phil Edworthy | 745329d | 2014-06-13 10:37:17 +0100 | [diff] [blame] | 1055 | pciec: pcie@fe000000 { |
| 1056 | compatible = "renesas,pcie-r8a7790"; |
| 1057 | reg = <0 0xfe000000 0 0x80000>; |
| 1058 | #address-cells = <3>; |
| 1059 | #size-cells = <2>; |
| 1060 | bus-range = <0x00 0xff>; |
| 1061 | device_type = "pci"; |
| 1062 | ranges = <0x01000000 0 0x00000000 0 0xfe100000 0 0x00100000 |
| 1063 | 0x02000000 0 0xfe200000 0 0xfe200000 0 0x00200000 |
| 1064 | 0x02000000 0 0x30000000 0 0x30000000 0 0x08000000 |
| 1065 | 0x42000000 0 0x38000000 0 0x38000000 0 0x08000000>; |
| 1066 | /* Map all possible DDR as inbound ranges */ |
| 1067 | dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x80000000 |
| 1068 | 0x43000000 1 0x80000000 1 0x80000000 0 0x80000000>; |
| 1069 | interrupts = <0 116 IRQ_TYPE_LEVEL_HIGH>, |
| 1070 | <0 117 IRQ_TYPE_LEVEL_HIGH>, |
| 1071 | <0 118 IRQ_TYPE_LEVEL_HIGH>; |
| 1072 | #interrupt-cells = <1>; |
| 1073 | interrupt-map-mask = <0 0 0 0>; |
| 1074 | interrupt-map = <0 0 0 0 &gic 0 116 IRQ_TYPE_LEVEL_HIGH>; |
| 1075 | clocks = <&mstp3_clks R8A7790_CLK_PCIEC>, <&pcie_bus_clk>; |
| 1076 | clock-names = "pcie", "pcie_bus"; |
| 1077 | status = "disabled"; |
| 1078 | }; |
| 1079 | |
Kuninori Morimoto | 7df2fd5 | 2014-06-10 23:53:54 -0700 | [diff] [blame] | 1080 | rcar_sound: rcar_sound@0xec500000 { |
| 1081 | #sound-dai-cells = <1>; |
| 1082 | compatible = "renesas,rcar_sound-r8a7790", "renesas,rcar_sound-gen2", "renesas,rcar_sound"; |
| 1083 | interrupt-parent = <&gic>; |
| 1084 | reg = <0 0xec500000 0 0x1000>, /* SCU */ |
| 1085 | <0 0xec5a0000 0 0x100>, /* ADG */ |
| 1086 | <0 0xec540000 0 0x1000>, /* SSIU */ |
| 1087 | <0 0xec541000 0 0x1280>; /* SSI */ |
| 1088 | clocks = <&mstp10_clks R8A7790_CLK_SSI_ALL>, |
| 1089 | <&mstp10_clks R8A7790_CLK_SSI9>, <&mstp10_clks R8A7790_CLK_SSI8>, |
| 1090 | <&mstp10_clks R8A7790_CLK_SSI7>, <&mstp10_clks R8A7790_CLK_SSI6>, |
| 1091 | <&mstp10_clks R8A7790_CLK_SSI5>, <&mstp10_clks R8A7790_CLK_SSI4>, |
| 1092 | <&mstp10_clks R8A7790_CLK_SSI3>, <&mstp10_clks R8A7790_CLK_SSI2>, |
| 1093 | <&mstp10_clks R8A7790_CLK_SSI1>, <&mstp10_clks R8A7790_CLK_SSI0>, |
| 1094 | <&mstp10_clks R8A7790_CLK_SCU_SRC9>, <&mstp10_clks R8A7790_CLK_SCU_SRC8>, |
| 1095 | <&mstp10_clks R8A7790_CLK_SCU_SRC7>, <&mstp10_clks R8A7790_CLK_SCU_SRC6>, |
| 1096 | <&mstp10_clks R8A7790_CLK_SCU_SRC5>, <&mstp10_clks R8A7790_CLK_SCU_SRC4>, |
| 1097 | <&mstp10_clks R8A7790_CLK_SCU_SRC3>, <&mstp10_clks R8A7790_CLK_SCU_SRC2>, |
| 1098 | <&mstp10_clks R8A7790_CLK_SCU_SRC1>, <&mstp10_clks R8A7790_CLK_SCU_SRC0>, |
Kuninori Morimoto | 334d69a | 2014-06-25 17:52:17 -0700 | [diff] [blame] | 1099 | <&mstp10_clks R8A7790_CLK_SCU_DVC0>, <&mstp10_clks R8A7790_CLK_SCU_DVC1>, |
Kuninori Morimoto | 7df2fd5 | 2014-06-10 23:53:54 -0700 | [diff] [blame] | 1100 | <&audio_clk_a>, <&audio_clk_b>, <&audio_clk_c>, <&m2_clk>; |
| 1101 | clock-names = "ssi-all", |
| 1102 | "ssi.9", "ssi.8", "ssi.7", "ssi.6", "ssi.5", |
| 1103 | "ssi.4", "ssi.3", "ssi.2", "ssi.1", "ssi.0", |
| 1104 | "src.9", "src.8", "src.7", "src.6", "src.5", |
| 1105 | "src.4", "src.3", "src.2", "src.1", "src.0", |
Kuninori Morimoto | 334d69a | 2014-06-25 17:52:17 -0700 | [diff] [blame] | 1106 | "dvc.0", "dvc.1", |
Kuninori Morimoto | 7df2fd5 | 2014-06-10 23:53:54 -0700 | [diff] [blame] | 1107 | "clk_a", "clk_b", "clk_c", "clk_i"; |
| 1108 | |
| 1109 | status = "disabled"; |
| 1110 | |
Kuninori Morimoto | 334d69a | 2014-06-25 17:52:17 -0700 | [diff] [blame] | 1111 | rcar_sound,dvc { |
| 1112 | dvc0: dvc@0 { }; |
| 1113 | dvc1: dvc@1 { }; |
| 1114 | }; |
| 1115 | |
Kuninori Morimoto | 7df2fd5 | 2014-06-10 23:53:54 -0700 | [diff] [blame] | 1116 | rcar_sound,src { |
| 1117 | src0: src@0 { }; |
| 1118 | src1: src@1 { }; |
| 1119 | src2: src@2 { }; |
| 1120 | src3: src@3 { }; |
| 1121 | src4: src@4 { }; |
| 1122 | src5: src@5 { }; |
| 1123 | src6: src@6 { }; |
| 1124 | src7: src@7 { }; |
| 1125 | src8: src@8 { }; |
| 1126 | src9: src@9 { }; |
| 1127 | }; |
| 1128 | |
| 1129 | rcar_sound,ssi { |
| 1130 | ssi0: ssi@0 { interrupts = <0 370 IRQ_TYPE_LEVEL_HIGH>; }; |
| 1131 | ssi1: ssi@1 { interrupts = <0 371 IRQ_TYPE_LEVEL_HIGH>; }; |
| 1132 | ssi2: ssi@2 { interrupts = <0 372 IRQ_TYPE_LEVEL_HIGH>; }; |
| 1133 | ssi3: ssi@3 { interrupts = <0 373 IRQ_TYPE_LEVEL_HIGH>; }; |
| 1134 | ssi4: ssi@4 { interrupts = <0 374 IRQ_TYPE_LEVEL_HIGH>; }; |
| 1135 | ssi5: ssi@5 { interrupts = <0 375 IRQ_TYPE_LEVEL_HIGH>; }; |
| 1136 | ssi6: ssi@6 { interrupts = <0 376 IRQ_TYPE_LEVEL_HIGH>; }; |
| 1137 | ssi7: ssi@7 { interrupts = <0 377 IRQ_TYPE_LEVEL_HIGH>; }; |
| 1138 | ssi8: ssi@8 { interrupts = <0 378 IRQ_TYPE_LEVEL_HIGH>; }; |
| 1139 | ssi9: ssi@9 { interrupts = <0 379 IRQ_TYPE_LEVEL_HIGH>; }; |
| 1140 | }; |
| 1141 | }; |
Magnus Damm | 0468b2d | 2013-03-28 00:49:34 +0900 | [diff] [blame] | 1142 | }; |