Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame^] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Rajeshwari Birje | 4185c0c | 2013-12-26 09:44:25 +0530 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (c) 2013 The Chromium OS Authors |
| 4 | * SAMSUNG EXYNOS5 SoC device tree source |
Rajeshwari Birje | 4185c0c | 2013-12-26 09:44:25 +0530 | [diff] [blame] | 5 | */ |
| 6 | |
Simon Glass | 78cefc0 | 2014-10-20 19:48:29 -0600 | [diff] [blame] | 7 | #include "skeleton.dtsi" |
Simon Glass | dabafc3 | 2015-01-05 20:05:42 -0700 | [diff] [blame] | 8 | #include <dt-bindings/gpio/gpio.h> |
Rajeshwari Birje | 4185c0c | 2013-12-26 09:44:25 +0530 | [diff] [blame] | 9 | |
| 10 | / { |
| 11 | compatible = "samsung,exynos5"; |
| 12 | |
Simon Glass | 144cb55 | 2014-10-20 19:48:30 -0600 | [diff] [blame] | 13 | combiner: interrupt-controller@10440000 { |
| 14 | compatible = "samsung,exynos4210-combiner"; |
| 15 | #interrupt-cells = <2>; |
| 16 | interrupt-controller; |
| 17 | samsung,combiner-nr = <32>; |
| 18 | reg = <0x10440000 0x1000>; |
| 19 | interrupts = <0 0 0>, <0 1 0>, <0 2 0>, <0 3 0>, |
| 20 | <0 4 0>, <0 5 0>, <0 6 0>, <0 7 0>, |
| 21 | <0 8 0>, <0 9 0>, <0 10 0>, <0 11 0>, |
| 22 | <0 12 0>, <0 13 0>, <0 14 0>, <0 15 0>, |
| 23 | <0 16 0>, <0 17 0>, <0 18 0>, <0 19 0>, |
| 24 | <0 20 0>, <0 21 0>, <0 22 0>, <0 23 0>, |
| 25 | <0 24 0>, <0 25 0>, <0 26 0>, <0 27 0>, |
| 26 | <0 28 0>, <0 29 0>, <0 30 0>, <0 31 0>; |
| 27 | }; |
| 28 | |
| 29 | gic: interrupt-controller@10481000 { |
| 30 | compatible = "arm,cortex-a15-gic", "arm,cortex-a9-gic"; |
| 31 | #interrupt-cells = <3>; |
| 32 | interrupt-controller; |
| 33 | reg = <0x10481000 0x1000>, |
| 34 | <0x10482000 0x1000>, |
| 35 | <0x10484000 0x2000>, |
| 36 | <0x10486000 0x2000>; |
| 37 | interrupts = <1 9 0xf04>; |
| 38 | }; |
| 39 | |
Rajeshwari Birje | 4185c0c | 2013-12-26 09:44:25 +0530 | [diff] [blame] | 40 | sromc@12250000 { |
| 41 | compatible = "samsung,exynos-sromc"; |
| 42 | reg = <0x12250000 0x20>; |
| 43 | #address-cells = <1>; |
| 44 | #size-cells = <0>; |
| 45 | }; |
| 46 | |
Simon Glass | 144cb55 | 2014-10-20 19:48:30 -0600 | [diff] [blame] | 47 | combiner: interrupt-controller@10440000 { |
| 48 | compatible = "samsung,exynos4210-combiner"; |
| 49 | #interrupt-cells = <2>; |
| 50 | interrupt-controller; |
| 51 | samsung,combiner-nr = <32>; |
| 52 | reg = <0x10440000 0x1000>; |
| 53 | interrupts = <0 0 0>, <0 1 0>, <0 2 0>, <0 3 0>, |
| 54 | <0 4 0>, <0 5 0>, <0 6 0>, <0 7 0>, |
| 55 | <0 8 0>, <0 9 0>, <0 10 0>, <0 11 0>, |
| 56 | <0 12 0>, <0 13 0>, <0 14 0>, <0 15 0>, |
| 57 | <0 16 0>, <0 17 0>, <0 18 0>, <0 19 0>, |
| 58 | <0 20 0>, <0 21 0>, <0 22 0>, <0 23 0>, |
| 59 | <0 24 0>, <0 25 0>, <0 26 0>, <0 27 0>, |
| 60 | <0 28 0>, <0 29 0>, <0 30 0>, <0 31 0>; |
| 61 | }; |
| 62 | |
| 63 | gic: interrupt-controller@10481000 { |
| 64 | compatible = "arm,cortex-a15-gic", "arm,cortex-a9-gic"; |
| 65 | #interrupt-cells = <3>; |
| 66 | interrupt-controller; |
| 67 | reg = <0x10481000 0x1000>, |
| 68 | <0x10482000 0x1000>, |
| 69 | <0x10484000 0x2000>, |
| 70 | <0x10486000 0x2000>; |
| 71 | interrupts = <1 9 0xf04>; |
| 72 | }; |
| 73 | |
Simon Glass | 2a61b44 | 2015-07-02 18:15:48 -0600 | [diff] [blame] | 74 | i2c_0: i2c@12C60000 { |
Rajeshwari Birje | 4185c0c | 2013-12-26 09:44:25 +0530 | [diff] [blame] | 75 | compatible = "samsung,s3c2440-i2c"; |
| 76 | reg = <0x12C60000 0x100>; |
| 77 | interrupts = <0 56 0>; |
Rajeshwari Birje | 4185c0c | 2013-12-26 09:44:25 +0530 | [diff] [blame] | 78 | #address-cells = <1>; |
| 79 | #size-cells = <0>; |
Simon Glass | 2a61b44 | 2015-07-02 18:15:48 -0600 | [diff] [blame] | 80 | }; |
| 81 | |
| 82 | i2c_1: i2c@12C70000 { |
Rajeshwari Birje | 4185c0c | 2013-12-26 09:44:25 +0530 | [diff] [blame] | 83 | compatible = "samsung,s3c2440-i2c"; |
| 84 | reg = <0x12C70000 0x100>; |
| 85 | interrupts = <0 57 0>; |
Rajeshwari Birje | 4185c0c | 2013-12-26 09:44:25 +0530 | [diff] [blame] | 86 | #address-cells = <1>; |
| 87 | #size-cells = <0>; |
Simon Glass | 2a61b44 | 2015-07-02 18:15:48 -0600 | [diff] [blame] | 88 | }; |
| 89 | |
| 90 | i2c_2: i2c@12C80000 { |
Rajeshwari Birje | 4185c0c | 2013-12-26 09:44:25 +0530 | [diff] [blame] | 91 | compatible = "samsung,s3c2440-i2c"; |
| 92 | reg = <0x12C80000 0x100>; |
| 93 | interrupts = <0 58 0>; |
Rajeshwari Birje | 4185c0c | 2013-12-26 09:44:25 +0530 | [diff] [blame] | 94 | #address-cells = <1>; |
| 95 | #size-cells = <0>; |
Simon Glass | 2a61b44 | 2015-07-02 18:15:48 -0600 | [diff] [blame] | 96 | }; |
| 97 | |
| 98 | i2c_3: i2c@12C90000 { |
Rajeshwari Birje | 4185c0c | 2013-12-26 09:44:25 +0530 | [diff] [blame] | 99 | compatible = "samsung,s3c2440-i2c"; |
| 100 | reg = <0x12C90000 0x100>; |
| 101 | interrupts = <0 59 0>; |
Simon Glass | 2a61b44 | 2015-07-02 18:15:48 -0600 | [diff] [blame] | 102 | #address-cells = <1>; |
| 103 | #size-cells = <0>; |
Rajeshwari Birje | 4185c0c | 2013-12-26 09:44:25 +0530 | [diff] [blame] | 104 | }; |
| 105 | |
Simon Glass | 2a61b44 | 2015-07-02 18:15:48 -0600 | [diff] [blame] | 106 | spi_0: spi@12d20000 { |
Rajeshwari Birje | 4185c0c | 2013-12-26 09:44:25 +0530 | [diff] [blame] | 107 | #address-cells = <1>; |
| 108 | #size-cells = <0>; |
| 109 | compatible = "samsung,exynos-spi"; |
| 110 | reg = <0x12d20000 0x30>; |
| 111 | interrupts = <0 68 0>; |
| 112 | }; |
| 113 | |
Simon Glass | 2a61b44 | 2015-07-02 18:15:48 -0600 | [diff] [blame] | 114 | spi_1: spi@12d30000 { |
Rajeshwari Birje | 4185c0c | 2013-12-26 09:44:25 +0530 | [diff] [blame] | 115 | #address-cells = <1>; |
| 116 | #size-cells = <0>; |
| 117 | compatible = "samsung,exynos-spi"; |
| 118 | reg = <0x12d30000 0x30>; |
| 119 | interrupts = <0 69 0>; |
| 120 | }; |
| 121 | |
Simon Glass | 2a61b44 | 2015-07-02 18:15:48 -0600 | [diff] [blame] | 122 | spi_2: spi@12d40000 { |
Rajeshwari Birje | 4185c0c | 2013-12-26 09:44:25 +0530 | [diff] [blame] | 123 | #address-cells = <1>; |
| 124 | #size-cells = <0>; |
| 125 | compatible = "samsung,exynos-spi"; |
| 126 | reg = <0x12d40000 0x30>; |
| 127 | clock-frequency = <50000000>; |
| 128 | interrupts = <0 70 0>; |
| 129 | }; |
| 130 | |
Simon Glass | 2a61b44 | 2015-07-02 18:15:48 -0600 | [diff] [blame] | 131 | spi_3: spi@131a0000 { |
Rajeshwari Birje | 4185c0c | 2013-12-26 09:44:25 +0530 | [diff] [blame] | 132 | #address-cells = <1>; |
| 133 | #size-cells = <0>; |
| 134 | compatible = "samsung,exynos-spi"; |
| 135 | reg = <0x131a0000 0x30>; |
| 136 | interrupts = <0 129 0>; |
| 137 | }; |
| 138 | |
Simon Glass | 2a61b44 | 2015-07-02 18:15:48 -0600 | [diff] [blame] | 139 | spi_4: spi@131b0000 { |
Rajeshwari Birje | 4185c0c | 2013-12-26 09:44:25 +0530 | [diff] [blame] | 140 | #address-cells = <1>; |
| 141 | #size-cells = <0>; |
| 142 | compatible = "samsung,exynos-spi"; |
| 143 | reg = <0x131b0000 0x30>; |
| 144 | interrupts = <0 130 0>; |
| 145 | }; |
| 146 | |
| 147 | ehci@12110000 { |
| 148 | compatible = "samsung,exynos-ehci"; |
| 149 | reg = <0x12110000 0x100>; |
| 150 | #address-cells = <1>; |
| 151 | #size-cells = <1>; |
| 152 | |
| 153 | phy { |
| 154 | compatible = "samsung,exynos-usb-phy"; |
| 155 | reg = <0x12130000 0x100>; |
| 156 | }; |
| 157 | }; |
| 158 | |
| 159 | tmu@10060000 { |
| 160 | compatible = "samsung,exynos-tmu"; |
| 161 | reg = <0x10060000 0x10000>; |
| 162 | }; |
| 163 | |
| 164 | fimd@14400000 { |
Simon Glass | 6706367 | 2016-02-21 21:08:58 -0700 | [diff] [blame] | 165 | u-boot,dm-pre-reloc; |
Rajeshwari Birje | 4185c0c | 2013-12-26 09:44:25 +0530 | [diff] [blame] | 166 | compatible = "samsung,exynos-fimd"; |
| 167 | reg = <0x14400000 0x10000>; |
| 168 | #address-cells = <1>; |
| 169 | #size-cells = <1>; |
| 170 | }; |
| 171 | |
Simon Glass | 6706367 | 2016-02-21 21:08:58 -0700 | [diff] [blame] | 172 | dp: dp@145b0000 { |
Rajeshwari Birje | 4185c0c | 2013-12-26 09:44:25 +0530 | [diff] [blame] | 173 | compatible = "samsung,exynos5-dp"; |
| 174 | reg = <0x145b0000 0x1000>; |
| 175 | #address-cells = <1>; |
| 176 | #size-cells = <1>; |
| 177 | }; |
| 178 | |
| 179 | xhci0: xhci@12000000 { |
| 180 | compatible = "samsung,exynos5250-xhci"; |
| 181 | reg = <0x12000000 0x10000>; |
| 182 | #address-cells = <1>; |
| 183 | #size-cells = <1>; |
| 184 | |
| 185 | phy { |
| 186 | compatible = "samsung,exynos5250-usb3-phy"; |
| 187 | reg = <0x12100000 0x100>; |
| 188 | }; |
| 189 | }; |
| 190 | |
| 191 | mmc@12200000 { |
| 192 | #address-cells = <1>; |
| 193 | #size-cells = <0>; |
Jaehoon Chung | e3fb6fa | 2014-05-16 13:59:51 +0900 | [diff] [blame] | 194 | compatible = "samsung,exynos-dwmmc"; |
Rajeshwari Birje | 4185c0c | 2013-12-26 09:44:25 +0530 | [diff] [blame] | 195 | reg = <0x12200000 0x1000>; |
| 196 | interrupts = <0 75 0>; |
| 197 | }; |
| 198 | |
| 199 | mmc@12210000 { |
| 200 | #address-cells = <1>; |
| 201 | #size-cells = <0>; |
Jaehoon Chung | e3fb6fa | 2014-05-16 13:59:51 +0900 | [diff] [blame] | 202 | compatible = "samsung,exynos-dwmmc"; |
Rajeshwari Birje | 4185c0c | 2013-12-26 09:44:25 +0530 | [diff] [blame] | 203 | reg = <0x12210000 0x1000>; |
| 204 | interrupts = <0 76 0>; |
| 205 | }; |
| 206 | |
| 207 | mmc@12220000 { |
| 208 | #address-cells = <1>; |
| 209 | #size-cells = <0>; |
Jaehoon Chung | e3fb6fa | 2014-05-16 13:59:51 +0900 | [diff] [blame] | 210 | compatible = "samsung,exynos-dwmmc"; |
Rajeshwari Birje | 4185c0c | 2013-12-26 09:44:25 +0530 | [diff] [blame] | 211 | reg = <0x12220000 0x1000>; |
| 212 | interrupts = <0 77 0>; |
| 213 | }; |
| 214 | |
| 215 | mmc@12230000 { |
| 216 | #address-cells = <1>; |
| 217 | #size-cells = <0>; |
Jaehoon Chung | e3fb6fa | 2014-05-16 13:59:51 +0900 | [diff] [blame] | 218 | compatible = "samsung,exynos-dwmmc"; |
Rajeshwari Birje | 4185c0c | 2013-12-26 09:44:25 +0530 | [diff] [blame] | 219 | reg = <0x12230000 0x1000>; |
| 220 | interrupts = <0 78 0>; |
| 221 | }; |
| 222 | |
| 223 | serial@12C00000 { |
| 224 | compatible = "samsung,exynos4210-uart"; |
| 225 | reg = <0x12C00000 0x100>; |
| 226 | interrupts = <0 51 0>; |
| 227 | id = <0>; |
| 228 | }; |
| 229 | |
| 230 | serial@12C10000 { |
| 231 | compatible = "samsung,exynos4210-uart"; |
| 232 | reg = <0x12C10000 0x100>; |
| 233 | interrupts = <0 52 0>; |
| 234 | id = <1>; |
| 235 | }; |
| 236 | |
| 237 | serial@12C20000 { |
| 238 | compatible = "samsung,exynos4210-uart"; |
| 239 | reg = <0x12C20000 0x100>; |
| 240 | interrupts = <0 53 0>; |
| 241 | id = <2>; |
| 242 | }; |
| 243 | |
| 244 | serial@12C30000 { |
| 245 | compatible = "samsung,exynos4210-uart"; |
| 246 | reg = <0x12C30000 0x100>; |
| 247 | interrupts = <0 54 0>; |
Simon Glass | f2b8f9c | 2014-09-14 16:36:16 -0600 | [diff] [blame] | 248 | u-boot,dm-pre-reloc; |
Rajeshwari Birje | 4185c0c | 2013-12-26 09:44:25 +0530 | [diff] [blame] | 249 | id = <3>; |
| 250 | }; |
Rajeshwari Birje | 4185c0c | 2013-12-26 09:44:25 +0530 | [diff] [blame] | 251 | }; |