Dinh Nguyen | 6631422 | 2012-07-18 16:07:18 -0600 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2012 Altera <www.altera.com> |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License as published by |
| 6 | * the Free Software Foundation; either version 2 of the License, or |
| 7 | * (at your option) any later version. |
| 8 | * |
| 9 | * This program is distributed in the hope that it will be useful, |
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 | * GNU General Public License for more details. |
| 13 | * |
| 14 | * You should have received a copy of the GNU General Public License |
| 15 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 16 | */ |
| 17 | |
Steffen Trumtrar | 7da9b43 | 2014-04-02 21:31:31 -0500 | [diff] [blame] | 18 | #include "skeleton.dtsi" |
Steffen Trumtrar | 16fb4f8b | 2014-04-15 17:27:07 -0500 | [diff] [blame] | 19 | #include <dt-bindings/reset/altr,rst-mgr.h> |
Dinh Nguyen | 6631422 | 2012-07-18 16:07:18 -0600 | [diff] [blame] | 20 | |
| 21 | / { |
| 22 | #address-cells = <1>; |
| 23 | #size-cells = <1>; |
| 24 | |
| 25 | aliases { |
| 26 | ethernet0 = &gmac0; |
Dinh Nguyen | 3d954cf | 2013-06-05 10:02:53 -0500 | [diff] [blame] | 27 | ethernet1 = &gmac1; |
Dinh Nguyen | 6631422 | 2012-07-18 16:07:18 -0600 | [diff] [blame] | 28 | serial0 = &uart0; |
| 29 | serial1 = &uart1; |
Dinh Nguyen | c2ad284 | 2013-02-11 17:30:30 -0600 | [diff] [blame] | 30 | timer0 = &timer0; |
| 31 | timer1 = &timer1; |
| 32 | timer2 = &timer2; |
| 33 | timer3 = &timer3; |
Dinh Nguyen | 6631422 | 2012-07-18 16:07:18 -0600 | [diff] [blame] | 34 | }; |
| 35 | |
| 36 | cpus { |
| 37 | #address-cells = <1>; |
| 38 | #size-cells = <0>; |
Dinh Nguyen | ebbce1b | 2015-05-22 23:00:10 -0500 | [diff] [blame] | 39 | enable-method = "altr,socfpga-smp"; |
Dinh Nguyen | 6631422 | 2012-07-18 16:07:18 -0600 | [diff] [blame] | 40 | |
| 41 | cpu@0 { |
| 42 | compatible = "arm,cortex-a9"; |
| 43 | device_type = "cpu"; |
| 44 | reg = <0>; |
| 45 | next-level-cache = <&L2>; |
| 46 | }; |
| 47 | cpu@1 { |
| 48 | compatible = "arm,cortex-a9"; |
| 49 | device_type = "cpu"; |
| 50 | reg = <1>; |
| 51 | next-level-cache = <&L2>; |
| 52 | }; |
| 53 | }; |
| 54 | |
| 55 | intc: intc@fffed000 { |
| 56 | compatible = "arm,cortex-a9-gic"; |
| 57 | #interrupt-cells = <3>; |
| 58 | interrupt-controller; |
| 59 | reg = <0xfffed000 0x1000>, |
| 60 | <0xfffec100 0x100>; |
| 61 | }; |
| 62 | |
| 63 | soc { |
| 64 | #address-cells = <1>; |
| 65 | #size-cells = <1>; |
| 66 | compatible = "simple-bus"; |
| 67 | device_type = "soc"; |
| 68 | interrupt-parent = <&intc>; |
| 69 | ranges; |
| 70 | |
| 71 | amba { |
| 72 | compatible = "arm,amba-bus"; |
| 73 | #address-cells = <1>; |
| 74 | #size-cells = <1>; |
| 75 | ranges; |
| 76 | |
| 77 | pdma: pdma@ffe01000 { |
| 78 | compatible = "arm,pl330", "arm,primecell"; |
| 79 | reg = <0xffe01000 0x1000>; |
Steffen Trumtrar | 18d5619 | 2014-04-02 10:40:30 -0500 | [diff] [blame] | 80 | interrupts = <0 104 4>, |
| 81 | <0 105 4>, |
| 82 | <0 106 4>, |
| 83 | <0 107 4>, |
| 84 | <0 108 4>, |
| 85 | <0 109 4>, |
| 86 | <0 110 4>, |
| 87 | <0 111 4>; |
Padmavathi Venna | 0d8abbf | 2013-03-04 11:04:28 +0530 | [diff] [blame] | 88 | #dma-cells = <1>; |
| 89 | #dma-channels = <8>; |
| 90 | #dma-requests = <32>; |
Steffen Trumtrar | 672ef90 | 2014-01-08 12:01:26 -0600 | [diff] [blame] | 91 | clocks = <&l4_main_clk>; |
| 92 | clock-names = "apb_pclk"; |
Dinh Nguyen | 6631422 | 2012-07-18 16:07:18 -0600 | [diff] [blame] | 93 | }; |
| 94 | }; |
| 95 | |
Steffen Trumtrar | 36fe3f5 | 2014-04-02 11:11:26 -0500 | [diff] [blame] | 96 | can0: can@ffc00000 { |
| 97 | compatible = "bosch,d_can"; |
| 98 | reg = <0xffc00000 0x1000>; |
| 99 | interrupts = <0 131 4>, <0 132 4>, <0 133 4>, <0 134 4>; |
| 100 | clocks = <&can0_clk>; |
| 101 | status = "disabled"; |
| 102 | }; |
| 103 | |
| 104 | can1: can@ffc01000 { |
| 105 | compatible = "bosch,d_can"; |
| 106 | reg = <0xffc01000 0x1000>; |
| 107 | interrupts = <0 135 4>, <0 136 4>, <0 137 4>, <0 138 4>; |
| 108 | clocks = <&can1_clk>; |
| 109 | status = "disabled"; |
| 110 | }; |
| 111 | |
Dinh Nguyen | 042000b | 2013-04-11 10:55:25 -0500 | [diff] [blame] | 112 | clkmgr@ffd04000 { |
| 113 | compatible = "altr,clk-mgr"; |
| 114 | reg = <0xffd04000 0x1000>; |
| 115 | |
| 116 | clocks { |
| 117 | #address-cells = <1>; |
| 118 | #size-cells = <0>; |
| 119 | |
Dinh Nguyen | f1ce1a9 | 2014-02-19 14:56:38 -0600 | [diff] [blame] | 120 | osc1: osc1 { |
| 121 | #clock-cells = <0>; |
| 122 | compatible = "fixed-clock"; |
| 123 | }; |
| 124 | |
| 125 | osc2: osc2 { |
Dinh Nguyen | 042000b | 2013-04-11 10:55:25 -0500 | [diff] [blame] | 126 | #clock-cells = <0>; |
| 127 | compatible = "fixed-clock"; |
| 128 | }; |
| 129 | |
Dinh Nguyen | a92b83a | 2013-06-05 10:02:54 -0500 | [diff] [blame] | 130 | f2s_periph_ref_clk: f2s_periph_ref_clk { |
| 131 | #clock-cells = <0>; |
| 132 | compatible = "fixed-clock"; |
Dinh Nguyen | f1ce1a9 | 2014-02-19 14:56:38 -0600 | [diff] [blame] | 133 | }; |
| 134 | |
| 135 | f2s_sdram_ref_clk: f2s_sdram_ref_clk { |
| 136 | #clock-cells = <0>; |
| 137 | compatible = "fixed-clock"; |
Dinh Nguyen | a92b83a | 2013-06-05 10:02:54 -0500 | [diff] [blame] | 138 | }; |
| 139 | |
Dinh Nguyen | 042000b | 2013-04-11 10:55:25 -0500 | [diff] [blame] | 140 | main_pll: main_pll { |
| 141 | #address-cells = <1>; |
| 142 | #size-cells = <0>; |
| 143 | #clock-cells = <0>; |
| 144 | compatible = "altr,socfpga-pll-clock"; |
Dinh Nguyen | f1ce1a9 | 2014-02-19 14:56:38 -0600 | [diff] [blame] | 145 | clocks = <&osc1>; |
Dinh Nguyen | 042000b | 2013-04-11 10:55:25 -0500 | [diff] [blame] | 146 | reg = <0x40>; |
| 147 | |
| 148 | mpuclk: mpuclk { |
| 149 | #clock-cells = <0>; |
| 150 | compatible = "altr,socfpga-perip-clk"; |
| 151 | clocks = <&main_pll>; |
Dinh Nguyen | 8cb289e | 2014-04-16 15:05:15 -0500 | [diff] [blame] | 152 | div-reg = <0xe0 0 9>; |
Dinh Nguyen | 042000b | 2013-04-11 10:55:25 -0500 | [diff] [blame] | 153 | reg = <0x48>; |
| 154 | }; |
| 155 | |
| 156 | mainclk: mainclk { |
| 157 | #clock-cells = <0>; |
| 158 | compatible = "altr,socfpga-perip-clk"; |
| 159 | clocks = <&main_pll>; |
Dinh Nguyen | 8cb289e | 2014-04-16 15:05:15 -0500 | [diff] [blame] | 160 | div-reg = <0xe4 0 9>; |
Dinh Nguyen | 042000b | 2013-04-11 10:55:25 -0500 | [diff] [blame] | 161 | reg = <0x4C>; |
| 162 | }; |
| 163 | |
| 164 | dbg_base_clk: dbg_base_clk { |
| 165 | #clock-cells = <0>; |
| 166 | compatible = "altr,socfpga-perip-clk"; |
Dinh Nguyen | 2e4c758 | 2015-07-24 22:10:59 -0500 | [diff] [blame] | 167 | clocks = <&main_pll>, <&osc1>; |
Dinh Nguyen | 8cb289e | 2014-04-16 15:05:15 -0500 | [diff] [blame] | 168 | div-reg = <0xe8 0 9>; |
Dinh Nguyen | 042000b | 2013-04-11 10:55:25 -0500 | [diff] [blame] | 169 | reg = <0x50>; |
| 170 | }; |
| 171 | |
| 172 | main_qspi_clk: main_qspi_clk { |
| 173 | #clock-cells = <0>; |
| 174 | compatible = "altr,socfpga-perip-clk"; |
| 175 | clocks = <&main_pll>; |
| 176 | reg = <0x54>; |
| 177 | }; |
| 178 | |
| 179 | main_nand_sdmmc_clk: main_nand_sdmmc_clk { |
| 180 | #clock-cells = <0>; |
| 181 | compatible = "altr,socfpga-perip-clk"; |
| 182 | clocks = <&main_pll>; |
| 183 | reg = <0x58>; |
| 184 | }; |
| 185 | |
Steffen Trumtrar | 01ed80b | 2013-10-07 11:11:38 -0500 | [diff] [blame] | 186 | cfg_h2f_usr0_clk: cfg_h2f_usr0_clk { |
Dinh Nguyen | 042000b | 2013-04-11 10:55:25 -0500 | [diff] [blame] | 187 | #clock-cells = <0>; |
| 188 | compatible = "altr,socfpga-perip-clk"; |
| 189 | clocks = <&main_pll>; |
| 190 | reg = <0x5C>; |
| 191 | }; |
| 192 | }; |
| 193 | |
| 194 | periph_pll: periph_pll { |
| 195 | #address-cells = <1>; |
| 196 | #size-cells = <0>; |
| 197 | #clock-cells = <0>; |
| 198 | compatible = "altr,socfpga-pll-clock"; |
Dinh Nguyen | f1ce1a9 | 2014-02-19 14:56:38 -0600 | [diff] [blame] | 199 | clocks = <&osc1>, <&osc2>, <&f2s_periph_ref_clk>; |
Dinh Nguyen | 042000b | 2013-04-11 10:55:25 -0500 | [diff] [blame] | 200 | reg = <0x80>; |
| 201 | |
| 202 | emac0_clk: emac0_clk { |
| 203 | #clock-cells = <0>; |
| 204 | compatible = "altr,socfpga-perip-clk"; |
| 205 | clocks = <&periph_pll>; |
| 206 | reg = <0x88>; |
| 207 | }; |
| 208 | |
| 209 | emac1_clk: emac1_clk { |
| 210 | #clock-cells = <0>; |
| 211 | compatible = "altr,socfpga-perip-clk"; |
| 212 | clocks = <&periph_pll>; |
| 213 | reg = <0x8C>; |
| 214 | }; |
| 215 | |
| 216 | per_qspi_clk: per_qsi_clk { |
| 217 | #clock-cells = <0>; |
| 218 | compatible = "altr,socfpga-perip-clk"; |
| 219 | clocks = <&periph_pll>; |
| 220 | reg = <0x90>; |
| 221 | }; |
| 222 | |
| 223 | per_nand_mmc_clk: per_nand_mmc_clk { |
| 224 | #clock-cells = <0>; |
| 225 | compatible = "altr,socfpga-perip-clk"; |
| 226 | clocks = <&periph_pll>; |
| 227 | reg = <0x94>; |
| 228 | }; |
| 229 | |
| 230 | per_base_clk: per_base_clk { |
| 231 | #clock-cells = <0>; |
| 232 | compatible = "altr,socfpga-perip-clk"; |
| 233 | clocks = <&periph_pll>; |
| 234 | reg = <0x98>; |
| 235 | }; |
| 236 | |
Steffen Trumtrar | 01ed80b | 2013-10-07 11:11:38 -0500 | [diff] [blame] | 237 | h2f_usr1_clk: h2f_usr1_clk { |
Dinh Nguyen | 042000b | 2013-04-11 10:55:25 -0500 | [diff] [blame] | 238 | #clock-cells = <0>; |
| 239 | compatible = "altr,socfpga-perip-clk"; |
| 240 | clocks = <&periph_pll>; |
| 241 | reg = <0x9C>; |
| 242 | }; |
| 243 | }; |
| 244 | |
| 245 | sdram_pll: sdram_pll { |
| 246 | #address-cells = <1>; |
| 247 | #size-cells = <0>; |
| 248 | #clock-cells = <0>; |
| 249 | compatible = "altr,socfpga-pll-clock"; |
Dinh Nguyen | f1ce1a9 | 2014-02-19 14:56:38 -0600 | [diff] [blame] | 250 | clocks = <&osc1>, <&osc2>, <&f2s_sdram_ref_clk>; |
Dinh Nguyen | 042000b | 2013-04-11 10:55:25 -0500 | [diff] [blame] | 251 | reg = <0xC0>; |
| 252 | |
| 253 | ddr_dqs_clk: ddr_dqs_clk { |
| 254 | #clock-cells = <0>; |
| 255 | compatible = "altr,socfpga-perip-clk"; |
| 256 | clocks = <&sdram_pll>; |
| 257 | reg = <0xC8>; |
| 258 | }; |
| 259 | |
| 260 | ddr_2x_dqs_clk: ddr_2x_dqs_clk { |
| 261 | #clock-cells = <0>; |
| 262 | compatible = "altr,socfpga-perip-clk"; |
| 263 | clocks = <&sdram_pll>; |
| 264 | reg = <0xCC>; |
| 265 | }; |
| 266 | |
| 267 | ddr_dq_clk: ddr_dq_clk { |
| 268 | #clock-cells = <0>; |
| 269 | compatible = "altr,socfpga-perip-clk"; |
| 270 | clocks = <&sdram_pll>; |
| 271 | reg = <0xD0>; |
| 272 | }; |
| 273 | |
Steffen Trumtrar | 01ed80b | 2013-10-07 11:11:38 -0500 | [diff] [blame] | 274 | h2f_usr2_clk: h2f_usr2_clk { |
Dinh Nguyen | 042000b | 2013-04-11 10:55:25 -0500 | [diff] [blame] | 275 | #clock-cells = <0>; |
| 276 | compatible = "altr,socfpga-perip-clk"; |
| 277 | clocks = <&sdram_pll>; |
| 278 | reg = <0xD4>; |
| 279 | }; |
| 280 | }; |
Dinh Nguyen | a92b83a | 2013-06-05 10:02:54 -0500 | [diff] [blame] | 281 | |
Steffen Trumtrar | 7857d56 | 2013-10-07 10:44:07 -0500 | [diff] [blame] | 282 | mpu_periph_clk: mpu_periph_clk { |
| 283 | #clock-cells = <0>; |
Dinh Nguyen | a5c6e87 | 2013-12-03 14:32:10 -0600 | [diff] [blame] | 284 | compatible = "altr,socfpga-perip-clk"; |
Steffen Trumtrar | 7857d56 | 2013-10-07 10:44:07 -0500 | [diff] [blame] | 285 | clocks = <&mpuclk>; |
| 286 | fixed-divider = <4>; |
Dinh Nguyen | a92b83a | 2013-06-05 10:02:54 -0500 | [diff] [blame] | 287 | }; |
| 288 | |
Steffen Trumtrar | 7857d56 | 2013-10-07 10:44:07 -0500 | [diff] [blame] | 289 | mpu_l2_ram_clk: mpu_l2_ram_clk { |
| 290 | #clock-cells = <0>; |
Dinh Nguyen | a5c6e87 | 2013-12-03 14:32:10 -0600 | [diff] [blame] | 291 | compatible = "altr,socfpga-perip-clk"; |
Steffen Trumtrar | 7857d56 | 2013-10-07 10:44:07 -0500 | [diff] [blame] | 292 | clocks = <&mpuclk>; |
| 293 | fixed-divider = <2>; |
Dinh Nguyen | a92b83a | 2013-06-05 10:02:54 -0500 | [diff] [blame] | 294 | }; |
| 295 | |
Steffen Trumtrar | 7857d56 | 2013-10-07 10:44:07 -0500 | [diff] [blame] | 296 | l4_main_clk: l4_main_clk { |
| 297 | #clock-cells = <0>; |
| 298 | compatible = "altr,socfpga-gate-clk"; |
| 299 | clocks = <&mainclk>; |
| 300 | clk-gate = <0x60 0>; |
Dinh Nguyen | a92b83a | 2013-06-05 10:02:54 -0500 | [diff] [blame] | 301 | }; |
| 302 | |
Steffen Trumtrar | 7857d56 | 2013-10-07 10:44:07 -0500 | [diff] [blame] | 303 | l3_main_clk: l3_main_clk { |
| 304 | #clock-cells = <0>; |
Dinh Nguyen | a5c6e87 | 2013-12-03 14:32:10 -0600 | [diff] [blame] | 305 | compatible = "altr,socfpga-perip-clk"; |
Steffen Trumtrar | 7857d56 | 2013-10-07 10:44:07 -0500 | [diff] [blame] | 306 | clocks = <&mainclk>; |
Dinh Nguyen | a5c6e87 | 2013-12-03 14:32:10 -0600 | [diff] [blame] | 307 | fixed-divider = <1>; |
Dinh Nguyen | a92b83a | 2013-06-05 10:02:54 -0500 | [diff] [blame] | 308 | }; |
| 309 | |
Steffen Trumtrar | 7857d56 | 2013-10-07 10:44:07 -0500 | [diff] [blame] | 310 | l3_mp_clk: l3_mp_clk { |
| 311 | #clock-cells = <0>; |
| 312 | compatible = "altr,socfpga-gate-clk"; |
| 313 | clocks = <&mainclk>; |
| 314 | div-reg = <0x64 0 2>; |
| 315 | clk-gate = <0x60 1>; |
Dinh Nguyen | a92b83a | 2013-06-05 10:02:54 -0500 | [diff] [blame] | 316 | }; |
| 317 | |
Steffen Trumtrar | 7857d56 | 2013-10-07 10:44:07 -0500 | [diff] [blame] | 318 | l3_sp_clk: l3_sp_clk { |
| 319 | #clock-cells = <0>; |
| 320 | compatible = "altr,socfpga-gate-clk"; |
Dinh Nguyen | c5dab6e | 2013-11-20 09:39:17 -0600 | [diff] [blame] | 321 | clocks = <&l3_mp_clk>; |
Steffen Trumtrar | 7857d56 | 2013-10-07 10:44:07 -0500 | [diff] [blame] | 322 | div-reg = <0x64 2 2>; |
Dinh Nguyen | a92b83a | 2013-06-05 10:02:54 -0500 | [diff] [blame] | 323 | }; |
| 324 | |
Steffen Trumtrar | 7857d56 | 2013-10-07 10:44:07 -0500 | [diff] [blame] | 325 | l4_mp_clk: l4_mp_clk { |
| 326 | #clock-cells = <0>; |
| 327 | compatible = "altr,socfpga-gate-clk"; |
| 328 | clocks = <&mainclk>, <&per_base_clk>; |
| 329 | div-reg = <0x64 4 3>; |
| 330 | clk-gate = <0x60 2>; |
Dinh Nguyen | a92b83a | 2013-06-05 10:02:54 -0500 | [diff] [blame] | 331 | }; |
| 332 | |
Steffen Trumtrar | 7857d56 | 2013-10-07 10:44:07 -0500 | [diff] [blame] | 333 | l4_sp_clk: l4_sp_clk { |
| 334 | #clock-cells = <0>; |
| 335 | compatible = "altr,socfpga-gate-clk"; |
| 336 | clocks = <&mainclk>, <&per_base_clk>; |
| 337 | div-reg = <0x64 7 3>; |
| 338 | clk-gate = <0x60 3>; |
Dinh Nguyen | a92b83a | 2013-06-05 10:02:54 -0500 | [diff] [blame] | 339 | }; |
| 340 | |
Steffen Trumtrar | 7857d56 | 2013-10-07 10:44:07 -0500 | [diff] [blame] | 341 | dbg_at_clk: dbg_at_clk { |
| 342 | #clock-cells = <0>; |
| 343 | compatible = "altr,socfpga-gate-clk"; |
| 344 | clocks = <&dbg_base_clk>; |
| 345 | div-reg = <0x68 0 2>; |
| 346 | clk-gate = <0x60 4>; |
Dinh Nguyen | a92b83a | 2013-06-05 10:02:54 -0500 | [diff] [blame] | 347 | }; |
| 348 | |
Steffen Trumtrar | 7857d56 | 2013-10-07 10:44:07 -0500 | [diff] [blame] | 349 | dbg_clk: dbg_clk { |
| 350 | #clock-cells = <0>; |
| 351 | compatible = "altr,socfpga-gate-clk"; |
Dinh Nguyen | c5dab6e | 2013-11-20 09:39:17 -0600 | [diff] [blame] | 352 | clocks = <&dbg_at_clk>; |
Steffen Trumtrar | 7857d56 | 2013-10-07 10:44:07 -0500 | [diff] [blame] | 353 | div-reg = <0x68 2 2>; |
| 354 | clk-gate = <0x60 5>; |
Dinh Nguyen | a92b83a | 2013-06-05 10:02:54 -0500 | [diff] [blame] | 355 | }; |
| 356 | |
Steffen Trumtrar | 7857d56 | 2013-10-07 10:44:07 -0500 | [diff] [blame] | 357 | dbg_trace_clk: dbg_trace_clk { |
| 358 | #clock-cells = <0>; |
| 359 | compatible = "altr,socfpga-gate-clk"; |
| 360 | clocks = <&dbg_base_clk>; |
| 361 | div-reg = <0x6C 0 3>; |
| 362 | clk-gate = <0x60 6>; |
Dinh Nguyen | a92b83a | 2013-06-05 10:02:54 -0500 | [diff] [blame] | 363 | }; |
| 364 | |
Steffen Trumtrar | 7857d56 | 2013-10-07 10:44:07 -0500 | [diff] [blame] | 365 | dbg_timer_clk: dbg_timer_clk { |
| 366 | #clock-cells = <0>; |
| 367 | compatible = "altr,socfpga-gate-clk"; |
| 368 | clocks = <&dbg_base_clk>; |
| 369 | clk-gate = <0x60 7>; |
Dinh Nguyen | a92b83a | 2013-06-05 10:02:54 -0500 | [diff] [blame] | 370 | }; |
| 371 | |
Steffen Trumtrar | 7857d56 | 2013-10-07 10:44:07 -0500 | [diff] [blame] | 372 | cfg_clk: cfg_clk { |
| 373 | #clock-cells = <0>; |
| 374 | compatible = "altr,socfpga-gate-clk"; |
Steffen Trumtrar | 01ed80b | 2013-10-07 11:11:38 -0500 | [diff] [blame] | 375 | clocks = <&cfg_h2f_usr0_clk>; |
Steffen Trumtrar | 7857d56 | 2013-10-07 10:44:07 -0500 | [diff] [blame] | 376 | clk-gate = <0x60 8>; |
Dinh Nguyen | a92b83a | 2013-06-05 10:02:54 -0500 | [diff] [blame] | 377 | }; |
| 378 | |
Steffen Trumtrar | 01ed80b | 2013-10-07 11:11:38 -0500 | [diff] [blame] | 379 | h2f_user0_clk: h2f_user0_clk { |
Steffen Trumtrar | 7857d56 | 2013-10-07 10:44:07 -0500 | [diff] [blame] | 380 | #clock-cells = <0>; |
| 381 | compatible = "altr,socfpga-gate-clk"; |
Steffen Trumtrar | 01ed80b | 2013-10-07 11:11:38 -0500 | [diff] [blame] | 382 | clocks = <&cfg_h2f_usr0_clk>; |
Steffen Trumtrar | 7857d56 | 2013-10-07 10:44:07 -0500 | [diff] [blame] | 383 | clk-gate = <0x60 9>; |
Dinh Nguyen | a92b83a | 2013-06-05 10:02:54 -0500 | [diff] [blame] | 384 | }; |
| 385 | |
Steffen Trumtrar | 7857d56 | 2013-10-07 10:44:07 -0500 | [diff] [blame] | 386 | emac_0_clk: emac_0_clk { |
| 387 | #clock-cells = <0>; |
| 388 | compatible = "altr,socfpga-gate-clk"; |
| 389 | clocks = <&emac0_clk>; |
| 390 | clk-gate = <0xa0 0>; |
Dinh Nguyen | a92b83a | 2013-06-05 10:02:54 -0500 | [diff] [blame] | 391 | }; |
| 392 | |
Steffen Trumtrar | 7857d56 | 2013-10-07 10:44:07 -0500 | [diff] [blame] | 393 | emac_1_clk: emac_1_clk { |
| 394 | #clock-cells = <0>; |
| 395 | compatible = "altr,socfpga-gate-clk"; |
| 396 | clocks = <&emac1_clk>; |
| 397 | clk-gate = <0xa0 1>; |
Dinh Nguyen | a92b83a | 2013-06-05 10:02:54 -0500 | [diff] [blame] | 398 | }; |
| 399 | |
Steffen Trumtrar | 7857d56 | 2013-10-07 10:44:07 -0500 | [diff] [blame] | 400 | usb_mp_clk: usb_mp_clk { |
| 401 | #clock-cells = <0>; |
| 402 | compatible = "altr,socfpga-gate-clk"; |
| 403 | clocks = <&per_base_clk>; |
| 404 | clk-gate = <0xa0 2>; |
| 405 | div-reg = <0xa4 0 3>; |
Dinh Nguyen | a92b83a | 2013-06-05 10:02:54 -0500 | [diff] [blame] | 406 | }; |
| 407 | |
Steffen Trumtrar | 7857d56 | 2013-10-07 10:44:07 -0500 | [diff] [blame] | 408 | spi_m_clk: spi_m_clk { |
| 409 | #clock-cells = <0>; |
| 410 | compatible = "altr,socfpga-gate-clk"; |
| 411 | clocks = <&per_base_clk>; |
| 412 | clk-gate = <0xa0 3>; |
| 413 | div-reg = <0xa4 3 3>; |
Dinh Nguyen | a92b83a | 2013-06-05 10:02:54 -0500 | [diff] [blame] | 414 | }; |
| 415 | |
Steffen Trumtrar | 7857d56 | 2013-10-07 10:44:07 -0500 | [diff] [blame] | 416 | can0_clk: can0_clk { |
| 417 | #clock-cells = <0>; |
| 418 | compatible = "altr,socfpga-gate-clk"; |
| 419 | clocks = <&per_base_clk>; |
| 420 | clk-gate = <0xa0 4>; |
| 421 | div-reg = <0xa4 6 3>; |
Dinh Nguyen | a92b83a | 2013-06-05 10:02:54 -0500 | [diff] [blame] | 422 | }; |
| 423 | |
Steffen Trumtrar | 7857d56 | 2013-10-07 10:44:07 -0500 | [diff] [blame] | 424 | can1_clk: can1_clk { |
| 425 | #clock-cells = <0>; |
| 426 | compatible = "altr,socfpga-gate-clk"; |
| 427 | clocks = <&per_base_clk>; |
| 428 | clk-gate = <0xa0 5>; |
| 429 | div-reg = <0xa4 9 3>; |
Dinh Nguyen | a92b83a | 2013-06-05 10:02:54 -0500 | [diff] [blame] | 430 | }; |
| 431 | |
Steffen Trumtrar | 7857d56 | 2013-10-07 10:44:07 -0500 | [diff] [blame] | 432 | gpio_db_clk: gpio_db_clk { |
| 433 | #clock-cells = <0>; |
| 434 | compatible = "altr,socfpga-gate-clk"; |
| 435 | clocks = <&per_base_clk>; |
| 436 | clk-gate = <0xa0 6>; |
| 437 | div-reg = <0xa8 0 24>; |
Dinh Nguyen | a92b83a | 2013-06-05 10:02:54 -0500 | [diff] [blame] | 438 | }; |
| 439 | |
Steffen Trumtrar | 01ed80b | 2013-10-07 11:11:38 -0500 | [diff] [blame] | 440 | h2f_user1_clk: h2f_user1_clk { |
Steffen Trumtrar | 7857d56 | 2013-10-07 10:44:07 -0500 | [diff] [blame] | 441 | #clock-cells = <0>; |
| 442 | compatible = "altr,socfpga-gate-clk"; |
Steffen Trumtrar | 01ed80b | 2013-10-07 11:11:38 -0500 | [diff] [blame] | 443 | clocks = <&h2f_usr1_clk>; |
Steffen Trumtrar | 7857d56 | 2013-10-07 10:44:07 -0500 | [diff] [blame] | 444 | clk-gate = <0xa0 7>; |
Dinh Nguyen | a92b83a | 2013-06-05 10:02:54 -0500 | [diff] [blame] | 445 | }; |
| 446 | |
Steffen Trumtrar | 7857d56 | 2013-10-07 10:44:07 -0500 | [diff] [blame] | 447 | sdmmc_clk: sdmmc_clk { |
| 448 | #clock-cells = <0>; |
| 449 | compatible = "altr,socfpga-gate-clk"; |
| 450 | clocks = <&f2s_periph_ref_clk>, <&main_nand_sdmmc_clk>, <&per_nand_mmc_clk>; |
| 451 | clk-gate = <0xa0 8>; |
Dinh Nguyen | 044abbd | 2014-01-06 12:17:24 -0600 | [diff] [blame] | 452 | clk-phase = <0 135>; |
Dinh Nguyen | a92b83a | 2013-06-05 10:02:54 -0500 | [diff] [blame] | 453 | }; |
| 454 | |
Dinh Nguyen | 5459f9a | 2015-04-10 15:40:42 -0500 | [diff] [blame] | 455 | sdmmc_clk_divided: sdmmc_clk_divided { |
| 456 | #clock-cells = <0>; |
| 457 | compatible = "altr,socfpga-gate-clk"; |
| 458 | clocks = <&sdmmc_clk>; |
| 459 | clk-gate = <0xa0 8>; |
| 460 | fixed-divider = <4>; |
| 461 | }; |
| 462 | |
Steffen Trumtrar | 7857d56 | 2013-10-07 10:44:07 -0500 | [diff] [blame] | 463 | nand_x_clk: nand_x_clk { |
| 464 | #clock-cells = <0>; |
| 465 | compatible = "altr,socfpga-gate-clk"; |
| 466 | clocks = <&f2s_periph_ref_clk>, <&main_nand_sdmmc_clk>, <&per_nand_mmc_clk>; |
| 467 | clk-gate = <0xa0 9>; |
Dinh Nguyen | a92b83a | 2013-06-05 10:02:54 -0500 | [diff] [blame] | 468 | }; |
| 469 | |
Steffen Trumtrar | 7857d56 | 2013-10-07 10:44:07 -0500 | [diff] [blame] | 470 | nand_clk: nand_clk { |
| 471 | #clock-cells = <0>; |
| 472 | compatible = "altr,socfpga-gate-clk"; |
| 473 | clocks = <&f2s_periph_ref_clk>, <&main_nand_sdmmc_clk>, <&per_nand_mmc_clk>; |
| 474 | clk-gate = <0xa0 10>; |
| 475 | fixed-divider = <4>; |
| 476 | }; |
| 477 | |
| 478 | qspi_clk: qspi_clk { |
| 479 | #clock-cells = <0>; |
| 480 | compatible = "altr,socfpga-gate-clk"; |
| 481 | clocks = <&f2s_periph_ref_clk>, <&main_qspi_clk>, <&per_qspi_clk>; |
| 482 | clk-gate = <0xa0 11>; |
Dinh Nguyen | a92b83a | 2013-06-05 10:02:54 -0500 | [diff] [blame] | 483 | }; |
Matthew Gerlach | 7db85dd | 2014-02-03 14:22:59 -0800 | [diff] [blame] | 484 | |
| 485 | ddr_dqs_clk_gate: ddr_dqs_clk_gate { |
| 486 | #clock-cells = <0>; |
| 487 | compatible = "altr,socfpga-gate-clk"; |
| 488 | clocks = <&ddr_dqs_clk>; |
| 489 | clk-gate = <0xd8 0>; |
| 490 | }; |
| 491 | |
| 492 | ddr_2x_dqs_clk_gate: ddr_2x_dqs_clk_gate { |
| 493 | #clock-cells = <0>; |
| 494 | compatible = "altr,socfpga-gate-clk"; |
| 495 | clocks = <&ddr_2x_dqs_clk>; |
| 496 | clk-gate = <0xd8 1>; |
| 497 | }; |
| 498 | |
| 499 | ddr_dq_clk_gate: ddr_dq_clk_gate { |
| 500 | #clock-cells = <0>; |
| 501 | compatible = "altr,socfpga-gate-clk"; |
| 502 | clocks = <&ddr_dq_clk>; |
| 503 | clk-gate = <0xd8 2>; |
| 504 | }; |
| 505 | |
| 506 | h2f_user2_clk: h2f_user2_clk { |
| 507 | #clock-cells = <0>; |
| 508 | compatible = "altr,socfpga-gate-clk"; |
| 509 | clocks = <&h2f_usr2_clk>; |
| 510 | clk-gate = <0xd8 3>; |
| 511 | }; |
| 512 | |
Dinh Nguyen | 042000b | 2013-04-11 10:55:25 -0500 | [diff] [blame] | 513 | }; |
Matthew Gerlach | 7db85dd | 2014-02-03 14:22:59 -0800 | [diff] [blame] | 514 | }; |
Dinh Nguyen | 042000b | 2013-04-11 10:55:25 -0500 | [diff] [blame] | 515 | |
Dinh Nguyen | 3d954cf | 2013-06-05 10:02:53 -0500 | [diff] [blame] | 516 | gmac0: ethernet@ff700000 { |
Dinh Nguyen | 6631422 | 2012-07-18 16:07:18 -0600 | [diff] [blame] | 517 | compatible = "altr,socfpga-stmmac", "snps,dwmac-3.70a", "snps,dwmac"; |
Dinh Nguyen | 2755e18 | 2014-03-26 22:45:11 -0500 | [diff] [blame] | 518 | altr,sysmgr-syscon = <&sysmgr 0x60 0>; |
Dinh Nguyen | 6631422 | 2012-07-18 16:07:18 -0600 | [diff] [blame] | 519 | reg = <0xff700000 0x2000>; |
| 520 | interrupts = <0 115 4>; |
| 521 | interrupt-names = "macirq"; |
| 522 | mac-address = [00 00 00 00 00 00];/* Filled in by U-Boot */ |
Dinh Nguyen | 3d954cf | 2013-06-05 10:02:53 -0500 | [diff] [blame] | 523 | clocks = <&emac0_clk>; |
| 524 | clock-names = "stmmaceth"; |
Steffen Trumtrar | 16fb4f8b | 2014-04-15 17:27:07 -0500 | [diff] [blame] | 525 | resets = <&rst EMAC0_RESET>; |
| 526 | reset-names = "stmmaceth"; |
Vince Bridgers | ea6856e | 2014-07-31 15:49:16 -0500 | [diff] [blame] | 527 | snps,multicast-filter-bins = <256>; |
| 528 | snps,perfect-filter-entries = <128>; |
Vince Bridgers | c01e8cd | 2015-04-21 14:19:24 -0500 | [diff] [blame] | 529 | tx-fifo-depth = <4096>; |
| 530 | rx-fifo-depth = <4096>; |
Dinh Nguyen | 3d954cf | 2013-06-05 10:02:53 -0500 | [diff] [blame] | 531 | status = "disabled"; |
| 532 | }; |
| 533 | |
| 534 | gmac1: ethernet@ff702000 { |
| 535 | compatible = "altr,socfpga-stmmac", "snps,dwmac-3.70a", "snps,dwmac"; |
Dinh Nguyen | 2755e18 | 2014-03-26 22:45:11 -0500 | [diff] [blame] | 536 | altr,sysmgr-syscon = <&sysmgr 0x60 2>; |
Dinh Nguyen | 3d954cf | 2013-06-05 10:02:53 -0500 | [diff] [blame] | 537 | reg = <0xff702000 0x2000>; |
| 538 | interrupts = <0 120 4>; |
| 539 | interrupt-names = "macirq"; |
| 540 | mac-address = [00 00 00 00 00 00];/* Filled in by U-Boot */ |
| 541 | clocks = <&emac1_clk>; |
| 542 | clock-names = "stmmaceth"; |
Steffen Trumtrar | 16fb4f8b | 2014-04-15 17:27:07 -0500 | [diff] [blame] | 543 | resets = <&rst EMAC1_RESET>; |
| 544 | reset-names = "stmmaceth"; |
Vince Bridgers | ea6856e | 2014-07-31 15:49:16 -0500 | [diff] [blame] | 545 | snps,multicast-filter-bins = <256>; |
| 546 | snps,perfect-filter-entries = <128>; |
Vince Bridgers | c01e8cd | 2015-04-21 14:19:24 -0500 | [diff] [blame] | 547 | tx-fifo-depth = <4096>; |
| 548 | rx-fifo-depth = <4096>; |
Dinh Nguyen | 3d954cf | 2013-06-05 10:02:53 -0500 | [diff] [blame] | 549 | status = "disabled"; |
Dinh Nguyen | 6631422 | 2012-07-18 16:07:18 -0600 | [diff] [blame] | 550 | }; |
| 551 | |
Steffen Trumtrar | fdeda15 | 2014-04-02 11:05:31 -0500 | [diff] [blame] | 552 | i2c0: i2c@ffc04000 { |
| 553 | #address-cells = <1>; |
| 554 | #size-cells = <0>; |
| 555 | compatible = "snps,designware-i2c"; |
| 556 | reg = <0xffc04000 0x1000>; |
| 557 | clocks = <&l4_sp_clk>; |
| 558 | interrupts = <0 158 0x4>; |
| 559 | status = "disabled"; |
| 560 | }; |
| 561 | |
| 562 | i2c1: i2c@ffc05000 { |
| 563 | #address-cells = <1>; |
| 564 | #size-cells = <0>; |
| 565 | compatible = "snps,designware-i2c"; |
| 566 | reg = <0xffc05000 0x1000>; |
| 567 | clocks = <&l4_sp_clk>; |
| 568 | interrupts = <0 159 0x4>; |
| 569 | status = "disabled"; |
| 570 | }; |
| 571 | |
| 572 | i2c2: i2c@ffc06000 { |
| 573 | #address-cells = <1>; |
| 574 | #size-cells = <0>; |
| 575 | compatible = "snps,designware-i2c"; |
| 576 | reg = <0xffc06000 0x1000>; |
| 577 | clocks = <&l4_sp_clk>; |
| 578 | interrupts = <0 160 0x4>; |
| 579 | status = "disabled"; |
| 580 | }; |
| 581 | |
| 582 | i2c3: i2c@ffc07000 { |
| 583 | #address-cells = <1>; |
| 584 | #size-cells = <0>; |
| 585 | compatible = "snps,designware-i2c"; |
| 586 | reg = <0xffc07000 0x1000>; |
| 587 | clocks = <&l4_sp_clk>; |
| 588 | interrupts = <0 161 0x4>; |
| 589 | status = "disabled"; |
| 590 | }; |
| 591 | |
Dinh Nguyen | d11ac1d | 2014-10-22 13:00:42 -0500 | [diff] [blame] | 592 | gpio0: gpio@ff708000 { |
Sebastian Andrzej Siewior | 6ec08c7 | 2014-03-20 18:21:55 -0500 | [diff] [blame] | 593 | #address-cells = <1>; |
| 594 | #size-cells = <0>; |
| 595 | compatible = "snps,dw-apb-gpio"; |
| 596 | reg = <0xff708000 0x1000>; |
Dinh Nguyen | e9f9fe3 | 2014-05-28 22:40:13 -0500 | [diff] [blame] | 597 | clocks = <&l4_mp_clk>; |
Sebastian Andrzej Siewior | 6ec08c7 | 2014-03-20 18:21:55 -0500 | [diff] [blame] | 598 | status = "disabled"; |
| 599 | |
Dinh Nguyen | d11ac1d | 2014-10-22 13:00:42 -0500 | [diff] [blame] | 600 | porta: gpio-controller@0 { |
Sebastian Andrzej Siewior | 6ec08c7 | 2014-03-20 18:21:55 -0500 | [diff] [blame] | 601 | compatible = "snps,dw-apb-gpio-port"; |
| 602 | gpio-controller; |
| 603 | #gpio-cells = <2>; |
| 604 | snps,nr-gpios = <29>; |
| 605 | reg = <0>; |
| 606 | interrupt-controller; |
| 607 | #interrupt-cells = <2>; |
| 608 | interrupts = <0 164 4>; |
| 609 | }; |
| 610 | }; |
| 611 | |
Dinh Nguyen | d11ac1d | 2014-10-22 13:00:42 -0500 | [diff] [blame] | 612 | gpio1: gpio@ff709000 { |
Sebastian Andrzej Siewior | 6ec08c7 | 2014-03-20 18:21:55 -0500 | [diff] [blame] | 613 | #address-cells = <1>; |
| 614 | #size-cells = <0>; |
| 615 | compatible = "snps,dw-apb-gpio"; |
| 616 | reg = <0xff709000 0x1000>; |
Dinh Nguyen | e9f9fe3 | 2014-05-28 22:40:13 -0500 | [diff] [blame] | 617 | clocks = <&l4_mp_clk>; |
Sebastian Andrzej Siewior | 6ec08c7 | 2014-03-20 18:21:55 -0500 | [diff] [blame] | 618 | status = "disabled"; |
| 619 | |
Dinh Nguyen | d11ac1d | 2014-10-22 13:00:42 -0500 | [diff] [blame] | 620 | portb: gpio-controller@0 { |
Sebastian Andrzej Siewior | 6ec08c7 | 2014-03-20 18:21:55 -0500 | [diff] [blame] | 621 | compatible = "snps,dw-apb-gpio-port"; |
| 622 | gpio-controller; |
| 623 | #gpio-cells = <2>; |
| 624 | snps,nr-gpios = <29>; |
| 625 | reg = <0>; |
| 626 | interrupt-controller; |
| 627 | #interrupt-cells = <2>; |
| 628 | interrupts = <0 165 4>; |
| 629 | }; |
| 630 | }; |
| 631 | |
Dinh Nguyen | d11ac1d | 2014-10-22 13:00:42 -0500 | [diff] [blame] | 632 | gpio2: gpio@ff70a000 { |
Sebastian Andrzej Siewior | 6ec08c7 | 2014-03-20 18:21:55 -0500 | [diff] [blame] | 633 | #address-cells = <1>; |
| 634 | #size-cells = <0>; |
| 635 | compatible = "snps,dw-apb-gpio"; |
| 636 | reg = <0xff70a000 0x1000>; |
Dinh Nguyen | e9f9fe3 | 2014-05-28 22:40:13 -0500 | [diff] [blame] | 637 | clocks = <&l4_mp_clk>; |
Sebastian Andrzej Siewior | 6ec08c7 | 2014-03-20 18:21:55 -0500 | [diff] [blame] | 638 | status = "disabled"; |
| 639 | |
Dinh Nguyen | d11ac1d | 2014-10-22 13:00:42 -0500 | [diff] [blame] | 640 | portc: gpio-controller@0 { |
Sebastian Andrzej Siewior | 6ec08c7 | 2014-03-20 18:21:55 -0500 | [diff] [blame] | 641 | compatible = "snps,dw-apb-gpio-port"; |
| 642 | gpio-controller; |
| 643 | #gpio-cells = <2>; |
| 644 | snps,nr-gpios = <27>; |
| 645 | reg = <0>; |
| 646 | interrupt-controller; |
| 647 | #interrupt-cells = <2>; |
| 648 | interrupts = <0 166 4>; |
| 649 | }; |
| 650 | }; |
| 651 | |
Thor Thayer | 75a4182 | 2014-08-26 16:09:32 -0500 | [diff] [blame] | 652 | sdr: sdr@ffc25000 { |
| 653 | compatible = "syscon"; |
| 654 | reg = <0xffc25000 0x1000>; |
| 655 | }; |
| 656 | |
| 657 | sdramedac { |
| 658 | compatible = "altr,sdram-edac"; |
| 659 | altr,sdr-syscon = <&sdr>; |
| 660 | interrupts = <0 39 4>; |
| 661 | }; |
| 662 | |
Dinh Nguyen | 6631422 | 2012-07-18 16:07:18 -0600 | [diff] [blame] | 663 | L2: l2-cache@fffef000 { |
| 664 | compatible = "arm,pl310-cache"; |
| 665 | reg = <0xfffef000 0x1000>; |
| 666 | interrupts = <0 38 0x04>; |
| 667 | cache-unified; |
| 668 | cache-level = <2>; |
Dinh Nguyen | 9a21e55 | 2014-01-06 20:54:43 -0600 | [diff] [blame] | 669 | arm,tag-latency = <1 1 1>; |
| 670 | arm,data-latency = <2 1 1>; |
Dinh Nguyen | 2211a65 | 2015-07-16 15:48:50 -0500 | [diff] [blame] | 671 | prefetch-data = <1>; |
| 672 | prefetch-instr = <1>; |
Dinh Nguyen | 6631422 | 2012-07-18 16:07:18 -0600 | [diff] [blame] | 673 | }; |
| 674 | |
Dinh Nguyen | 9b93136 | 2014-02-17 20:31:02 -0600 | [diff] [blame] | 675 | mmc: dwmmc0@ff704000 { |
| 676 | compatible = "altr,socfpga-dw-mshc"; |
| 677 | reg = <0xff704000 0x1000>; |
| 678 | interrupts = <0 139 4>; |
| 679 | fifo-depth = <0x400>; |
| 680 | #address-cells = <1>; |
| 681 | #size-cells = <0>; |
Dinh Nguyen | 5459f9a | 2015-04-10 15:40:42 -0500 | [diff] [blame] | 682 | clocks = <&l4_mp_clk>, <&sdmmc_clk_divided>; |
Dinh Nguyen | 9b93136 | 2014-02-17 20:31:02 -0600 | [diff] [blame] | 683 | clock-names = "biu", "ciu"; |
| 684 | }; |
| 685 | |
Dinh Nguyen | 8b907c8 | 2014-09-26 11:04:09 -0500 | [diff] [blame] | 686 | ocram: sram@ffff0000 { |
| 687 | compatible = "mmio-sram"; |
| 688 | reg = <0xffff0000 0x10000>; |
| 689 | }; |
| 690 | |
Thor Thayer | ba6b96b | 2014-10-21 18:55:40 +0000 | [diff] [blame] | 691 | spi0: spi@fff00000 { |
| 692 | compatible = "snps,dw-apb-ssi"; |
| 693 | #address-cells = <1>; |
| 694 | #size-cells = <0>; |
| 695 | reg = <0xfff00000 0x1000>; |
| 696 | interrupts = <0 154 4>; |
| 697 | num-cs = <4>; |
| 698 | clocks = <&spi_m_clk>; |
| 699 | status = "disabled"; |
| 700 | }; |
| 701 | |
Dinh Nguyen | 8508452 | 2015-05-12 15:48:13 -0500 | [diff] [blame] | 702 | scu: snoop-control-unit@fffec000 { |
| 703 | compatible = "arm,cortex-a9-scu"; |
| 704 | reg = <0xfffec000 0x100>; |
| 705 | }; |
| 706 | |
Thor Thayer | ba6b96b | 2014-10-21 18:55:40 +0000 | [diff] [blame] | 707 | spi1: spi@fff01000 { |
| 708 | compatible = "snps,dw-apb-ssi"; |
| 709 | #address-cells = <1>; |
| 710 | #size-cells = <0>; |
| 711 | reg = <0xfff01000 0x1000>; |
Mark James | 1ac31de | 2015-03-17 21:35:23 +0000 | [diff] [blame] | 712 | interrupts = <0 155 4>; |
Thor Thayer | ba6b96b | 2014-10-21 18:55:40 +0000 | [diff] [blame] | 713 | num-cs = <4>; |
| 714 | clocks = <&spi_m_clk>; |
| 715 | status = "disabled"; |
| 716 | }; |
| 717 | |
Dinh Nguyen | 6631422 | 2012-07-18 16:07:18 -0600 | [diff] [blame] | 718 | /* Local timer */ |
| 719 | timer@fffec600 { |
| 720 | compatible = "arm,cortex-a9-twd-timer"; |
| 721 | reg = <0xfffec600 0x100>; |
| 722 | interrupts = <1 13 0xf04>; |
Dinh Nguyen | 159c7f8 | 2013-10-01 14:42:27 -0500 | [diff] [blame] | 723 | clocks = <&mpu_periph_clk>; |
Dinh Nguyen | 6631422 | 2012-07-18 16:07:18 -0600 | [diff] [blame] | 724 | }; |
| 725 | |
Dinh Nguyen | c2ad284 | 2013-02-11 17:30:30 -0600 | [diff] [blame] | 726 | timer0: timer0@ffc08000 { |
Dinh Nguyen | 620f5e1 | 2013-08-21 15:28:49 -0500 | [diff] [blame] | 727 | compatible = "snps,dw-apb-timer"; |
Dinh Nguyen | 6631422 | 2012-07-18 16:07:18 -0600 | [diff] [blame] | 728 | interrupts = <0 167 4>; |
Dinh Nguyen | 6631422 | 2012-07-18 16:07:18 -0600 | [diff] [blame] | 729 | reg = <0xffc08000 0x1000>; |
Dinh Nguyen | bd785ef | 2014-04-02 21:14:57 -0500 | [diff] [blame] | 730 | clocks = <&l4_sp_clk>; |
| 731 | clock-names = "timer"; |
Dinh Nguyen | 6631422 | 2012-07-18 16:07:18 -0600 | [diff] [blame] | 732 | }; |
| 733 | |
Dinh Nguyen | c2ad284 | 2013-02-11 17:30:30 -0600 | [diff] [blame] | 734 | timer1: timer1@ffc09000 { |
Dinh Nguyen | 620f5e1 | 2013-08-21 15:28:49 -0500 | [diff] [blame] | 735 | compatible = "snps,dw-apb-timer"; |
Dinh Nguyen | 6631422 | 2012-07-18 16:07:18 -0600 | [diff] [blame] | 736 | interrupts = <0 168 4>; |
Dinh Nguyen | 6631422 | 2012-07-18 16:07:18 -0600 | [diff] [blame] | 737 | reg = <0xffc09000 0x1000>; |
Dinh Nguyen | bd785ef | 2014-04-02 21:14:57 -0500 | [diff] [blame] | 738 | clocks = <&l4_sp_clk>; |
| 739 | clock-names = "timer"; |
Dinh Nguyen | 6631422 | 2012-07-18 16:07:18 -0600 | [diff] [blame] | 740 | }; |
| 741 | |
Dinh Nguyen | c2ad284 | 2013-02-11 17:30:30 -0600 | [diff] [blame] | 742 | timer2: timer2@ffd00000 { |
Dinh Nguyen | 620f5e1 | 2013-08-21 15:28:49 -0500 | [diff] [blame] | 743 | compatible = "snps,dw-apb-timer"; |
Dinh Nguyen | 6631422 | 2012-07-18 16:07:18 -0600 | [diff] [blame] | 744 | interrupts = <0 169 4>; |
Dinh Nguyen | 6631422 | 2012-07-18 16:07:18 -0600 | [diff] [blame] | 745 | reg = <0xffd00000 0x1000>; |
Dinh Nguyen | bd785ef | 2014-04-02 21:14:57 -0500 | [diff] [blame] | 746 | clocks = <&osc1>; |
| 747 | clock-names = "timer"; |
Dinh Nguyen | 6631422 | 2012-07-18 16:07:18 -0600 | [diff] [blame] | 748 | }; |
| 749 | |
Dinh Nguyen | c2ad284 | 2013-02-11 17:30:30 -0600 | [diff] [blame] | 750 | timer3: timer3@ffd01000 { |
Dinh Nguyen | 620f5e1 | 2013-08-21 15:28:49 -0500 | [diff] [blame] | 751 | compatible = "snps,dw-apb-timer"; |
Dinh Nguyen | 6631422 | 2012-07-18 16:07:18 -0600 | [diff] [blame] | 752 | interrupts = <0 170 4>; |
Dinh Nguyen | 6631422 | 2012-07-18 16:07:18 -0600 | [diff] [blame] | 753 | reg = <0xffd01000 0x1000>; |
Dinh Nguyen | bd785ef | 2014-04-02 21:14:57 -0500 | [diff] [blame] | 754 | clocks = <&osc1>; |
| 755 | clock-names = "timer"; |
Dinh Nguyen | 6631422 | 2012-07-18 16:07:18 -0600 | [diff] [blame] | 756 | }; |
| 757 | |
Dinh Nguyen | c2ad284 | 2013-02-11 17:30:30 -0600 | [diff] [blame] | 758 | uart0: serial0@ffc02000 { |
Dinh Nguyen | 6631422 | 2012-07-18 16:07:18 -0600 | [diff] [blame] | 759 | compatible = "snps,dw-apb-uart"; |
| 760 | reg = <0xffc02000 0x1000>; |
Dinh Nguyen | 6631422 | 2012-07-18 16:07:18 -0600 | [diff] [blame] | 761 | interrupts = <0 162 4>; |
| 762 | reg-shift = <2>; |
| 763 | reg-io-width = <4>; |
Dinh Nguyen | bd785ef | 2014-04-02 21:14:57 -0500 | [diff] [blame] | 764 | clocks = <&l4_sp_clk>; |
Steffen Trumtrar | 78c03c7 | 2015-02-19 12:07:52 +0000 | [diff] [blame] | 765 | dmas = <&pdma 28>, |
| 766 | <&pdma 29>; |
| 767 | dma-names = "tx", "rx"; |
Dinh Nguyen | 6631422 | 2012-07-18 16:07:18 -0600 | [diff] [blame] | 768 | }; |
| 769 | |
Dinh Nguyen | c2ad284 | 2013-02-11 17:30:30 -0600 | [diff] [blame] | 770 | uart1: serial1@ffc03000 { |
Dinh Nguyen | 6631422 | 2012-07-18 16:07:18 -0600 | [diff] [blame] | 771 | compatible = "snps,dw-apb-uart"; |
| 772 | reg = <0xffc03000 0x1000>; |
Dinh Nguyen | 6631422 | 2012-07-18 16:07:18 -0600 | [diff] [blame] | 773 | interrupts = <0 163 4>; |
| 774 | reg-shift = <2>; |
| 775 | reg-io-width = <4>; |
Dinh Nguyen | bd785ef | 2014-04-02 21:14:57 -0500 | [diff] [blame] | 776 | clocks = <&l4_sp_clk>; |
Steffen Trumtrar | 78c03c7 | 2015-02-19 12:07:52 +0000 | [diff] [blame] | 777 | dmas = <&pdma 30>, |
| 778 | <&pdma 31>; |
| 779 | dma-names = "tx", "rx"; |
Dinh Nguyen | 6631422 | 2012-07-18 16:07:18 -0600 | [diff] [blame] | 780 | }; |
Dinh Nguyen | 9c4566a | 2012-10-25 10:41:39 -0600 | [diff] [blame] | 781 | |
Steffen Trumtrar | 16fb4f8b | 2014-04-15 17:27:07 -0500 | [diff] [blame] | 782 | rst: rstmgr@ffd05000 { |
Vince Bridgers | dc8fbed | 2014-06-23 13:32:11 -0500 | [diff] [blame] | 783 | #reset-cells = <1>; |
Steffen Trumtrar | 7857d56 | 2013-10-07 10:44:07 -0500 | [diff] [blame] | 784 | compatible = "altr,rst-mgr"; |
| 785 | reg = <0xffd05000 0x1000>; |
Dinh Nguyen | 1a94acf | 2015-07-24 14:05:06 -0500 | [diff] [blame] | 786 | altr,modrst-offset = <0x10>; |
Steffen Trumtrar | 7857d56 | 2013-10-07 10:44:07 -0500 | [diff] [blame] | 787 | }; |
Dinh Nguyen | 9c4566a | 2012-10-25 10:41:39 -0600 | [diff] [blame] | 788 | |
Dinh Nguyen | 1403250 | 2013-10-28 09:48:32 -0500 | [diff] [blame] | 789 | usbphy0: usbphy@0 { |
| 790 | #phy-cells = <0>; |
| 791 | compatible = "usb-nop-xceiv"; |
| 792 | status = "okay"; |
| 793 | }; |
| 794 | |
| 795 | usb0: usb@ffb00000 { |
| 796 | compatible = "snps,dwc2"; |
| 797 | reg = <0xffb00000 0xffff>; |
| 798 | interrupts = <0 125 4>; |
| 799 | clocks = <&usb_mp_clk>; |
| 800 | clock-names = "otg"; |
| 801 | phys = <&usbphy0>; |
| 802 | phy-names = "usb2-phy"; |
| 803 | status = "disabled"; |
| 804 | }; |
| 805 | |
| 806 | usb1: usb@ffb40000 { |
| 807 | compatible = "snps,dwc2"; |
| 808 | reg = <0xffb40000 0xffff>; |
| 809 | interrupts = <0 128 4>; |
| 810 | clocks = <&usb_mp_clk>; |
| 811 | clock-names = "otg"; |
| 812 | phys = <&usbphy0>; |
| 813 | phy-names = "usb2-phy"; |
| 814 | status = "disabled"; |
| 815 | }; |
| 816 | |
Steffen Trumtrar | a98b605 | 2014-05-22 16:37:17 -0500 | [diff] [blame] | 817 | watchdog0: watchdog@ffd02000 { |
| 818 | compatible = "snps,dw-wdt"; |
| 819 | reg = <0xffd02000 0x1000>; |
| 820 | interrupts = <0 171 4>; |
| 821 | clocks = <&osc1>; |
| 822 | status = "disabled"; |
| 823 | }; |
| 824 | |
| 825 | watchdog1: watchdog@ffd03000 { |
| 826 | compatible = "snps,dw-wdt"; |
| 827 | reg = <0xffd03000 0x1000>; |
| 828 | interrupts = <0 172 4>; |
| 829 | clocks = <&osc1>; |
| 830 | status = "disabled"; |
| 831 | }; |
| 832 | |
Dinh Nguyen | a5d6ac2 | 2014-03-09 23:12:14 -0500 | [diff] [blame] | 833 | sysmgr: sysmgr@ffd08000 { |
Dinh Nguyen | 9b93136 | 2014-02-17 20:31:02 -0600 | [diff] [blame] | 834 | compatible = "altr,sys-mgr", "syscon"; |
| 835 | reg = <0xffd08000 0x4000>; |
| 836 | }; |
Dinh Nguyen | 6631422 | 2012-07-18 16:07:18 -0600 | [diff] [blame] | 837 | }; |
| 838 | }; |