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 | |
| 19 | gic:interrupt-controller@2E0000 { |
| 20 | compatible = "arm,cortex-a15-gic"; |
| 21 | #interrupt-cells = <3>; |
| 22 | interrupt-controller; |
| 23 | reg = <0x2E1000 0x1000>, <0x2E2000 0x1000>; |
| 24 | }; |
| 25 | |
| 26 | cpus { |
| 27 | cpu@0 { |
| 28 | compatible = "arm,cortex-a15"; |
| 29 | timer { |
| 30 | compatible = "arm,armv7-timer"; |
| 31 | interrupts = <1 13 0xf08>; |
| 32 | clock-frequency = <1000000>; |
| 33 | }; |
| 34 | }; |
| 35 | cpu@1 { |
| 36 | compatible = "arm,cortex-a15"; |
| 37 | timer { |
| 38 | compatible = "arm,armv7-timer"; |
| 39 | interrupts = <1 14 0xf08>; |
| 40 | clock-frequency = <1000000>; |
| 41 | }; |
| 42 | }; |
| 43 | cpu@2 { |
| 44 | compatible = "arm,cortex-a15"; |
| 45 | timer { |
| 46 | compatible = "arm,armv7-timer"; |
| 47 | interrupts = <1 14 0xf08>; |
| 48 | clock-frequency = <1000000>; |
| 49 | }; |
| 50 | }; |
| 51 | cpu@3 { |
| 52 | compatible = "arm,cortex-a15"; |
| 53 | timer { |
| 54 | compatible = "arm,armv7-timer"; |
| 55 | interrupts = <1 14 0xf08>; |
| 56 | clock-frequency = <1000000>; |
| 57 | }; |
| 58 | }; |
| 59 | }; |
| 60 | |
| 61 | common { |
| 62 | compatible = "samsung,exynos5440"; |
| 63 | |
| 64 | }; |
| 65 | |
| 66 | serial@B0000 { |
| 67 | compatible = "samsung,exynos4210-uart"; |
| 68 | reg = <0xB0000 0x1000>; |
| 69 | interrupts = <0 2 0>; |
| 70 | }; |
| 71 | |
| 72 | serial@C0000 { |
| 73 | compatible = "samsung,exynos4210-uart"; |
| 74 | reg = <0xC0000 0x1000>; |
| 75 | interrupts = <0 3 0>; |
| 76 | }; |
| 77 | |
| 78 | spi { |
| 79 | compatible = "samsung,exynos4210-spi"; |
| 80 | reg = <0xD0000 0x1000>; |
| 81 | interrupts = <0 4 0>; |
| 82 | tx-dma-channel = <&pdma0 5>; /* preliminary */ |
| 83 | rx-dma-channel = <&pdma0 4>; /* preliminary */ |
| 84 | #address-cells = <1>; |
| 85 | #size-cells = <0>; |
| 86 | }; |
| 87 | |
| 88 | pinctrl { |
Thomas Abraham | f692543 | 2012-12-27 13:25:02 -0800 | [diff] [blame] | 89 | compatible = "samsung,exynos5440-pinctrl"; |
Kukjin Kim | 1355bbc | 2012-10-24 13:41:15 +0900 | [diff] [blame] | 90 | reg = <0xE0000 0x1000>; |
| 91 | interrupt-controller; |
| 92 | #interrupt-cells = <2>; |
Thomas Abraham | b1ce101 | 2012-10-24 17:18:52 +0900 | [diff] [blame] | 93 | #gpio-cells = <2>; |
| 94 | |
| 95 | fan: fan { |
| 96 | samsung,exynos5440-pin-function = <1>; |
| 97 | }; |
| 98 | |
| 99 | hdd_led0: hdd_led0 { |
| 100 | samsung,exynos5440-pin-function = <2>; |
| 101 | }; |
| 102 | |
| 103 | hdd_led1: hdd_led1 { |
| 104 | samsung,exynos5440-pin-function = <3>; |
| 105 | }; |
| 106 | |
| 107 | uart1: uart1 { |
| 108 | samsung,exynos5440-pin-function = <4>; |
| 109 | }; |
Kukjin Kim | 1355bbc | 2012-10-24 13:41:15 +0900 | [diff] [blame] | 110 | }; |
| 111 | |
| 112 | i2c@F0000 { |
| 113 | compatible = "samsung,s3c2440-i2c"; |
| 114 | reg = <0xF0000 0x1000>; |
| 115 | interrupts = <0 5 0>; |
| 116 | #address-cells = <1>; |
| 117 | #size-cells = <0>; |
| 118 | }; |
| 119 | |
| 120 | i2c@100000 { |
| 121 | compatible = "samsung,s3c2440-i2c"; |
| 122 | reg = <0x100000 0x1000>; |
| 123 | interrupts = <0 6 0>; |
| 124 | #address-cells = <1>; |
| 125 | #size-cells = <0>; |
| 126 | }; |
| 127 | |
| 128 | watchdog { |
| 129 | compatible = "samsung,s3c2410-wdt"; |
| 130 | reg = <0x110000 0x1000>; |
| 131 | interrupts = <0 1 0>; |
| 132 | }; |
| 133 | |
| 134 | amba { |
| 135 | #address-cells = <1>; |
| 136 | #size-cells = <1>; |
| 137 | compatible = "arm,amba-bus"; |
| 138 | interrupt-parent = <&gic>; |
| 139 | ranges; |
| 140 | |
| 141 | pdma0: pdma@121A0000 { |
| 142 | compatible = "arm,pl330", "arm,primecell"; |
| 143 | reg = <0x120000 0x1000>; |
| 144 | interrupts = <0 34 0>; |
Padmavathi Venna | 0a96d4d | 2013-03-07 10:33:07 +0900 | [diff] [blame] | 145 | #dma-cells = <1>; |
| 146 | #dma-channels = <8>; |
| 147 | #dma-requests = <32>; |
Kukjin Kim | 1355bbc | 2012-10-24 13:41:15 +0900 | [diff] [blame] | 148 | }; |
| 149 | |
| 150 | pdma1: pdma@121B0000 { |
| 151 | compatible = "arm,pl330", "arm,primecell"; |
| 152 | reg = <0x121000 0x1000>; |
| 153 | interrupts = <0 35 0>; |
Padmavathi Venna | 0a96d4d | 2013-03-07 10:33:07 +0900 | [diff] [blame] | 154 | #dma-cells = <1>; |
| 155 | #dma-channels = <8>; |
| 156 | #dma-requests = <32>; |
Kukjin Kim | 1355bbc | 2012-10-24 13:41:15 +0900 | [diff] [blame] | 157 | }; |
| 158 | }; |
| 159 | |
| 160 | rtc { |
| 161 | compatible = "samsung,s3c6410-rtc"; |
| 162 | reg = <0x130000 0x1000>; |
Giridhar Maruthy | e877a5a | 2012-12-27 18:02:58 -0800 | [diff] [blame] | 163 | interrupts = <0 17 0>, <0 16 0>; |
Kukjin Kim | 1355bbc | 2012-10-24 13:41:15 +0900 | [diff] [blame] | 164 | }; |
| 165 | }; |