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 { |
Vipul Kumar Samar | 7db083e | 2012-07-05 11:51:47 +0800 | [diff] [blame] | 79 | st,pins = "pwm0_1_pin_37_38_grp"; |
Viresh Kumar | e037360 | 2012-03-29 08:30:19 +0530 | [diff] [blame] | 80 | st,function = "pwm0_1"; |
| 81 | }; |
Viresh Kumar | e037360 | 2012-03-29 08:30:19 +0530 | [diff] [blame] | 82 | }; |
| 83 | }; |
| 84 | |
Viresh Kumar | 0b7ee71 | 2012-03-26 10:29:23 +0530 | [diff] [blame] | 85 | dma@fc400000 { |
| 86 | status = "okay"; |
| 87 | }; |
| 88 | |
Viresh Kumar | c5fa4fd | 2012-03-23 00:17:43 +0530 | [diff] [blame] | 89 | fsmc: flash@4c000000 { |
| 90 | status = "okay"; |
| 91 | }; |
| 92 | |
| 93 | gmac: eth@e0800000 { |
| 94 | status = "okay"; |
| 95 | }; |
| 96 | |
| 97 | sdhci@70000000 { |
Vipul Kumar Samar | f631b984 | 2012-07-05 11:51:47 +0800 | [diff] [blame] | 98 | power-gpio = <&gpiopinctrl 61 1>; |
Viresh Kumar | c5fa4fd | 2012-03-23 00:17:43 +0530 | [diff] [blame] | 99 | status = "okay"; |
| 100 | }; |
| 101 | |
| 102 | smi: flash@fc000000 { |
| 103 | status = "okay"; |
Viresh Kumar | 30a0d03 | 2012-05-01 18:09:22 +0530 | [diff] [blame] | 104 | clock-rate=<50000000>; |
| 105 | |
| 106 | flash@f8000000 { |
| 107 | #address-cells = <1>; |
| 108 | #size-cells = <1>; |
| 109 | reg = <0xf8000000 0x800000>; |
| 110 | st,smi-fast-mode; |
| 111 | |
| 112 | partition@0 { |
| 113 | label = "xloader"; |
| 114 | reg = <0x0 0x10000>; |
| 115 | }; |
| 116 | partition@10000 { |
| 117 | label = "u-boot"; |
Vipin Kumar | 482a8f3 | 2012-07-05 11:51:47 +0800 | [diff] [blame] | 118 | reg = <0x10000 0x50000>; |
Viresh Kumar | 30a0d03 | 2012-05-01 18:09:22 +0530 | [diff] [blame] | 119 | }; |
Vipin Kumar | 482a8f3 | 2012-07-05 11:51:47 +0800 | [diff] [blame] | 120 | partition@60000 { |
| 121 | label = "environment"; |
| 122 | reg = <0x60000 0x10000>; |
| 123 | }; |
| 124 | partition@70000 { |
| 125 | label = "dtb"; |
| 126 | reg = <0x70000 0x10000>; |
| 127 | }; |
| 128 | partition@80000 { |
Viresh Kumar | 30a0d03 | 2012-05-01 18:09:22 +0530 | [diff] [blame] | 129 | label = "linux"; |
Vipin Kumar | 482a8f3 | 2012-07-05 11:51:47 +0800 | [diff] [blame] | 130 | reg = <0x80000 0x310000>; |
Viresh Kumar | 30a0d03 | 2012-05-01 18:09:22 +0530 | [diff] [blame] | 131 | }; |
Vipin Kumar | 482a8f3 | 2012-07-05 11:51:47 +0800 | [diff] [blame] | 132 | partition@390000 { |
Viresh Kumar | 30a0d03 | 2012-05-01 18:09:22 +0530 | [diff] [blame] | 133 | label = "rootfs"; |
Vipin Kumar | 482a8f3 | 2012-07-05 11:51:47 +0800 | [diff] [blame] | 134 | reg = <0x390000 0x0>; |
Viresh Kumar | 30a0d03 | 2012-05-01 18:09:22 +0530 | [diff] [blame] | 135 | }; |
| 136 | }; |
Viresh Kumar | c5fa4fd | 2012-03-23 00:17:43 +0530 | [diff] [blame] | 137 | }; |
| 138 | |
| 139 | spi0: spi@d0100000 { |
| 140 | status = "okay"; |
| 141 | }; |
| 142 | |
| 143 | spi1: spi@a5000000 { |
| 144 | status = "okay"; |
| 145 | }; |
| 146 | |
| 147 | spi2: spi@a6000000 { |
| 148 | status = "okay"; |
| 149 | }; |
| 150 | |
| 151 | ehci@e1800000 { |
| 152 | status = "okay"; |
| 153 | }; |
| 154 | |
| 155 | ohci@e1900000 { |
| 156 | status = "okay"; |
| 157 | }; |
| 158 | |
| 159 | ohci@e2100000 { |
| 160 | status = "okay"; |
| 161 | }; |
| 162 | |
| 163 | apb { |
| 164 | gpio0: gpio@fc980000 { |
| 165 | status = "okay"; |
| 166 | }; |
| 167 | |
Viresh Kumar | 4ddb1c2 | 2012-10-27 15:21:39 +0530 | [diff] [blame] | 168 | gpio@b3000000 { |
| 169 | status = "okay"; |
| 170 | }; |
| 171 | |
Viresh Kumar | c5fa4fd | 2012-03-23 00:17:43 +0530 | [diff] [blame] | 172 | i2c0: i2c@d0180000 { |
| 173 | status = "okay"; |
| 174 | }; |
| 175 | |
| 176 | i2c1: i2c@a7000000 { |
| 177 | status = "okay"; |
| 178 | }; |
| 179 | |
| 180 | rtc@fc900000 { |
| 181 | status = "okay"; |
| 182 | }; |
| 183 | |
| 184 | serial@d0000000 { |
| 185 | status = "okay"; |
Vipul Kumar Samar | 7bceba8 | 2012-08-30 09:32:24 +0530 | [diff] [blame] | 186 | pinctrl-names = "default"; |
| 187 | pinctrl-0 = <>; |
Viresh Kumar | c5fa4fd | 2012-03-23 00:17:43 +0530 | [diff] [blame] | 188 | }; |
| 189 | |
| 190 | serial@a3000000 { |
| 191 | status = "okay"; |
Vipul Kumar Samar | 7bceba8 | 2012-08-30 09:32:24 +0530 | [diff] [blame] | 192 | pinctrl-names = "default"; |
| 193 | pinctrl-0 = <>; |
Viresh Kumar | c5fa4fd | 2012-03-23 00:17:43 +0530 | [diff] [blame] | 194 | }; |
| 195 | |
| 196 | serial@a4000000 { |
| 197 | status = "okay"; |
Vipul Kumar Samar | 7bceba8 | 2012-08-30 09:32:24 +0530 | [diff] [blame] | 198 | pinctrl-names = "default"; |
| 199 | pinctrl-0 = <>; |
Viresh Kumar | c5fa4fd | 2012-03-23 00:17:43 +0530 | [diff] [blame] | 200 | }; |
| 201 | |
| 202 | wdt@fc880000 { |
| 203 | status = "okay"; |
| 204 | }; |
| 205 | }; |
| 206 | }; |
| 207 | }; |