Simon Horman | c58a154 | 2013-01-29 14:21:46 +0900 | [diff] [blame] | 1 | /* |
Kuninori Morimoto | 349f556 | 2013-03-03 23:11:03 -0800 | [diff] [blame] | 2 | * Device Tree Source for Renesas r8a7779 |
Simon Horman | c58a154 | 2013-01-29 14:21:46 +0900 | [diff] [blame] | 3 | * |
| 4 | * Copyright (C) 2013 Renesas Solutions Corp. |
| 5 | * Copyright (C) 2013 Simon Horman |
| 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 | |
| 12 | /include/ "skeleton.dtsi" |
| 13 | |
| 14 | / { |
| 15 | compatible = "renesas,r8a7779"; |
| 16 | |
| 17 | cpus { |
| 18 | #address-cells = <1>; |
| 19 | #size-cells = <0>; |
| 20 | |
| 21 | cpu@0 { |
| 22 | device_type = "cpu"; |
| 23 | compatible = "arm,cortex-a9"; |
| 24 | reg = <0>; |
| 25 | }; |
| 26 | cpu@1 { |
| 27 | device_type = "cpu"; |
| 28 | compatible = "arm,cortex-a9"; |
| 29 | reg = <1>; |
| 30 | }; |
| 31 | cpu@2 { |
| 32 | device_type = "cpu"; |
| 33 | compatible = "arm,cortex-a9"; |
| 34 | reg = <2>; |
| 35 | }; |
| 36 | cpu@3 { |
| 37 | device_type = "cpu"; |
| 38 | compatible = "arm,cortex-a9"; |
| 39 | reg = <3>; |
| 40 | }; |
| 41 | }; |
| 42 | |
| 43 | gic: interrupt-controller@f0001000 { |
| 44 | compatible = "arm,cortex-a9-gic"; |
| 45 | #interrupt-cells = <3>; |
| 46 | interrupt-controller; |
| 47 | reg = <0xf0001000 0x1000>, |
| 48 | <0xf0000100 0x100>; |
| 49 | }; |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 50 | |
Laurent Pinchart | f5c771b | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 51 | gpio0: gpio@ffc40000 { |
| 52 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; |
| 53 | reg = <0xffc40000 0x2c>; |
| 54 | interrupt-parent = <&gic>; |
| 55 | interrupts = <0 141 0x4>; |
| 56 | #gpio-cells = <2>; |
| 57 | gpio-controller; |
| 58 | gpio-ranges = <&pfc 0 0 32>; |
| 59 | #interrupt-cells = <2>; |
| 60 | interrupt-controller; |
| 61 | }; |
| 62 | |
| 63 | gpio1: gpio@ffc41000 { |
| 64 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; |
| 65 | reg = <0xffc41000 0x2c>; |
| 66 | interrupt-parent = <&gic>; |
| 67 | interrupts = <0 142 0x4>; |
| 68 | #gpio-cells = <2>; |
| 69 | gpio-controller; |
| 70 | gpio-ranges = <&pfc 0 32 32>; |
| 71 | #interrupt-cells = <2>; |
| 72 | interrupt-controller; |
| 73 | }; |
| 74 | |
| 75 | gpio2: gpio@ffc42000 { |
| 76 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; |
| 77 | reg = <0xffc42000 0x2c>; |
| 78 | interrupt-parent = <&gic>; |
| 79 | interrupts = <0 143 0x4>; |
| 80 | #gpio-cells = <2>; |
| 81 | gpio-controller; |
| 82 | gpio-ranges = <&pfc 0 64 32>; |
| 83 | #interrupt-cells = <2>; |
| 84 | interrupt-controller; |
| 85 | }; |
| 86 | |
| 87 | gpio3: gpio@ffc43000 { |
| 88 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; |
| 89 | reg = <0xffc43000 0x2c>; |
| 90 | interrupt-parent = <&gic>; |
| 91 | interrupts = <0 144 0x4>; |
| 92 | #gpio-cells = <2>; |
| 93 | gpio-controller; |
| 94 | gpio-ranges = <&pfc 0 96 32>; |
| 95 | #interrupt-cells = <2>; |
| 96 | interrupt-controller; |
| 97 | }; |
| 98 | |
| 99 | gpio4: gpio@ffc44000 { |
| 100 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; |
| 101 | reg = <0xffc44000 0x2c>; |
| 102 | interrupt-parent = <&gic>; |
| 103 | interrupts = <0 145 0x4>; |
| 104 | #gpio-cells = <2>; |
| 105 | gpio-controller; |
| 106 | gpio-ranges = <&pfc 0 128 32>; |
| 107 | #interrupt-cells = <2>; |
| 108 | interrupt-controller; |
| 109 | }; |
| 110 | |
| 111 | gpio5: gpio@ffc45000 { |
| 112 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; |
| 113 | reg = <0xffc45000 0x2c>; |
| 114 | interrupt-parent = <&gic>; |
| 115 | interrupts = <0 146 0x4>; |
| 116 | #gpio-cells = <2>; |
| 117 | gpio-controller; |
| 118 | gpio-ranges = <&pfc 0 160 32>; |
| 119 | #interrupt-cells = <2>; |
| 120 | interrupt-controller; |
| 121 | }; |
| 122 | |
| 123 | gpio6: gpio@ffc46000 { |
| 124 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; |
| 125 | reg = <0xffc46000 0x2c>; |
| 126 | interrupt-parent = <&gic>; |
| 127 | interrupts = <0 147 0x4>; |
| 128 | #gpio-cells = <2>; |
| 129 | gpio-controller; |
| 130 | gpio-ranges = <&pfc 0 192 9>; |
| 131 | #interrupt-cells = <2>; |
| 132 | interrupt-controller; |
| 133 | }; |
| 134 | |
Guennadi Liakhovetski | 24603f3 | 2013-04-03 11:19:07 +0200 | [diff] [blame] | 135 | irqpin0: irqpin@fe780010 { |
| 136 | compatible = "renesas,intc-irqpin"; |
| 137 | #interrupt-cells = <2>; |
Kuninori Morimoto | 84b47df | 2013-10-02 01:39:13 -0700 | [diff] [blame] | 138 | status = "disabled"; |
Guennadi Liakhovetski | 24603f3 | 2013-04-03 11:19:07 +0200 | [diff] [blame] | 139 | interrupt-controller; |
| 140 | reg = <0xfe78001c 4>, |
| 141 | <0xfe780010 4>, |
| 142 | <0xfe780024 4>, |
| 143 | <0xfe780044 4>, |
| 144 | <0xfe780064 4>; |
| 145 | interrupt-parent = <&gic>; |
| 146 | interrupts = <0 27 0x4 |
| 147 | 0 28 0x4 |
| 148 | 0 29 0x4 |
| 149 | 0 30 0x4>; |
| 150 | sense-bitfield-width = <2>; |
| 151 | }; |
| 152 | |
Lee Jones | 98724b7 | 2013-07-22 11:52:38 +0100 | [diff] [blame] | 153 | i2c0: i2c@ffc70000 { |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 154 | #address-cells = <1>; |
| 155 | #size-cells = <0>; |
| 156 | compatible = "renesas,rmobile-iic"; |
| 157 | reg = <0xffc70000 0x1000>; |
| 158 | interrupt-parent = <&gic>; |
| 159 | interrupts = <0 79 0x4>; |
Guennadi Liakhovetski | eda3a4f | 2013-09-26 13:06:01 +0200 | [diff] [blame] | 160 | status = "disabled"; |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 161 | }; |
| 162 | |
Lee Jones | 98724b7 | 2013-07-22 11:52:38 +0100 | [diff] [blame] | 163 | i2c1: i2c@ffc71000 { |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 164 | #address-cells = <1>; |
| 165 | #size-cells = <0>; |
| 166 | compatible = "renesas,rmobile-iic"; |
| 167 | reg = <0xffc71000 0x1000>; |
| 168 | interrupt-parent = <&gic>; |
| 169 | interrupts = <0 82 0x4>; |
Guennadi Liakhovetski | eda3a4f | 2013-09-26 13:06:01 +0200 | [diff] [blame] | 170 | status = "disabled"; |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 171 | }; |
| 172 | |
Lee Jones | 98724b7 | 2013-07-22 11:52:38 +0100 | [diff] [blame] | 173 | i2c2: i2c@ffc72000 { |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 174 | #address-cells = <1>; |
| 175 | #size-cells = <0>; |
| 176 | compatible = "renesas,rmobile-iic"; |
| 177 | reg = <0xffc72000 0x1000>; |
| 178 | interrupt-parent = <&gic>; |
| 179 | interrupts = <0 80 0x4>; |
Guennadi Liakhovetski | eda3a4f | 2013-09-26 13:06:01 +0200 | [diff] [blame] | 180 | status = "disabled"; |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 181 | }; |
| 182 | |
Lee Jones | 98724b7 | 2013-07-22 11:52:38 +0100 | [diff] [blame] | 183 | i2c3: i2c@ffc73000 { |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 184 | #address-cells = <1>; |
| 185 | #size-cells = <0>; |
| 186 | compatible = "renesas,rmobile-iic"; |
| 187 | reg = <0xffc73000 0x1000>; |
| 188 | interrupt-parent = <&gic>; |
| 189 | interrupts = <0 81 0x4>; |
Guennadi Liakhovetski | eda3a4f | 2013-09-26 13:06:01 +0200 | [diff] [blame] | 190 | status = "disabled"; |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 191 | }; |
Kuninori Morimoto | 25a6597 | 2013-03-04 00:32:16 -0800 | [diff] [blame] | 192 | |
Laurent Pinchart | 3ab03d0 | 2013-05-09 15:05:57 +0200 | [diff] [blame] | 193 | pfc: pfc@fffc0000 { |
| 194 | compatible = "renesas,pfc-r8a7779"; |
| 195 | reg = <0xfffc0000 0x23c>; |
| 196 | }; |
| 197 | |
Kuninori Morimoto | 25a6597 | 2013-03-04 00:32:16 -0800 | [diff] [blame] | 198 | thermal@ffc48000 { |
| 199 | compatible = "renesas,rcar-thermal"; |
| 200 | reg = <0xffc48000 0x38>; |
| 201 | }; |
Vladimir Barinov | 7840a65 | 2013-02-27 23:34:36 +0300 | [diff] [blame] | 202 | |
| 203 | sata: sata@fc600000 { |
| 204 | compatible = "renesas,rcar-sata"; |
| 205 | reg = <0xfc600000 0x2000>; |
| 206 | interrupt-parent = <&gic>; |
| 207 | interrupts = <0 100 0x4>; |
| 208 | }; |
Simon Horman | c58a154 | 2013-01-29 14:21:46 +0900 | [diff] [blame] | 209 | }; |