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 | |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 19 | #include <dt-bindings/interrupt-controller/irq.h> |
| 20 | |
Kuninori Morimoto | ccb7cc7 | 2013-03-21 03:01:36 -0700 | [diff] [blame] | 21 | / { |
| 22 | compatible = "renesas,r8a7778"; |
Laurent Pinchart | 9ff254a | 2014-04-30 02:41:28 +0200 | [diff] [blame] | 23 | interrupt-parent = <&gic>; |
Kuninori Morimoto | ccb7cc7 | 2013-03-21 03:01:36 -0700 | [diff] [blame] | 24 | |
| 25 | cpus { |
| 26 | cpu@0 { |
| 27 | compatible = "arm,cortex-a9"; |
| 28 | }; |
| 29 | }; |
| 30 | |
Kuninori Morimoto | a50da08 | 2013-10-31 18:22:21 -0700 | [diff] [blame] | 31 | aliases { |
| 32 | spi0 = &hspi0; |
| 33 | spi1 = &hspi1; |
| 34 | spi2 = &hspi2; |
| 35 | }; |
| 36 | |
Kuninori Morimoto | ccb7cc7 | 2013-03-21 03:01:36 -0700 | [diff] [blame] | 37 | gic: interrupt-controller@fe438000 { |
| 38 | compatible = "arm,cortex-a9-gic"; |
| 39 | #interrupt-cells = <3>; |
| 40 | interrupt-controller; |
| 41 | reg = <0xfe438000 0x1000>, |
| 42 | <0xfe430000 0x100>; |
| 43 | }; |
Laurent Pinchart | 0697ccc | 2013-05-09 15:05:57 +0200 | [diff] [blame] | 44 | |
Kuninori Morimoto | 87f1ba8 | 2013-10-02 01:32:12 -0700 | [diff] [blame] | 45 | /* irqpin: IRQ0 - IRQ3 */ |
| 46 | irqpin: irqpin@fe78001c { |
Magnus Damm | d79af22 | 2013-11-28 08:15:11 +0900 | [diff] [blame] | 47 | compatible = "renesas,intc-irqpin-r8a7778", "renesas,intc-irqpin"; |
Kuninori Morimoto | 87f1ba8 | 2013-10-02 01:32:12 -0700 | [diff] [blame] | 48 | #interrupt-cells = <2>; |
| 49 | interrupt-controller; |
| 50 | status = "disabled"; /* default off */ |
| 51 | reg = <0xfe78001c 4>, |
| 52 | <0xfe780010 4>, |
| 53 | <0xfe780024 4>, |
| 54 | <0xfe780044 4>, |
| 55 | <0xfe780064 4>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 56 | interrupts = <0 27 IRQ_TYPE_LEVEL_HIGH |
| 57 | 0 28 IRQ_TYPE_LEVEL_HIGH |
| 58 | 0 29 IRQ_TYPE_LEVEL_HIGH |
| 59 | 0 30 IRQ_TYPE_LEVEL_HIGH>; |
Kuninori Morimoto | 87f1ba8 | 2013-10-02 01:32:12 -0700 | [diff] [blame] | 60 | sense-bitfield-width = <2>; |
| 61 | }; |
| 62 | |
Laurent Pinchart | aaf7eda | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 63 | gpio0: gpio@ffc40000 { |
| 64 | compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar"; |
| 65 | reg = <0xffc40000 0x2c>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 66 | interrupts = <0 103 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | aaf7eda | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 67 | #gpio-cells = <2>; |
| 68 | gpio-controller; |
| 69 | gpio-ranges = <&pfc 0 0 32>; |
| 70 | #interrupt-cells = <2>; |
| 71 | interrupt-controller; |
| 72 | }; |
| 73 | |
| 74 | gpio1: gpio@ffc41000 { |
| 75 | compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar"; |
| 76 | reg = <0xffc41000 0x2c>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 77 | interrupts = <0 103 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | aaf7eda | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 78 | #gpio-cells = <2>; |
| 79 | gpio-controller; |
| 80 | gpio-ranges = <&pfc 0 32 32>; |
| 81 | #interrupt-cells = <2>; |
| 82 | interrupt-controller; |
| 83 | }; |
| 84 | |
| 85 | gpio2: gpio@ffc42000 { |
| 86 | compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar"; |
| 87 | reg = <0xffc42000 0x2c>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 88 | interrupts = <0 103 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | aaf7eda | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 89 | #gpio-cells = <2>; |
| 90 | gpio-controller; |
| 91 | gpio-ranges = <&pfc 0 64 32>; |
| 92 | #interrupt-cells = <2>; |
| 93 | interrupt-controller; |
| 94 | }; |
| 95 | |
| 96 | gpio3: gpio@ffc43000 { |
| 97 | compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar"; |
| 98 | reg = <0xffc43000 0x2c>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 99 | interrupts = <0 103 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | aaf7eda | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 100 | #gpio-cells = <2>; |
| 101 | gpio-controller; |
| 102 | gpio-ranges = <&pfc 0 96 32>; |
| 103 | #interrupt-cells = <2>; |
| 104 | interrupt-controller; |
| 105 | }; |
| 106 | |
| 107 | gpio4: gpio@ffc44000 { |
| 108 | compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar"; |
| 109 | reg = <0xffc44000 0x2c>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 110 | interrupts = <0 103 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | aaf7eda | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 111 | #gpio-cells = <2>; |
| 112 | gpio-controller; |
| 113 | gpio-ranges = <&pfc 0 128 27>; |
| 114 | #interrupt-cells = <2>; |
| 115 | interrupt-controller; |
| 116 | }; |
| 117 | |
Laurent Pinchart | 0697ccc | 2013-05-09 15:05:57 +0200 | [diff] [blame] | 118 | pfc: pfc@fffc0000 { |
| 119 | compatible = "renesas,pfc-r8a7778"; |
Laurent Pinchart | 80d01fe | 2013-10-03 19:35:41 +0200 | [diff] [blame] | 120 | reg = <0xfffc0000 0x118>; |
Laurent Pinchart | 0697ccc | 2013-05-09 15:05:57 +0200 | [diff] [blame] | 121 | }; |
Kuninori Morimoto | 3acb51b | 2013-10-03 23:44:15 -0700 | [diff] [blame] | 122 | |
| 123 | i2c0: i2c@ffc70000 { |
| 124 | #address-cells = <1>; |
| 125 | #size-cells = <0>; |
| 126 | compatible = "renesas,i2c-r8a7778"; |
| 127 | reg = <0xffc70000 0x1000>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 128 | interrupts = <0 67 IRQ_TYPE_LEVEL_HIGH>; |
Kuninori Morimoto | 3acb51b | 2013-10-03 23:44:15 -0700 | [diff] [blame] | 129 | status = "disabled"; |
| 130 | }; |
| 131 | |
| 132 | i2c1: i2c@ffc71000 { |
| 133 | #address-cells = <1>; |
| 134 | #size-cells = <0>; |
| 135 | compatible = "renesas,i2c-r8a7778"; |
| 136 | reg = <0xffc71000 0x1000>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 137 | interrupts = <0 78 IRQ_TYPE_LEVEL_HIGH>; |
Kuninori Morimoto | 3acb51b | 2013-10-03 23:44:15 -0700 | [diff] [blame] | 138 | status = "disabled"; |
| 139 | }; |
| 140 | |
| 141 | i2c2: i2c@ffc72000 { |
| 142 | #address-cells = <1>; |
| 143 | #size-cells = <0>; |
| 144 | compatible = "renesas,i2c-r8a7778"; |
| 145 | reg = <0xffc72000 0x1000>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 146 | interrupts = <0 76 IRQ_TYPE_LEVEL_HIGH>; |
Kuninori Morimoto | 3acb51b | 2013-10-03 23:44:15 -0700 | [diff] [blame] | 147 | status = "disabled"; |
| 148 | }; |
| 149 | |
| 150 | i2c3: i2c@ffc73000 { |
| 151 | #address-cells = <1>; |
| 152 | #size-cells = <0>; |
| 153 | compatible = "renesas,i2c-r8a7778"; |
| 154 | reg = <0xffc73000 0x1000>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 155 | interrupts = <0 77 IRQ_TYPE_LEVEL_HIGH>; |
Kuninori Morimoto | 3acb51b | 2013-10-03 23:44:15 -0700 | [diff] [blame] | 156 | status = "disabled"; |
| 157 | }; |
Kuninori Morimoto | f7b90175 | 2013-10-03 18:32:22 -0700 | [diff] [blame] | 158 | |
Kuninori Morimoto | 14e1d91 | 2013-10-21 19:35:42 -0700 | [diff] [blame] | 159 | mmcif: mmc@ffe4e000 { |
Kuninori Morimoto | f7b90175 | 2013-10-03 18:32:22 -0700 | [diff] [blame] | 160 | compatible = "renesas,sh-mmcif"; |
| 161 | reg = <0xffe4e000 0x100>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 162 | interrupts = <0 61 IRQ_TYPE_LEVEL_HIGH>; |
Kuninori Morimoto | f7b90175 | 2013-10-03 18:32:22 -0700 | [diff] [blame] | 163 | status = "disabled"; |
| 164 | }; |
Kuninori Morimoto | 04cbd88 | 2013-10-10 23:35:46 -0700 | [diff] [blame] | 165 | |
Kuninori Morimoto | 14e1d91 | 2013-10-21 19:35:42 -0700 | [diff] [blame] | 166 | sdhi0: sd@ffe4c000 { |
Kuninori Morimoto | 04cbd88 | 2013-10-10 23:35:46 -0700 | [diff] [blame] | 167 | compatible = "renesas,sdhi-r8a7778"; |
| 168 | reg = <0xffe4c000 0x100>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 169 | interrupts = <0 87 IRQ_TYPE_LEVEL_HIGH>; |
Kuninori Morimoto | 04cbd88 | 2013-10-10 23:35:46 -0700 | [diff] [blame] | 170 | cap-sd-highspeed; |
| 171 | cap-sdio-irq; |
| 172 | status = "disabled"; |
| 173 | }; |
| 174 | |
Kuninori Morimoto | 14e1d91 | 2013-10-21 19:35:42 -0700 | [diff] [blame] | 175 | sdhi1: sd@ffe4d000 { |
Kuninori Morimoto | 04cbd88 | 2013-10-10 23:35:46 -0700 | [diff] [blame] | 176 | compatible = "renesas,sdhi-r8a7778"; |
| 177 | reg = <0xffe4d000 0x100>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 178 | interrupts = <0 88 IRQ_TYPE_LEVEL_HIGH>; |
Kuninori Morimoto | 04cbd88 | 2013-10-10 23:35:46 -0700 | [diff] [blame] | 179 | cap-sd-highspeed; |
| 180 | cap-sdio-irq; |
| 181 | status = "disabled"; |
| 182 | }; |
| 183 | |
Kuninori Morimoto | 14e1d91 | 2013-10-21 19:35:42 -0700 | [diff] [blame] | 184 | sdhi2: sd@ffe4f000 { |
Kuninori Morimoto | 04cbd88 | 2013-10-10 23:35:46 -0700 | [diff] [blame] | 185 | compatible = "renesas,sdhi-r8a7778"; |
| 186 | reg = <0xffe4f000 0x100>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 187 | interrupts = <0 86 IRQ_TYPE_LEVEL_HIGH>; |
Kuninori Morimoto | 04cbd88 | 2013-10-10 23:35:46 -0700 | [diff] [blame] | 188 | cap-sd-highspeed; |
| 189 | cap-sdio-irq; |
| 190 | status = "disabled"; |
| 191 | }; |
Kuninori Morimoto | ae4273e | 2013-10-03 23:44:15 -0700 | [diff] [blame] | 192 | |
Kuninori Morimoto | a50da08 | 2013-10-31 18:22:21 -0700 | [diff] [blame] | 193 | hspi0: spi@fffc7000 { |
Geert Uytterhoeven | a34c50d | 2014-03-14 11:06:40 +0100 | [diff] [blame] | 194 | compatible = "renesas,hspi-r8a7778", "renesas,hspi"; |
Kuninori Morimoto | a50da08 | 2013-10-31 18:22:21 -0700 | [diff] [blame] | 195 | reg = <0xfffc7000 0x18>; |
Laurent Pinchart | d6dd131 | 2013-11-28 17:22:13 +0100 | [diff] [blame] | 196 | interrupts = <0 63 IRQ_TYPE_LEVEL_HIGH>; |
Geert Uytterhoeven | a34c50d | 2014-03-14 11:06:40 +0100 | [diff] [blame] | 197 | #address-cells = <1>; |
| 198 | #size-cells = <0>; |
Kuninori Morimoto | a50da08 | 2013-10-31 18:22:21 -0700 | [diff] [blame] | 199 | status = "disabled"; |
| 200 | }; |
| 201 | |
| 202 | hspi1: spi@fffc8000 { |
Geert Uytterhoeven | a34c50d | 2014-03-14 11:06:40 +0100 | [diff] [blame] | 203 | compatible = "renesas,hspi-r8a7778", "renesas,hspi"; |
Kuninori Morimoto | a50da08 | 2013-10-31 18:22:21 -0700 | [diff] [blame] | 204 | reg = <0xfffc8000 0x18>; |
Laurent Pinchart | d6dd131 | 2013-11-28 17:22:13 +0100 | [diff] [blame] | 205 | interrupts = <0 84 IRQ_TYPE_LEVEL_HIGH>; |
Geert Uytterhoeven | a34c50d | 2014-03-14 11:06:40 +0100 | [diff] [blame] | 206 | #address-cells = <1>; |
| 207 | #size-cells = <0>; |
Kuninori Morimoto | a50da08 | 2013-10-31 18:22:21 -0700 | [diff] [blame] | 208 | status = "disabled"; |
| 209 | }; |
| 210 | |
| 211 | hspi2: spi@fffc6000 { |
Geert Uytterhoeven | a34c50d | 2014-03-14 11:06:40 +0100 | [diff] [blame] | 212 | compatible = "renesas,hspi-r8a7778", "renesas,hspi"; |
Kuninori Morimoto | a50da08 | 2013-10-31 18:22:21 -0700 | [diff] [blame] | 213 | reg = <0xfffc6000 0x18>; |
Laurent Pinchart | d6dd131 | 2013-11-28 17:22:13 +0100 | [diff] [blame] | 214 | interrupts = <0 85 IRQ_TYPE_LEVEL_HIGH>; |
Geert Uytterhoeven | a34c50d | 2014-03-14 11:06:40 +0100 | [diff] [blame] | 215 | #address-cells = <1>; |
| 216 | #size-cells = <0>; |
Kuninori Morimoto | a50da08 | 2013-10-31 18:22:21 -0700 | [diff] [blame] | 217 | status = "disabled"; |
| 218 | }; |
Kuninori Morimoto | ccb7cc7 | 2013-03-21 03:01:36 -0700 | [diff] [blame] | 219 | }; |