Hisashi Nakamura | 0d0771ab | 2013-09-04 12:45:57 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree Source for the r8a7791 SoC |
| 3 | * |
| 4 | * Copyright (C) 2013 Renesas Electronics Corporation |
Sergei Shtylyov | 2e5d55c | 2014-02-20 02:27:04 +0300 | [diff] [blame] | 5 | * Copyright (C) 2013-2014 Renesas Solutions Corp. |
| 6 | * Copyright (C) 2014 Cogent Embedded Inc. |
Hisashi Nakamura | 0d0771ab | 2013-09-04 12:45:57 +0900 | [diff] [blame] | 7 | * |
| 8 | * This file is licensed under the terms of the GNU General Public License |
| 9 | * version 2. This program is licensed "as is" without any warranty of any |
| 10 | * kind, whether express or implied. |
| 11 | */ |
| 12 | |
Laurent Pinchart | 59e7989 | 2013-12-11 15:05:16 +0100 | [diff] [blame] | 13 | #include <dt-bindings/clock/r8a7791-clock.h> |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 14 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
| 15 | #include <dt-bindings/interrupt-controller/irq.h> |
| 16 | |
Hisashi Nakamura | 0d0771ab | 2013-09-04 12:45:57 +0900 | [diff] [blame] | 17 | / { |
| 18 | compatible = "renesas,r8a7791"; |
| 19 | interrupt-parent = <&gic>; |
| 20 | #address-cells = <2>; |
| 21 | #size-cells = <2>; |
| 22 | |
Wolfram Sang | 5bd3de7 | 2014-02-17 11:44:41 +0100 | [diff] [blame] | 23 | aliases { |
| 24 | i2c0 = &i2c0; |
| 25 | i2c1 = &i2c1; |
| 26 | i2c2 = &i2c2; |
| 27 | i2c3 = &i2c3; |
| 28 | i2c4 = &i2c4; |
| 29 | i2c5 = &i2c5; |
Geert Uytterhoeven | 6f3e4ee | 2014-02-25 11:30:14 +0100 | [diff] [blame] | 30 | spi0 = &qspi; |
Geert Uytterhoeven | 7713d3a | 2014-02-25 11:30:16 +0100 | [diff] [blame^] | 31 | spi1 = &msiof0; |
| 32 | spi2 = &msiof1; |
| 33 | spi3 = &msiof2; |
Wolfram Sang | 5bd3de7 | 2014-02-17 11:44:41 +0100 | [diff] [blame] | 34 | }; |
| 35 | |
Hisashi Nakamura | 0d0771ab | 2013-09-04 12:45:57 +0900 | [diff] [blame] | 36 | cpus { |
| 37 | #address-cells = <1>; |
| 38 | #size-cells = <0>; |
| 39 | |
| 40 | cpu0: cpu@0 { |
| 41 | device_type = "cpu"; |
| 42 | compatible = "arm,cortex-a15"; |
| 43 | reg = <0>; |
Magnus Damm | 896b79d | 2014-03-06 12:15:36 +0900 | [diff] [blame] | 44 | clock-frequency = <1500000000>; |
Hisashi Nakamura | 0d0771ab | 2013-09-04 12:45:57 +0900 | [diff] [blame] | 45 | }; |
Magnus Damm | 15ab426 | 2013-10-01 17:13:07 +0900 | [diff] [blame] | 46 | |
| 47 | cpu1: cpu@1 { |
| 48 | device_type = "cpu"; |
| 49 | compatible = "arm,cortex-a15"; |
| 50 | reg = <1>; |
Magnus Damm | 896b79d | 2014-03-06 12:15:36 +0900 | [diff] [blame] | 51 | clock-frequency = <1500000000>; |
Magnus Damm | 15ab426 | 2013-10-01 17:13:07 +0900 | [diff] [blame] | 52 | }; |
Hisashi Nakamura | 0d0771ab | 2013-09-04 12:45:57 +0900 | [diff] [blame] | 53 | }; |
| 54 | |
| 55 | gic: interrupt-controller@f1001000 { |
| 56 | compatible = "arm,cortex-a15-gic"; |
| 57 | #interrupt-cells = <3>; |
| 58 | #address-cells = <0>; |
| 59 | interrupt-controller; |
| 60 | reg = <0 0xf1001000 0 0x1000>, |
| 61 | <0 0xf1002000 0 0x1000>, |
| 62 | <0 0xf1004000 0 0x2000>, |
| 63 | <0 0xf1006000 0 0x2000>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 64 | interrupts = <1 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; |
Hisashi Nakamura | 0d0771ab | 2013-09-04 12:45:57 +0900 | [diff] [blame] | 65 | }; |
Magnus Damm | d77db73 | 2013-10-01 17:12:29 +0900 | [diff] [blame] | 66 | |
Magnus Damm | 89fbba1 | 2013-11-21 14:22:00 +0900 | [diff] [blame] | 67 | gpio0: gpio@e6050000 { |
Magnus Damm | ab87e3f | 2013-10-08 12:39:30 +0900 | [diff] [blame] | 68 | compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar"; |
Magnus Damm | 89fbba1 | 2013-11-21 14:22:00 +0900 | [diff] [blame] | 69 | reg = <0 0xe6050000 0 0x50>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 70 | interrupts = <0 4 IRQ_TYPE_LEVEL_HIGH>; |
Magnus Damm | ab87e3f | 2013-10-08 12:39:30 +0900 | [diff] [blame] | 71 | #gpio-cells = <2>; |
| 72 | gpio-controller; |
| 73 | gpio-ranges = <&pfc 0 0 32>; |
| 74 | #interrupt-cells = <2>; |
| 75 | interrupt-controller; |
| 76 | }; |
| 77 | |
Magnus Damm | 89fbba1 | 2013-11-21 14:22:00 +0900 | [diff] [blame] | 78 | gpio1: gpio@e6051000 { |
Magnus Damm | ab87e3f | 2013-10-08 12:39:30 +0900 | [diff] [blame] | 79 | compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar"; |
Magnus Damm | 89fbba1 | 2013-11-21 14:22:00 +0900 | [diff] [blame] | 80 | reg = <0 0xe6051000 0 0x50>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 81 | interrupts = <0 5 IRQ_TYPE_LEVEL_HIGH>; |
Magnus Damm | ab87e3f | 2013-10-08 12:39:30 +0900 | [diff] [blame] | 82 | #gpio-cells = <2>; |
| 83 | gpio-controller; |
| 84 | gpio-ranges = <&pfc 0 32 32>; |
| 85 | #interrupt-cells = <2>; |
| 86 | interrupt-controller; |
| 87 | }; |
| 88 | |
Magnus Damm | 89fbba1 | 2013-11-21 14:22:00 +0900 | [diff] [blame] | 89 | gpio2: gpio@e6052000 { |
Magnus Damm | ab87e3f | 2013-10-08 12:39:30 +0900 | [diff] [blame] | 90 | compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar"; |
Magnus Damm | 89fbba1 | 2013-11-21 14:22:00 +0900 | [diff] [blame] | 91 | reg = <0 0xe6052000 0 0x50>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 92 | interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>; |
Magnus Damm | ab87e3f | 2013-10-08 12:39:30 +0900 | [diff] [blame] | 93 | #gpio-cells = <2>; |
| 94 | gpio-controller; |
| 95 | gpio-ranges = <&pfc 0 64 32>; |
| 96 | #interrupt-cells = <2>; |
| 97 | interrupt-controller; |
| 98 | }; |
| 99 | |
Magnus Damm | 89fbba1 | 2013-11-21 14:22:00 +0900 | [diff] [blame] | 100 | gpio3: gpio@e6053000 { |
Magnus Damm | ab87e3f | 2013-10-08 12:39:30 +0900 | [diff] [blame] | 101 | compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar"; |
Magnus Damm | 89fbba1 | 2013-11-21 14:22:00 +0900 | [diff] [blame] | 102 | reg = <0 0xe6053000 0 0x50>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 103 | interrupts = <0 7 IRQ_TYPE_LEVEL_HIGH>; |
Magnus Damm | ab87e3f | 2013-10-08 12:39:30 +0900 | [diff] [blame] | 104 | #gpio-cells = <2>; |
| 105 | gpio-controller; |
| 106 | gpio-ranges = <&pfc 0 96 32>; |
| 107 | #interrupt-cells = <2>; |
| 108 | interrupt-controller; |
| 109 | }; |
| 110 | |
Magnus Damm | 89fbba1 | 2013-11-21 14:22:00 +0900 | [diff] [blame] | 111 | gpio4: gpio@e6054000 { |
Magnus Damm | ab87e3f | 2013-10-08 12:39:30 +0900 | [diff] [blame] | 112 | compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar"; |
Magnus Damm | 89fbba1 | 2013-11-21 14:22:00 +0900 | [diff] [blame] | 113 | reg = <0 0xe6054000 0 0x50>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 114 | interrupts = <0 8 IRQ_TYPE_LEVEL_HIGH>; |
Magnus Damm | ab87e3f | 2013-10-08 12:39:30 +0900 | [diff] [blame] | 115 | #gpio-cells = <2>; |
| 116 | gpio-controller; |
| 117 | gpio-ranges = <&pfc 0 128 32>; |
| 118 | #interrupt-cells = <2>; |
| 119 | interrupt-controller; |
| 120 | }; |
| 121 | |
Magnus Damm | 89fbba1 | 2013-11-21 14:22:00 +0900 | [diff] [blame] | 122 | gpio5: gpio@e6055000 { |
Magnus Damm | ab87e3f | 2013-10-08 12:39:30 +0900 | [diff] [blame] | 123 | compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar"; |
Magnus Damm | 89fbba1 | 2013-11-21 14:22:00 +0900 | [diff] [blame] | 124 | reg = <0 0xe6055000 0 0x50>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 125 | interrupts = <0 9 IRQ_TYPE_LEVEL_HIGH>; |
Magnus Damm | ab87e3f | 2013-10-08 12:39:30 +0900 | [diff] [blame] | 126 | #gpio-cells = <2>; |
| 127 | gpio-controller; |
| 128 | gpio-ranges = <&pfc 0 160 32>; |
| 129 | #interrupt-cells = <2>; |
| 130 | interrupt-controller; |
| 131 | }; |
| 132 | |
Magnus Damm | 89fbba1 | 2013-11-21 14:22:00 +0900 | [diff] [blame] | 133 | gpio6: gpio@e6055400 { |
Magnus Damm | ab87e3f | 2013-10-08 12:39:30 +0900 | [diff] [blame] | 134 | compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar"; |
Magnus Damm | 89fbba1 | 2013-11-21 14:22:00 +0900 | [diff] [blame] | 135 | reg = <0 0xe6055400 0 0x50>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 136 | interrupts = <0 10 IRQ_TYPE_LEVEL_HIGH>; |
Magnus Damm | ab87e3f | 2013-10-08 12:39:30 +0900 | [diff] [blame] | 137 | #gpio-cells = <2>; |
| 138 | gpio-controller; |
| 139 | gpio-ranges = <&pfc 0 192 32>; |
| 140 | #interrupt-cells = <2>; |
| 141 | interrupt-controller; |
| 142 | }; |
| 143 | |
Magnus Damm | 89fbba1 | 2013-11-21 14:22:00 +0900 | [diff] [blame] | 144 | gpio7: gpio@e6055800 { |
Magnus Damm | ab87e3f | 2013-10-08 12:39:30 +0900 | [diff] [blame] | 145 | compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar"; |
Magnus Damm | 89fbba1 | 2013-11-21 14:22:00 +0900 | [diff] [blame] | 146 | reg = <0 0xe6055800 0 0x50>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 147 | interrupts = <0 11 IRQ_TYPE_LEVEL_HIGH>; |
Magnus Damm | ab87e3f | 2013-10-08 12:39:30 +0900 | [diff] [blame] | 148 | #gpio-cells = <2>; |
| 149 | gpio-controller; |
| 150 | gpio-ranges = <&pfc 0 224 26>; |
| 151 | #interrupt-cells = <2>; |
| 152 | interrupt-controller; |
| 153 | }; |
| 154 | |
Magnus Damm | d103f4d | 2013-11-20 16:59:48 +0900 | [diff] [blame] | 155 | thermal@e61f0000 { |
| 156 | compatible = "renesas,thermal-r8a7791", "renesas,rcar-thermal"; |
| 157 | reg = <0 0xe61f0000 0 0x14>, <0 0xe61f0100 0 0x38>; |
Magnus Damm | d103f4d | 2013-11-20 16:59:48 +0900 | [diff] [blame] | 158 | interrupts = <0 69 IRQ_TYPE_LEVEL_HIGH>; |
Geert Uytterhoeven | 563bc8e | 2014-01-07 19:57:13 +0100 | [diff] [blame] | 159 | clocks = <&mstp5_clks R8A7791_CLK_THERMAL>; |
Magnus Damm | d103f4d | 2013-11-20 16:59:48 +0900 | [diff] [blame] | 160 | }; |
| 161 | |
Magnus Damm | 03586ac | 2013-10-01 17:12:38 +0900 | [diff] [blame] | 162 | timer { |
| 163 | compatible = "arm,armv7-timer"; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 164 | interrupts = <1 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, |
| 165 | <1 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, |
| 166 | <1 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, |
| 167 | <1 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; |
Magnus Damm | 03586ac | 2013-10-01 17:12:38 +0900 | [diff] [blame] | 168 | }; |
| 169 | |
Magnus Damm | d77db73 | 2013-10-01 17:12:29 +0900 | [diff] [blame] | 170 | irqc0: interrupt-controller@e61c0000 { |
Magnus Damm | 26041b0 | 2013-11-20 13:18:05 +0900 | [diff] [blame] | 171 | compatible = "renesas,irqc-r8a7791", "renesas,irqc"; |
Magnus Damm | d77db73 | 2013-10-01 17:12:29 +0900 | [diff] [blame] | 172 | #interrupt-cells = <2>; |
| 173 | interrupt-controller; |
| 174 | reg = <0 0xe61c0000 0 0x200>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 175 | interrupts = <0 0 IRQ_TYPE_LEVEL_HIGH>, |
| 176 | <0 1 IRQ_TYPE_LEVEL_HIGH>, |
| 177 | <0 2 IRQ_TYPE_LEVEL_HIGH>, |
| 178 | <0 3 IRQ_TYPE_LEVEL_HIGH>, |
| 179 | <0 12 IRQ_TYPE_LEVEL_HIGH>, |
| 180 | <0 13 IRQ_TYPE_LEVEL_HIGH>, |
| 181 | <0 14 IRQ_TYPE_LEVEL_HIGH>, |
| 182 | <0 15 IRQ_TYPE_LEVEL_HIGH>, |
| 183 | <0 16 IRQ_TYPE_LEVEL_HIGH>, |
| 184 | <0 17 IRQ_TYPE_LEVEL_HIGH>; |
Magnus Damm | d77db73 | 2013-10-01 17:12:29 +0900 | [diff] [blame] | 185 | }; |
Magnus Damm | 5514692 | 2013-10-08 12:39:01 +0900 | [diff] [blame] | 186 | |
Wolfram Sang | 5bd3de7 | 2014-02-17 11:44:41 +0100 | [diff] [blame] | 187 | i2c0: i2c@e6508000 { |
| 188 | #address-cells = <1>; |
| 189 | #size-cells = <0>; |
| 190 | compatible = "renesas,i2c-r8a7791"; |
| 191 | reg = <0 0xe6508000 0 0x40>; |
| 192 | interrupts = <0 287 IRQ_TYPE_LEVEL_HIGH>; |
| 193 | clocks = <&mstp9_clks R8A7791_CLK_I2C0>; |
| 194 | status = "disabled"; |
| 195 | }; |
| 196 | |
| 197 | i2c1: i2c@e6518000 { |
| 198 | #address-cells = <1>; |
| 199 | #size-cells = <0>; |
| 200 | compatible = "renesas,i2c-r8a7791"; |
| 201 | reg = <0 0xe6518000 0 0x40>; |
| 202 | interrupts = <0 288 IRQ_TYPE_LEVEL_HIGH>; |
| 203 | clocks = <&mstp9_clks R8A7791_CLK_I2C1>; |
| 204 | status = "disabled"; |
| 205 | }; |
| 206 | |
| 207 | i2c2: i2c@e6530000 { |
| 208 | #address-cells = <1>; |
| 209 | #size-cells = <0>; |
| 210 | compatible = "renesas,i2c-r8a7791"; |
| 211 | reg = <0 0xe6530000 0 0x40>; |
| 212 | interrupts = <0 286 IRQ_TYPE_LEVEL_HIGH>; |
| 213 | clocks = <&mstp9_clks R8A7791_CLK_I2C2>; |
| 214 | status = "disabled"; |
| 215 | }; |
| 216 | |
| 217 | i2c3: i2c@e6540000 { |
| 218 | #address-cells = <1>; |
| 219 | #size-cells = <0>; |
| 220 | compatible = "renesas,i2c-r8a7791"; |
| 221 | reg = <0 0xe6540000 0 0x40>; |
| 222 | interrupts = <0 290 IRQ_TYPE_LEVEL_HIGH>; |
| 223 | clocks = <&mstp9_clks R8A7791_CLK_I2C3>; |
| 224 | status = "disabled"; |
| 225 | }; |
| 226 | |
| 227 | i2c4: i2c@e6520000 { |
| 228 | #address-cells = <1>; |
| 229 | #size-cells = <0>; |
| 230 | compatible = "renesas,i2c-r8a7791"; |
| 231 | reg = <0 0xe6520000 0 0x40>; |
| 232 | interrupts = <0 19 IRQ_TYPE_LEVEL_HIGH>; |
| 233 | clocks = <&mstp9_clks R8A7791_CLK_I2C4>; |
| 234 | status = "disabled"; |
| 235 | }; |
| 236 | |
| 237 | i2c5: i2c@e6528000 { |
| 238 | #address-cells = <1>; |
| 239 | #size-cells = <0>; |
| 240 | compatible = "renesas,i2c-r8a7791"; |
| 241 | reg = <0 0xe6528000 0 0x40>; |
| 242 | interrupts = <0 20 IRQ_TYPE_LEVEL_HIGH>; |
| 243 | clocks = <&mstp9_clks R8A7791_CLK_I2C5>; |
| 244 | status = "disabled"; |
| 245 | }; |
| 246 | |
Magnus Damm | 5514692 | 2013-10-08 12:39:01 +0900 | [diff] [blame] | 247 | pfc: pfc@e6060000 { |
| 248 | compatible = "renesas,pfc-r8a7791"; |
| 249 | reg = <0 0xe6060000 0 0x250>; |
| 250 | #gpio-range-cells = <3>; |
| 251 | }; |
Laurent Pinchart | 59e7989 | 2013-12-11 15:05:16 +0100 | [diff] [blame] | 252 | |
Magnus Damm | b7ed8a0 | 2014-02-12 18:53:55 +0900 | [diff] [blame] | 253 | sdhi0: sd@ee100000 { |
| 254 | compatible = "renesas,sdhi-r8a7791"; |
| 255 | reg = <0 0xee100000 0 0x200>; |
| 256 | interrupt-parent = <&gic>; |
| 257 | interrupts = <0 165 IRQ_TYPE_LEVEL_HIGH>; |
| 258 | clocks = <&mstp3_clks R8A7791_CLK_SDHI0>; |
| 259 | status = "disabled"; |
| 260 | }; |
| 261 | |
| 262 | sdhi1: sd@ee140000 { |
| 263 | compatible = "renesas,sdhi-r8a7791"; |
| 264 | reg = <0 0xee140000 0 0x100>; |
| 265 | interrupt-parent = <&gic>; |
| 266 | interrupts = <0 167 IRQ_TYPE_LEVEL_HIGH>; |
| 267 | clocks = <&mstp3_clks R8A7791_CLK_SDHI1>; |
| 268 | status = "disabled"; |
| 269 | }; |
| 270 | |
| 271 | sdhi2: sd@ee160000 { |
| 272 | compatible = "renesas,sdhi-r8a7791"; |
| 273 | reg = <0 0xee160000 0 0x100>; |
| 274 | interrupt-parent = <&gic>; |
| 275 | interrupts = <0 168 IRQ_TYPE_LEVEL_HIGH>; |
| 276 | clocks = <&mstp3_clks R8A7791_CLK_SDHI2>; |
| 277 | status = "disabled"; |
| 278 | }; |
| 279 | |
Laurent Pinchart | 9640cf2 | 2013-12-11 14:14:22 +0100 | [diff] [blame] | 280 | scifa0: serial@e6c40000 { |
| 281 | compatible = "renesas,scifa-r8a7791", "renesas,scifa"; |
| 282 | reg = <0 0xe6c40000 0 64>; |
Laurent Pinchart | 9640cf2 | 2013-12-11 14:14:22 +0100 | [diff] [blame] | 283 | interrupts = <0 144 IRQ_TYPE_LEVEL_HIGH>; |
| 284 | clocks = <&mstp2_clks R8A7791_CLK_SCIFA0>; |
| 285 | clock-names = "sci_ick"; |
| 286 | status = "disabled"; |
| 287 | }; |
| 288 | |
| 289 | scifa1: serial@e6c50000 { |
| 290 | compatible = "renesas,scifa-r8a7791", "renesas,scifa"; |
Laurent Pinchart | 9640cf2 | 2013-12-11 14:14:22 +0100 | [diff] [blame] | 291 | reg = <0 0xe6c50000 0 64>; |
| 292 | interrupts = <0 145 IRQ_TYPE_LEVEL_HIGH>; |
| 293 | clocks = <&mstp2_clks R8A7791_CLK_SCIFA1>; |
| 294 | clock-names = "sci_ick"; |
| 295 | status = "disabled"; |
| 296 | }; |
| 297 | |
| 298 | scifa2: serial@e6c60000 { |
| 299 | compatible = "renesas,scifa-r8a7791", "renesas,scifa"; |
Laurent Pinchart | 9640cf2 | 2013-12-11 14:14:22 +0100 | [diff] [blame] | 300 | reg = <0 0xe6c60000 0 64>; |
| 301 | interrupts = <0 151 IRQ_TYPE_LEVEL_HIGH>; |
| 302 | clocks = <&mstp2_clks R8A7791_CLK_SCIFA2>; |
| 303 | clock-names = "sci_ick"; |
| 304 | status = "disabled"; |
| 305 | }; |
| 306 | |
| 307 | scifa3: serial@e6c70000 { |
| 308 | compatible = "renesas,scifa-r8a7791", "renesas,scifa"; |
Laurent Pinchart | 9640cf2 | 2013-12-11 14:14:22 +0100 | [diff] [blame] | 309 | reg = <0 0xe6c70000 0 64>; |
| 310 | interrupts = <0 29 IRQ_TYPE_LEVEL_HIGH>; |
| 311 | clocks = <&mstp11_clks R8A7791_CLK_SCIFA3>; |
| 312 | clock-names = "sci_ick"; |
| 313 | status = "disabled"; |
| 314 | }; |
| 315 | |
| 316 | scifa4: serial@e6c78000 { |
| 317 | compatible = "renesas,scifa-r8a7791", "renesas,scifa"; |
Laurent Pinchart | 9640cf2 | 2013-12-11 14:14:22 +0100 | [diff] [blame] | 318 | reg = <0 0xe6c78000 0 64>; |
| 319 | interrupts = <0 30 IRQ_TYPE_LEVEL_HIGH>; |
| 320 | clocks = <&mstp11_clks R8A7791_CLK_SCIFA4>; |
| 321 | clock-names = "sci_ick"; |
| 322 | status = "disabled"; |
| 323 | }; |
| 324 | |
| 325 | scifa5: serial@e6c80000 { |
| 326 | compatible = "renesas,scifa-r8a7791", "renesas,scifa"; |
Laurent Pinchart | 9640cf2 | 2013-12-11 14:14:22 +0100 | [diff] [blame] | 327 | reg = <0 0xe6c80000 0 64>; |
| 328 | interrupts = <0 31 IRQ_TYPE_LEVEL_HIGH>; |
| 329 | clocks = <&mstp11_clks R8A7791_CLK_SCIFA5>; |
| 330 | clock-names = "sci_ick"; |
| 331 | status = "disabled"; |
| 332 | }; |
| 333 | |
| 334 | scifb0: serial@e6c20000 { |
| 335 | compatible = "renesas,scifb-r8a7791", "renesas,scifb"; |
Laurent Pinchart | 9640cf2 | 2013-12-11 14:14:22 +0100 | [diff] [blame] | 336 | reg = <0 0xe6c20000 0 64>; |
| 337 | interrupts = <0 148 IRQ_TYPE_LEVEL_HIGH>; |
| 338 | clocks = <&mstp2_clks R8A7791_CLK_SCIFB0>; |
| 339 | clock-names = "sci_ick"; |
| 340 | status = "disabled"; |
| 341 | }; |
| 342 | |
| 343 | scifb1: serial@e6c30000 { |
| 344 | compatible = "renesas,scifb-r8a7791", "renesas,scifb"; |
Laurent Pinchart | 9640cf2 | 2013-12-11 14:14:22 +0100 | [diff] [blame] | 345 | reg = <0 0xe6c30000 0 64>; |
| 346 | interrupts = <0 149 IRQ_TYPE_LEVEL_HIGH>; |
| 347 | clocks = <&mstp2_clks R8A7791_CLK_SCIFB1>; |
| 348 | clock-names = "sci_ick"; |
| 349 | status = "disabled"; |
| 350 | }; |
| 351 | |
| 352 | scifb2: serial@e6ce0000 { |
| 353 | compatible = "renesas,scifb-r8a7791", "renesas,scifb"; |
Laurent Pinchart | 9640cf2 | 2013-12-11 14:14:22 +0100 | [diff] [blame] | 354 | reg = <0 0xe6ce0000 0 64>; |
| 355 | interrupts = <0 150 IRQ_TYPE_LEVEL_HIGH>; |
| 356 | clocks = <&mstp2_clks R8A7791_CLK_SCIFB2>; |
| 357 | clock-names = "sci_ick"; |
| 358 | status = "disabled"; |
| 359 | }; |
| 360 | |
| 361 | scif0: serial@e6e60000 { |
| 362 | compatible = "renesas,scif-r8a7791", "renesas,scif"; |
Laurent Pinchart | 9640cf2 | 2013-12-11 14:14:22 +0100 | [diff] [blame] | 363 | reg = <0 0xe6e60000 0 64>; |
| 364 | interrupts = <0 152 IRQ_TYPE_LEVEL_HIGH>; |
| 365 | clocks = <&mstp7_clks R8A7791_CLK_SCIF0>; |
| 366 | clock-names = "sci_ick"; |
| 367 | status = "disabled"; |
| 368 | }; |
| 369 | |
| 370 | scif1: serial@e6e68000 { |
| 371 | compatible = "renesas,scif-r8a7791", "renesas,scif"; |
Laurent Pinchart | 9640cf2 | 2013-12-11 14:14:22 +0100 | [diff] [blame] | 372 | reg = <0 0xe6e68000 0 64>; |
| 373 | interrupts = <0 153 IRQ_TYPE_LEVEL_HIGH>; |
| 374 | clocks = <&mstp7_clks R8A7791_CLK_SCIF1>; |
| 375 | clock-names = "sci_ick"; |
| 376 | status = "disabled"; |
| 377 | }; |
| 378 | |
| 379 | scif2: serial@e6e58000 { |
| 380 | compatible = "renesas,scif-r8a7791", "renesas,scif"; |
Laurent Pinchart | 9640cf2 | 2013-12-11 14:14:22 +0100 | [diff] [blame] | 381 | reg = <0 0xe6e58000 0 64>; |
| 382 | interrupts = <0 22 IRQ_TYPE_LEVEL_HIGH>; |
| 383 | clocks = <&mstp7_clks R8A7791_CLK_SCIF2>; |
| 384 | clock-names = "sci_ick"; |
| 385 | status = "disabled"; |
| 386 | }; |
| 387 | |
| 388 | scif3: serial@e6ea8000 { |
| 389 | compatible = "renesas,scif-r8a7791", "renesas,scif"; |
Laurent Pinchart | 9640cf2 | 2013-12-11 14:14:22 +0100 | [diff] [blame] | 390 | reg = <0 0xe6ea8000 0 64>; |
| 391 | interrupts = <0 23 IRQ_TYPE_LEVEL_HIGH>; |
| 392 | clocks = <&mstp7_clks R8A7791_CLK_SCIF3>; |
| 393 | clock-names = "sci_ick"; |
| 394 | status = "disabled"; |
| 395 | }; |
| 396 | |
| 397 | scif4: serial@e6ee0000 { |
| 398 | compatible = "renesas,scif-r8a7791", "renesas,scif"; |
Laurent Pinchart | 9640cf2 | 2013-12-11 14:14:22 +0100 | [diff] [blame] | 399 | reg = <0 0xe6ee0000 0 64>; |
| 400 | interrupts = <0 24 IRQ_TYPE_LEVEL_HIGH>; |
| 401 | clocks = <&mstp7_clks R8A7791_CLK_SCIF4>; |
| 402 | clock-names = "sci_ick"; |
| 403 | status = "disabled"; |
| 404 | }; |
| 405 | |
| 406 | scif5: serial@e6ee8000 { |
| 407 | compatible = "renesas,scif-r8a7791", "renesas,scif"; |
Laurent Pinchart | 9640cf2 | 2013-12-11 14:14:22 +0100 | [diff] [blame] | 408 | reg = <0 0xe6ee8000 0 64>; |
| 409 | interrupts = <0 25 IRQ_TYPE_LEVEL_HIGH>; |
| 410 | clocks = <&mstp7_clks R8A7791_CLK_SCIF5>; |
| 411 | clock-names = "sci_ick"; |
| 412 | status = "disabled"; |
| 413 | }; |
| 414 | |
| 415 | hscif0: serial@e62c0000 { |
| 416 | compatible = "renesas,hscif-r8a7791", "renesas,hscif"; |
Laurent Pinchart | 9640cf2 | 2013-12-11 14:14:22 +0100 | [diff] [blame] | 417 | reg = <0 0xe62c0000 0 96>; |
| 418 | interrupts = <0 154 IRQ_TYPE_LEVEL_HIGH>; |
| 419 | clocks = <&mstp7_clks R8A7791_CLK_HSCIF0>; |
| 420 | clock-names = "sci_ick"; |
| 421 | status = "disabled"; |
| 422 | }; |
| 423 | |
| 424 | hscif1: serial@e62c8000 { |
| 425 | compatible = "renesas,hscif-r8a7791", "renesas,hscif"; |
Laurent Pinchart | 9640cf2 | 2013-12-11 14:14:22 +0100 | [diff] [blame] | 426 | reg = <0 0xe62c8000 0 96>; |
| 427 | interrupts = <0 155 IRQ_TYPE_LEVEL_HIGH>; |
| 428 | clocks = <&mstp7_clks R8A7791_CLK_HSCIF1>; |
| 429 | clock-names = "sci_ick"; |
| 430 | status = "disabled"; |
| 431 | }; |
| 432 | |
| 433 | hscif2: serial@e62d0000 { |
| 434 | compatible = "renesas,hscif-r8a7791", "renesas,hscif"; |
Laurent Pinchart | 9640cf2 | 2013-12-11 14:14:22 +0100 | [diff] [blame] | 435 | reg = <0 0xe62d0000 0 96>; |
| 436 | interrupts = <0 21 IRQ_TYPE_LEVEL_HIGH>; |
| 437 | clocks = <&mstp7_clks R8A7791_CLK_HSCIF2>; |
| 438 | clock-names = "sci_ick"; |
| 439 | status = "disabled"; |
| 440 | }; |
| 441 | |
Sergei Shtylyov | 2e5d55c | 2014-02-20 02:27:04 +0300 | [diff] [blame] | 442 | ether: ethernet@ee700000 { |
| 443 | compatible = "renesas,ether-r8a7791"; |
| 444 | reg = <0 0xee700000 0 0x400>; |
| 445 | interrupts = <0 162 IRQ_TYPE_LEVEL_HIGH>; |
| 446 | clocks = <&mstp8_clks R8A7791_CLK_ETHER>; |
| 447 | phy-mode = "rmii"; |
| 448 | #address-cells = <1>; |
| 449 | #size-cells = <0>; |
| 450 | status = "disabled"; |
| 451 | }; |
| 452 | |
Valentine Barshak | b8532c6 | 2014-01-14 21:05:40 +0400 | [diff] [blame] | 453 | sata0: sata@ee300000 { |
| 454 | compatible = "renesas,sata-r8a7791"; |
| 455 | reg = <0 0xee300000 0 0x2000>; |
Valentine Barshak | b8532c6 | 2014-01-14 21:05:40 +0400 | [diff] [blame] | 456 | interrupts = <0 105 IRQ_TYPE_LEVEL_HIGH>; |
| 457 | clocks = <&mstp8_clks R8A7791_CLK_SATA0>; |
| 458 | status = "disabled"; |
| 459 | }; |
| 460 | |
| 461 | sata1: sata@ee500000 { |
| 462 | compatible = "renesas,sata-r8a7791"; |
| 463 | reg = <0 0xee500000 0 0x2000>; |
Valentine Barshak | b8532c6 | 2014-01-14 21:05:40 +0400 | [diff] [blame] | 464 | interrupts = <0 106 IRQ_TYPE_LEVEL_HIGH>; |
| 465 | clocks = <&mstp8_clks R8A7791_CLK_SATA1>; |
| 466 | status = "disabled"; |
| 467 | }; |
| 468 | |
Laurent Pinchart | 59e7989 | 2013-12-11 15:05:16 +0100 | [diff] [blame] | 469 | clocks { |
| 470 | #address-cells = <2>; |
| 471 | #size-cells = <2>; |
| 472 | ranges; |
| 473 | |
| 474 | /* External root clock */ |
| 475 | extal_clk: extal_clk { |
| 476 | compatible = "fixed-clock"; |
| 477 | #clock-cells = <0>; |
| 478 | /* This value must be overriden by the board. */ |
| 479 | clock-frequency = <0>; |
| 480 | clock-output-names = "extal"; |
| 481 | }; |
| 482 | |
| 483 | /* Special CPG clocks */ |
| 484 | cpg_clocks: cpg_clocks@e6150000 { |
| 485 | compatible = "renesas,r8a7791-cpg-clocks", |
| 486 | "renesas,rcar-gen2-cpg-clocks"; |
| 487 | reg = <0 0xe6150000 0 0x1000>; |
| 488 | clocks = <&extal_clk>; |
| 489 | #clock-cells = <1>; |
| 490 | clock-output-names = "main", "pll0", "pll1", "pll3", |
| 491 | "lb", "qspi", "sdh", "sd0", "z"; |
| 492 | }; |
| 493 | |
| 494 | /* Variable factor clocks */ |
| 495 | sd1_clk: sd2_clk@e6150078 { |
| 496 | compatible = "renesas,r8a7791-div6-clock", "renesas,cpg-div6-clock"; |
| 497 | reg = <0 0xe6150078 0 4>; |
| 498 | clocks = <&pll1_div2_clk>; |
| 499 | #clock-cells = <0>; |
| 500 | clock-output-names = "sd1"; |
| 501 | }; |
| 502 | sd2_clk: sd3_clk@e615007c { |
| 503 | compatible = "renesas,r8a7791-div6-clock", "renesas,cpg-div6-clock"; |
| 504 | reg = <0 0xe615007c 0 4>; |
| 505 | clocks = <&pll1_div2_clk>; |
| 506 | #clock-cells = <0>; |
| 507 | clock-output-names = "sd2"; |
| 508 | }; |
| 509 | mmc0_clk: mmc0_clk@e6150240 { |
| 510 | compatible = "renesas,r8a7791-div6-clock", "renesas,cpg-div6-clock"; |
| 511 | reg = <0 0xe6150240 0 4>; |
| 512 | clocks = <&pll1_div2_clk>; |
| 513 | #clock-cells = <0>; |
| 514 | clock-output-names = "mmc0"; |
| 515 | }; |
| 516 | ssp_clk: ssp_clk@e6150248 { |
| 517 | compatible = "renesas,r8a7791-div6-clock", "renesas,cpg-div6-clock"; |
| 518 | reg = <0 0xe6150248 0 4>; |
| 519 | clocks = <&pll1_div2_clk>; |
| 520 | #clock-cells = <0>; |
| 521 | clock-output-names = "ssp"; |
| 522 | }; |
| 523 | ssprs_clk: ssprs_clk@e615024c { |
| 524 | compatible = "renesas,r8a7791-div6-clock", "renesas,cpg-div6-clock"; |
| 525 | reg = <0 0xe615024c 0 4>; |
| 526 | clocks = <&pll1_div2_clk>; |
| 527 | #clock-cells = <0>; |
| 528 | clock-output-names = "ssprs"; |
| 529 | }; |
| 530 | |
| 531 | /* Fixed factor clocks */ |
| 532 | pll1_div2_clk: pll1_div2_clk { |
| 533 | compatible = "fixed-factor-clock"; |
| 534 | clocks = <&cpg_clocks R8A7791_CLK_PLL1>; |
| 535 | #clock-cells = <0>; |
| 536 | clock-div = <2>; |
| 537 | clock-mult = <1>; |
| 538 | clock-output-names = "pll1_div2"; |
| 539 | }; |
| 540 | zg_clk: zg_clk { |
| 541 | compatible = "fixed-factor-clock"; |
| 542 | clocks = <&cpg_clocks R8A7791_CLK_PLL1>; |
| 543 | #clock-cells = <0>; |
| 544 | clock-div = <3>; |
| 545 | clock-mult = <1>; |
| 546 | clock-output-names = "zg"; |
| 547 | }; |
| 548 | zx_clk: zx_clk { |
| 549 | compatible = "fixed-factor-clock"; |
| 550 | clocks = <&cpg_clocks R8A7791_CLK_PLL1>; |
| 551 | #clock-cells = <0>; |
| 552 | clock-div = <3>; |
| 553 | clock-mult = <1>; |
| 554 | clock-output-names = "zx"; |
| 555 | }; |
| 556 | zs_clk: zs_clk { |
| 557 | compatible = "fixed-factor-clock"; |
| 558 | clocks = <&cpg_clocks R8A7791_CLK_PLL1>; |
| 559 | #clock-cells = <0>; |
| 560 | clock-div = <6>; |
| 561 | clock-mult = <1>; |
| 562 | clock-output-names = "zs"; |
| 563 | }; |
| 564 | hp_clk: hp_clk { |
| 565 | compatible = "fixed-factor-clock"; |
| 566 | clocks = <&cpg_clocks R8A7791_CLK_PLL1>; |
| 567 | #clock-cells = <0>; |
| 568 | clock-div = <12>; |
| 569 | clock-mult = <1>; |
| 570 | clock-output-names = "hp"; |
| 571 | }; |
| 572 | i_clk: i_clk { |
| 573 | compatible = "fixed-factor-clock"; |
| 574 | clocks = <&cpg_clocks R8A7791_CLK_PLL1>; |
| 575 | #clock-cells = <0>; |
| 576 | clock-div = <2>; |
| 577 | clock-mult = <1>; |
| 578 | clock-output-names = "i"; |
| 579 | }; |
| 580 | b_clk: b_clk { |
| 581 | compatible = "fixed-factor-clock"; |
| 582 | clocks = <&cpg_clocks R8A7791_CLK_PLL1>; |
| 583 | #clock-cells = <0>; |
| 584 | clock-div = <12>; |
| 585 | clock-mult = <1>; |
| 586 | clock-output-names = "b"; |
| 587 | }; |
| 588 | p_clk: p_clk { |
| 589 | compatible = "fixed-factor-clock"; |
| 590 | clocks = <&cpg_clocks R8A7791_CLK_PLL1>; |
| 591 | #clock-cells = <0>; |
| 592 | clock-div = <24>; |
| 593 | clock-mult = <1>; |
| 594 | clock-output-names = "p"; |
| 595 | }; |
| 596 | cl_clk: cl_clk { |
| 597 | compatible = "fixed-factor-clock"; |
| 598 | clocks = <&cpg_clocks R8A7791_CLK_PLL1>; |
| 599 | #clock-cells = <0>; |
| 600 | clock-div = <48>; |
| 601 | clock-mult = <1>; |
| 602 | clock-output-names = "cl"; |
| 603 | }; |
| 604 | m2_clk: m2_clk { |
| 605 | compatible = "fixed-factor-clock"; |
| 606 | clocks = <&cpg_clocks R8A7791_CLK_PLL1>; |
| 607 | #clock-cells = <0>; |
| 608 | clock-div = <8>; |
| 609 | clock-mult = <1>; |
| 610 | clock-output-names = "m2"; |
| 611 | }; |
| 612 | imp_clk: imp_clk { |
| 613 | compatible = "fixed-factor-clock"; |
| 614 | clocks = <&cpg_clocks R8A7791_CLK_PLL1>; |
| 615 | #clock-cells = <0>; |
| 616 | clock-div = <4>; |
| 617 | clock-mult = <1>; |
| 618 | clock-output-names = "imp"; |
| 619 | }; |
| 620 | rclk_clk: rclk_clk { |
| 621 | compatible = "fixed-factor-clock"; |
| 622 | clocks = <&cpg_clocks R8A7791_CLK_PLL1>; |
| 623 | #clock-cells = <0>; |
| 624 | clock-div = <(48 * 1024)>; |
| 625 | clock-mult = <1>; |
| 626 | clock-output-names = "rclk"; |
| 627 | }; |
| 628 | oscclk_clk: oscclk_clk { |
| 629 | compatible = "fixed-factor-clock"; |
| 630 | clocks = <&cpg_clocks R8A7791_CLK_PLL1>; |
| 631 | #clock-cells = <0>; |
| 632 | clock-div = <(12 * 1024)>; |
| 633 | clock-mult = <1>; |
| 634 | clock-output-names = "oscclk"; |
| 635 | }; |
| 636 | zb3_clk: zb3_clk { |
| 637 | compatible = "fixed-factor-clock"; |
| 638 | clocks = <&cpg_clocks R8A7791_CLK_PLL3>; |
| 639 | #clock-cells = <0>; |
| 640 | clock-div = <4>; |
| 641 | clock-mult = <1>; |
| 642 | clock-output-names = "zb3"; |
| 643 | }; |
| 644 | zb3d2_clk: zb3d2_clk { |
| 645 | compatible = "fixed-factor-clock"; |
| 646 | clocks = <&cpg_clocks R8A7791_CLK_PLL3>; |
| 647 | #clock-cells = <0>; |
| 648 | clock-div = <8>; |
| 649 | clock-mult = <1>; |
| 650 | clock-output-names = "zb3d2"; |
| 651 | }; |
| 652 | ddr_clk: ddr_clk { |
| 653 | compatible = "fixed-factor-clock"; |
| 654 | clocks = <&cpg_clocks R8A7791_CLK_PLL3>; |
| 655 | #clock-cells = <0>; |
| 656 | clock-div = <8>; |
| 657 | clock-mult = <1>; |
| 658 | clock-output-names = "ddr"; |
| 659 | }; |
| 660 | mp_clk: mp_clk { |
| 661 | compatible = "fixed-factor-clock"; |
| 662 | clocks = <&pll1_div2_clk>; |
| 663 | #clock-cells = <0>; |
| 664 | clock-div = <15>; |
| 665 | clock-mult = <1>; |
| 666 | clock-output-names = "mp"; |
| 667 | }; |
| 668 | cp_clk: cp_clk { |
| 669 | compatible = "fixed-factor-clock"; |
| 670 | clocks = <&extal_clk>; |
| 671 | #clock-cells = <0>; |
| 672 | clock-div = <2>; |
| 673 | clock-mult = <1>; |
| 674 | clock-output-names = "cp"; |
| 675 | }; |
| 676 | |
| 677 | /* Gate clocks */ |
Laurent Pinchart | cded80f | 2013-12-19 16:51:02 +0100 | [diff] [blame] | 678 | mstp0_clks: mstp0_clks@e6150130 { |
| 679 | compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks"; |
| 680 | reg = <0 0xe6150130 0 4>, <0 0xe6150030 0 4>; |
| 681 | clocks = <&mp_clk>; |
| 682 | #clock-cells = <1>; |
| 683 | renesas,clock-indices = <R8A7791_CLK_MSIOF0>; |
| 684 | clock-output-names = "msiof0"; |
| 685 | }; |
Laurent Pinchart | 59e7989 | 2013-12-11 15:05:16 +0100 | [diff] [blame] | 686 | mstp1_clks: mstp1_clks@e6150134 { |
| 687 | compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks"; |
| 688 | reg = <0 0xe6150134 0 4>, <0 0xe6150038 0 4>; |
| 689 | clocks = <&p_clk>, <&p_clk>, <&p_clk>, <&rclk_clk>, |
| 690 | <&cp_clk>, <&zs_clk>, <&zs_clk>, <&zs_clk>; |
| 691 | #clock-cells = <1>; |
| 692 | renesas,clock-indices = < |
| 693 | R8A7791_CLK_TMU1 R8A7791_CLK_TMU3 R8A7791_CLK_TMU2 |
| 694 | R8A7791_CLK_CMT0 R8A7791_CLK_TMU0 R8A7791_CLK_VSP1_DU1 |
| 695 | R8A7791_CLK_VSP1_DU0 R8A7791_CLK_VSP1_SY |
| 696 | >; |
| 697 | clock-output-names = |
| 698 | "tmu1", "tmu3", "tmu2", "cmt0", "tmu0", "vsp1-du1", |
| 699 | "vsp1-du0", "vsp1-sy"; |
| 700 | }; |
| 701 | mstp2_clks: mstp2_clks@e6150138 { |
| 702 | compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks"; |
| 703 | reg = <0 0xe6150138 0 4>, <0 0xe6150040 0 4>; |
| 704 | clocks = <&mp_clk>, <&mp_clk>, <&mp_clk>, <&mp_clk>, <&mp_clk>, |
Laurent Pinchart | cded80f | 2013-12-19 16:51:02 +0100 | [diff] [blame] | 705 | <&mp_clk>, <&mp_clk>, <&mp_clk>; |
Laurent Pinchart | 59e7989 | 2013-12-11 15:05:16 +0100 | [diff] [blame] | 706 | #clock-cells = <1>; |
| 707 | renesas,clock-indices = < |
| 708 | R8A7791_CLK_SCIFA2 R8A7791_CLK_SCIFA1 R8A7791_CLK_SCIFA0 |
Laurent Pinchart | cded80f | 2013-12-19 16:51:02 +0100 | [diff] [blame] | 709 | R8A7791_CLK_MSIOF2 R8A7791_CLK_SCIFB0 R8A7791_CLK_SCIFB1 |
| 710 | R8A7791_CLK_MSIOF1 R8A7791_CLK_SCIFB2 |
Laurent Pinchart | 59e7989 | 2013-12-11 15:05:16 +0100 | [diff] [blame] | 711 | >; |
| 712 | clock-output-names = |
Geert Uytterhoeven | 0c002ef | 2014-02-20 15:49:29 +0100 | [diff] [blame] | 713 | "scifa2", "scifa1", "scifa0", "msiof2", "scifb0", |
Laurent Pinchart | cded80f | 2013-12-19 16:51:02 +0100 | [diff] [blame] | 714 | "scifb1", "msiof1", "scifb2"; |
Laurent Pinchart | 59e7989 | 2013-12-11 15:05:16 +0100 | [diff] [blame] | 715 | }; |
| 716 | mstp3_clks: mstp3_clks@e615013c { |
| 717 | compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks"; |
| 718 | reg = <0 0xe615013c 0 4>, <0 0xe6150048 0 4>; |
| 719 | clocks = <&cp_clk>, <&sd2_clk>, <&sd1_clk>, |
| 720 | <&cpg_clocks R8A7791_CLK_SD0>, <&mmc0_clk>, <&rclk_clk>; |
| 721 | #clock-cells = <1>; |
| 722 | renesas,clock-indices = < |
| 723 | R8A7791_CLK_TPU0 R8A7791_CLK_SDHI2 R8A7791_CLK_SDHI1 |
| 724 | R8A7791_CLK_SDHI0 R8A7791_CLK_MMCIF0 R8A7791_CLK_CMT1 |
| 725 | >; |
| 726 | clock-output-names = |
| 727 | "tpu0", "sdhi2", "sdhi1", "sdhi0", "mmcif0", "cmt1"; |
| 728 | }; |
| 729 | mstp5_clks: mstp5_clks@e6150144 { |
| 730 | compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks"; |
| 731 | reg = <0 0xe6150144 0 4>, <0 0xe615003c 0 4>; |
| 732 | clocks = <&extal_clk>, <&p_clk>; |
| 733 | #clock-cells = <1>; |
| 734 | renesas,clock-indices = <R8A7791_CLK_THERMAL R8A7791_CLK_PWM>; |
| 735 | clock-output-names = "thermal", "pwm"; |
| 736 | }; |
| 737 | mstp7_clks: mstp7_clks@e615014c { |
| 738 | compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks"; |
| 739 | reg = <0 0xe615014c 0 4>, <0 0xe61501c4 0 4>; |
| 740 | clocks = <&mp_clk>, <&zs_clk>, <&p_clk>, <&p_clk>, <&zs_clk>, |
| 741 | <&zs_clk>, <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>, |
| 742 | <&zx_clk>, <&zx_clk>, <&zx_clk>; |
| 743 | #clock-cells = <1>; |
| 744 | renesas,clock-indices = < |
| 745 | R8A7791_CLK_HSUSB R8A7791_CLK_HSCIF2 R8A7791_CLK_SCIF5 |
| 746 | R8A7791_CLK_SCIF4 R8A7791_CLK_HSCIF1 R8A7791_CLK_HSCIF0 |
| 747 | R8A7791_CLK_SCIF3 R8A7791_CLK_SCIF2 R8A7791_CLK_SCIF1 |
| 748 | R8A7791_CLK_SCIF0 R8A7791_CLK_DU1 R8A7791_CLK_DU0 |
| 749 | R8A7791_CLK_LVDS0 |
| 750 | >; |
| 751 | clock-output-names = |
| 752 | "hsusb", "hscif2", "scif5", "scif4", "hscif1", "hscif0", |
| 753 | "scif3", "scif2", "scif1", "scif0", "du1", "du0", "lvds0"; |
| 754 | }; |
| 755 | mstp8_clks: mstp8_clks@e6150990 { |
| 756 | compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks"; |
| 757 | reg = <0 0xe6150990 0 4>, <0 0xe61509a0 0 4>; |
Laurent Pinchart | 65f05c3 | 2014-01-07 09:22:56 +0100 | [diff] [blame] | 758 | clocks = <&zg_clk>, <&zg_clk>, <&zg_clk>, <&p_clk>, <&zs_clk>, |
| 759 | <&zs_clk>; |
Laurent Pinchart | 59e7989 | 2013-12-11 15:05:16 +0100 | [diff] [blame] | 760 | #clock-cells = <1>; |
Laurent Pinchart | 09c9834 | 2014-01-07 09:22:54 +0100 | [diff] [blame] | 761 | renesas,clock-indices = < |
| 762 | R8A7791_CLK_VIN2 R8A7791_CLK_VIN1 R8A7791_CLK_VIN0 |
Laurent Pinchart | 65f05c3 | 2014-01-07 09:22:56 +0100 | [diff] [blame] | 763 | R8A7791_CLK_ETHER R8A7791_CLK_SATA1 R8A7791_CLK_SATA0 |
Laurent Pinchart | 09c9834 | 2014-01-07 09:22:54 +0100 | [diff] [blame] | 764 | >; |
Laurent Pinchart | 65f05c3 | 2014-01-07 09:22:56 +0100 | [diff] [blame] | 765 | clock-output-names = |
| 766 | "vin2", "vin1", "vin0", "ether", "sata1", "sata0"; |
Laurent Pinchart | 59e7989 | 2013-12-11 15:05:16 +0100 | [diff] [blame] | 767 | }; |
| 768 | mstp9_clks: mstp9_clks@e6150994 { |
| 769 | compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks"; |
| 770 | reg = <0 0xe6150994 0 4>, <0 0xe61509a4 0 4>; |
Laurent Pinchart | ec71f55 | 2013-12-19 16:51:04 +0100 | [diff] [blame] | 771 | clocks = <&p_clk>, <&p_clk>, <&cpg_clocks R8A7791_CLK_QSPI>, |
| 772 | <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>, |
| 773 | <&p_clk>; |
Laurent Pinchart | 59e7989 | 2013-12-11 15:05:16 +0100 | [diff] [blame] | 774 | #clock-cells = <1>; |
| 775 | renesas,clock-indices = < |
Laurent Pinchart | ec71f55 | 2013-12-19 16:51:04 +0100 | [diff] [blame] | 776 | R8A7791_CLK_RCAN1 R8A7791_CLK_RCAN0 R8A7791_CLK_QSPI_MOD |
Wolfram Sang | 1f662dd | 2014-02-19 22:06:55 +0100 | [diff] [blame] | 777 | R8A7791_CLK_I2C5 R8A7791_CLK_I2C4 R8A7791_CLK_I2C3 |
Laurent Pinchart | ec71f55 | 2013-12-19 16:51:04 +0100 | [diff] [blame] | 778 | R8A7791_CLK_I2C2 R8A7791_CLK_I2C1 R8A7791_CLK_I2C0 |
Laurent Pinchart | 59e7989 | 2013-12-11 15:05:16 +0100 | [diff] [blame] | 779 | >; |
| 780 | clock-output-names = |
Laurent Pinchart | ec71f55 | 2013-12-19 16:51:04 +0100 | [diff] [blame] | 781 | "rcan1", "rcan0", "qspi_mod", "i2c5", "i2c4", "i2c3", |
| 782 | "i2c2", "i2c1", "i2c0"; |
Laurent Pinchart | 59e7989 | 2013-12-11 15:05:16 +0100 | [diff] [blame] | 783 | }; |
| 784 | mstp11_clks: mstp11_clks@e615099c { |
| 785 | compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks"; |
| 786 | reg = <0 0xe615099c 0 4>, <0 0xe61509ac 0 4>; |
| 787 | clocks = <&mp_clk>, <&mp_clk>, <&mp_clk>; |
| 788 | #clock-cells = <1>; |
| 789 | renesas,clock-indices = < |
| 790 | R8A7791_CLK_SCIFA3 R8A7791_CLK_SCIFA4 R8A7791_CLK_SCIFA5 |
| 791 | >; |
| 792 | clock-output-names = "scifa3", "scifa4", "scifa5"; |
| 793 | }; |
| 794 | }; |
Geert Uytterhoeven | 4d5b59c | 2014-02-04 16:24:03 +0100 | [diff] [blame] | 795 | |
Geert Uytterhoeven | 6f3e4ee | 2014-02-25 11:30:14 +0100 | [diff] [blame] | 796 | qspi: spi@e6b10000 { |
Geert Uytterhoeven | 4d5b59c | 2014-02-04 16:24:03 +0100 | [diff] [blame] | 797 | compatible = "renesas,qspi-r8a7791", "renesas,qspi"; |
| 798 | reg = <0 0xe6b10000 0 0x2c>; |
Geert Uytterhoeven | 4d5b59c | 2014-02-04 16:24:03 +0100 | [diff] [blame] | 799 | interrupts = <0 184 IRQ_TYPE_LEVEL_HIGH>; |
| 800 | clocks = <&mstp9_clks R8A7791_CLK_QSPI_MOD>; |
| 801 | num-cs = <1>; |
| 802 | #address-cells = <1>; |
| 803 | #size-cells = <0>; |
| 804 | status = "disabled"; |
| 805 | }; |
Geert Uytterhoeven | 7713d3a | 2014-02-25 11:30:16 +0100 | [diff] [blame^] | 806 | |
| 807 | msiof0: spi@e6e20000 { |
| 808 | compatible = "renesas,msiof-r8a7791"; |
| 809 | reg = <0 0xe6e20000 0 0x0064>; |
| 810 | interrupts = <0 156 IRQ_TYPE_LEVEL_HIGH>; |
| 811 | clocks = <&mstp0_clks R8A7791_CLK_MSIOF0>; |
| 812 | #address-cells = <1>; |
| 813 | #size-cells = <0>; |
| 814 | status = "disabled"; |
| 815 | }; |
| 816 | |
| 817 | msiof1: spi@e6e10000 { |
| 818 | compatible = "renesas,msiof-r8a7791"; |
| 819 | reg = <0 0xe6e10000 0 0x0064>; |
| 820 | interrupts = <0 157 IRQ_TYPE_LEVEL_HIGH>; |
| 821 | clocks = <&mstp2_clks R8A7791_CLK_MSIOF1>; |
| 822 | #address-cells = <1>; |
| 823 | #size-cells = <0>; |
| 824 | status = "disabled"; |
| 825 | }; |
| 826 | |
| 827 | msiof2: spi@e6e00000 { |
| 828 | compatible = "renesas,msiof-r8a7791"; |
| 829 | reg = <0 0xe6e00000 0 0x0064>; |
| 830 | interrupts = <0 158 IRQ_TYPE_LEVEL_HIGH>; |
| 831 | clocks = <&mstp2_clks R8A7791_CLK_MSIOF2>; |
| 832 | #address-cells = <1>; |
| 833 | #size-cells = <0>; |
| 834 | status = "disabled"; |
| 835 | }; |
Hisashi Nakamura | 0d0771ab | 2013-09-04 12:45:57 +0900 | [diff] [blame] | 836 | }; |