Viresh Kumar | c5fa4fd | 2012-03-23 00:17:43 +0530 | [diff] [blame] | 1 | /* |
| 2 | * DTS file for SPEAr320 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 | c5fa4fd | 2012-03-23 00:17:43 +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/ "spear320.dtsi" |
| 16 | |
| 17 | / { |
Vipul Kumar Samar | 45a5e11 | 2012-07-13 17:20:46 +0530 | [diff] [blame] | 18 | model = "ST SPEAr320 Evaluation Board"; |
| 19 | compatible = "st,spear320-evb", "st,spear320"; |
Viresh Kumar | c5fa4fd | 2012-03-23 00:17:43 +0530 | [diff] [blame] | 20 | #address-cells = <1>; |
| 21 | #size-cells = <1>; |
| 22 | |
| 23 | memory { |
| 24 | reg = <0 0x40000000>; |
| 25 | }; |
| 26 | |
| 27 | ahb { |
Viresh Kumar | e037360 | 2012-03-29 08:30:19 +0530 | [diff] [blame] | 28 | pinmux@b3000000 { |
Vipul Kumar Samar | 69da52f | 2012-07-13 17:22:11 +0530 | [diff] [blame] | 29 | st,pinmux-mode = <4>; |
Viresh Kumar | e037360 | 2012-03-29 08:30:19 +0530 | [diff] [blame] | 30 | pinctrl-names = "default"; |
| 31 | pinctrl-0 = <&state_default>; |
| 32 | |
| 33 | state_default: pinmux { |
| 34 | i2c0 { |
| 35 | st,pins = "i2c0_grp"; |
| 36 | st,function = "i2c0"; |
| 37 | }; |
| 38 | mii0 { |
| 39 | st,pins = "mii0_grp"; |
| 40 | st,function = "mii0"; |
| 41 | }; |
| 42 | ssp0 { |
| 43 | st,pins = "ssp0_grp"; |
| 44 | st,function = "ssp0"; |
| 45 | }; |
| 46 | uart0 { |
| 47 | st,pins = "uart0_grp"; |
| 48 | st,function = "uart0"; |
| 49 | }; |
| 50 | sdhci { |
| 51 | st,pins = "sdhci_cd_51_grp"; |
| 52 | st,function = "sdhci"; |
| 53 | }; |
| 54 | i2s { |
| 55 | st,pins = "i2s_grp"; |
| 56 | st,function = "i2s"; |
| 57 | }; |
| 58 | uart1 { |
| 59 | st,pins = "uart1_grp"; |
| 60 | st,function = "uart1"; |
| 61 | }; |
| 62 | uart2 { |
| 63 | st,pins = "uart2_grp"; |
| 64 | st,function = "uart2"; |
| 65 | }; |
| 66 | can0 { |
| 67 | st,pins = "can0_grp"; |
| 68 | st,function = "can0"; |
| 69 | }; |
| 70 | can1 { |
| 71 | st,pins = "can1_grp"; |
| 72 | st,function = "can1"; |
| 73 | }; |
| 74 | mii2 { |
| 75 | st,pins = "mii2_grp"; |
| 76 | st,function = "mii2"; |
| 77 | }; |
| 78 | pwm0_1 { |
| 79 | st,pins = "pwm0_1_pin_14_15_grp"; |
| 80 | st,function = "pwm0_1"; |
| 81 | }; |
| 82 | pwm2 { |
| 83 | st,pins = "pwm2_pin_13_grp"; |
| 84 | st,function = "pwm2"; |
| 85 | }; |
| 86 | }; |
| 87 | }; |
| 88 | |
Viresh Kumar | c5fa4fd | 2012-03-23 00:17:43 +0530 | [diff] [blame] | 89 | clcd@90000000 { |
| 90 | status = "okay"; |
| 91 | }; |
| 92 | |
Viresh Kumar | 0b7ee71 | 2012-03-26 10:29:23 +0530 | [diff] [blame] | 93 | dma@fc400000 { |
| 94 | status = "okay"; |
| 95 | }; |
| 96 | |
Viresh Kumar | c5fa4fd | 2012-03-23 00:17:43 +0530 | [diff] [blame] | 97 | fsmc: flash@4c000000 { |
| 98 | status = "okay"; |
| 99 | }; |
| 100 | |
| 101 | gmac: eth@e0800000 { |
| 102 | status = "okay"; |
| 103 | }; |
| 104 | |
| 105 | sdhci@70000000 { |
Viresh Kumar | c5fa4fd | 2012-03-23 00:17:43 +0530 | [diff] [blame] | 106 | status = "okay"; |
| 107 | }; |
| 108 | |
| 109 | smi: flash@fc000000 { |
| 110 | status = "okay"; |
Viresh Kumar | 30a0d03 | 2012-05-01 18:09:22 +0530 | [diff] [blame] | 111 | clock-rate=<50000000>; |
| 112 | |
| 113 | flash@f8000000 { |
| 114 | #address-cells = <1>; |
| 115 | #size-cells = <1>; |
| 116 | reg = <0xf8000000 0x800000>; |
| 117 | st,smi-fast-mode; |
| 118 | |
| 119 | partition@0 { |
| 120 | label = "xloader"; |
| 121 | reg = <0x0 0x10000>; |
| 122 | }; |
| 123 | partition@10000 { |
| 124 | label = "u-boot"; |
| 125 | reg = <0x10000 0x40000>; |
| 126 | }; |
| 127 | partition@50000 { |
| 128 | label = "linux"; |
| 129 | reg = <0x50000 0x2c0000>; |
| 130 | }; |
| 131 | partition@310000 { |
| 132 | label = "rootfs"; |
| 133 | reg = <0x310000 0x4f0000>; |
| 134 | }; |
| 135 | }; |
Viresh Kumar | c5fa4fd | 2012-03-23 00:17:43 +0530 | [diff] [blame] | 136 | }; |
| 137 | |
| 138 | spi0: spi@d0100000 { |
| 139 | status = "okay"; |
| 140 | }; |
| 141 | |
| 142 | spi1: spi@a5000000 { |
| 143 | status = "okay"; |
| 144 | }; |
| 145 | |
| 146 | spi2: spi@a6000000 { |
| 147 | status = "okay"; |
| 148 | }; |
| 149 | |
| 150 | ehci@e1800000 { |
| 151 | status = "okay"; |
| 152 | }; |
| 153 | |
| 154 | ohci@e1900000 { |
| 155 | status = "okay"; |
| 156 | }; |
| 157 | |
| 158 | ohci@e2100000 { |
| 159 | status = "okay"; |
| 160 | }; |
| 161 | |
| 162 | apb { |
| 163 | gpio0: gpio@fc980000 { |
| 164 | status = "okay"; |
| 165 | }; |
| 166 | |
Viresh Kumar | 4ddb1c2 | 2012-10-27 15:21:39 +0530 | [diff] [blame] | 167 | gpio@b3000000 { |
| 168 | status = "okay"; |
| 169 | }; |
| 170 | |
Viresh Kumar | c5fa4fd | 2012-03-23 00:17:43 +0530 | [diff] [blame] | 171 | i2c0: i2c@d0180000 { |
| 172 | status = "okay"; |
| 173 | }; |
| 174 | |
| 175 | i2c1: i2c@a7000000 { |
| 176 | status = "okay"; |
| 177 | }; |
| 178 | |
| 179 | rtc@fc900000 { |
| 180 | status = "okay"; |
| 181 | }; |
| 182 | |
| 183 | serial@d0000000 { |
| 184 | status = "okay"; |
| 185 | }; |
| 186 | |
| 187 | serial@a3000000 { |
| 188 | status = "okay"; |
| 189 | }; |
| 190 | |
| 191 | serial@a4000000 { |
| 192 | status = "okay"; |
| 193 | }; |
| 194 | |
| 195 | wdt@fc880000 { |
| 196 | status = "okay"; |
| 197 | }; |
| 198 | }; |
| 199 | }; |
| 200 | }; |