Viresh Kumar | 07658d9 | 2012-04-16 23:57:51 +0530 | [diff] [blame] | 1 | /* |
| 2 | * DTS file for SPEAr1310 Evaluation Baord |
| 3 | * |
Viresh Kumar | 10d8935 | 2012-06-20 12:53:02 -0700 | [diff] [blame] | 4 | * Copyright 2012 Viresh Kumar <viresh.linux@gmail.com> |
Viresh Kumar | 07658d9 | 2012-04-16 23:57:51 +0530 | [diff] [blame] | 5 | * |
| 6 | * The code contained herein is licensed under the GNU General Public |
| 7 | * License. You may obtain a copy of the GNU General Public License |
| 8 | * Version 2 or later at the following locations: |
| 9 | * |
| 10 | * http://www.opensource.org/licenses/gpl-license.html |
| 11 | * http://www.gnu.org/copyleft/gpl.html |
| 12 | */ |
| 13 | |
| 14 | /dts-v1/; |
| 15 | /include/ "spear1310.dtsi" |
| 16 | |
| 17 | / { |
| 18 | model = "ST SPEAr1310 Evaluation Board"; |
| 19 | compatible = "st,spear1310-evb", "st,spear1310"; |
| 20 | #address-cells = <1>; |
| 21 | #size-cells = <1>; |
| 22 | |
| 23 | memory { |
| 24 | reg = <0 0x40000000>; |
| 25 | }; |
| 26 | |
| 27 | ahb { |
| 28 | pinmux@e0700000 { |
| 29 | pinctrl-names = "default"; |
| 30 | pinctrl-0 = <&state_default>; |
| 31 | |
| 32 | state_default: pinmux { |
| 33 | i2c0-pmx { |
| 34 | st,pins = "i2c0_grp"; |
| 35 | st,function = "i2c0"; |
| 36 | }; |
| 37 | i2s1 { |
| 38 | st,pins = "i2s1_grp"; |
| 39 | st,function = "i2s1"; |
| 40 | }; |
| 41 | gpio { |
| 42 | st,pins = "arm_gpio_grp"; |
| 43 | st,function = "arm_gpio"; |
| 44 | }; |
| 45 | eth { |
| 46 | st,pins = "gmii_grp"; |
| 47 | st,function = "gmii"; |
| 48 | }; |
| 49 | ssp0 { |
| 50 | st,pins = "ssp0_grp"; |
| 51 | st,function = "ssp0"; |
| 52 | }; |
| 53 | kbd { |
| 54 | st,pins = "keyboard_6x6_grp"; |
| 55 | st,function = "keyboard"; |
| 56 | }; |
| 57 | sdhci { |
| 58 | st,pins = "sdhci_grp"; |
| 59 | st,function = "sdhci"; |
| 60 | }; |
| 61 | smi-pmx { |
| 62 | st,pins = "smi_2_chips_grp"; |
| 63 | st,function = "smi"; |
| 64 | }; |
| 65 | uart0 { |
| 66 | st,pins = "uart0_grp"; |
| 67 | st,function = "uart0"; |
| 68 | }; |
| 69 | rs485 { |
| 70 | st,pins = "rs485_0_1_tdm_0_1_grp"; |
| 71 | st,function = "rs485_0_1_tdm_0_1"; |
| 72 | }; |
| 73 | i2c1_2 { |
| 74 | st,pins = "i2c_1_2_grp"; |
| 75 | st,function = "i2c_1_2"; |
| 76 | }; |
| 77 | pci { |
| 78 | st,pins = "pcie0_grp","pcie1_grp", |
| 79 | "pcie2_grp"; |
| 80 | st,function = "pci"; |
| 81 | }; |
| 82 | smii { |
| 83 | st,pins = "smii_0_1_2_grp"; |
| 84 | st,function = "smii_0_1_2"; |
| 85 | }; |
| 86 | nand { |
| 87 | st,pins = "nand_8bit_grp", |
| 88 | "nand_16bit_grp"; |
| 89 | st,function = "nand"; |
| 90 | }; |
| 91 | }; |
| 92 | }; |
| 93 | |
| 94 | ahci@b1000000 { |
| 95 | status = "okay"; |
| 96 | }; |
| 97 | |
| 98 | cf@b2800000 { |
| 99 | status = "okay"; |
| 100 | }; |
| 101 | |
| 102 | dma@ea800000 { |
| 103 | status = "okay"; |
| 104 | }; |
| 105 | |
| 106 | dma@eb000000 { |
| 107 | status = "okay"; |
| 108 | }; |
| 109 | |
| 110 | fsmc: flash@b0000000 { |
| 111 | status = "okay"; |
| 112 | }; |
| 113 | |
| 114 | gmac0: eth@e2000000 { |
| 115 | status = "okay"; |
| 116 | }; |
| 117 | |
| 118 | sdhci@b3000000 { |
| 119 | status = "okay"; |
| 120 | }; |
| 121 | |
| 122 | smi: flash@ea000000 { |
| 123 | status = "okay"; |
| 124 | clock-rate=<50000000>; |
| 125 | |
| 126 | flash@e6000000 { |
| 127 | #address-cells = <1>; |
| 128 | #size-cells = <1>; |
| 129 | reg = <0xe6000000 0x800000>; |
| 130 | st,smi-fast-mode; |
| 131 | |
| 132 | partition@0 { |
| 133 | label = "xloader"; |
| 134 | reg = <0x0 0x10000>; |
| 135 | }; |
| 136 | partition@10000 { |
| 137 | label = "u-boot"; |
| 138 | reg = <0x10000 0x40000>; |
| 139 | }; |
| 140 | partition@50000 { |
| 141 | label = "linux"; |
| 142 | reg = <0x50000 0x2c0000>; |
| 143 | }; |
| 144 | partition@310000 { |
| 145 | label = "rootfs"; |
| 146 | reg = <0x310000 0x4f0000>; |
| 147 | }; |
| 148 | }; |
| 149 | }; |
| 150 | |
| 151 | spi0: spi@e0100000 { |
| 152 | status = "okay"; |
| 153 | }; |
| 154 | |
| 155 | ehci@e4800000 { |
| 156 | status = "okay"; |
| 157 | }; |
| 158 | |
| 159 | ehci@e5800000 { |
| 160 | status = "okay"; |
| 161 | }; |
| 162 | |
| 163 | ohci@e4000000 { |
| 164 | status = "okay"; |
| 165 | }; |
| 166 | |
| 167 | ohci@e5000000 { |
| 168 | status = "okay"; |
| 169 | }; |
| 170 | |
| 171 | apb { |
| 172 | adc@e0080000 { |
| 173 | status = "okay"; |
| 174 | }; |
| 175 | |
| 176 | gpio0: gpio@e0600000 { |
| 177 | status = "okay"; |
| 178 | }; |
| 179 | |
| 180 | gpio1: gpio@e0680000 { |
| 181 | status = "okay"; |
| 182 | }; |
| 183 | |
Viresh Kumar | 4ddb1c2 | 2012-10-27 15:21:39 +0530 | [diff] [blame] | 184 | gpio@d8400000 { |
| 185 | status = "okay"; |
| 186 | }; |
| 187 | |
Viresh Kumar | 07658d9 | 2012-04-16 23:57:51 +0530 | [diff] [blame] | 188 | i2c0: i2c@e0280000 { |
| 189 | status = "okay"; |
| 190 | }; |
| 191 | |
| 192 | i2c1: i2c@5cd00000 { |
| 193 | status = "okay"; |
| 194 | }; |
| 195 | |
| 196 | kbd@e0300000 { |
| 197 | linux,keymap = < 0x00000001 |
| 198 | 0x00010002 |
| 199 | 0x00020003 |
| 200 | 0x00030004 |
| 201 | 0x00040005 |
| 202 | 0x00050006 |
| 203 | 0x00060007 |
| 204 | 0x00070008 |
| 205 | 0x00080009 |
| 206 | 0x0100000a |
| 207 | 0x0101000c |
| 208 | 0x0102000d |
| 209 | 0x0103000e |
| 210 | 0x0104000f |
| 211 | 0x01050010 |
| 212 | 0x01060011 |
| 213 | 0x01070012 |
| 214 | 0x01080013 |
| 215 | 0x02000014 |
| 216 | 0x02010015 |
| 217 | 0x02020016 |
| 218 | 0x02030017 |
| 219 | 0x02040018 |
| 220 | 0x02050019 |
| 221 | 0x0206001a |
| 222 | 0x0207001b |
| 223 | 0x0208001c |
| 224 | 0x0300001d |
| 225 | 0x0301001e |
| 226 | 0x0302001f |
| 227 | 0x03030020 |
| 228 | 0x03040021 |
| 229 | 0x03050022 |
| 230 | 0x03060023 |
| 231 | 0x03070024 |
| 232 | 0x03080025 |
| 233 | 0x04000026 |
| 234 | 0x04010027 |
| 235 | 0x04020028 |
| 236 | 0x04030029 |
| 237 | 0x0404002a |
| 238 | 0x0405002b |
| 239 | 0x0406002c |
| 240 | 0x0407002d |
| 241 | 0x0408002e |
| 242 | 0x0500002f |
| 243 | 0x05010030 |
| 244 | 0x05020031 |
| 245 | 0x05030032 |
| 246 | 0x05040033 |
| 247 | 0x05050034 |
| 248 | 0x05060035 |
| 249 | 0x05070036 |
| 250 | 0x05080037 |
| 251 | 0x06000038 |
| 252 | 0x06010039 |
| 253 | 0x0602003a |
| 254 | 0x0603003b |
| 255 | 0x0604003c |
| 256 | 0x0605003d |
| 257 | 0x0606003e |
| 258 | 0x0607003f |
| 259 | 0x06080040 |
| 260 | 0x07000041 |
| 261 | 0x07010042 |
| 262 | 0x07020043 |
| 263 | 0x07030044 |
| 264 | 0x07040045 |
| 265 | 0x07050046 |
| 266 | 0x07060047 |
| 267 | 0x07070048 |
| 268 | 0x07080049 |
| 269 | 0x0800004a |
| 270 | 0x0801004b |
| 271 | 0x0802004c |
| 272 | 0x0803004d |
| 273 | 0x0804004e |
| 274 | 0x0805004f |
| 275 | 0x08060050 |
| 276 | 0x08070051 |
| 277 | 0x08080052 >; |
| 278 | autorepeat; |
| 279 | st,mode = <0>; |
| 280 | status = "okay"; |
| 281 | }; |
| 282 | |
| 283 | rtc@e0580000 { |
| 284 | status = "okay"; |
| 285 | }; |
| 286 | |
| 287 | serial@e0000000 { |
| 288 | status = "okay"; |
| 289 | }; |
| 290 | |
| 291 | wdt@ec800620 { |
| 292 | status = "okay"; |
| 293 | }; |
| 294 | }; |
| 295 | }; |
| 296 | }; |