Magnus Damm | e3da5b3 | 2013-09-19 05:11:11 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree Source for the r7s72100 SoC |
| 3 | * |
Wolfram Sang | b6face4 | 2014-05-14 03:10:06 +0200 | [diff] [blame] | 4 | * Copyright (C) 2013-14 Renesas Solutions Corp. |
| 5 | * Copyright (C) 2014 Wolfram Sang, Sang Engineering <wsa@sang-engineering.com> |
Magnus Damm | e3da5b3 | 2013-09-19 05:11:11 +0900 | [diff] [blame] | 6 | * |
| 7 | * This file is licensed under the terms of the GNU General Public License |
| 8 | * version 2. This program is licensed "as is" without any warranty of any |
| 9 | * kind, whether express or implied. |
| 10 | */ |
| 11 | |
Wolfram Sang | b6face4 | 2014-05-14 03:10:06 +0200 | [diff] [blame] | 12 | #include <dt-bindings/clock/r7s72100-clock.h> |
Simon Horman | 16af4e9 | 2016-01-28 10:29:35 +0900 | [diff] [blame] | 13 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
Geert Uytterhoeven | 4b18e83 | 2014-02-04 16:23:59 +0100 | [diff] [blame] | 14 | #include <dt-bindings/interrupt-controller/irq.h> |
| 15 | |
Magnus Damm | e3da5b3 | 2013-09-19 05:11:11 +0900 | [diff] [blame] | 16 | / { |
| 17 | compatible = "renesas,r7s72100"; |
| 18 | interrupt-parent = <&gic>; |
| 19 | #address-cells = <1>; |
| 20 | #size-cells = <1>; |
| 21 | |
Geert Uytterhoeven | 4b18e83 | 2014-02-04 16:23:59 +0100 | [diff] [blame] | 22 | aliases { |
Wolfram Sang | c81a4d3 | 2014-02-17 22:19:17 +0100 | [diff] [blame] | 23 | i2c0 = &i2c0; |
| 24 | i2c1 = &i2c1; |
| 25 | i2c2 = &i2c2; |
| 26 | i2c3 = &i2c3; |
Geert Uytterhoeven | 4b18e83 | 2014-02-04 16:23:59 +0100 | [diff] [blame] | 27 | spi0 = &spi0; |
| 28 | spi1 = &spi1; |
| 29 | spi2 = &spi2; |
| 30 | spi3 = &spi3; |
| 31 | spi4 = &spi4; |
| 32 | }; |
| 33 | |
Wolfram Sang | b6face4 | 2014-05-14 03:10:06 +0200 | [diff] [blame] | 34 | clocks { |
| 35 | ranges; |
| 36 | #address-cells = <1>; |
| 37 | #size-cells = <1>; |
| 38 | |
| 39 | /* External clocks */ |
Simon Horman | 21f1897 | 2016-03-18 08:10:44 +0900 | [diff] [blame] | 40 | extal_clk: extal { |
Wolfram Sang | b6face4 | 2014-05-14 03:10:06 +0200 | [diff] [blame] | 41 | #clock-cells = <0>; |
| 42 | compatible = "fixed-clock"; |
| 43 | /* If clk present, value must be set by board */ |
| 44 | clock-frequency = <0>; |
Wolfram Sang | b6face4 | 2014-05-14 03:10:06 +0200 | [diff] [blame] | 45 | }; |
| 46 | |
Simon Horman | 21f1897 | 2016-03-18 08:10:44 +0900 | [diff] [blame] | 47 | usb_x1_clk: usb_x1 { |
Wolfram Sang | b6face4 | 2014-05-14 03:10:06 +0200 | [diff] [blame] | 48 | #clock-cells = <0>; |
| 49 | compatible = "fixed-clock"; |
| 50 | /* If clk present, value must be set by board */ |
| 51 | clock-frequency = <0>; |
Wolfram Sang | b6face4 | 2014-05-14 03:10:06 +0200 | [diff] [blame] | 52 | }; |
| 53 | |
Wolfram Sang | b6face4 | 2014-05-14 03:10:06 +0200 | [diff] [blame] | 54 | /* Fixed factor clocks */ |
Simon Horman | 21f1897 | 2016-03-18 08:10:44 +0900 | [diff] [blame] | 55 | b_clk: b { |
Wolfram Sang | b6face4 | 2014-05-14 03:10:06 +0200 | [diff] [blame] | 56 | #clock-cells = <0>; |
| 57 | compatible = "fixed-factor-clock"; |
| 58 | clocks = <&cpg_clocks R7S72100_CLK_PLL>; |
| 59 | clock-mult = <1>; |
| 60 | clock-div = <3>; |
Wolfram Sang | b6face4 | 2014-05-14 03:10:06 +0200 | [diff] [blame] | 61 | }; |
Simon Horman | 21f1897 | 2016-03-18 08:10:44 +0900 | [diff] [blame] | 62 | p1_clk: p1 { |
Wolfram Sang | b6face4 | 2014-05-14 03:10:06 +0200 | [diff] [blame] | 63 | #clock-cells = <0>; |
| 64 | compatible = "fixed-factor-clock"; |
| 65 | clocks = <&cpg_clocks R7S72100_CLK_PLL>; |
| 66 | clock-mult = <1>; |
| 67 | clock-div = <6>; |
Wolfram Sang | b6face4 | 2014-05-14 03:10:06 +0200 | [diff] [blame] | 68 | }; |
Simon Horman | 21f1897 | 2016-03-18 08:10:44 +0900 | [diff] [blame] | 69 | p0_clk: p0 { |
Wolfram Sang | b6face4 | 2014-05-14 03:10:06 +0200 | [diff] [blame] | 70 | #clock-cells = <0>; |
| 71 | compatible = "fixed-factor-clock"; |
| 72 | clocks = <&cpg_clocks R7S72100_CLK_PLL>; |
| 73 | clock-mult = <1>; |
| 74 | clock-div = <12>; |
Wolfram Sang | b6face4 | 2014-05-14 03:10:06 +0200 | [diff] [blame] | 75 | }; |
| 76 | |
Ulrich Hecht | 005980c | 2014-09-25 10:32:12 +0900 | [diff] [blame] | 77 | /* Special CPG clocks */ |
| 78 | cpg_clocks: cpg_clocks@fcfe0000 { |
| 79 | #clock-cells = <1>; |
| 80 | compatible = "renesas,r7s72100-cpg-clocks", |
| 81 | "renesas,rz-cpg-clocks"; |
| 82 | reg = <0xfcfe0000 0x18>; |
| 83 | clocks = <&extal_clk>, <&usb_x1_clk>; |
| 84 | clock-output-names = "pll", "i", "g"; |
Geert Uytterhoeven | cbe1f83 | 2015-08-04 14:28:07 +0200 | [diff] [blame] | 85 | #power-domain-cells = <0>; |
Ulrich Hecht | 005980c | 2014-09-25 10:32:12 +0900 | [diff] [blame] | 86 | }; |
| 87 | |
Wolfram Sang | b6face4 | 2014-05-14 03:10:06 +0200 | [diff] [blame] | 88 | /* MSTP clocks */ |
| 89 | mstp3_clks: mstp3_clks@fcfe0420 { |
| 90 | #clock-cells = <1>; |
| 91 | compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks"; |
| 92 | reg = <0xfcfe0420 4>; |
| 93 | clocks = <&p0_clk>; |
| 94 | clock-indices = <R7S72100_CLK_MTU2>; |
| 95 | clock-output-names = "mtu2"; |
| 96 | }; |
| 97 | |
| 98 | mstp4_clks: mstp4_clks@fcfe0424 { |
| 99 | #clock-cells = <1>; |
| 100 | compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks"; |
| 101 | reg = <0xfcfe0424 4>; |
| 102 | clocks = <&p1_clk>, <&p1_clk>, <&p1_clk>, <&p1_clk>, |
| 103 | <&p1_clk>, <&p1_clk>, <&p1_clk>, <&p1_clk>; |
| 104 | clock-indices = < |
| 105 | R7S72100_CLK_SCIF0 R7S72100_CLK_SCIF1 R7S72100_CLK_SCIF2 R7S72100_CLK_SCIF3 |
| 106 | R7S72100_CLK_SCIF4 R7S72100_CLK_SCIF5 R7S72100_CLK_SCIF6 R7S72100_CLK_SCIF7 |
| 107 | >; |
| 108 | clock-output-names = "scif0", "scif1", "scif2", "scif3", "scif4", "scif5", "scif6", "scif7"; |
| 109 | }; |
Wolfram Sang | d165566 | 2014-05-14 03:10:11 +0200 | [diff] [blame] | 110 | |
Chris Brandt | 969244f | 2016-09-01 21:40:10 -0400 | [diff] [blame^] | 111 | mstp7_clks: mstp7_clks@fcfe0430 { |
| 112 | #clock-cells = <1>; |
| 113 | compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks"; |
| 114 | reg = <0xfcfe0430 4>; |
| 115 | clocks = <&p0_clk>; |
| 116 | clock-indices = <R7S72100_CLK_ETHER>; |
| 117 | clock-output-names = "ether"; |
| 118 | }; |
| 119 | |
Wolfram Sang | d165566 | 2014-05-14 03:10:11 +0200 | [diff] [blame] | 120 | mstp9_clks: mstp9_clks@fcfe0438 { |
| 121 | #clock-cells = <1>; |
| 122 | compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks"; |
| 123 | reg = <0xfcfe0438 4>; |
| 124 | clocks = <&p0_clk>, <&p0_clk>, <&p0_clk>, <&p0_clk>; |
| 125 | clock-indices = < |
| 126 | R7S72100_CLK_I2C0 R7S72100_CLK_I2C1 R7S72100_CLK_I2C2 R7S72100_CLK_I2C3 |
| 127 | >; |
| 128 | clock-output-names = "i2c0", "i2c1", "i2c2", "i2c3"; |
| 129 | }; |
Wolfram Sang | 52eed4f | 2014-05-14 03:10:13 +0200 | [diff] [blame] | 130 | |
| 131 | mstp10_clks: mstp10_clks@fcfe043c { |
| 132 | #clock-cells = <1>; |
| 133 | compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks"; |
| 134 | reg = <0xfcfe043c 4>; |
| 135 | clocks = <&p1_clk>, <&p1_clk>, <&p1_clk>, <&p1_clk>, |
| 136 | <&p1_clk>; |
| 137 | clock-indices = < |
| 138 | R7S72100_CLK_SPI0 R7S72100_CLK_SPI1 R7S72100_CLK_SPI2 R7S72100_CLK_SPI3 |
| 139 | R7S72100_CLK_SPI4 |
| 140 | >; |
| 141 | clock-output-names = "spi0", "spi1", "spi2", "spi3", "spi4"; |
| 142 | }; |
Wolfram Sang | b6face4 | 2014-05-14 03:10:06 +0200 | [diff] [blame] | 143 | }; |
| 144 | |
Magnus Damm | e3da5b3 | 2013-09-19 05:11:11 +0900 | [diff] [blame] | 145 | cpus { |
| 146 | #address-cells = <1>; |
| 147 | #size-cells = <0>; |
| 148 | |
| 149 | cpu@0 { |
| 150 | device_type = "cpu"; |
| 151 | compatible = "arm,cortex-a9"; |
| 152 | reg = <0>; |
Magnus Damm | 005407f | 2014-06-06 14:28:49 +0900 | [diff] [blame] | 153 | clock-frequency = <400000000>; |
Magnus Damm | e3da5b3 | 2013-09-19 05:11:11 +0900 | [diff] [blame] | 154 | }; |
| 155 | }; |
| 156 | |
Wolfram Sang | 4c84c1b | 2014-05-14 03:10:08 +0200 | [diff] [blame] | 157 | scif0: serial@e8007000 { |
| 158 | compatible = "renesas,scif-r7s72100", "renesas,scif"; |
| 159 | reg = <0xe8007000 64>; |
Simon Horman | 16af4e9 | 2016-01-28 10:29:35 +0900 | [diff] [blame] | 160 | interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>, |
| 161 | <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>, |
| 162 | <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>, |
| 163 | <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>; |
Wolfram Sang | 4c84c1b | 2014-05-14 03:10:08 +0200 | [diff] [blame] | 164 | clocks = <&mstp4_clks R7S72100_CLK_SCIF0>; |
Laurent Pinchart | 9248912 | 2016-01-29 10:47:32 +0100 | [diff] [blame] | 165 | clock-names = "fck"; |
Geert Uytterhoeven | cbe1f83 | 2015-08-04 14:28:07 +0200 | [diff] [blame] | 166 | power-domains = <&cpg_clocks>; |
Wolfram Sang | 4c84c1b | 2014-05-14 03:10:08 +0200 | [diff] [blame] | 167 | status = "disabled"; |
| 168 | }; |
| 169 | |
| 170 | scif1: serial@e8007800 { |
| 171 | compatible = "renesas,scif-r7s72100", "renesas,scif"; |
| 172 | reg = <0xe8007800 64>; |
Simon Horman | 16af4e9 | 2016-01-28 10:29:35 +0900 | [diff] [blame] | 173 | interrupts = <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>, |
| 174 | <GIC_SPI 195 IRQ_TYPE_LEVEL_HIGH>, |
| 175 | <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>, |
| 176 | <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>; |
Wolfram Sang | 4c84c1b | 2014-05-14 03:10:08 +0200 | [diff] [blame] | 177 | clocks = <&mstp4_clks R7S72100_CLK_SCIF1>; |
Laurent Pinchart | 9248912 | 2016-01-29 10:47:32 +0100 | [diff] [blame] | 178 | clock-names = "fck"; |
Geert Uytterhoeven | cbe1f83 | 2015-08-04 14:28:07 +0200 | [diff] [blame] | 179 | power-domains = <&cpg_clocks>; |
Wolfram Sang | 4c84c1b | 2014-05-14 03:10:08 +0200 | [diff] [blame] | 180 | status = "disabled"; |
| 181 | }; |
| 182 | |
| 183 | scif2: serial@e8008000 { |
| 184 | compatible = "renesas,scif-r7s72100", "renesas,scif"; |
| 185 | reg = <0xe8008000 64>; |
Simon Horman | 16af4e9 | 2016-01-28 10:29:35 +0900 | [diff] [blame] | 186 | interrupts = <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>, |
| 187 | <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>, |
| 188 | <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>, |
| 189 | <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>; |
Wolfram Sang | 4c84c1b | 2014-05-14 03:10:08 +0200 | [diff] [blame] | 190 | clocks = <&mstp4_clks R7S72100_CLK_SCIF2>; |
Laurent Pinchart | 9248912 | 2016-01-29 10:47:32 +0100 | [diff] [blame] | 191 | clock-names = "fck"; |
Geert Uytterhoeven | cbe1f83 | 2015-08-04 14:28:07 +0200 | [diff] [blame] | 192 | power-domains = <&cpg_clocks>; |
Wolfram Sang | 4c84c1b | 2014-05-14 03:10:08 +0200 | [diff] [blame] | 193 | status = "disabled"; |
| 194 | }; |
| 195 | |
| 196 | scif3: serial@e8008800 { |
| 197 | compatible = "renesas,scif-r7s72100", "renesas,scif"; |
| 198 | reg = <0xe8008800 64>; |
Simon Horman | 16af4e9 | 2016-01-28 10:29:35 +0900 | [diff] [blame] | 199 | interrupts = <GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>, |
| 200 | <GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH>, |
| 201 | <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>, |
| 202 | <GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH>; |
Wolfram Sang | 4c84c1b | 2014-05-14 03:10:08 +0200 | [diff] [blame] | 203 | clocks = <&mstp4_clks R7S72100_CLK_SCIF3>; |
Laurent Pinchart | 9248912 | 2016-01-29 10:47:32 +0100 | [diff] [blame] | 204 | clock-names = "fck"; |
Geert Uytterhoeven | cbe1f83 | 2015-08-04 14:28:07 +0200 | [diff] [blame] | 205 | power-domains = <&cpg_clocks>; |
Wolfram Sang | 4c84c1b | 2014-05-14 03:10:08 +0200 | [diff] [blame] | 206 | status = "disabled"; |
| 207 | }; |
| 208 | |
| 209 | scif4: serial@e8009000 { |
| 210 | compatible = "renesas,scif-r7s72100", "renesas,scif"; |
| 211 | reg = <0xe8009000 64>; |
Simon Horman | 16af4e9 | 2016-01-28 10:29:35 +0900 | [diff] [blame] | 212 | interrupts = <GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH>, |
| 213 | <GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH>, |
| 214 | <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>, |
| 215 | <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>; |
Wolfram Sang | 4c84c1b | 2014-05-14 03:10:08 +0200 | [diff] [blame] | 216 | clocks = <&mstp4_clks R7S72100_CLK_SCIF4>; |
Laurent Pinchart | 9248912 | 2016-01-29 10:47:32 +0100 | [diff] [blame] | 217 | clock-names = "fck"; |
Geert Uytterhoeven | cbe1f83 | 2015-08-04 14:28:07 +0200 | [diff] [blame] | 218 | power-domains = <&cpg_clocks>; |
Wolfram Sang | 4c84c1b | 2014-05-14 03:10:08 +0200 | [diff] [blame] | 219 | status = "disabled"; |
| 220 | }; |
| 221 | |
| 222 | scif5: serial@e8009800 { |
| 223 | compatible = "renesas,scif-r7s72100", "renesas,scif"; |
| 224 | reg = <0xe8009800 64>; |
Simon Horman | 16af4e9 | 2016-01-28 10:29:35 +0900 | [diff] [blame] | 225 | interrupts = <GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH>, |
| 226 | <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>, |
| 227 | <GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH>, |
| 228 | <GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH>; |
Wolfram Sang | 4c84c1b | 2014-05-14 03:10:08 +0200 | [diff] [blame] | 229 | clocks = <&mstp4_clks R7S72100_CLK_SCIF5>; |
Laurent Pinchart | 9248912 | 2016-01-29 10:47:32 +0100 | [diff] [blame] | 230 | clock-names = "fck"; |
Geert Uytterhoeven | cbe1f83 | 2015-08-04 14:28:07 +0200 | [diff] [blame] | 231 | power-domains = <&cpg_clocks>; |
Wolfram Sang | 4c84c1b | 2014-05-14 03:10:08 +0200 | [diff] [blame] | 232 | status = "disabled"; |
| 233 | }; |
| 234 | |
| 235 | scif6: serial@e800a000 { |
| 236 | compatible = "renesas,scif-r7s72100", "renesas,scif"; |
| 237 | reg = <0xe800a000 64>; |
Simon Horman | 16af4e9 | 2016-01-28 10:29:35 +0900 | [diff] [blame] | 238 | interrupts = <GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH>, |
| 239 | <GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>, |
| 240 | <GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH>, |
| 241 | <GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH>; |
Wolfram Sang | 4c84c1b | 2014-05-14 03:10:08 +0200 | [diff] [blame] | 242 | clocks = <&mstp4_clks R7S72100_CLK_SCIF6>; |
Laurent Pinchart | 9248912 | 2016-01-29 10:47:32 +0100 | [diff] [blame] | 243 | clock-names = "fck"; |
Geert Uytterhoeven | cbe1f83 | 2015-08-04 14:28:07 +0200 | [diff] [blame] | 244 | power-domains = <&cpg_clocks>; |
Wolfram Sang | 4c84c1b | 2014-05-14 03:10:08 +0200 | [diff] [blame] | 245 | status = "disabled"; |
| 246 | }; |
| 247 | |
| 248 | scif7: serial@e800a800 { |
| 249 | compatible = "renesas,scif-r7s72100", "renesas,scif"; |
| 250 | reg = <0xe800a800 64>; |
Simon Horman | 16af4e9 | 2016-01-28 10:29:35 +0900 | [diff] [blame] | 251 | interrupts = <GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH>, |
| 252 | <GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH>, |
| 253 | <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>, |
| 254 | <GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH>; |
Wolfram Sang | 4c84c1b | 2014-05-14 03:10:08 +0200 | [diff] [blame] | 255 | clocks = <&mstp4_clks R7S72100_CLK_SCIF7>; |
Laurent Pinchart | 9248912 | 2016-01-29 10:47:32 +0100 | [diff] [blame] | 256 | clock-names = "fck"; |
Geert Uytterhoeven | cbe1f83 | 2015-08-04 14:28:07 +0200 | [diff] [blame] | 257 | power-domains = <&cpg_clocks>; |
Wolfram Sang | 4c84c1b | 2014-05-14 03:10:08 +0200 | [diff] [blame] | 258 | status = "disabled"; |
| 259 | }; |
| 260 | |
Geert Uytterhoeven | 4b18e83 | 2014-02-04 16:23:59 +0100 | [diff] [blame] | 261 | spi0: spi@e800c800 { |
| 262 | compatible = "renesas,rspi-r7s72100", "renesas,rspi-rz"; |
| 263 | reg = <0xe800c800 0x24>; |
Simon Horman | 16af4e9 | 2016-01-28 10:29:35 +0900 | [diff] [blame] | 264 | interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>, |
| 265 | <GIC_SPI 239 IRQ_TYPE_LEVEL_HIGH>, |
| 266 | <GIC_SPI 240 IRQ_TYPE_LEVEL_HIGH>; |
Geert Uytterhoeven | 4b18e83 | 2014-02-04 16:23:59 +0100 | [diff] [blame] | 267 | interrupt-names = "error", "rx", "tx"; |
Wolfram Sang | 52eed4f | 2014-05-14 03:10:13 +0200 | [diff] [blame] | 268 | clocks = <&mstp10_clks R7S72100_CLK_SPI0>; |
Geert Uytterhoeven | cbe1f83 | 2015-08-04 14:28:07 +0200 | [diff] [blame] | 269 | power-domains = <&cpg_clocks>; |
Geert Uytterhoeven | 4b18e83 | 2014-02-04 16:23:59 +0100 | [diff] [blame] | 270 | num-cs = <1>; |
| 271 | #address-cells = <1>; |
| 272 | #size-cells = <0>; |
| 273 | status = "disabled"; |
| 274 | }; |
| 275 | |
| 276 | spi1: spi@e800d000 { |
| 277 | compatible = "renesas,rspi-r7s72100", "renesas,rspi-rz"; |
| 278 | reg = <0xe800d000 0x24>; |
Simon Horman | 16af4e9 | 2016-01-28 10:29:35 +0900 | [diff] [blame] | 279 | interrupts = <GIC_SPI 241 IRQ_TYPE_LEVEL_HIGH>, |
| 280 | <GIC_SPI 242 IRQ_TYPE_LEVEL_HIGH>, |
| 281 | <GIC_SPI 243 IRQ_TYPE_LEVEL_HIGH>; |
Geert Uytterhoeven | 4b18e83 | 2014-02-04 16:23:59 +0100 | [diff] [blame] | 282 | interrupt-names = "error", "rx", "tx"; |
Wolfram Sang | 52eed4f | 2014-05-14 03:10:13 +0200 | [diff] [blame] | 283 | clocks = <&mstp10_clks R7S72100_CLK_SPI1>; |
Geert Uytterhoeven | cbe1f83 | 2015-08-04 14:28:07 +0200 | [diff] [blame] | 284 | power-domains = <&cpg_clocks>; |
Geert Uytterhoeven | 4b18e83 | 2014-02-04 16:23:59 +0100 | [diff] [blame] | 285 | num-cs = <1>; |
| 286 | #address-cells = <1>; |
| 287 | #size-cells = <0>; |
| 288 | status = "disabled"; |
| 289 | }; |
| 290 | |
| 291 | spi2: spi@e800d800 { |
| 292 | compatible = "renesas,rspi-r7s72100", "renesas,rspi-rz"; |
| 293 | reg = <0xe800d800 0x24>; |
Simon Horman | 16af4e9 | 2016-01-28 10:29:35 +0900 | [diff] [blame] | 294 | interrupts = <GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>, |
| 295 | <GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>, |
| 296 | <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>; |
Geert Uytterhoeven | 4b18e83 | 2014-02-04 16:23:59 +0100 | [diff] [blame] | 297 | interrupt-names = "error", "rx", "tx"; |
Wolfram Sang | 52eed4f | 2014-05-14 03:10:13 +0200 | [diff] [blame] | 298 | clocks = <&mstp10_clks R7S72100_CLK_SPI2>; |
Geert Uytterhoeven | cbe1f83 | 2015-08-04 14:28:07 +0200 | [diff] [blame] | 299 | power-domains = <&cpg_clocks>; |
Geert Uytterhoeven | 4b18e83 | 2014-02-04 16:23:59 +0100 | [diff] [blame] | 300 | num-cs = <1>; |
| 301 | #address-cells = <1>; |
| 302 | #size-cells = <0>; |
| 303 | status = "disabled"; |
| 304 | }; |
| 305 | |
| 306 | spi3: spi@e800e000 { |
| 307 | compatible = "renesas,rspi-r7s72100", "renesas,rspi-rz"; |
| 308 | reg = <0xe800e000 0x24>; |
Simon Horman | 16af4e9 | 2016-01-28 10:29:35 +0900 | [diff] [blame] | 309 | interrupts = <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>, |
| 310 | <GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>, |
| 311 | <GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>; |
Geert Uytterhoeven | 4b18e83 | 2014-02-04 16:23:59 +0100 | [diff] [blame] | 312 | interrupt-names = "error", "rx", "tx"; |
Wolfram Sang | 52eed4f | 2014-05-14 03:10:13 +0200 | [diff] [blame] | 313 | clocks = <&mstp10_clks R7S72100_CLK_SPI3>; |
Geert Uytterhoeven | cbe1f83 | 2015-08-04 14:28:07 +0200 | [diff] [blame] | 314 | power-domains = <&cpg_clocks>; |
Geert Uytterhoeven | 4b18e83 | 2014-02-04 16:23:59 +0100 | [diff] [blame] | 315 | num-cs = <1>; |
| 316 | #address-cells = <1>; |
| 317 | #size-cells = <0>; |
| 318 | status = "disabled"; |
| 319 | }; |
| 320 | |
| 321 | spi4: spi@e800e800 { |
| 322 | compatible = "renesas,rspi-r7s72100", "renesas,rspi-rz"; |
| 323 | reg = <0xe800e800 0x24>; |
Simon Horman | 16af4e9 | 2016-01-28 10:29:35 +0900 | [diff] [blame] | 324 | interrupts = <GIC_SPI 250 IRQ_TYPE_LEVEL_HIGH>, |
| 325 | <GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH>, |
| 326 | <GIC_SPI 252 IRQ_TYPE_LEVEL_HIGH>; |
Geert Uytterhoeven | 4b18e83 | 2014-02-04 16:23:59 +0100 | [diff] [blame] | 327 | interrupt-names = "error", "rx", "tx"; |
Wolfram Sang | 52eed4f | 2014-05-14 03:10:13 +0200 | [diff] [blame] | 328 | clocks = <&mstp10_clks R7S72100_CLK_SPI4>; |
Geert Uytterhoeven | cbe1f83 | 2015-08-04 14:28:07 +0200 | [diff] [blame] | 329 | power-domains = <&cpg_clocks>; |
Geert Uytterhoeven | 4b18e83 | 2014-02-04 16:23:59 +0100 | [diff] [blame] | 330 | num-cs = <1>; |
| 331 | #address-cells = <1>; |
| 332 | #size-cells = <0>; |
| 333 | status = "disabled"; |
| 334 | }; |
Ulrich Hecht | 005980c | 2014-09-25 10:32:12 +0900 | [diff] [blame] | 335 | |
| 336 | gic: interrupt-controller@e8201000 { |
Geert Uytterhoeven | d9e1a0e | 2015-11-20 13:36:52 +0100 | [diff] [blame] | 337 | compatible = "arm,pl390"; |
Ulrich Hecht | 005980c | 2014-09-25 10:32:12 +0900 | [diff] [blame] | 338 | #interrupt-cells = <3>; |
| 339 | #address-cells = <0>; |
| 340 | interrupt-controller; |
| 341 | reg = <0xe8201000 0x1000>, |
| 342 | <0xe8202000 0x1000>; |
| 343 | }; |
| 344 | |
| 345 | i2c0: i2c@fcfee000 { |
| 346 | #address-cells = <1>; |
| 347 | #size-cells = <0>; |
| 348 | compatible = "renesas,riic-r7s72100", "renesas,riic-rz"; |
| 349 | reg = <0xfcfee000 0x44>; |
Simon Horman | 16af4e9 | 2016-01-28 10:29:35 +0900 | [diff] [blame] | 350 | interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>, |
| 351 | <GIC_SPI 158 IRQ_TYPE_EDGE_RISING>, |
| 352 | <GIC_SPI 159 IRQ_TYPE_EDGE_RISING>, |
| 353 | <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>, |
| 354 | <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>, |
| 355 | <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>, |
| 356 | <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>, |
| 357 | <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>; |
Ulrich Hecht | 005980c | 2014-09-25 10:32:12 +0900 | [diff] [blame] | 358 | clocks = <&mstp9_clks R7S72100_CLK_I2C0>; |
| 359 | clock-frequency = <100000>; |
Geert Uytterhoeven | cbe1f83 | 2015-08-04 14:28:07 +0200 | [diff] [blame] | 360 | power-domains = <&cpg_clocks>; |
Ulrich Hecht | 005980c | 2014-09-25 10:32:12 +0900 | [diff] [blame] | 361 | status = "disabled"; |
| 362 | }; |
| 363 | |
| 364 | i2c1: i2c@fcfee400 { |
| 365 | #address-cells = <1>; |
| 366 | #size-cells = <0>; |
| 367 | compatible = "renesas,riic-r7s72100", "renesas,riic-rz"; |
| 368 | reg = <0xfcfee400 0x44>; |
Simon Horman | 16af4e9 | 2016-01-28 10:29:35 +0900 | [diff] [blame] | 369 | interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>, |
| 370 | <GIC_SPI 166 IRQ_TYPE_EDGE_RISING>, |
| 371 | <GIC_SPI 167 IRQ_TYPE_EDGE_RISING>, |
| 372 | <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>, |
| 373 | <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>, |
| 374 | <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH>, |
| 375 | <GIC_SPI 171 IRQ_TYPE_LEVEL_HIGH>, |
| 376 | <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>; |
Ulrich Hecht | 005980c | 2014-09-25 10:32:12 +0900 | [diff] [blame] | 377 | clocks = <&mstp9_clks R7S72100_CLK_I2C1>; |
| 378 | clock-frequency = <100000>; |
Geert Uytterhoeven | cbe1f83 | 2015-08-04 14:28:07 +0200 | [diff] [blame] | 379 | power-domains = <&cpg_clocks>; |
Ulrich Hecht | 005980c | 2014-09-25 10:32:12 +0900 | [diff] [blame] | 380 | status = "disabled"; |
| 381 | }; |
| 382 | |
| 383 | i2c2: i2c@fcfee800 { |
| 384 | #address-cells = <1>; |
| 385 | #size-cells = <0>; |
| 386 | compatible = "renesas,riic-r7s72100", "renesas,riic-rz"; |
| 387 | reg = <0xfcfee800 0x44>; |
Simon Horman | 16af4e9 | 2016-01-28 10:29:35 +0900 | [diff] [blame] | 388 | interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>, |
| 389 | <GIC_SPI 174 IRQ_TYPE_EDGE_RISING>, |
| 390 | <GIC_SPI 175 IRQ_TYPE_EDGE_RISING>, |
| 391 | <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>, |
| 392 | <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>, |
| 393 | <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>, |
| 394 | <GIC_SPI 179 IRQ_TYPE_LEVEL_HIGH>, |
| 395 | <GIC_SPI 180 IRQ_TYPE_LEVEL_HIGH>; |
Ulrich Hecht | 005980c | 2014-09-25 10:32:12 +0900 | [diff] [blame] | 396 | clocks = <&mstp9_clks R7S72100_CLK_I2C2>; |
| 397 | clock-frequency = <100000>; |
Geert Uytterhoeven | cbe1f83 | 2015-08-04 14:28:07 +0200 | [diff] [blame] | 398 | power-domains = <&cpg_clocks>; |
Ulrich Hecht | 005980c | 2014-09-25 10:32:12 +0900 | [diff] [blame] | 399 | status = "disabled"; |
| 400 | }; |
| 401 | |
| 402 | i2c3: i2c@fcfeec00 { |
| 403 | #address-cells = <1>; |
| 404 | #size-cells = <0>; |
| 405 | compatible = "renesas,riic-r7s72100", "renesas,riic-rz"; |
| 406 | reg = <0xfcfeec00 0x44>; |
Simon Horman | 16af4e9 | 2016-01-28 10:29:35 +0900 | [diff] [blame] | 407 | interrupts = <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>, |
| 408 | <GIC_SPI 182 IRQ_TYPE_EDGE_RISING>, |
| 409 | <GIC_SPI 183 IRQ_TYPE_EDGE_RISING>, |
| 410 | <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>, |
| 411 | <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>, |
| 412 | <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>, |
| 413 | <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>, |
| 414 | <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>; |
Ulrich Hecht | 005980c | 2014-09-25 10:32:12 +0900 | [diff] [blame] | 415 | clocks = <&mstp9_clks R7S72100_CLK_I2C3>; |
| 416 | clock-frequency = <100000>; |
Geert Uytterhoeven | cbe1f83 | 2015-08-04 14:28:07 +0200 | [diff] [blame] | 417 | power-domains = <&cpg_clocks>; |
Ulrich Hecht | 005980c | 2014-09-25 10:32:12 +0900 | [diff] [blame] | 418 | status = "disabled"; |
| 419 | }; |
| 420 | |
| 421 | mtu2: timer@fcff0000 { |
| 422 | compatible = "renesas,mtu2-r7s72100", "renesas,mtu2"; |
| 423 | reg = <0xfcff0000 0x400>; |
Simon Horman | 16af4e9 | 2016-01-28 10:29:35 +0900 | [diff] [blame] | 424 | interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>; |
Ulrich Hecht | 005980c | 2014-09-25 10:32:12 +0900 | [diff] [blame] | 425 | interrupt-names = "tgi0a"; |
| 426 | clocks = <&mstp3_clks R7S72100_CLK_MTU2>; |
| 427 | clock-names = "fck"; |
Geert Uytterhoeven | cbe1f83 | 2015-08-04 14:28:07 +0200 | [diff] [blame] | 428 | power-domains = <&cpg_clocks>; |
Ulrich Hecht | 005980c | 2014-09-25 10:32:12 +0900 | [diff] [blame] | 429 | status = "disabled"; |
| 430 | }; |
Magnus Damm | e3da5b3 | 2013-09-19 05:11:11 +0900 | [diff] [blame] | 431 | }; |