Simon Horman | c58a154 | 2013-01-29 14:21:46 +0900 | [diff] [blame] | 1 | /* |
Kuninori Morimoto | 349f556 | 2013-03-03 23:11:03 -0800 | [diff] [blame] | 2 | * Device Tree Source for Renesas r8a7779 |
Simon Horman | c58a154 | 2013-01-29 14:21:46 +0900 | [diff] [blame] | 3 | * |
| 4 | * Copyright (C) 2013 Renesas Solutions Corp. |
| 5 | * Copyright (C) 2013 Simon Horman |
| 6 | * |
| 7 | * This file is licensed under the terms of the GNU General Public License |
| 8 | * version 2. This program is licensed "as is" without any warranty of any |
| 9 | * kind, whether express or implied. |
| 10 | */ |
| 11 | |
| 12 | /include/ "skeleton.dtsi" |
| 13 | |
Simon Horman | 1e85153 | 2014-05-15 20:31:57 +0900 | [diff] [blame] | 14 | #include <dt-bindings/clock/r8a7779-clock.h> |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 15 | #include <dt-bindings/interrupt-controller/irq.h> |
| 16 | |
Simon Horman | c58a154 | 2013-01-29 14:21:46 +0900 | [diff] [blame] | 17 | / { |
| 18 | compatible = "renesas,r8a7779"; |
Laurent Pinchart | 9ff254a | 2014-04-30 02:41:28 +0200 | [diff] [blame] | 19 | interrupt-parent = <&gic>; |
Simon Horman | c58a154 | 2013-01-29 14:21:46 +0900 | [diff] [blame] | 20 | |
| 21 | cpus { |
| 22 | #address-cells = <1>; |
| 23 | #size-cells = <0>; |
| 24 | |
| 25 | cpu@0 { |
| 26 | device_type = "cpu"; |
| 27 | compatible = "arm,cortex-a9"; |
| 28 | reg = <0>; |
Simon Horman | 6b060f9 | 2014-05-16 13:42:58 +0900 | [diff] [blame] | 29 | clock-frequency = <1000000000>; |
Simon Horman | c58a154 | 2013-01-29 14:21:46 +0900 | [diff] [blame] | 30 | }; |
| 31 | cpu@1 { |
| 32 | device_type = "cpu"; |
| 33 | compatible = "arm,cortex-a9"; |
| 34 | reg = <1>; |
Simon Horman | 6b060f9 | 2014-05-16 13:42:58 +0900 | [diff] [blame] | 35 | clock-frequency = <1000000000>; |
Simon Horman | c58a154 | 2013-01-29 14:21:46 +0900 | [diff] [blame] | 36 | }; |
| 37 | cpu@2 { |
| 38 | device_type = "cpu"; |
| 39 | compatible = "arm,cortex-a9"; |
| 40 | reg = <2>; |
Simon Horman | 6b060f9 | 2014-05-16 13:42:58 +0900 | [diff] [blame] | 41 | clock-frequency = <1000000000>; |
Simon Horman | c58a154 | 2013-01-29 14:21:46 +0900 | [diff] [blame] | 42 | }; |
| 43 | cpu@3 { |
| 44 | device_type = "cpu"; |
| 45 | compatible = "arm,cortex-a9"; |
| 46 | reg = <3>; |
Simon Horman | 6b060f9 | 2014-05-16 13:42:58 +0900 | [diff] [blame] | 47 | clock-frequency = <1000000000>; |
Simon Horman | c58a154 | 2013-01-29 14:21:46 +0900 | [diff] [blame] | 48 | }; |
| 49 | }; |
| 50 | |
Simon Horman | 3c3f6ad | 2013-11-26 16:47:11 +0900 | [diff] [blame] | 51 | aliases { |
| 52 | spi0 = &hspi0; |
| 53 | spi1 = &hspi1; |
| 54 | spi2 = &hspi2; |
| 55 | }; |
| 56 | |
Simon Horman | cc703a5 | 2014-07-07 08:47:38 +0200 | [diff] [blame] | 57 | gic: interrupt-controller@f0001000 { |
| 58 | compatible = "arm,cortex-a9-gic"; |
| 59 | #interrupt-cells = <3>; |
| 60 | interrupt-controller; |
| 61 | reg = <0xf0001000 0x1000>, |
| 62 | <0xf0000100 0x100>; |
| 63 | }; |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 64 | |
Laurent Pinchart | f5c771b | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 65 | gpio0: gpio@ffc40000 { |
| 66 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; |
| 67 | reg = <0xffc40000 0x2c>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 68 | interrupts = <0 141 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | f5c771b | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 69 | #gpio-cells = <2>; |
| 70 | gpio-controller; |
| 71 | gpio-ranges = <&pfc 0 0 32>; |
| 72 | #interrupt-cells = <2>; |
| 73 | interrupt-controller; |
| 74 | }; |
| 75 | |
| 76 | gpio1: gpio@ffc41000 { |
| 77 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; |
| 78 | reg = <0xffc41000 0x2c>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 79 | interrupts = <0 142 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | f5c771b | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 80 | #gpio-cells = <2>; |
| 81 | gpio-controller; |
| 82 | gpio-ranges = <&pfc 0 32 32>; |
| 83 | #interrupt-cells = <2>; |
| 84 | interrupt-controller; |
| 85 | }; |
| 86 | |
| 87 | gpio2: gpio@ffc42000 { |
| 88 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; |
| 89 | reg = <0xffc42000 0x2c>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 90 | interrupts = <0 143 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | f5c771b | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 91 | #gpio-cells = <2>; |
| 92 | gpio-controller; |
| 93 | gpio-ranges = <&pfc 0 64 32>; |
| 94 | #interrupt-cells = <2>; |
| 95 | interrupt-controller; |
| 96 | }; |
| 97 | |
| 98 | gpio3: gpio@ffc43000 { |
| 99 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; |
| 100 | reg = <0xffc43000 0x2c>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 101 | interrupts = <0 144 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | f5c771b | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 102 | #gpio-cells = <2>; |
| 103 | gpio-controller; |
| 104 | gpio-ranges = <&pfc 0 96 32>; |
| 105 | #interrupt-cells = <2>; |
| 106 | interrupt-controller; |
| 107 | }; |
| 108 | |
| 109 | gpio4: gpio@ffc44000 { |
| 110 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; |
| 111 | reg = <0xffc44000 0x2c>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 112 | interrupts = <0 145 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | f5c771b | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 113 | #gpio-cells = <2>; |
| 114 | gpio-controller; |
| 115 | gpio-ranges = <&pfc 0 128 32>; |
| 116 | #interrupt-cells = <2>; |
| 117 | interrupt-controller; |
| 118 | }; |
| 119 | |
| 120 | gpio5: gpio@ffc45000 { |
| 121 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; |
| 122 | reg = <0xffc45000 0x2c>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 123 | interrupts = <0 146 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | f5c771b | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 124 | #gpio-cells = <2>; |
| 125 | gpio-controller; |
| 126 | gpio-ranges = <&pfc 0 160 32>; |
| 127 | #interrupt-cells = <2>; |
| 128 | interrupt-controller; |
| 129 | }; |
| 130 | |
| 131 | gpio6: gpio@ffc46000 { |
| 132 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; |
| 133 | reg = <0xffc46000 0x2c>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 134 | interrupts = <0 147 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | f5c771b | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 135 | #gpio-cells = <2>; |
| 136 | gpio-controller; |
| 137 | gpio-ranges = <&pfc 0 192 9>; |
| 138 | #interrupt-cells = <2>; |
| 139 | interrupt-controller; |
| 140 | }; |
| 141 | |
Guennadi Liakhovetski | 24603f3 | 2013-04-03 11:19:07 +0200 | [diff] [blame] | 142 | irqpin0: irqpin@fe780010 { |
Magnus Damm | 11ef034 | 2013-11-28 08:15:18 +0900 | [diff] [blame] | 143 | compatible = "renesas,intc-irqpin-r8a7779", "renesas,intc-irqpin"; |
Guennadi Liakhovetski | 24603f3 | 2013-04-03 11:19:07 +0200 | [diff] [blame] | 144 | #interrupt-cells = <2>; |
Kuninori Morimoto | 84b47df | 2013-10-02 01:39:13 -0700 | [diff] [blame] | 145 | status = "disabled"; |
Guennadi Liakhovetski | 24603f3 | 2013-04-03 11:19:07 +0200 | [diff] [blame] | 146 | interrupt-controller; |
| 147 | reg = <0xfe78001c 4>, |
| 148 | <0xfe780010 4>, |
| 149 | <0xfe780024 4>, |
| 150 | <0xfe780044 4>, |
| 151 | <0xfe780064 4>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 152 | interrupts = <0 27 IRQ_TYPE_LEVEL_HIGH |
| 153 | 0 28 IRQ_TYPE_LEVEL_HIGH |
| 154 | 0 29 IRQ_TYPE_LEVEL_HIGH |
| 155 | 0 30 IRQ_TYPE_LEVEL_HIGH>; |
Guennadi Liakhovetski | 24603f3 | 2013-04-03 11:19:07 +0200 | [diff] [blame] | 156 | sense-bitfield-width = <2>; |
| 157 | }; |
| 158 | |
Lee Jones | 98724b7 | 2013-07-22 11:52:38 +0100 | [diff] [blame] | 159 | i2c0: i2c@ffc70000 { |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 160 | #address-cells = <1>; |
| 161 | #size-cells = <0>; |
Kuninori Morimoto | 6363070 | 2013-10-03 23:44:44 -0700 | [diff] [blame] | 162 | compatible = "renesas,i2c-r8a7779"; |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 163 | reg = <0xffc70000 0x1000>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 164 | interrupts = <0 79 IRQ_TYPE_LEVEL_HIGH>; |
Simon Horman | 3325cbe | 2014-05-15 20:32:00 +0900 | [diff] [blame] | 165 | clocks = <&mstp0_clks R8A7779_CLK_I2C0>; |
Guennadi Liakhovetski | eda3a4f | 2013-09-26 13:06:01 +0200 | [diff] [blame] | 166 | status = "disabled"; |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 167 | }; |
| 168 | |
Lee Jones | 98724b7 | 2013-07-22 11:52:38 +0100 | [diff] [blame] | 169 | i2c1: i2c@ffc71000 { |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 170 | #address-cells = <1>; |
| 171 | #size-cells = <0>; |
Kuninori Morimoto | 6363070 | 2013-10-03 23:44:44 -0700 | [diff] [blame] | 172 | compatible = "renesas,i2c-r8a7779"; |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 173 | reg = <0xffc71000 0x1000>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 174 | interrupts = <0 82 IRQ_TYPE_LEVEL_HIGH>; |
Simon Horman | 3325cbe | 2014-05-15 20:32:00 +0900 | [diff] [blame] | 175 | clocks = <&mstp0_clks R8A7779_CLK_I2C1>; |
Guennadi Liakhovetski | eda3a4f | 2013-09-26 13:06:01 +0200 | [diff] [blame] | 176 | status = "disabled"; |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 177 | }; |
| 178 | |
Lee Jones | 98724b7 | 2013-07-22 11:52:38 +0100 | [diff] [blame] | 179 | i2c2: i2c@ffc72000 { |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 180 | #address-cells = <1>; |
| 181 | #size-cells = <0>; |
Kuninori Morimoto | 6363070 | 2013-10-03 23:44:44 -0700 | [diff] [blame] | 182 | compatible = "renesas,i2c-r8a7779"; |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 183 | reg = <0xffc72000 0x1000>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 184 | interrupts = <0 80 IRQ_TYPE_LEVEL_HIGH>; |
Simon Horman | 3325cbe | 2014-05-15 20:32:00 +0900 | [diff] [blame] | 185 | clocks = <&mstp0_clks R8A7779_CLK_I2C2>; |
Guennadi Liakhovetski | eda3a4f | 2013-09-26 13:06:01 +0200 | [diff] [blame] | 186 | status = "disabled"; |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 187 | }; |
| 188 | |
Lee Jones | 98724b7 | 2013-07-22 11:52:38 +0100 | [diff] [blame] | 189 | i2c3: i2c@ffc73000 { |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 190 | #address-cells = <1>; |
| 191 | #size-cells = <0>; |
Kuninori Morimoto | 6363070 | 2013-10-03 23:44:44 -0700 | [diff] [blame] | 192 | compatible = "renesas,i2c-r8a7779"; |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 193 | reg = <0xffc73000 0x1000>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 194 | interrupts = <0 81 IRQ_TYPE_LEVEL_HIGH>; |
Simon Horman | 3325cbe | 2014-05-15 20:32:00 +0900 | [diff] [blame] | 195 | clocks = <&mstp0_clks R8A7779_CLK_I2C3>; |
Guennadi Liakhovetski | eda3a4f | 2013-09-26 13:06:01 +0200 | [diff] [blame] | 196 | status = "disabled"; |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 197 | }; |
Kuninori Morimoto | 25a6597 | 2013-03-04 00:32:16 -0800 | [diff] [blame] | 198 | |
Simon Horman | fd953b8 | 2014-05-15 20:39:30 +0900 | [diff] [blame] | 199 | scif0: serial@ffe40000 { |
| 200 | compatible = "renesas,scif-r8a7779", "renesas,scif"; |
| 201 | reg = <0xffe40000 0x100>; |
Simon Horman | fd953b8 | 2014-05-15 20:39:30 +0900 | [diff] [blame] | 202 | interrupts = <0 88 IRQ_TYPE_LEVEL_HIGH>; |
| 203 | clocks = <&cpg_clocks R8A7779_CLK_P>; |
| 204 | clock-names = "sci_ick"; |
| 205 | status = "disabled"; |
| 206 | }; |
| 207 | |
| 208 | scif1: serial@ffe41000 { |
| 209 | compatible = "renesas,scif-r8a7779", "renesas,scif"; |
| 210 | reg = <0xffe41000 0x100>; |
Simon Horman | fd953b8 | 2014-05-15 20:39:30 +0900 | [diff] [blame] | 211 | interrupts = <0 89 IRQ_TYPE_LEVEL_HIGH>; |
| 212 | clocks = <&cpg_clocks R8A7779_CLK_P>; |
| 213 | clock-names = "sci_ick"; |
| 214 | status = "disabled"; |
| 215 | }; |
| 216 | |
| 217 | scif2: serial@ffe42000 { |
| 218 | compatible = "renesas,scif-r8a7779", "renesas,scif"; |
| 219 | reg = <0xffe42000 0x100>; |
Simon Horman | fd953b8 | 2014-05-15 20:39:30 +0900 | [diff] [blame] | 220 | interrupts = <0 90 IRQ_TYPE_LEVEL_HIGH>; |
| 221 | clocks = <&cpg_clocks R8A7779_CLK_P>; |
| 222 | clock-names = "sci_ick"; |
| 223 | status = "disabled"; |
| 224 | }; |
| 225 | |
| 226 | scif3: serial@ffe43000 { |
| 227 | compatible = "renesas,scif-r8a7779", "renesas,scif"; |
| 228 | reg = <0xffe43000 0x100>; |
Simon Horman | fd953b8 | 2014-05-15 20:39:30 +0900 | [diff] [blame] | 229 | interrupts = <0 91 IRQ_TYPE_LEVEL_HIGH>; |
| 230 | clocks = <&cpg_clocks R8A7779_CLK_P>; |
| 231 | clock-names = "sci_ick"; |
| 232 | status = "disabled"; |
| 233 | }; |
| 234 | |
| 235 | scif4: serial@ffe44000 { |
| 236 | compatible = "renesas,scif-r8a7779", "renesas,scif"; |
| 237 | reg = <0xffe44000 0x100>; |
Simon Horman | fd953b8 | 2014-05-15 20:39:30 +0900 | [diff] [blame] | 238 | interrupts = <0 92 IRQ_TYPE_LEVEL_HIGH>; |
| 239 | clocks = <&cpg_clocks R8A7779_CLK_P>; |
| 240 | clock-names = "sci_ick"; |
| 241 | status = "disabled"; |
| 242 | }; |
| 243 | |
| 244 | scif5: serial@ffe45000 { |
| 245 | compatible = "renesas,scif-r8a7779", "renesas,scif"; |
| 246 | reg = <0xffe45000 0x100>; |
Simon Horman | fd953b8 | 2014-05-15 20:39:30 +0900 | [diff] [blame] | 247 | interrupts = <0 93 IRQ_TYPE_LEVEL_HIGH>; |
| 248 | clocks = <&cpg_clocks R8A7779_CLK_P>; |
| 249 | clock-names = "sci_ick"; |
| 250 | status = "disabled"; |
| 251 | }; |
| 252 | |
Laurent Pinchart | 3ab03d0 | 2013-05-09 15:05:57 +0200 | [diff] [blame] | 253 | pfc: pfc@fffc0000 { |
| 254 | compatible = "renesas,pfc-r8a7779"; |
| 255 | reg = <0xfffc0000 0x23c>; |
| 256 | }; |
| 257 | |
Kuninori Morimoto | 25a6597 | 2013-03-04 00:32:16 -0800 | [diff] [blame] | 258 | thermal@ffc48000 { |
Geert Uytterhoeven | 4d50e6d | 2014-08-28 10:20:40 +0200 | [diff] [blame] | 259 | compatible = "renesas,thermal-r8a7779", "renesas,rcar-thermal"; |
Kuninori Morimoto | 25a6597 | 2013-03-04 00:32:16 -0800 | [diff] [blame] | 260 | reg = <0xffc48000 0x38>; |
| 261 | }; |
Vladimir Barinov | 7840a65 | 2013-02-27 23:34:36 +0300 | [diff] [blame] | 262 | |
Laurent Pinchart | ef890ea | 2014-07-09 15:12:39 +0200 | [diff] [blame] | 263 | tmu0: timer@ffd80000 { |
Simon Horman | a51b7b3 | 2014-09-08 09:27:48 +0900 | [diff] [blame] | 264 | compatible = "renesas,tmu-r8a7779", "renesas,tmu"; |
Laurent Pinchart | ef890ea | 2014-07-09 15:12:39 +0200 | [diff] [blame] | 265 | reg = <0xffd80000 0x30>; |
| 266 | interrupts = <0 32 IRQ_TYPE_LEVEL_HIGH>, |
| 267 | <0 33 IRQ_TYPE_LEVEL_HIGH>, |
| 268 | <0 34 IRQ_TYPE_LEVEL_HIGH>; |
| 269 | clocks = <&mstp0_clks R8A7779_CLK_TMU0>; |
| 270 | clock-names = "fck"; |
| 271 | |
| 272 | #renesas,channels = <3>; |
| 273 | |
| 274 | status = "disabled"; |
| 275 | }; |
| 276 | |
| 277 | tmu1: timer@ffd81000 { |
Simon Horman | a51b7b3 | 2014-09-08 09:27:48 +0900 | [diff] [blame] | 278 | compatible = "renesas,tmu-r8a7779", "renesas,tmu"; |
Laurent Pinchart | ef890ea | 2014-07-09 15:12:39 +0200 | [diff] [blame] | 279 | reg = <0xffd81000 0x30>; |
| 280 | interrupts = <0 36 IRQ_TYPE_LEVEL_HIGH>, |
| 281 | <0 37 IRQ_TYPE_LEVEL_HIGH>, |
| 282 | <0 38 IRQ_TYPE_LEVEL_HIGH>; |
| 283 | clocks = <&mstp0_clks R8A7779_CLK_TMU1>; |
| 284 | clock-names = "fck"; |
| 285 | |
| 286 | #renesas,channels = <3>; |
| 287 | |
| 288 | status = "disabled"; |
| 289 | }; |
| 290 | |
| 291 | tmu2: timer@ffd82000 { |
Simon Horman | a51b7b3 | 2014-09-08 09:27:48 +0900 | [diff] [blame] | 292 | compatible = "renesas,tmu-r8a7779", "renesas,tmu"; |
Laurent Pinchart | ef890ea | 2014-07-09 15:12:39 +0200 | [diff] [blame] | 293 | reg = <0xffd82000 0x30>; |
| 294 | interrupts = <0 40 IRQ_TYPE_LEVEL_HIGH>, |
| 295 | <0 41 IRQ_TYPE_LEVEL_HIGH>, |
| 296 | <0 42 IRQ_TYPE_LEVEL_HIGH>; |
| 297 | clocks = <&mstp0_clks R8A7779_CLK_TMU2>; |
| 298 | clock-names = "fck"; |
| 299 | |
| 300 | #renesas,channels = <3>; |
| 301 | |
| 302 | status = "disabled"; |
| 303 | }; |
| 304 | |
Vladimir Barinov | 7840a65 | 2013-02-27 23:34:36 +0300 | [diff] [blame] | 305 | sata: sata@fc600000 { |
Geert Uytterhoeven | 25af9c8 | 2014-10-29 14:58:51 +0100 | [diff] [blame] | 306 | compatible = "renesas,sata-r8a7779", "renesas,rcar-sata"; |
Vladimir Barinov | 7840a65 | 2013-02-27 23:34:36 +0300 | [diff] [blame] | 307 | reg = <0xfc600000 0x2000>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 308 | interrupts = <0 100 IRQ_TYPE_LEVEL_HIGH>; |
Simon Horman | 3325cbe | 2014-05-15 20:32:00 +0900 | [diff] [blame] | 309 | clocks = <&mstp1_clks R8A7779_CLK_SATA>; |
Vladimir Barinov | 7840a65 | 2013-02-27 23:34:36 +0300 | [diff] [blame] | 310 | }; |
Kuninori Morimoto | c4866e7 | 2013-10-10 23:36:22 -0700 | [diff] [blame] | 311 | |
Kuninori Morimoto | 2624705 | 2013-10-21 19:36:02 -0700 | [diff] [blame] | 312 | sdhi0: sd@ffe4c000 { |
Kuninori Morimoto | c4866e7 | 2013-10-10 23:36:22 -0700 | [diff] [blame] | 313 | compatible = "renesas,sdhi-r8a7779"; |
| 314 | reg = <0xffe4c000 0x100>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 315 | interrupts = <0 104 IRQ_TYPE_LEVEL_HIGH>; |
Simon Horman | 3325cbe | 2014-05-15 20:32:00 +0900 | [diff] [blame] | 316 | clocks = <&mstp3_clks R8A7779_CLK_SDHI0>; |
Kuninori Morimoto | c4866e7 | 2013-10-10 23:36:22 -0700 | [diff] [blame] | 317 | status = "disabled"; |
| 318 | }; |
| 319 | |
Kuninori Morimoto | 2624705 | 2013-10-21 19:36:02 -0700 | [diff] [blame] | 320 | sdhi1: sd@ffe4d000 { |
Kuninori Morimoto | c4866e7 | 2013-10-10 23:36:22 -0700 | [diff] [blame] | 321 | compatible = "renesas,sdhi-r8a7779"; |
| 322 | reg = <0xffe4d000 0x100>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 323 | interrupts = <0 105 IRQ_TYPE_LEVEL_HIGH>; |
Simon Horman | 3325cbe | 2014-05-15 20:32:00 +0900 | [diff] [blame] | 324 | clocks = <&mstp3_clks R8A7779_CLK_SDHI1>; |
Kuninori Morimoto | c4866e7 | 2013-10-10 23:36:22 -0700 | [diff] [blame] | 325 | status = "disabled"; |
| 326 | }; |
| 327 | |
Kuninori Morimoto | 2624705 | 2013-10-21 19:36:02 -0700 | [diff] [blame] | 328 | sdhi2: sd@ffe4e000 { |
Kuninori Morimoto | c4866e7 | 2013-10-10 23:36:22 -0700 | [diff] [blame] | 329 | compatible = "renesas,sdhi-r8a7779"; |
| 330 | reg = <0xffe4e000 0x100>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 331 | interrupts = <0 107 IRQ_TYPE_LEVEL_HIGH>; |
Simon Horman | 3325cbe | 2014-05-15 20:32:00 +0900 | [diff] [blame] | 332 | clocks = <&mstp3_clks R8A7779_CLK_SDHI2>; |
Kuninori Morimoto | c4866e7 | 2013-10-10 23:36:22 -0700 | [diff] [blame] | 333 | status = "disabled"; |
| 334 | }; |
| 335 | |
Kuninori Morimoto | 2624705 | 2013-10-21 19:36:02 -0700 | [diff] [blame] | 336 | sdhi3: sd@ffe4f000 { |
Kuninori Morimoto | c4866e7 | 2013-10-10 23:36:22 -0700 | [diff] [blame] | 337 | compatible = "renesas,sdhi-r8a7779"; |
| 338 | reg = <0xffe4f000 0x100>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 339 | interrupts = <0 106 IRQ_TYPE_LEVEL_HIGH>; |
Simon Horman | 3325cbe | 2014-05-15 20:32:00 +0900 | [diff] [blame] | 340 | clocks = <&mstp3_clks R8A7779_CLK_SDHI3>; |
Kuninori Morimoto | c4866e7 | 2013-10-10 23:36:22 -0700 | [diff] [blame] | 341 | status = "disabled"; |
| 342 | }; |
Simon Horman | 3c3f6ad | 2013-11-26 16:47:11 +0900 | [diff] [blame] | 343 | |
| 344 | hspi0: spi@fffc7000 { |
Geert Uytterhoeven | 7709c33 | 2014-03-14 11:06:40 +0100 | [diff] [blame] | 345 | compatible = "renesas,hspi-r8a7779", "renesas,hspi"; |
Simon Horman | 3c3f6ad | 2013-11-26 16:47:11 +0900 | [diff] [blame] | 346 | reg = <0xfffc7000 0x18>; |
Simon Horman | 3c3f6ad | 2013-11-26 16:47:11 +0900 | [diff] [blame] | 347 | interrupts = <0 73 IRQ_TYPE_LEVEL_HIGH>; |
Geert Uytterhoeven | 7709c33 | 2014-03-14 11:06:40 +0100 | [diff] [blame] | 348 | #address-cells = <1>; |
| 349 | #size-cells = <0>; |
Simon Horman | 3325cbe | 2014-05-15 20:32:00 +0900 | [diff] [blame] | 350 | clocks = <&mstp0_clks R8A7779_CLK_HSPI>; |
Simon Horman | 3c3f6ad | 2013-11-26 16:47:11 +0900 | [diff] [blame] | 351 | status = "disabled"; |
| 352 | }; |
| 353 | |
| 354 | hspi1: spi@fffc8000 { |
Geert Uytterhoeven | 7709c33 | 2014-03-14 11:06:40 +0100 | [diff] [blame] | 355 | compatible = "renesas,hspi-r8a7779", "renesas,hspi"; |
Simon Horman | 3c3f6ad | 2013-11-26 16:47:11 +0900 | [diff] [blame] | 356 | reg = <0xfffc8000 0x18>; |
Simon Horman | 3c3f6ad | 2013-11-26 16:47:11 +0900 | [diff] [blame] | 357 | interrupts = <0 74 IRQ_TYPE_LEVEL_HIGH>; |
Geert Uytterhoeven | 7709c33 | 2014-03-14 11:06:40 +0100 | [diff] [blame] | 358 | #address-cells = <1>; |
| 359 | #size-cells = <0>; |
Simon Horman | 3325cbe | 2014-05-15 20:32:00 +0900 | [diff] [blame] | 360 | clocks = <&mstp0_clks R8A7779_CLK_HSPI>; |
Simon Horman | 3c3f6ad | 2013-11-26 16:47:11 +0900 | [diff] [blame] | 361 | status = "disabled"; |
| 362 | }; |
| 363 | |
| 364 | hspi2: spi@fffc6000 { |
Geert Uytterhoeven | 7709c33 | 2014-03-14 11:06:40 +0100 | [diff] [blame] | 365 | compatible = "renesas,hspi-r8a7779", "renesas,hspi"; |
Simon Horman | 3c3f6ad | 2013-11-26 16:47:11 +0900 | [diff] [blame] | 366 | reg = <0xfffc6000 0x18>; |
Simon Horman | 3c3f6ad | 2013-11-26 16:47:11 +0900 | [diff] [blame] | 367 | interrupts = <0 75 IRQ_TYPE_LEVEL_HIGH>; |
Geert Uytterhoeven | 7709c33 | 2014-03-14 11:06:40 +0100 | [diff] [blame] | 368 | #address-cells = <1>; |
| 369 | #size-cells = <0>; |
Simon Horman | 3325cbe | 2014-05-15 20:32:00 +0900 | [diff] [blame] | 370 | clocks = <&mstp0_clks R8A7779_CLK_HSPI>; |
Simon Horman | 3c3f6ad | 2013-11-26 16:47:11 +0900 | [diff] [blame] | 371 | status = "disabled"; |
| 372 | }; |
Simon Horman | 1e85153 | 2014-05-15 20:31:57 +0900 | [diff] [blame] | 373 | |
Laurent Pinchart | 1f08bbe | 2014-01-21 16:00:46 +0100 | [diff] [blame] | 374 | du: display@fff80000 { |
| 375 | compatible = "renesas,du-r8a7779"; |
| 376 | reg = <0 0xfff80000 0 0x40000>; |
| 377 | interrupts = <0 31 IRQ_TYPE_LEVEL_HIGH>; |
| 378 | clocks = <&mstp1_clks R8A7779_CLK_DU>; |
| 379 | status = "disabled"; |
| 380 | |
| 381 | ports { |
| 382 | #address-cells = <1>; |
| 383 | #size-cells = <0>; |
| 384 | |
| 385 | port@0 { |
| 386 | reg = <0>; |
| 387 | du_out_rgb0: endpoint { |
| 388 | }; |
| 389 | }; |
| 390 | port@1 { |
| 391 | reg = <1>; |
| 392 | du_out_rgb1: endpoint { |
| 393 | }; |
| 394 | }; |
| 395 | }; |
| 396 | }; |
| 397 | |
Simon Horman | 1e85153 | 2014-05-15 20:31:57 +0900 | [diff] [blame] | 398 | clocks { |
Geert Uytterhoeven | 5cc8afc | 2014-05-23 09:46:19 +0200 | [diff] [blame] | 399 | #address-cells = <1>; |
| 400 | #size-cells = <1>; |
Simon Horman | 1e85153 | 2014-05-15 20:31:57 +0900 | [diff] [blame] | 401 | ranges; |
| 402 | |
| 403 | /* External root clock */ |
| 404 | extal_clk: extal_clk { |
| 405 | compatible = "fixed-clock"; |
| 406 | #clock-cells = <0>; |
| 407 | /* This value must be overriden by the board. */ |
| 408 | clock-frequency = <0>; |
| 409 | clock-output-names = "extal"; |
| 410 | }; |
| 411 | |
| 412 | /* Special CPG clocks */ |
Geert Uytterhoeven | 2909b87 | 2014-05-23 09:46:20 +0200 | [diff] [blame] | 413 | cpg_clocks: clocks@ffc80000 { |
Simon Horman | 1e85153 | 2014-05-15 20:31:57 +0900 | [diff] [blame] | 414 | compatible = "renesas,r8a7779-cpg-clocks"; |
Geert Uytterhoeven | 5cc8afc | 2014-05-23 09:46:19 +0200 | [diff] [blame] | 415 | reg = <0xffc80000 0x30>; |
Simon Horman | 1e85153 | 2014-05-15 20:31:57 +0900 | [diff] [blame] | 416 | clocks = <&extal_clk>; |
| 417 | #clock-cells = <1>; |
| 418 | clock-output-names = "plla", "z", "zs", "s", |
| 419 | "s1", "p", "b", "out"; |
| 420 | }; |
| 421 | |
| 422 | /* Fixed factor clocks */ |
| 423 | i_clk: i_clk { |
| 424 | compatible = "fixed-factor-clock"; |
| 425 | clocks = <&cpg_clocks R8A7779_CLK_PLLA>; |
| 426 | #clock-cells = <0>; |
| 427 | clock-div = <2>; |
| 428 | clock-mult = <1>; |
| 429 | clock-output-names = "i"; |
| 430 | }; |
| 431 | s3_clk: s3_clk { |
| 432 | compatible = "fixed-factor-clock"; |
| 433 | clocks = <&cpg_clocks R8A7779_CLK_PLLA>; |
| 434 | #clock-cells = <0>; |
| 435 | clock-div = <8>; |
| 436 | clock-mult = <1>; |
| 437 | clock-output-names = "s3"; |
| 438 | }; |
| 439 | s4_clk: s4_clk { |
| 440 | compatible = "fixed-factor-clock"; |
| 441 | clocks = <&cpg_clocks R8A7779_CLK_PLLA>; |
| 442 | #clock-cells = <0>; |
| 443 | clock-div = <16>; |
| 444 | clock-mult = <1>; |
| 445 | clock-output-names = "s4"; |
| 446 | }; |
| 447 | g_clk: g_clk { |
| 448 | compatible = "fixed-factor-clock"; |
| 449 | clocks = <&cpg_clocks R8A7779_CLK_PLLA>; |
| 450 | #clock-cells = <0>; |
| 451 | clock-div = <24>; |
| 452 | clock-mult = <1>; |
| 453 | clock-output-names = "g"; |
| 454 | }; |
| 455 | |
| 456 | /* Gate clocks */ |
Geert Uytterhoeven | 2909b87 | 2014-05-23 09:46:20 +0200 | [diff] [blame] | 457 | mstp0_clks: clocks@ffc80030 { |
Simon Horman | 1e85153 | 2014-05-15 20:31:57 +0900 | [diff] [blame] | 458 | compatible = "renesas,r8a7779-mstp-clocks", |
Geert Uytterhoeven | 99e544c | 2014-08-28 10:21:55 +0200 | [diff] [blame] | 459 | "renesas,cpg-mstp-clocks"; |
Geert Uytterhoeven | 5cc8afc | 2014-05-23 09:46:19 +0200 | [diff] [blame] | 460 | reg = <0xffc80030 4>; |
Simon Horman | 1e85153 | 2014-05-15 20:31:57 +0900 | [diff] [blame] | 461 | clocks = <&cpg_clocks R8A7779_CLK_S>, |
Geert Uytterhoeven | 99e544c | 2014-08-28 10:21:55 +0200 | [diff] [blame] | 462 | <&cpg_clocks R8A7779_CLK_P>, |
Simon Horman | 1e85153 | 2014-05-15 20:31:57 +0900 | [diff] [blame] | 463 | <&cpg_clocks R8A7779_CLK_P>, |
| 464 | <&cpg_clocks R8A7779_CLK_P>, |
| 465 | <&cpg_clocks R8A7779_CLK_S>, |
| 466 | <&cpg_clocks R8A7779_CLK_S>, |
| 467 | <&cpg_clocks R8A7779_CLK_S1>, |
| 468 | <&cpg_clocks R8A7779_CLK_S1>, |
| 469 | <&cpg_clocks R8A7779_CLK_S1>, |
| 470 | <&cpg_clocks R8A7779_CLK_S1>, |
| 471 | <&cpg_clocks R8A7779_CLK_S1>, |
| 472 | <&cpg_clocks R8A7779_CLK_S1>, |
| 473 | <&cpg_clocks R8A7779_CLK_P>, |
| 474 | <&cpg_clocks R8A7779_CLK_P>, |
| 475 | <&cpg_clocks R8A7779_CLK_P>, |
| 476 | <&cpg_clocks R8A7779_CLK_P>; |
| 477 | #clock-cells = <1>; |
| 478 | renesas,clock-indices = < |
| 479 | R8A7779_CLK_HSPI R8A7779_CLK_TMU2 |
| 480 | R8A7779_CLK_TMU1 R8A7779_CLK_TMU0 |
| 481 | R8A7779_CLK_HSCIF1 R8A7779_CLK_HSCIF0 |
| 482 | R8A7779_CLK_SCIF5 R8A7779_CLK_SCIF4 |
| 483 | R8A7779_CLK_SCIF3 R8A7779_CLK_SCIF2 |
| 484 | R8A7779_CLK_SCIF1 R8A7779_CLK_SCIF0 |
| 485 | R8A7779_CLK_I2C3 R8A7779_CLK_I2C2 |
| 486 | R8A7779_CLK_I2C1 R8A7779_CLK_I2C0 |
| 487 | >; |
| 488 | clock-output-names = |
| 489 | "hspi", "tmu2", "tmu1", "tmu0", "hscif1", |
| 490 | "hscif0", "scif5", "scif4", "scif3", "scif2", |
| 491 | "scif1", "scif0", "i2c3", "i2c2", "i2c1", |
| 492 | "i2c0"; |
| 493 | }; |
Geert Uytterhoeven | 2909b87 | 2014-05-23 09:46:20 +0200 | [diff] [blame] | 494 | mstp1_clks: clocks@ffc80034 { |
Simon Horman | 1e85153 | 2014-05-15 20:31:57 +0900 | [diff] [blame] | 495 | compatible = "renesas,r8a7779-mstp-clocks", |
Geert Uytterhoeven | 99e544c | 2014-08-28 10:21:55 +0200 | [diff] [blame] | 496 | "renesas,cpg-mstp-clocks"; |
Geert Uytterhoeven | 5cc8afc | 2014-05-23 09:46:19 +0200 | [diff] [blame] | 497 | reg = <0xffc80034 4>, <0xffc80044 4>; |
Simon Horman | 1e85153 | 2014-05-15 20:31:57 +0900 | [diff] [blame] | 498 | clocks = <&cpg_clocks R8A7779_CLK_P>, |
| 499 | <&cpg_clocks R8A7779_CLK_P>, |
| 500 | <&cpg_clocks R8A7779_CLK_S>, |
| 501 | <&cpg_clocks R8A7779_CLK_S>, |
| 502 | <&cpg_clocks R8A7779_CLK_S>, |
| 503 | <&cpg_clocks R8A7779_CLK_S>, |
| 504 | <&cpg_clocks R8A7779_CLK_P>, |
| 505 | <&cpg_clocks R8A7779_CLK_P>, |
| 506 | <&cpg_clocks R8A7779_CLK_P>, |
| 507 | <&cpg_clocks R8A7779_CLK_S>; |
| 508 | #clock-cells = <1>; |
| 509 | renesas,clock-indices = < |
| 510 | R8A7779_CLK_USB01 R8A7779_CLK_USB2 |
| 511 | R8A7779_CLK_DU R8A7779_CLK_VIN2 |
| 512 | R8A7779_CLK_VIN1 R8A7779_CLK_VIN0 |
| 513 | R8A7779_CLK_ETHER R8A7779_CLK_SATA |
| 514 | R8A7779_CLK_PCIE R8A7779_CLK_VIN3 |
| 515 | >; |
| 516 | clock-output-names = |
| 517 | "usb01", "usb2", |
| 518 | "du", "vin2", |
| 519 | "vin1", "vin0", |
| 520 | "ether", "sata", |
| 521 | "pcie", "vin3"; |
| 522 | }; |
Geert Uytterhoeven | 2909b87 | 2014-05-23 09:46:20 +0200 | [diff] [blame] | 523 | mstp3_clks: clocks@ffc8003c { |
Simon Horman | 1e85153 | 2014-05-15 20:31:57 +0900 | [diff] [blame] | 524 | compatible = "renesas,r8a7779-mstp-clocks", |
Geert Uytterhoeven | 99e544c | 2014-08-28 10:21:55 +0200 | [diff] [blame] | 525 | "renesas,cpg-mstp-clocks"; |
Geert Uytterhoeven | 5cc8afc | 2014-05-23 09:46:19 +0200 | [diff] [blame] | 526 | reg = <0xffc8003c 4>; |
Simon Horman | 1e85153 | 2014-05-15 20:31:57 +0900 | [diff] [blame] | 527 | clocks = <&s4_clk>, <&s4_clk>, <&s4_clk>, <&s4_clk>, |
| 528 | <&s4_clk>, <&s4_clk>; |
| 529 | #clock-cells = <1>; |
| 530 | renesas,clock-indices = < |
| 531 | R8A7779_CLK_SDHI3 R8A7779_CLK_SDHI2 |
| 532 | R8A7779_CLK_SDHI1 R8A7779_CLK_SDHI0 |
| 533 | R8A7779_CLK_MMC1 R8A7779_CLK_MMC0 |
| 534 | >; |
| 535 | clock-output-names = |
| 536 | "sdhi3", "sdhi2", "sdhi1", "sdhi0", |
| 537 | "mmc1", "mmc0"; |
| 538 | }; |
| 539 | }; |
Simon Horman | c58a154 | 2013-01-29 14:21:46 +0900 | [diff] [blame] | 540 | }; |