Kuninori Morimoto | ccb7cc7 | 2013-03-21 03:01:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree Source for Renesas r8a7778 |
| 3 | * |
| 4 | * Copyright (C) 2013 Renesas Solutions Corp. |
| 5 | * Copyright (C) 2013 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
| 6 | * |
| 7 | * based on r8a7779 |
| 8 | * |
| 9 | * Copyright (C) 2013 Renesas Solutions Corp. |
| 10 | * Copyright (C) 2013 Simon Horman |
| 11 | * |
| 12 | * This file is licensed under the terms of the GNU General Public License |
| 13 | * version 2. This program is licensed "as is" without any warranty of any |
| 14 | * kind, whether express or implied. |
| 15 | */ |
| 16 | |
| 17 | /include/ "skeleton.dtsi" |
| 18 | |
Ulrich Hecht | 93aa970 | 2015-02-16 17:58:47 +0100 | [diff] [blame] | 19 | #include <dt-bindings/clock/r8a7778-clock.h> |
Simon Horman | 0c34bd1 | 2016-01-21 13:52:45 +0900 | [diff] [blame] | 20 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 21 | #include <dt-bindings/interrupt-controller/irq.h> |
| 22 | |
Kuninori Morimoto | ccb7cc7 | 2013-03-21 03:01:36 -0700 | [diff] [blame] | 23 | / { |
| 24 | compatible = "renesas,r8a7778"; |
Laurent Pinchart | 9ff254a | 2014-04-30 02:41:28 +0200 | [diff] [blame] | 25 | interrupt-parent = <&gic>; |
Kuninori Morimoto | ccb7cc7 | 2013-03-21 03:01:36 -0700 | [diff] [blame] | 26 | |
| 27 | cpus { |
Magnus Damm | 869f92a | 2014-08-20 22:02:27 +0900 | [diff] [blame] | 28 | #address-cells = <1>; |
| 29 | #size-cells = <0>; |
| 30 | |
Kuninori Morimoto | ccb7cc7 | 2013-03-21 03:01:36 -0700 | [diff] [blame] | 31 | cpu@0 { |
Magnus Damm | 869f92a | 2014-08-20 22:02:27 +0900 | [diff] [blame] | 32 | device_type = "cpu"; |
Kuninori Morimoto | ccb7cc7 | 2013-03-21 03:01:36 -0700 | [diff] [blame] | 33 | compatible = "arm,cortex-a9"; |
Magnus Damm | 869f92a | 2014-08-20 22:02:27 +0900 | [diff] [blame] | 34 | reg = <0>; |
| 35 | clock-frequency = <800000000>; |
Kuninori Morimoto | ccb7cc7 | 2013-03-21 03:01:36 -0700 | [diff] [blame] | 36 | }; |
| 37 | }; |
| 38 | |
Kuninori Morimoto | a50da08 | 2013-10-31 18:22:21 -0700 | [diff] [blame] | 39 | aliases { |
| 40 | spi0 = &hspi0; |
| 41 | spi1 = &hspi1; |
| 42 | spi2 = &hspi2; |
| 43 | }; |
| 44 | |
Ulrich Hecht | d457820 | 2015-02-16 17:58:57 +0100 | [diff] [blame] | 45 | bsc: bus@1c000000 { |
| 46 | compatible = "simple-bus"; |
| 47 | #address-cells = <1>; |
| 48 | #size-cells = <1>; |
| 49 | ranges = <0 0 0x1c000000>; |
| 50 | }; |
| 51 | |
Ulrich Hecht | 05cabb8 | 2015-02-16 17:58:52 +0100 | [diff] [blame] | 52 | ether: ethernet@fde00000 { |
| 53 | compatible = "renesas,ether-r8a7778"; |
| 54 | reg = <0xfde00000 0x400>; |
Simon Horman | 0c34bd1 | 2016-01-21 13:52:45 +0900 | [diff] [blame] | 55 | interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>; |
Ulrich Hecht | 05cabb8 | 2015-02-16 17:58:52 +0100 | [diff] [blame] | 56 | clocks = <&mstp1_clks R8A7778_CLK_ETHER>; |
Geert Uytterhoeven | a670f366 | 2015-08-04 14:28:08 +0200 | [diff] [blame] | 57 | power-domains = <&cpg_clocks>; |
Ulrich Hecht | 05cabb8 | 2015-02-16 17:58:52 +0100 | [diff] [blame] | 58 | phy-mode = "rmii"; |
| 59 | #address-cells = <1>; |
| 60 | #size-cells = <0>; |
| 61 | status = "disabled"; |
| 62 | }; |
| 63 | |
Kuninori Morimoto | ccb7cc7 | 2013-03-21 03:01:36 -0700 | [diff] [blame] | 64 | gic: interrupt-controller@fe438000 { |
Geert Uytterhoeven | 26828d9 | 2015-11-20 13:36:55 +0100 | [diff] [blame] | 65 | compatible = "arm,pl390"; |
Kuninori Morimoto | ccb7cc7 | 2013-03-21 03:01:36 -0700 | [diff] [blame] | 66 | #interrupt-cells = <3>; |
| 67 | interrupt-controller; |
| 68 | reg = <0xfe438000 0x1000>, |
| 69 | <0xfe430000 0x100>; |
| 70 | }; |
Laurent Pinchart | 0697ccc | 2013-05-09 15:05:57 +0200 | [diff] [blame] | 71 | |
Kuninori Morimoto | 87f1ba8 | 2013-10-02 01:32:12 -0700 | [diff] [blame] | 72 | /* irqpin: IRQ0 - IRQ3 */ |
Geert Uytterhoeven | b38150f | 2015-04-27 14:55:26 +0200 | [diff] [blame] | 73 | irqpin: interrupt-controller@fe78001c { |
Magnus Damm | d79af22 | 2013-11-28 08:15:11 +0900 | [diff] [blame] | 74 | compatible = "renesas,intc-irqpin-r8a7778", "renesas,intc-irqpin"; |
Kuninori Morimoto | 87f1ba8 | 2013-10-02 01:32:12 -0700 | [diff] [blame] | 75 | #interrupt-cells = <2>; |
| 76 | interrupt-controller; |
| 77 | status = "disabled"; /* default off */ |
| 78 | reg = <0xfe78001c 4>, |
| 79 | <0xfe780010 4>, |
| 80 | <0xfe780024 4>, |
| 81 | <0xfe780044 4>, |
| 82 | <0xfe780064 4>; |
Simon Horman | 0c34bd1 | 2016-01-21 13:52:45 +0900 | [diff] [blame] | 83 | interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH |
| 84 | GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH |
| 85 | GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH |
| 86 | GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>; |
Kuninori Morimoto | 87f1ba8 | 2013-10-02 01:32:12 -0700 | [diff] [blame] | 87 | sense-bitfield-width = <2>; |
| 88 | }; |
| 89 | |
Laurent Pinchart | aaf7eda | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 90 | gpio0: gpio@ffc40000 { |
| 91 | compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar"; |
| 92 | reg = <0xffc40000 0x2c>; |
Simon Horman | 0c34bd1 | 2016-01-21 13:52:45 +0900 | [diff] [blame] | 93 | interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | aaf7eda | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 94 | #gpio-cells = <2>; |
| 95 | gpio-controller; |
| 96 | gpio-ranges = <&pfc 0 0 32>; |
| 97 | #interrupt-cells = <2>; |
| 98 | interrupt-controller; |
| 99 | }; |
| 100 | |
| 101 | gpio1: gpio@ffc41000 { |
| 102 | compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar"; |
| 103 | reg = <0xffc41000 0x2c>; |
Simon Horman | 0c34bd1 | 2016-01-21 13:52:45 +0900 | [diff] [blame] | 104 | interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | aaf7eda | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 105 | #gpio-cells = <2>; |
| 106 | gpio-controller; |
| 107 | gpio-ranges = <&pfc 0 32 32>; |
| 108 | #interrupt-cells = <2>; |
| 109 | interrupt-controller; |
| 110 | }; |
| 111 | |
| 112 | gpio2: gpio@ffc42000 { |
| 113 | compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar"; |
| 114 | reg = <0xffc42000 0x2c>; |
Simon Horman | 0c34bd1 | 2016-01-21 13:52:45 +0900 | [diff] [blame] | 115 | interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | aaf7eda | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 116 | #gpio-cells = <2>; |
| 117 | gpio-controller; |
| 118 | gpio-ranges = <&pfc 0 64 32>; |
| 119 | #interrupt-cells = <2>; |
| 120 | interrupt-controller; |
| 121 | }; |
| 122 | |
| 123 | gpio3: gpio@ffc43000 { |
| 124 | compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar"; |
| 125 | reg = <0xffc43000 0x2c>; |
Simon Horman | 0c34bd1 | 2016-01-21 13:52:45 +0900 | [diff] [blame] | 126 | interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | aaf7eda | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 127 | #gpio-cells = <2>; |
| 128 | gpio-controller; |
| 129 | gpio-ranges = <&pfc 0 96 32>; |
| 130 | #interrupt-cells = <2>; |
| 131 | interrupt-controller; |
| 132 | }; |
| 133 | |
| 134 | gpio4: gpio@ffc44000 { |
| 135 | compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar"; |
| 136 | reg = <0xffc44000 0x2c>; |
Simon Horman | 0c34bd1 | 2016-01-21 13:52:45 +0900 | [diff] [blame] | 137 | interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | aaf7eda | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 138 | #gpio-cells = <2>; |
| 139 | gpio-controller; |
| 140 | gpio-ranges = <&pfc 0 128 27>; |
| 141 | #interrupt-cells = <2>; |
| 142 | interrupt-controller; |
| 143 | }; |
| 144 | |
Laurent Pinchart | 0697ccc | 2013-05-09 15:05:57 +0200 | [diff] [blame] | 145 | pfc: pfc@fffc0000 { |
| 146 | compatible = "renesas,pfc-r8a7778"; |
Laurent Pinchart | 80d01fe | 2013-10-03 19:35:41 +0200 | [diff] [blame] | 147 | reg = <0xfffc0000 0x118>; |
Laurent Pinchart | 0697ccc | 2013-05-09 15:05:57 +0200 | [diff] [blame] | 148 | }; |
Kuninori Morimoto | 3acb51b | 2013-10-03 23:44:15 -0700 | [diff] [blame] | 149 | |
| 150 | i2c0: i2c@ffc70000 { |
| 151 | #address-cells = <1>; |
| 152 | #size-cells = <0>; |
| 153 | compatible = "renesas,i2c-r8a7778"; |
| 154 | reg = <0xffc70000 0x1000>; |
Simon Horman | 0c34bd1 | 2016-01-21 13:52:45 +0900 | [diff] [blame] | 155 | interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>; |
Ulrich Hecht | 66462be | 2015-02-16 17:58:50 +0100 | [diff] [blame] | 156 | clocks = <&mstp0_clks R8A7778_CLK_I2C0>; |
Geert Uytterhoeven | a670f366 | 2015-08-04 14:28:08 +0200 | [diff] [blame] | 157 | power-domains = <&cpg_clocks>; |
Kuninori Morimoto | 3acb51b | 2013-10-03 23:44:15 -0700 | [diff] [blame] | 158 | status = "disabled"; |
| 159 | }; |
| 160 | |
| 161 | i2c1: i2c@ffc71000 { |
| 162 | #address-cells = <1>; |
| 163 | #size-cells = <0>; |
| 164 | compatible = "renesas,i2c-r8a7778"; |
| 165 | reg = <0xffc71000 0x1000>; |
Simon Horman | 0c34bd1 | 2016-01-21 13:52:45 +0900 | [diff] [blame] | 166 | interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>; |
Ulrich Hecht | 66462be | 2015-02-16 17:58:50 +0100 | [diff] [blame] | 167 | clocks = <&mstp0_clks R8A7778_CLK_I2C1>; |
Geert Uytterhoeven | a670f366 | 2015-08-04 14:28:08 +0200 | [diff] [blame] | 168 | power-domains = <&cpg_clocks>; |
Kuninori Morimoto | 3acb51b | 2013-10-03 23:44:15 -0700 | [diff] [blame] | 169 | status = "disabled"; |
| 170 | }; |
| 171 | |
| 172 | i2c2: i2c@ffc72000 { |
| 173 | #address-cells = <1>; |
| 174 | #size-cells = <0>; |
| 175 | compatible = "renesas,i2c-r8a7778"; |
| 176 | reg = <0xffc72000 0x1000>; |
Simon Horman | 0c34bd1 | 2016-01-21 13:52:45 +0900 | [diff] [blame] | 177 | interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>; |
Ulrich Hecht | 66462be | 2015-02-16 17:58:50 +0100 | [diff] [blame] | 178 | clocks = <&mstp0_clks R8A7778_CLK_I2C2>; |
Geert Uytterhoeven | a670f366 | 2015-08-04 14:28:08 +0200 | [diff] [blame] | 179 | power-domains = <&cpg_clocks>; |
Kuninori Morimoto | 3acb51b | 2013-10-03 23:44:15 -0700 | [diff] [blame] | 180 | status = "disabled"; |
| 181 | }; |
| 182 | |
| 183 | i2c3: i2c@ffc73000 { |
| 184 | #address-cells = <1>; |
| 185 | #size-cells = <0>; |
| 186 | compatible = "renesas,i2c-r8a7778"; |
| 187 | reg = <0xffc73000 0x1000>; |
Simon Horman | 0c34bd1 | 2016-01-21 13:52:45 +0900 | [diff] [blame] | 188 | interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>; |
Ulrich Hecht | 66462be | 2015-02-16 17:58:50 +0100 | [diff] [blame] | 189 | clocks = <&mstp0_clks R8A7778_CLK_I2C3>; |
Geert Uytterhoeven | a670f366 | 2015-08-04 14:28:08 +0200 | [diff] [blame] | 190 | power-domains = <&cpg_clocks>; |
Kuninori Morimoto | 3acb51b | 2013-10-03 23:44:15 -0700 | [diff] [blame] | 191 | status = "disabled"; |
| 192 | }; |
Kuninori Morimoto | f7b90175 | 2013-10-03 18:32:22 -0700 | [diff] [blame] | 193 | |
Simon Horman | 2109b5a | 2014-07-07 09:54:30 +0200 | [diff] [blame] | 194 | tmu0: timer@ffd80000 { |
Geert Uytterhoeven | 45b439c | 2014-10-24 13:36:03 +0200 | [diff] [blame] | 195 | compatible = "renesas,tmu-r8a7778", "renesas,tmu"; |
Simon Horman | 2109b5a | 2014-07-07 09:54:30 +0200 | [diff] [blame] | 196 | reg = <0xffd80000 0x30>; |
Simon Horman | 0c34bd1 | 2016-01-21 13:52:45 +0900 | [diff] [blame] | 197 | interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>, |
| 198 | <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>, |
| 199 | <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; |
Ulrich Hecht | 66462be | 2015-02-16 17:58:50 +0100 | [diff] [blame] | 200 | clocks = <&mstp0_clks R8A7778_CLK_TMU0>; |
| 201 | clock-names = "fck"; |
Geert Uytterhoeven | a670f366 | 2015-08-04 14:28:08 +0200 | [diff] [blame] | 202 | power-domains = <&cpg_clocks>; |
Simon Horman | 2109b5a | 2014-07-07 09:54:30 +0200 | [diff] [blame] | 203 | |
| 204 | #renesas,channels = <3>; |
| 205 | |
| 206 | status = "disabled"; |
| 207 | }; |
| 208 | |
| 209 | tmu1: timer@ffd81000 { |
Geert Uytterhoeven | 45b439c | 2014-10-24 13:36:03 +0200 | [diff] [blame] | 210 | compatible = "renesas,tmu-r8a7778", "renesas,tmu"; |
Simon Horman | 2109b5a | 2014-07-07 09:54:30 +0200 | [diff] [blame] | 211 | reg = <0xffd81000 0x30>; |
Simon Horman | 0c34bd1 | 2016-01-21 13:52:45 +0900 | [diff] [blame] | 212 | interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>, |
| 213 | <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>, |
| 214 | <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>; |
Ulrich Hecht | 66462be | 2015-02-16 17:58:50 +0100 | [diff] [blame] | 215 | clocks = <&mstp0_clks R8A7778_CLK_TMU1>; |
| 216 | clock-names = "fck"; |
Geert Uytterhoeven | a670f366 | 2015-08-04 14:28:08 +0200 | [diff] [blame] | 217 | power-domains = <&cpg_clocks>; |
Simon Horman | 2109b5a | 2014-07-07 09:54:30 +0200 | [diff] [blame] | 218 | |
| 219 | #renesas,channels = <3>; |
| 220 | |
| 221 | status = "disabled"; |
| 222 | }; |
| 223 | |
| 224 | tmu2: timer@ffd82000 { |
Geert Uytterhoeven | 45b439c | 2014-10-24 13:36:03 +0200 | [diff] [blame] | 225 | compatible = "renesas,tmu-r8a7778", "renesas,tmu"; |
Simon Horman | 2109b5a | 2014-07-07 09:54:30 +0200 | [diff] [blame] | 226 | reg = <0xffd82000 0x30>; |
Simon Horman | 0c34bd1 | 2016-01-21 13:52:45 +0900 | [diff] [blame] | 227 | interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>, |
| 228 | <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>, |
| 229 | <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>; |
Ulrich Hecht | 66462be | 2015-02-16 17:58:50 +0100 | [diff] [blame] | 230 | clocks = <&mstp0_clks R8A7778_CLK_TMU2>; |
| 231 | clock-names = "fck"; |
Geert Uytterhoeven | a670f366 | 2015-08-04 14:28:08 +0200 | [diff] [blame] | 232 | power-domains = <&cpg_clocks>; |
Simon Horman | 2109b5a | 2014-07-07 09:54:30 +0200 | [diff] [blame] | 233 | |
| 234 | #renesas,channels = <3>; |
| 235 | |
| 236 | status = "disabled"; |
| 237 | }; |
| 238 | |
Ulrich Hecht | 39a9679 | 2015-02-26 17:42:11 +0100 | [diff] [blame] | 239 | rcar_sound: sound@ffd90000 { |
Kuninori Morimoto | 2020ddd | 2015-12-08 00:10:59 +0000 | [diff] [blame] | 240 | /* |
| 241 | * #sound-dai-cells is required |
| 242 | * |
| 243 | * Single DAI : #sound-dai-cells = <0>; <&rcar_sound>; |
| 244 | * Multi DAI : #sound-dai-cells = <1>; <&rcar_sound N>; |
| 245 | */ |
Ulrich Hecht | 39a9679 | 2015-02-26 17:42:11 +0100 | [diff] [blame] | 246 | compatible = "renesas,rcar_sound-r8a7778", "renesas,rcar_sound-gen1"; |
| 247 | reg = <0xffd90000 0x1000>, /* SRU */ |
Kuninori Morimoto | 23640ff | 2015-08-25 07:14:50 +0000 | [diff] [blame] | 248 | <0xffd91000 0x240>, /* SSI */ |
Ulrich Hecht | 39a9679 | 2015-02-26 17:42:11 +0100 | [diff] [blame] | 249 | <0xfffe0000 0x24>; /* ADG */ |
| 250 | clocks = <&mstp3_clks R8A7778_CLK_SSI8>, |
| 251 | <&mstp3_clks R8A7778_CLK_SSI7>, |
| 252 | <&mstp3_clks R8A7778_CLK_SSI6>, |
| 253 | <&mstp3_clks R8A7778_CLK_SSI5>, |
| 254 | <&mstp3_clks R8A7778_CLK_SSI4>, |
| 255 | <&mstp0_clks R8A7778_CLK_SSI3>, |
| 256 | <&mstp0_clks R8A7778_CLK_SSI2>, |
| 257 | <&mstp0_clks R8A7778_CLK_SSI1>, |
| 258 | <&mstp0_clks R8A7778_CLK_SSI0>, |
| 259 | <&mstp5_clks R8A7778_CLK_SRU_SRC8>, |
| 260 | <&mstp5_clks R8A7778_CLK_SRU_SRC7>, |
| 261 | <&mstp5_clks R8A7778_CLK_SRU_SRC6>, |
| 262 | <&mstp5_clks R8A7778_CLK_SRU_SRC5>, |
| 263 | <&mstp5_clks R8A7778_CLK_SRU_SRC4>, |
| 264 | <&mstp5_clks R8A7778_CLK_SRU_SRC3>, |
| 265 | <&mstp5_clks R8A7778_CLK_SRU_SRC2>, |
| 266 | <&mstp5_clks R8A7778_CLK_SRU_SRC1>, |
| 267 | <&mstp5_clks R8A7778_CLK_SRU_SRC0>, |
| 268 | <&audio_clk_a>, <&audio_clk_b>, <&audio_clk_c>, |
| 269 | <&cpg_clocks R8A7778_CLK_S1>; |
| 270 | clock-names = "ssi.8", "ssi.7", "ssi.6", "ssi.5", "ssi.4", |
| 271 | "ssi.3", "ssi.2", "ssi.1", "ssi.0", |
| 272 | "src.8", "src.7", "src.6", "src.5", "src.4", |
| 273 | "src.3", "src.2", "src.1", "src.0", |
| 274 | "clk_a", "clk_b", "clk_c", "clk_i"; |
| 275 | |
| 276 | status = "disabled"; |
| 277 | |
| 278 | rcar_sound,src { |
Geert Uytterhoeven | 51f20c9 | 2016-05-20 09:09:55 +0200 | [diff] [blame] | 279 | src3: src-3 { }; |
| 280 | src4: src-4 { }; |
| 281 | src5: src-5 { }; |
| 282 | src6: src-6 { }; |
| 283 | src7: src-7 { }; |
| 284 | src8: src-8 { }; |
| 285 | src9: src-9 { }; |
Ulrich Hecht | 39a9679 | 2015-02-26 17:42:11 +0100 | [diff] [blame] | 286 | }; |
| 287 | |
| 288 | rcar_sound,ssi { |
Geert Uytterhoeven | 51f20c9 | 2016-05-20 09:09:55 +0200 | [diff] [blame] | 289 | ssi3: ssi-3 { interrupts = <GIC_SPI 0x85 IRQ_TYPE_LEVEL_HIGH>; }; |
| 290 | ssi4: ssi-4 { interrupts = <GIC_SPI 0x85 IRQ_TYPE_LEVEL_HIGH>; }; |
| 291 | ssi5: ssi-5 { interrupts = <GIC_SPI 0x86 IRQ_TYPE_LEVEL_HIGH>; }; |
| 292 | ssi6: ssi-6 { interrupts = <GIC_SPI 0x86 IRQ_TYPE_LEVEL_HIGH>; }; |
| 293 | ssi7: ssi-7 { interrupts = <GIC_SPI 0x86 IRQ_TYPE_LEVEL_HIGH>; }; |
| 294 | ssi8: ssi-8 { interrupts = <GIC_SPI 0x86 IRQ_TYPE_LEVEL_HIGH>; }; |
| 295 | ssi9: ssi-9 { interrupts = <GIC_SPI 0x86 IRQ_TYPE_LEVEL_HIGH>; }; |
Ulrich Hecht | 39a9679 | 2015-02-26 17:42:11 +0100 | [diff] [blame] | 296 | }; |
| 297 | }; |
| 298 | |
Simon Horman | 9930dc8 | 2014-07-07 09:54:27 +0200 | [diff] [blame] | 299 | scif0: serial@ffe40000 { |
Geert Uytterhoeven | 720e909 | 2016-01-29 10:32:02 +0100 | [diff] [blame] | 300 | compatible = "renesas,scif-r8a7778", "renesas,rcar-gen1-scif", |
| 301 | "renesas,scif"; |
Simon Horman | 9930dc8 | 2014-07-07 09:54:27 +0200 | [diff] [blame] | 302 | reg = <0xffe40000 0x100>; |
Simon Horman | 0c34bd1 | 2016-01-21 13:52:45 +0900 | [diff] [blame] | 303 | interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>; |
Geert Uytterhoeven | 5fb544d | 2016-01-29 11:04:37 +0100 | [diff] [blame] | 304 | clocks = <&mstp0_clks R8A7778_CLK_SCIF0>, |
| 305 | <&cpg_clocks R8A7778_CLK_S1>, <&scif_clk>; |
| 306 | clock-names = "fck", "brg_int", "scif_clk"; |
Geert Uytterhoeven | a670f366 | 2015-08-04 14:28:08 +0200 | [diff] [blame] | 307 | power-domains = <&cpg_clocks>; |
Simon Horman | 9930dc8 | 2014-07-07 09:54:27 +0200 | [diff] [blame] | 308 | status = "disabled"; |
| 309 | }; |
| 310 | |
| 311 | scif1: serial@ffe41000 { |
Geert Uytterhoeven | 720e909 | 2016-01-29 10:32:02 +0100 | [diff] [blame] | 312 | compatible = "renesas,scif-r8a7778", "renesas,rcar-gen1-scif", |
| 313 | "renesas,scif"; |
Simon Horman | 9930dc8 | 2014-07-07 09:54:27 +0200 | [diff] [blame] | 314 | reg = <0xffe41000 0x100>; |
Simon Horman | 0c34bd1 | 2016-01-21 13:52:45 +0900 | [diff] [blame] | 315 | interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>; |
Geert Uytterhoeven | 5fb544d | 2016-01-29 11:04:37 +0100 | [diff] [blame] | 316 | clocks = <&mstp0_clks R8A7778_CLK_SCIF1>, |
| 317 | <&cpg_clocks R8A7778_CLK_S1>, <&scif_clk>; |
| 318 | clock-names = "fck", "brg_int", "scif_clk"; |
Geert Uytterhoeven | a670f366 | 2015-08-04 14:28:08 +0200 | [diff] [blame] | 319 | power-domains = <&cpg_clocks>; |
Simon Horman | 9930dc8 | 2014-07-07 09:54:27 +0200 | [diff] [blame] | 320 | status = "disabled"; |
| 321 | }; |
| 322 | |
| 323 | scif2: serial@ffe42000 { |
Geert Uytterhoeven | 720e909 | 2016-01-29 10:32:02 +0100 | [diff] [blame] | 324 | compatible = "renesas,scif-r8a7778", "renesas,rcar-gen1-scif", |
| 325 | "renesas,scif"; |
Simon Horman | 9930dc8 | 2014-07-07 09:54:27 +0200 | [diff] [blame] | 326 | reg = <0xffe42000 0x100>; |
Simon Horman | 0c34bd1 | 2016-01-21 13:52:45 +0900 | [diff] [blame] | 327 | interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>; |
Geert Uytterhoeven | 5fb544d | 2016-01-29 11:04:37 +0100 | [diff] [blame] | 328 | clocks = <&mstp0_clks R8A7778_CLK_SCIF2>, |
| 329 | <&cpg_clocks R8A7778_CLK_S1>, <&scif_clk>; |
| 330 | clock-names = "fck", "brg_int", "scif_clk"; |
Geert Uytterhoeven | a670f366 | 2015-08-04 14:28:08 +0200 | [diff] [blame] | 331 | power-domains = <&cpg_clocks>; |
Simon Horman | 9930dc8 | 2014-07-07 09:54:27 +0200 | [diff] [blame] | 332 | status = "disabled"; |
| 333 | }; |
| 334 | |
| 335 | scif3: serial@ffe43000 { |
Geert Uytterhoeven | 720e909 | 2016-01-29 10:32:02 +0100 | [diff] [blame] | 336 | compatible = "renesas,scif-r8a7778", "renesas,rcar-gen1-scif", |
| 337 | "renesas,scif"; |
Simon Horman | 9930dc8 | 2014-07-07 09:54:27 +0200 | [diff] [blame] | 338 | reg = <0xffe43000 0x100>; |
Simon Horman | 0c34bd1 | 2016-01-21 13:52:45 +0900 | [diff] [blame] | 339 | interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>; |
Geert Uytterhoeven | 5fb544d | 2016-01-29 11:04:37 +0100 | [diff] [blame] | 340 | clocks = <&mstp0_clks R8A7778_CLK_SCIF3>, |
| 341 | <&cpg_clocks R8A7778_CLK_S1>, <&scif_clk>; |
| 342 | clock-names = "fck", "brg_int", "scif_clk"; |
Geert Uytterhoeven | a670f366 | 2015-08-04 14:28:08 +0200 | [diff] [blame] | 343 | power-domains = <&cpg_clocks>; |
Simon Horman | 9930dc8 | 2014-07-07 09:54:27 +0200 | [diff] [blame] | 344 | status = "disabled"; |
| 345 | }; |
| 346 | |
| 347 | scif4: serial@ffe44000 { |
Geert Uytterhoeven | 720e909 | 2016-01-29 10:32:02 +0100 | [diff] [blame] | 348 | compatible = "renesas,scif-r8a7778", "renesas,rcar-gen1-scif", |
| 349 | "renesas,scif"; |
Simon Horman | 9930dc8 | 2014-07-07 09:54:27 +0200 | [diff] [blame] | 350 | reg = <0xffe44000 0x100>; |
Simon Horman | 0c34bd1 | 2016-01-21 13:52:45 +0900 | [diff] [blame] | 351 | interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>; |
Geert Uytterhoeven | 5fb544d | 2016-01-29 11:04:37 +0100 | [diff] [blame] | 352 | clocks = <&mstp0_clks R8A7778_CLK_SCIF4>, |
| 353 | <&cpg_clocks R8A7778_CLK_S1>, <&scif_clk>; |
| 354 | clock-names = "fck", "brg_int", "scif_clk"; |
Geert Uytterhoeven | a670f366 | 2015-08-04 14:28:08 +0200 | [diff] [blame] | 355 | power-domains = <&cpg_clocks>; |
Simon Horman | 9930dc8 | 2014-07-07 09:54:27 +0200 | [diff] [blame] | 356 | status = "disabled"; |
| 357 | }; |
| 358 | |
| 359 | scif5: serial@ffe45000 { |
Geert Uytterhoeven | 720e909 | 2016-01-29 10:32:02 +0100 | [diff] [blame] | 360 | compatible = "renesas,scif-r8a7778", "renesas,rcar-gen1-scif", |
| 361 | "renesas,scif"; |
Simon Horman | 9930dc8 | 2014-07-07 09:54:27 +0200 | [diff] [blame] | 362 | reg = <0xffe45000 0x100>; |
Simon Horman | 0c34bd1 | 2016-01-21 13:52:45 +0900 | [diff] [blame] | 363 | interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>; |
Geert Uytterhoeven | 5fb544d | 2016-01-29 11:04:37 +0100 | [diff] [blame] | 364 | clocks = <&mstp0_clks R8A7778_CLK_SCIF5>, |
| 365 | <&cpg_clocks R8A7778_CLK_S1>, <&scif_clk>; |
| 366 | clock-names = "fck", "brg_int", "scif_clk"; |
Geert Uytterhoeven | a670f366 | 2015-08-04 14:28:08 +0200 | [diff] [blame] | 367 | power-domains = <&cpg_clocks>; |
Simon Horman | 9930dc8 | 2014-07-07 09:54:27 +0200 | [diff] [blame] | 368 | status = "disabled"; |
| 369 | }; |
| 370 | |
Kuninori Morimoto | 14e1d91 | 2013-10-21 19:35:42 -0700 | [diff] [blame] | 371 | mmcif: mmc@ffe4e000 { |
Kuninori Morimoto | f7b90175 | 2013-10-03 18:32:22 -0700 | [diff] [blame] | 372 | compatible = "renesas,sh-mmcif"; |
| 373 | reg = <0xffe4e000 0x100>; |
Simon Horman | 0c34bd1 | 2016-01-21 13:52:45 +0900 | [diff] [blame] | 374 | interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>; |
Ulrich Hecht | 66462be | 2015-02-16 17:58:50 +0100 | [diff] [blame] | 375 | clocks = <&mstp3_clks R8A7778_CLK_MMC>; |
Geert Uytterhoeven | a670f366 | 2015-08-04 14:28:08 +0200 | [diff] [blame] | 376 | power-domains = <&cpg_clocks>; |
Kuninori Morimoto | f7b90175 | 2013-10-03 18:32:22 -0700 | [diff] [blame] | 377 | status = "disabled"; |
| 378 | }; |
Kuninori Morimoto | 04cbd88 | 2013-10-10 23:35:46 -0700 | [diff] [blame] | 379 | |
Kuninori Morimoto | 14e1d91 | 2013-10-21 19:35:42 -0700 | [diff] [blame] | 380 | sdhi0: sd@ffe4c000 { |
Kuninori Morimoto | 04cbd88 | 2013-10-10 23:35:46 -0700 | [diff] [blame] | 381 | compatible = "renesas,sdhi-r8a7778"; |
| 382 | reg = <0xffe4c000 0x100>; |
Simon Horman | 0c34bd1 | 2016-01-21 13:52:45 +0900 | [diff] [blame] | 383 | interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>; |
Ulrich Hecht | 66462be | 2015-02-16 17:58:50 +0100 | [diff] [blame] | 384 | clocks = <&mstp3_clks R8A7778_CLK_SDHI0>; |
Geert Uytterhoeven | a670f366 | 2015-08-04 14:28:08 +0200 | [diff] [blame] | 385 | power-domains = <&cpg_clocks>; |
Kuninori Morimoto | 04cbd88 | 2013-10-10 23:35:46 -0700 | [diff] [blame] | 386 | status = "disabled"; |
| 387 | }; |
| 388 | |
Kuninori Morimoto | 14e1d91 | 2013-10-21 19:35:42 -0700 | [diff] [blame] | 389 | sdhi1: sd@ffe4d000 { |
Kuninori Morimoto | 04cbd88 | 2013-10-10 23:35:46 -0700 | [diff] [blame] | 390 | compatible = "renesas,sdhi-r8a7778"; |
| 391 | reg = <0xffe4d000 0x100>; |
Simon Horman | 0c34bd1 | 2016-01-21 13:52:45 +0900 | [diff] [blame] | 392 | interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>; |
Ulrich Hecht | 66462be | 2015-02-16 17:58:50 +0100 | [diff] [blame] | 393 | clocks = <&mstp3_clks R8A7778_CLK_SDHI1>; |
Geert Uytterhoeven | a670f366 | 2015-08-04 14:28:08 +0200 | [diff] [blame] | 394 | power-domains = <&cpg_clocks>; |
Kuninori Morimoto | 04cbd88 | 2013-10-10 23:35:46 -0700 | [diff] [blame] | 395 | status = "disabled"; |
| 396 | }; |
| 397 | |
Kuninori Morimoto | 14e1d91 | 2013-10-21 19:35:42 -0700 | [diff] [blame] | 398 | sdhi2: sd@ffe4f000 { |
Kuninori Morimoto | 04cbd88 | 2013-10-10 23:35:46 -0700 | [diff] [blame] | 399 | compatible = "renesas,sdhi-r8a7778"; |
| 400 | reg = <0xffe4f000 0x100>; |
Simon Horman | 0c34bd1 | 2016-01-21 13:52:45 +0900 | [diff] [blame] | 401 | interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; |
Ulrich Hecht | 66462be | 2015-02-16 17:58:50 +0100 | [diff] [blame] | 402 | clocks = <&mstp3_clks R8A7778_CLK_SDHI2>; |
Geert Uytterhoeven | a670f366 | 2015-08-04 14:28:08 +0200 | [diff] [blame] | 403 | power-domains = <&cpg_clocks>; |
Kuninori Morimoto | 04cbd88 | 2013-10-10 23:35:46 -0700 | [diff] [blame] | 404 | status = "disabled"; |
| 405 | }; |
Kuninori Morimoto | ae4273e | 2013-10-03 23:44:15 -0700 | [diff] [blame] | 406 | |
Kuninori Morimoto | a50da08 | 2013-10-31 18:22:21 -0700 | [diff] [blame] | 407 | hspi0: spi@fffc7000 { |
Geert Uytterhoeven | a34c50d | 2014-03-14 11:06:40 +0100 | [diff] [blame] | 408 | compatible = "renesas,hspi-r8a7778", "renesas,hspi"; |
Kuninori Morimoto | a50da08 | 2013-10-31 18:22:21 -0700 | [diff] [blame] | 409 | reg = <0xfffc7000 0x18>; |
Simon Horman | 0c34bd1 | 2016-01-21 13:52:45 +0900 | [diff] [blame] | 410 | interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>; |
Ulrich Hecht | 66462be | 2015-02-16 17:58:50 +0100 | [diff] [blame] | 411 | clocks = <&mstp0_clks R8A7778_CLK_HSPI>; |
Geert Uytterhoeven | a670f366 | 2015-08-04 14:28:08 +0200 | [diff] [blame] | 412 | power-domains = <&cpg_clocks>; |
Geert Uytterhoeven | a34c50d | 2014-03-14 11:06:40 +0100 | [diff] [blame] | 413 | #address-cells = <1>; |
| 414 | #size-cells = <0>; |
Kuninori Morimoto | a50da08 | 2013-10-31 18:22:21 -0700 | [diff] [blame] | 415 | status = "disabled"; |
| 416 | }; |
| 417 | |
| 418 | hspi1: spi@fffc8000 { |
Geert Uytterhoeven | a34c50d | 2014-03-14 11:06:40 +0100 | [diff] [blame] | 419 | compatible = "renesas,hspi-r8a7778", "renesas,hspi"; |
Kuninori Morimoto | a50da08 | 2013-10-31 18:22:21 -0700 | [diff] [blame] | 420 | reg = <0xfffc8000 0x18>; |
Simon Horman | 0c34bd1 | 2016-01-21 13:52:45 +0900 | [diff] [blame] | 421 | interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>; |
Ulrich Hecht | 66462be | 2015-02-16 17:58:50 +0100 | [diff] [blame] | 422 | clocks = <&mstp0_clks R8A7778_CLK_HSPI>; |
Geert Uytterhoeven | a670f366 | 2015-08-04 14:28:08 +0200 | [diff] [blame] | 423 | power-domains = <&cpg_clocks>; |
Geert Uytterhoeven | a34c50d | 2014-03-14 11:06:40 +0100 | [diff] [blame] | 424 | #address-cells = <1>; |
| 425 | #size-cells = <0>; |
Kuninori Morimoto | a50da08 | 2013-10-31 18:22:21 -0700 | [diff] [blame] | 426 | status = "disabled"; |
| 427 | }; |
| 428 | |
| 429 | hspi2: spi@fffc6000 { |
Geert Uytterhoeven | a34c50d | 2014-03-14 11:06:40 +0100 | [diff] [blame] | 430 | compatible = "renesas,hspi-r8a7778", "renesas,hspi"; |
Kuninori Morimoto | a50da08 | 2013-10-31 18:22:21 -0700 | [diff] [blame] | 431 | reg = <0xfffc6000 0x18>; |
Simon Horman | 0c34bd1 | 2016-01-21 13:52:45 +0900 | [diff] [blame] | 432 | interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>; |
Ulrich Hecht | 66462be | 2015-02-16 17:58:50 +0100 | [diff] [blame] | 433 | clocks = <&mstp0_clks R8A7778_CLK_HSPI>; |
Geert Uytterhoeven | a670f366 | 2015-08-04 14:28:08 +0200 | [diff] [blame] | 434 | power-domains = <&cpg_clocks>; |
Geert Uytterhoeven | a34c50d | 2014-03-14 11:06:40 +0100 | [diff] [blame] | 435 | #address-cells = <1>; |
| 436 | #size-cells = <0>; |
Kuninori Morimoto | a50da08 | 2013-10-31 18:22:21 -0700 | [diff] [blame] | 437 | status = "disabled"; |
| 438 | }; |
Ulrich Hecht | 93aa970 | 2015-02-16 17:58:47 +0100 | [diff] [blame] | 439 | |
| 440 | clocks { |
| 441 | #address-cells = <1>; |
| 442 | #size-cells = <1>; |
| 443 | ranges; |
| 444 | |
| 445 | /* External input clock */ |
Simon Horman | 452fc89 | 2016-03-18 08:15:11 +0900 | [diff] [blame] | 446 | extal_clk: extal { |
Ulrich Hecht | 93aa970 | 2015-02-16 17:58:47 +0100 | [diff] [blame] | 447 | compatible = "fixed-clock"; |
| 448 | #clock-cells = <0>; |
| 449 | clock-frequency = <0>; |
Ulrich Hecht | 93aa970 | 2015-02-16 17:58:47 +0100 | [diff] [blame] | 450 | }; |
| 451 | |
Geert Uytterhoeven | 5fb544d | 2016-01-29 11:04:37 +0100 | [diff] [blame] | 452 | /* External SCIF clock */ |
| 453 | scif_clk: scif { |
| 454 | compatible = "fixed-clock"; |
| 455 | #clock-cells = <0>; |
| 456 | /* This value must be overridden by the board. */ |
| 457 | clock-frequency = <0>; |
Geert Uytterhoeven | 5fb544d | 2016-01-29 11:04:37 +0100 | [diff] [blame] | 458 | }; |
| 459 | |
Ulrich Hecht | 93aa970 | 2015-02-16 17:58:47 +0100 | [diff] [blame] | 460 | /* Special CPG clocks */ |
| 461 | cpg_clocks: cpg_clocks@ffc80000 { |
| 462 | compatible = "renesas,r8a7778-cpg-clocks"; |
| 463 | reg = <0xffc80000 0x80>; |
| 464 | #clock-cells = <1>; |
| 465 | clocks = <&extal_clk>; |
| 466 | clock-output-names = "plla", "pllb", "b", |
| 467 | "out", "p", "s", "s1"; |
Geert Uytterhoeven | a670f366 | 2015-08-04 14:28:08 +0200 | [diff] [blame] | 468 | #power-domain-cells = <0>; |
Ulrich Hecht | 93aa970 | 2015-02-16 17:58:47 +0100 | [diff] [blame] | 469 | }; |
| 470 | |
| 471 | /* Audio clocks; frequencies are set by boards if applicable. */ |
| 472 | audio_clk_a: audio_clk_a { |
| 473 | compatible = "fixed-clock"; |
| 474 | #clock-cells = <0>; |
Ulrich Hecht | 93aa970 | 2015-02-16 17:58:47 +0100 | [diff] [blame] | 475 | }; |
| 476 | audio_clk_b: audio_clk_b { |
| 477 | compatible = "fixed-clock"; |
| 478 | #clock-cells = <0>; |
Ulrich Hecht | 93aa970 | 2015-02-16 17:58:47 +0100 | [diff] [blame] | 479 | }; |
| 480 | audio_clk_c: audio_clk_c { |
| 481 | compatible = "fixed-clock"; |
| 482 | #clock-cells = <0>; |
Ulrich Hecht | 93aa970 | 2015-02-16 17:58:47 +0100 | [diff] [blame] | 483 | }; |
| 484 | |
| 485 | /* Fixed ratio clocks */ |
Simon Horman | 452fc89 | 2016-03-18 08:15:11 +0900 | [diff] [blame] | 486 | g_clk: g { |
Ulrich Hecht | 93aa970 | 2015-02-16 17:58:47 +0100 | [diff] [blame] | 487 | compatible = "fixed-factor-clock"; |
| 488 | clocks = <&cpg_clocks R8A7778_CLK_PLLA>; |
| 489 | #clock-cells = <0>; |
| 490 | clock-div = <12>; |
| 491 | clock-mult = <1>; |
Ulrich Hecht | 93aa970 | 2015-02-16 17:58:47 +0100 | [diff] [blame] | 492 | }; |
Simon Horman | 452fc89 | 2016-03-18 08:15:11 +0900 | [diff] [blame] | 493 | i_clk: i { |
Ulrich Hecht | 93aa970 | 2015-02-16 17:58:47 +0100 | [diff] [blame] | 494 | compatible = "fixed-factor-clock"; |
| 495 | clocks = <&cpg_clocks R8A7778_CLK_PLLA>; |
| 496 | #clock-cells = <0>; |
| 497 | clock-div = <1>; |
| 498 | clock-mult = <1>; |
Ulrich Hecht | 93aa970 | 2015-02-16 17:58:47 +0100 | [diff] [blame] | 499 | }; |
Simon Horman | 452fc89 | 2016-03-18 08:15:11 +0900 | [diff] [blame] | 500 | s3_clk: s3 { |
Ulrich Hecht | 93aa970 | 2015-02-16 17:58:47 +0100 | [diff] [blame] | 501 | compatible = "fixed-factor-clock"; |
| 502 | clocks = <&cpg_clocks R8A7778_CLK_PLLA>; |
| 503 | #clock-cells = <0>; |
| 504 | clock-div = <4>; |
| 505 | clock-mult = <1>; |
Ulrich Hecht | 93aa970 | 2015-02-16 17:58:47 +0100 | [diff] [blame] | 506 | }; |
Simon Horman | 452fc89 | 2016-03-18 08:15:11 +0900 | [diff] [blame] | 507 | s4_clk: s4 { |
Ulrich Hecht | 93aa970 | 2015-02-16 17:58:47 +0100 | [diff] [blame] | 508 | compatible = "fixed-factor-clock"; |
| 509 | clocks = <&cpg_clocks R8A7778_CLK_PLLA>; |
| 510 | #clock-cells = <0>; |
| 511 | clock-div = <8>; |
| 512 | clock-mult = <1>; |
Ulrich Hecht | 93aa970 | 2015-02-16 17:58:47 +0100 | [diff] [blame] | 513 | }; |
Simon Horman | 452fc89 | 2016-03-18 08:15:11 +0900 | [diff] [blame] | 514 | z_clk: z { |
Ulrich Hecht | 93aa970 | 2015-02-16 17:58:47 +0100 | [diff] [blame] | 515 | compatible = "fixed-factor-clock"; |
| 516 | clocks = <&cpg_clocks R8A7778_CLK_PLLB>; |
| 517 | #clock-cells = <0>; |
| 518 | clock-div = <1>; |
| 519 | clock-mult = <1>; |
Ulrich Hecht | 93aa970 | 2015-02-16 17:58:47 +0100 | [diff] [blame] | 520 | }; |
| 521 | |
| 522 | /* Gate clocks */ |
| 523 | mstp0_clks: mstp0_clks@ffc80030 { |
| 524 | compatible = "renesas,r8a7778-mstp-clocks", "renesas,cpg-mstp-clocks"; |
| 525 | reg = <0xffc80030 4>; |
| 526 | clocks = <&cpg_clocks R8A7778_CLK_P>, |
| 527 | <&cpg_clocks R8A7778_CLK_P>, |
| 528 | <&cpg_clocks R8A7778_CLK_P>, |
| 529 | <&cpg_clocks R8A7778_CLK_P>, |
| 530 | <&cpg_clocks R8A7778_CLK_P>, |
| 531 | <&cpg_clocks R8A7778_CLK_P>, |
| 532 | <&cpg_clocks R8A7778_CLK_P>, |
| 533 | <&cpg_clocks R8A7778_CLK_P>, |
| 534 | <&cpg_clocks R8A7778_CLK_P>, |
| 535 | <&cpg_clocks R8A7778_CLK_P>, |
| 536 | <&cpg_clocks R8A7778_CLK_P>, |
| 537 | <&cpg_clocks R8A7778_CLK_P>, |
| 538 | <&cpg_clocks R8A7778_CLK_P>, |
| 539 | <&cpg_clocks R8A7778_CLK_P>, |
| 540 | <&cpg_clocks R8A7778_CLK_P>, |
| 541 | <&cpg_clocks R8A7778_CLK_P>, |
| 542 | <&cpg_clocks R8A7778_CLK_P>, |
| 543 | <&cpg_clocks R8A7778_CLK_P>, |
| 544 | <&cpg_clocks R8A7778_CLK_S>; |
| 545 | #clock-cells = <1>; |
| 546 | clock-indices = < |
| 547 | R8A7778_CLK_I2C0 R8A7778_CLK_I2C1 |
| 548 | R8A7778_CLK_I2C2 R8A7778_CLK_I2C3 |
| 549 | R8A7778_CLK_SCIF0 R8A7778_CLK_SCIF1 |
| 550 | R8A7778_CLK_SCIF2 R8A7778_CLK_SCIF3 |
| 551 | R8A7778_CLK_SCIF4 R8A7778_CLK_SCIF5 |
| 552 | R8A7778_CLK_TMU0 R8A7778_CLK_TMU1 |
| 553 | R8A7778_CLK_TMU2 R8A7778_CLK_SSI0 |
| 554 | R8A7778_CLK_SSI1 R8A7778_CLK_SSI2 |
| 555 | R8A7778_CLK_SSI3 R8A7778_CLK_SRU |
| 556 | R8A7778_CLK_HSPI |
| 557 | >; |
| 558 | clock-output-names = |
| 559 | "i2c0", "i2c1", "i2c2", "i2c3", "scif0", |
| 560 | "scif1", "scif2", "scif3", "scif4", "scif5", |
| 561 | "tmu0", "tmu1", "tmu2", "ssi0", "ssi1", |
| 562 | "ssi2", "ssi3", "sru", "hspi"; |
| 563 | }; |
| 564 | mstp1_clks: mstp1_clks@ffc80034 { |
| 565 | compatible = "renesas,r8a7778-mstp-clocks", "renesas,cpg-mstp-clocks"; |
| 566 | reg = <0xffc80034 4>, <0xffc80044 4>; |
| 567 | clocks = <&cpg_clocks R8A7778_CLK_P>, |
| 568 | <&cpg_clocks R8A7778_CLK_S>, |
| 569 | <&cpg_clocks R8A7778_CLK_S>, |
| 570 | <&cpg_clocks R8A7778_CLK_P>; |
| 571 | #clock-cells = <1>; |
| 572 | clock-indices = < |
| 573 | R8A7778_CLK_ETHER R8A7778_CLK_VIN0 |
| 574 | R8A7778_CLK_VIN1 R8A7778_CLK_USB |
| 575 | >; |
| 576 | clock-output-names = |
| 577 | "ether", "vin0", "vin1", "usb"; |
| 578 | }; |
| 579 | mstp3_clks: mstp3_clks@ffc8003c { |
| 580 | compatible = "renesas,r8a7778-mstp-clocks", "renesas,cpg-mstp-clocks"; |
| 581 | reg = <0xffc8003c 4>; |
| 582 | clocks = <&s4_clk>, |
| 583 | <&cpg_clocks R8A7778_CLK_P>, |
| 584 | <&cpg_clocks R8A7778_CLK_P>, |
| 585 | <&cpg_clocks R8A7778_CLK_P>, |
| 586 | <&cpg_clocks R8A7778_CLK_P>, |
| 587 | <&cpg_clocks R8A7778_CLK_P>, |
| 588 | <&cpg_clocks R8A7778_CLK_P>, |
| 589 | <&cpg_clocks R8A7778_CLK_P>, |
| 590 | <&cpg_clocks R8A7778_CLK_P>; |
| 591 | #clock-cells = <1>; |
| 592 | clock-indices = < |
| 593 | R8A7778_CLK_MMC R8A7778_CLK_SDHI0 |
| 594 | R8A7778_CLK_SDHI1 R8A7778_CLK_SDHI2 |
| 595 | R8A7778_CLK_SSI4 R8A7778_CLK_SSI5 |
| 596 | R8A7778_CLK_SSI6 R8A7778_CLK_SSI7 |
| 597 | R8A7778_CLK_SSI8 |
| 598 | >; |
| 599 | clock-output-names = |
| 600 | "mmc", "sdhi0", "sdhi1", "sdhi2", "ssi4", |
| 601 | "ssi5", "ssi6", "ssi7", "ssi8"; |
| 602 | }; |
| 603 | mstp5_clks: mstp5_clks@ffc80054 { |
| 604 | compatible = "renesas,r8a7778-mstp-clocks", "renesas,cpg-mstp-clocks"; |
| 605 | reg = <0xffc80054 4>; |
| 606 | clocks = <&cpg_clocks R8A7778_CLK_P>, |
| 607 | <&cpg_clocks R8A7778_CLK_P>, |
| 608 | <&cpg_clocks R8A7778_CLK_P>, |
| 609 | <&cpg_clocks R8A7778_CLK_P>, |
| 610 | <&cpg_clocks R8A7778_CLK_P>, |
| 611 | <&cpg_clocks R8A7778_CLK_P>, |
| 612 | <&cpg_clocks R8A7778_CLK_P>, |
| 613 | <&cpg_clocks R8A7778_CLK_P>, |
| 614 | <&cpg_clocks R8A7778_CLK_P>; |
| 615 | #clock-cells = <1>; |
| 616 | clock-indices = < |
| 617 | R8A7778_CLK_SRU_SRC0 R8A7778_CLK_SRU_SRC1 |
| 618 | R8A7778_CLK_SRU_SRC2 R8A7778_CLK_SRU_SRC3 |
| 619 | R8A7778_CLK_SRU_SRC4 R8A7778_CLK_SRU_SRC5 |
| 620 | R8A7778_CLK_SRU_SRC6 R8A7778_CLK_SRU_SRC7 |
| 621 | R8A7778_CLK_SRU_SRC8 |
| 622 | >; |
| 623 | clock-output-names = |
| 624 | "sru-src0", "sru-src1", "sru-src2", |
| 625 | "sru-src3", "sru-src4", "sru-src5", |
| 626 | "sru-src6", "sru-src7", "sru-src8"; |
| 627 | }; |
| 628 | }; |
Kuninori Morimoto | ccb7cc7 | 2013-03-21 03:01:36 -0700 | [diff] [blame] | 629 | }; |