Kukjin Kim | 1355bbc | 2012-10-24 13:41:15 +0900 | [diff] [blame] | 1 | /* |
| 2 | * SAMSUNG EXYNOS5440 SoC device tree source |
| 3 | * |
| 4 | * Copyright (c) 2012 Samsung Electronics Co., Ltd. |
| 5 | * http://www.samsung.com |
| 6 | * |
| 7 | * This program is free software; you can redistribute it and/or modify |
| 8 | * it under the terms of the GNU General Public License version 2 as |
| 9 | * published by the Free Software Foundation. |
| 10 | */ |
| 11 | |
| 12 | /include/ "skeleton.dtsi" |
| 13 | |
| 14 | / { |
| 15 | compatible = "samsung,exynos5440"; |
| 16 | |
| 17 | interrupt-parent = <&gic>; |
| 18 | |
Thomas Abraham | d8bafc8 | 2013-03-09 17:11:33 +0900 | [diff] [blame] | 19 | clock: clock-controller@0x160000 { |
| 20 | compatible = "samsung,exynos5440-clock"; |
| 21 | reg = <0x160000 0x1000>; |
| 22 | #clock-cells = <1>; |
| 23 | }; |
| 24 | |
Kukjin Kim | 1355bbc | 2012-10-24 13:41:15 +0900 | [diff] [blame] | 25 | gic:interrupt-controller@2E0000 { |
| 26 | compatible = "arm,cortex-a15-gic"; |
| 27 | #interrupt-cells = <3>; |
| 28 | interrupt-controller; |
Giridhar Maruthy | 3279dd3 | 2013-04-04 15:25:00 +0900 | [diff] [blame] | 29 | reg = <0x2E1000 0x1000>, |
| 30 | <0x2E2000 0x1000>, |
| 31 | <0x2E4000 0x2000>, |
| 32 | <0x2E6000 0x2000>; |
| 33 | interrupts = <1 9 0xf04>; |
Kukjin Kim | 1355bbc | 2012-10-24 13:41:15 +0900 | [diff] [blame] | 34 | }; |
| 35 | |
| 36 | cpus { |
Kukjin Kim | f5108e1 | 2012-12-06 16:54:10 +0900 | [diff] [blame] | 37 | #address-cells = <1>; |
| 38 | #size-cells = <0>; |
| 39 | |
Kukjin Kim | 1355bbc | 2012-10-24 13:41:15 +0900 | [diff] [blame] | 40 | cpu@0 { |
| 41 | compatible = "arm,cortex-a15"; |
Kukjin Kim | f5108e1 | 2012-12-06 16:54:10 +0900 | [diff] [blame] | 42 | reg = <0>; |
Kukjin Kim | 1355bbc | 2012-10-24 13:41:15 +0900 | [diff] [blame] | 43 | }; |
| 44 | cpu@1 { |
| 45 | compatible = "arm,cortex-a15"; |
Kukjin Kim | f5108e1 | 2012-12-06 16:54:10 +0900 | [diff] [blame] | 46 | reg = <1>; |
Kukjin Kim | 1355bbc | 2012-10-24 13:41:15 +0900 | [diff] [blame] | 47 | }; |
| 48 | cpu@2 { |
| 49 | compatible = "arm,cortex-a15"; |
Kukjin Kim | f5108e1 | 2012-12-06 16:54:10 +0900 | [diff] [blame] | 50 | reg = <2>; |
Kukjin Kim | 1355bbc | 2012-10-24 13:41:15 +0900 | [diff] [blame] | 51 | }; |
| 52 | cpu@3 { |
| 53 | compatible = "arm,cortex-a15"; |
Kukjin Kim | f5108e1 | 2012-12-06 16:54:10 +0900 | [diff] [blame] | 54 | reg = <3>; |
Kukjin Kim | 1355bbc | 2012-10-24 13:41:15 +0900 | [diff] [blame] | 55 | }; |
| 56 | }; |
| 57 | |
Subash Patel | 4c46f51 | 2013-04-05 15:22:59 +0900 | [diff] [blame] | 58 | arm-pmu { |
| 59 | compatible = "arm,cortex-a15-pmu", "arm,cortex-a9-pmu"; |
| 60 | interrupts = <0 52 4>, |
| 61 | <0 53 4>, |
| 62 | <0 54 4>, |
| 63 | <0 55 4>; |
| 64 | }; |
| 65 | |
Kukjin Kim | f5108e1 | 2012-12-06 16:54:10 +0900 | [diff] [blame] | 66 | timer { |
| 67 | compatible = "arm,cortex-a15-timer", |
| 68 | "arm,armv7-timer"; |
| 69 | interrupts = <1 13 0xf08>, |
| 70 | <1 14 0xf08>, |
| 71 | <1 11 0xf08>, |
| 72 | <1 10 0xf08>; |
| 73 | clock-frequency = <50000000>; |
| 74 | }; |
| 75 | |
Amit Daniel Kachhap | 7f7b8ed | 2013-04-08 21:48:17 +0900 | [diff] [blame] | 76 | cpufreq@160000 { |
| 77 | compatible = "samsung,exynos5440-cpufreq"; |
| 78 | reg = <0x160000 0x1000>; |
| 79 | interrupts = <0 57 0>; |
| 80 | operating-points = < |
| 81 | /* KHz uV */ |
| 82 | 1200000 1025000 |
| 83 | 1000000 975000 |
| 84 | 800000 925000 |
| 85 | >; |
| 86 | }; |
| 87 | |
Kukjin Kim | 1355bbc | 2012-10-24 13:41:15 +0900 | [diff] [blame] | 88 | serial@B0000 { |
| 89 | compatible = "samsung,exynos4210-uart"; |
| 90 | reg = <0xB0000 0x1000>; |
| 91 | interrupts = <0 2 0>; |
Thomas Abraham | 6a0338c | 2013-03-09 17:19:17 +0900 | [diff] [blame] | 92 | clocks = <&clock 21>, <&clock 21>; |
| 93 | clock-names = "uart", "clk_uart_baud0"; |
Kukjin Kim | 1355bbc | 2012-10-24 13:41:15 +0900 | [diff] [blame] | 94 | }; |
| 95 | |
| 96 | serial@C0000 { |
| 97 | compatible = "samsung,exynos4210-uart"; |
| 98 | reg = <0xC0000 0x1000>; |
| 99 | interrupts = <0 3 0>; |
Thomas Abraham | 6a0338c | 2013-03-09 17:19:17 +0900 | [diff] [blame] | 100 | clocks = <&clock 21>, <&clock 21>; |
| 101 | clock-names = "uart", "clk_uart_baud0"; |
Kukjin Kim | 1355bbc | 2012-10-24 13:41:15 +0900 | [diff] [blame] | 102 | }; |
| 103 | |
| 104 | spi { |
| 105 | compatible = "samsung,exynos4210-spi"; |
| 106 | reg = <0xD0000 0x1000>; |
| 107 | interrupts = <0 4 0>; |
| 108 | tx-dma-channel = <&pdma0 5>; /* preliminary */ |
| 109 | rx-dma-channel = <&pdma0 4>; /* preliminary */ |
| 110 | #address-cells = <1>; |
| 111 | #size-cells = <0>; |
Thomas Abraham | 6a0338c | 2013-03-09 17:19:17 +0900 | [diff] [blame] | 112 | clocks = <&clock 21>, <&clock 16>; |
| 113 | clock-names = "spi", "spi_busclk0"; |
Kukjin Kim | 1355bbc | 2012-10-24 13:41:15 +0900 | [diff] [blame] | 114 | }; |
| 115 | |
| 116 | pinctrl { |
Thomas Abraham | f692543 | 2012-12-27 13:25:02 -0800 | [diff] [blame] | 117 | compatible = "samsung,exynos5440-pinctrl"; |
Kukjin Kim | 1355bbc | 2012-10-24 13:41:15 +0900 | [diff] [blame] | 118 | reg = <0xE0000 0x1000>; |
Thomas Abraham | 71d87da | 2013-04-05 15:20:03 +0900 | [diff] [blame] | 119 | interrupts = <0 37 0>, <0 38 0>, <0 39 0>, <0 40 0>, |
| 120 | <0 41 0>, <0 42 0>, <0 43 0>, <0 44 0>; |
Kukjin Kim | 1355bbc | 2012-10-24 13:41:15 +0900 | [diff] [blame] | 121 | interrupt-controller; |
| 122 | #interrupt-cells = <2>; |
Thomas Abraham | b1ce101 | 2012-10-24 17:18:52 +0900 | [diff] [blame] | 123 | #gpio-cells = <2>; |
| 124 | |
| 125 | fan: fan { |
| 126 | samsung,exynos5440-pin-function = <1>; |
| 127 | }; |
| 128 | |
| 129 | hdd_led0: hdd_led0 { |
| 130 | samsung,exynos5440-pin-function = <2>; |
| 131 | }; |
| 132 | |
| 133 | hdd_led1: hdd_led1 { |
| 134 | samsung,exynos5440-pin-function = <3>; |
| 135 | }; |
| 136 | |
| 137 | uart1: uart1 { |
| 138 | samsung,exynos5440-pin-function = <4>; |
| 139 | }; |
Kukjin Kim | 1355bbc | 2012-10-24 13:41:15 +0900 | [diff] [blame] | 140 | }; |
| 141 | |
| 142 | i2c@F0000 { |
Giridhar Maruthy | 49498c5 | 2012-12-28 09:33:58 -0800 | [diff] [blame] | 143 | compatible = "samsung,exynos5440-i2c"; |
Kukjin Kim | 1355bbc | 2012-10-24 13:41:15 +0900 | [diff] [blame] | 144 | reg = <0xF0000 0x1000>; |
| 145 | interrupts = <0 5 0>; |
| 146 | #address-cells = <1>; |
| 147 | #size-cells = <0>; |
Thomas Abraham | 6a0338c | 2013-03-09 17:19:17 +0900 | [diff] [blame] | 148 | clocks = <&clock 21>; |
| 149 | clock-names = "i2c"; |
Kukjin Kim | 1355bbc | 2012-10-24 13:41:15 +0900 | [diff] [blame] | 150 | }; |
| 151 | |
| 152 | i2c@100000 { |
Giridhar Maruthy | 49498c5 | 2012-12-28 09:33:58 -0800 | [diff] [blame] | 153 | compatible = "samsung,exynos5440-i2c"; |
Kukjin Kim | 1355bbc | 2012-10-24 13:41:15 +0900 | [diff] [blame] | 154 | reg = <0x100000 0x1000>; |
| 155 | interrupts = <0 6 0>; |
| 156 | #address-cells = <1>; |
| 157 | #size-cells = <0>; |
Thomas Abraham | 6a0338c | 2013-03-09 17:19:17 +0900 | [diff] [blame] | 158 | clocks = <&clock 21>; |
| 159 | clock-names = "i2c"; |
Kukjin Kim | 1355bbc | 2012-10-24 13:41:15 +0900 | [diff] [blame] | 160 | }; |
| 161 | |
| 162 | watchdog { |
| 163 | compatible = "samsung,s3c2410-wdt"; |
| 164 | reg = <0x110000 0x1000>; |
| 165 | interrupts = <0 1 0>; |
Thomas Abraham | 6a0338c | 2013-03-09 17:19:17 +0900 | [diff] [blame] | 166 | clocks = <&clock 21>; |
| 167 | clock-names = "watchdog"; |
Kukjin Kim | 1355bbc | 2012-10-24 13:41:15 +0900 | [diff] [blame] | 168 | }; |
| 169 | |
Byungho An | c038c4d | 2013-04-05 15:22:58 +0900 | [diff] [blame] | 170 | gmac: ethernet@00230000 { |
| 171 | compatible = "snps,dwmac-3.70a"; |
| 172 | reg = <0x00230000 0x8000>; |
| 173 | interrupt-parent = <&gic>; |
| 174 | interrupts = <0 31 4>; |
| 175 | interrupt-names = "macirq"; |
| 176 | phy-mode = "sgmii"; |
Thomas Abraham | dce3b8e | 2013-04-08 21:47:02 +0900 | [diff] [blame] | 177 | clocks = <&clock 25>; |
Byungho An | c038c4d | 2013-04-05 15:22:58 +0900 | [diff] [blame] | 178 | clock-names = "stmmaceth"; |
| 179 | }; |
| 180 | |
Kukjin Kim | 1355bbc | 2012-10-24 13:41:15 +0900 | [diff] [blame] | 181 | amba { |
| 182 | #address-cells = <1>; |
| 183 | #size-cells = <1>; |
| 184 | compatible = "arm,amba-bus"; |
| 185 | interrupt-parent = <&gic>; |
| 186 | ranges; |
| 187 | |
Subash Patel | 58a7bbf | 2013-04-05 15:22:58 +0900 | [diff] [blame] | 188 | pdma0: pdma@00121000 { |
Kukjin Kim | 1355bbc | 2012-10-24 13:41:15 +0900 | [diff] [blame] | 189 | compatible = "arm,pl330", "arm,primecell"; |
Subash Patel | 58a7bbf | 2013-04-05 15:22:58 +0900 | [diff] [blame] | 190 | reg = <0x121000 0x1000>; |
| 191 | interrupts = <0 46 0>; |
| 192 | clocks = <&clock 8>; |
Thomas Abraham | 6a0338c | 2013-03-09 17:19:17 +0900 | [diff] [blame] | 193 | clock-names = "apb_pclk"; |
Padmavathi Venna | 0a96d4d | 2013-03-07 10:33:07 +0900 | [diff] [blame] | 194 | #dma-cells = <1>; |
| 195 | #dma-channels = <8>; |
| 196 | #dma-requests = <32>; |
Kukjin Kim | 1355bbc | 2012-10-24 13:41:15 +0900 | [diff] [blame] | 197 | }; |
| 198 | |
Subash Patel | 58a7bbf | 2013-04-05 15:22:58 +0900 | [diff] [blame] | 199 | pdma1: pdma@00120000 { |
Kukjin Kim | 1355bbc | 2012-10-24 13:41:15 +0900 | [diff] [blame] | 200 | compatible = "arm,pl330", "arm,primecell"; |
Subash Patel | 58a7bbf | 2013-04-05 15:22:58 +0900 | [diff] [blame] | 201 | reg = <0x120000 0x1000>; |
| 202 | interrupts = <0 47 0>; |
| 203 | clocks = <&clock 8>; |
Thomas Abraham | 6a0338c | 2013-03-09 17:19:17 +0900 | [diff] [blame] | 204 | clock-names = "apb_pclk"; |
Padmavathi Venna | 0a96d4d | 2013-03-07 10:33:07 +0900 | [diff] [blame] | 205 | #dma-cells = <1>; |
| 206 | #dma-channels = <8>; |
| 207 | #dma-requests = <32>; |
Kukjin Kim | 1355bbc | 2012-10-24 13:41:15 +0900 | [diff] [blame] | 208 | }; |
| 209 | }; |
| 210 | |
| 211 | rtc { |
| 212 | compatible = "samsung,s3c6410-rtc"; |
| 213 | reg = <0x130000 0x1000>; |
Giridhar Maruthy | e877a5a | 2012-12-27 18:02:58 -0800 | [diff] [blame] | 214 | interrupts = <0 17 0>, <0 16 0>; |
Thomas Abraham | 6a0338c | 2013-03-09 17:19:17 +0900 | [diff] [blame] | 215 | clocks = <&clock 21>; |
| 216 | clock-names = "rtc"; |
Doug Anderson | 522ccdb | 2013-04-09 03:26:32 +0900 | [diff] [blame] | 217 | status = "disabled"; |
Kukjin Kim | 1355bbc | 2012-10-24 13:41:15 +0900 | [diff] [blame] | 218 | }; |
| 219 | }; |