Magnus Damm | e3da5b3 | 2013-09-19 05:11:11 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree Source for the r7s72100 SoC |
| 3 | * |
| 4 | * Copyright (C) 2013 Renesas Solutions Corp. |
| 5 | * |
| 6 | * This file is licensed under the terms of the GNU General Public License |
| 7 | * version 2. This program is licensed "as is" without any warranty of any |
| 8 | * kind, whether express or implied. |
| 9 | */ |
| 10 | |
Geert Uytterhoeven | 4b18e83 | 2014-02-04 16:23:59 +0100 | [diff] [blame^] | 11 | #include <dt-bindings/interrupt-controller/irq.h> |
| 12 | |
Magnus Damm | e3da5b3 | 2013-09-19 05:11:11 +0900 | [diff] [blame] | 13 | / { |
| 14 | compatible = "renesas,r7s72100"; |
| 15 | interrupt-parent = <&gic>; |
| 16 | #address-cells = <1>; |
| 17 | #size-cells = <1>; |
| 18 | |
Geert Uytterhoeven | 4b18e83 | 2014-02-04 16:23:59 +0100 | [diff] [blame^] | 19 | aliases { |
| 20 | spi0 = &spi0; |
| 21 | spi1 = &spi1; |
| 22 | spi2 = &spi2; |
| 23 | spi3 = &spi3; |
| 24 | spi4 = &spi4; |
| 25 | }; |
| 26 | |
Magnus Damm | e3da5b3 | 2013-09-19 05:11:11 +0900 | [diff] [blame] | 27 | cpus { |
| 28 | #address-cells = <1>; |
| 29 | #size-cells = <0>; |
| 30 | |
| 31 | cpu@0 { |
| 32 | device_type = "cpu"; |
| 33 | compatible = "arm,cortex-a9"; |
| 34 | reg = <0>; |
| 35 | }; |
| 36 | }; |
| 37 | |
| 38 | gic: interrupt-controller@e8201000 { |
| 39 | compatible = "arm,cortex-a9-gic"; |
| 40 | #interrupt-cells = <3>; |
| 41 | #address-cells = <0>; |
| 42 | interrupt-controller; |
| 43 | reg = <0xe8201000 0x1000>, |
| 44 | <0xe8202000 0x1000>; |
| 45 | }; |
Geert Uytterhoeven | 4b18e83 | 2014-02-04 16:23:59 +0100 | [diff] [blame^] | 46 | |
| 47 | spi0: spi@e800c800 { |
| 48 | compatible = "renesas,rspi-r7s72100", "renesas,rspi-rz"; |
| 49 | reg = <0xe800c800 0x24>; |
| 50 | interrupts = <0 238 IRQ_TYPE_LEVEL_HIGH>, |
| 51 | <0 239 IRQ_TYPE_LEVEL_HIGH>, |
| 52 | <0 240 IRQ_TYPE_LEVEL_HIGH>; |
| 53 | interrupt-names = "error", "rx", "tx"; |
| 54 | num-cs = <1>; |
| 55 | #address-cells = <1>; |
| 56 | #size-cells = <0>; |
| 57 | status = "disabled"; |
| 58 | }; |
| 59 | |
| 60 | spi1: spi@e800d000 { |
| 61 | compatible = "renesas,rspi-r7s72100", "renesas,rspi-rz"; |
| 62 | reg = <0xe800d000 0x24>; |
| 63 | interrupts = <0 241 IRQ_TYPE_LEVEL_HIGH>, |
| 64 | <0 242 IRQ_TYPE_LEVEL_HIGH>, |
| 65 | <0 243 IRQ_TYPE_LEVEL_HIGH>; |
| 66 | interrupt-names = "error", "rx", "tx"; |
| 67 | num-cs = <1>; |
| 68 | #address-cells = <1>; |
| 69 | #size-cells = <0>; |
| 70 | status = "disabled"; |
| 71 | }; |
| 72 | |
| 73 | spi2: spi@e800d800 { |
| 74 | compatible = "renesas,rspi-r7s72100", "renesas,rspi-rz"; |
| 75 | reg = <0xe800d800 0x24>; |
| 76 | interrupts = <0 244 IRQ_TYPE_LEVEL_HIGH>, |
| 77 | <0 245 IRQ_TYPE_LEVEL_HIGH>, |
| 78 | <0 246 IRQ_TYPE_LEVEL_HIGH>; |
| 79 | interrupt-names = "error", "rx", "tx"; |
| 80 | num-cs = <1>; |
| 81 | #address-cells = <1>; |
| 82 | #size-cells = <0>; |
| 83 | status = "disabled"; |
| 84 | }; |
| 85 | |
| 86 | spi3: spi@e800e000 { |
| 87 | compatible = "renesas,rspi-r7s72100", "renesas,rspi-rz"; |
| 88 | reg = <0xe800e000 0x24>; |
| 89 | interrupts = <0 247 IRQ_TYPE_LEVEL_HIGH>, |
| 90 | <0 248 IRQ_TYPE_LEVEL_HIGH>, |
| 91 | <0 249 IRQ_TYPE_LEVEL_HIGH>; |
| 92 | interrupt-names = "error", "rx", "tx"; |
| 93 | num-cs = <1>; |
| 94 | #address-cells = <1>; |
| 95 | #size-cells = <0>; |
| 96 | status = "disabled"; |
| 97 | }; |
| 98 | |
| 99 | spi4: spi@e800e800 { |
| 100 | compatible = "renesas,rspi-r7s72100", "renesas,rspi-rz"; |
| 101 | reg = <0xe800e800 0x24>; |
| 102 | interrupts = <0 250 IRQ_TYPE_LEVEL_HIGH>, |
| 103 | <0 251 IRQ_TYPE_LEVEL_HIGH>, |
| 104 | <0 252 IRQ_TYPE_LEVEL_HIGH>; |
| 105 | interrupt-names = "error", "rx", "tx"; |
| 106 | num-cs = <1>; |
| 107 | #address-cells = <1>; |
| 108 | #size-cells = <0>; |
| 109 | status = "disabled"; |
| 110 | }; |
Magnus Damm | e3da5b3 | 2013-09-19 05:11:11 +0900 | [diff] [blame] | 111 | }; |