Viresh Kumar | c5fa4fd | 2012-03-23 00:17:43 +0530 | [diff] [blame] | 1 | /* |
| 2 | * DTS file for SPEAr310 Evaluation Baord |
| 3 | * |
Viresh Kumar | da89947 | 2015-07-17 16:23:50 -0700 | [diff] [blame] | 4 | * Copyright 2012 Viresh Kumar <vireshk@kernel.org> |
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/ "spear310.dtsi" |
| 16 | |
| 17 | / { |
| 18 | model = "ST SPEAr310 Evaluation Board"; |
| 19 | compatible = "st,spear310-evb", "st,spear310"; |
| 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@b4000000 { |
| 29 | pinctrl-names = "default"; |
| 30 | pinctrl-0 = <&state_default>; |
| 31 | |
| 32 | state_default: pinmux { |
| 33 | gpio0 { |
| 34 | st,pins = "gpio0_pin0_grp", |
| 35 | "gpio0_pin1_grp", |
| 36 | "gpio0_pin2_grp", |
| 37 | "gpio0_pin3_grp", |
| 38 | "gpio0_pin4_grp", |
| 39 | "gpio0_pin5_grp"; |
| 40 | st,function = "gpio0"; |
| 41 | }; |
| 42 | i2c0 { |
| 43 | st,pins = "i2c0_grp"; |
| 44 | st,function = "i2c0"; |
| 45 | }; |
| 46 | mii0 { |
| 47 | st,pins = "mii0_grp"; |
| 48 | st,function = "mii0"; |
| 49 | }; |
| 50 | ssp0 { |
| 51 | st,pins = "ssp0_grp"; |
| 52 | st,function = "ssp0"; |
| 53 | }; |
| 54 | uart0 { |
| 55 | st,pins = "uart0_grp"; |
| 56 | st,function = "uart0"; |
| 57 | }; |
| 58 | emi { |
| 59 | st,pins = "emi_cs_0_to_5_grp"; |
| 60 | st,function = "emi"; |
| 61 | }; |
| 62 | fsmc { |
| 63 | st,pins = "fsmc_grp"; |
| 64 | st,function = "fsmc"; |
| 65 | }; |
| 66 | uart1 { |
| 67 | st,pins = "uart1_grp"; |
| 68 | st,function = "uart1"; |
| 69 | }; |
| 70 | uart2 { |
| 71 | st,pins = "uart2_grp"; |
| 72 | st,function = "uart2"; |
| 73 | }; |
| 74 | uart3 { |
| 75 | st,pins = "uart3_grp"; |
| 76 | st,function = "uart3"; |
| 77 | }; |
| 78 | uart4 { |
| 79 | st,pins = "uart4_grp"; |
| 80 | st,function = "uart4"; |
| 81 | }; |
| 82 | uart5 { |
| 83 | st,pins = "uart5_grp"; |
| 84 | st,function = "uart5"; |
| 85 | }; |
| 86 | }; |
| 87 | }; |
| 88 | |
Viresh Kumar | 0b7ee71 | 2012-03-26 10:29:23 +0530 | [diff] [blame] | 89 | dma@fc400000 { |
| 90 | status = "okay"; |
| 91 | }; |
| 92 | |
Viresh Kumar | c5fa4fd | 2012-03-23 00:17:43 +0530 | [diff] [blame] | 93 | fsmc: flash@44000000 { |
| 94 | status = "okay"; |
| 95 | }; |
| 96 | |
| 97 | gmac: eth@e0800000 { |
| 98 | status = "okay"; |
| 99 | }; |
| 100 | |
| 101 | smi: flash@fc000000 { |
| 102 | status = "okay"; |
| 103 | clock-rate=<50000000>; |
| 104 | |
| 105 | flash@f8000000 { |
Viresh Kumar | c5fa4fd | 2012-03-23 00:17:43 +0530 | [diff] [blame] | 106 | #address-cells = <1>; |
| 107 | #size-cells = <1>; |
Viresh Kumar | 30a0d03 | 2012-05-01 18:09:22 +0530 | [diff] [blame] | 108 | reg = <0xf8000000 0x800000>; |
Viresh Kumar | c5fa4fd | 2012-03-23 00:17:43 +0530 | [diff] [blame] | 109 | st,smi-fast-mode; |
Viresh Kumar | 30a0d03 | 2012-05-01 18:09:22 +0530 | [diff] [blame] | 110 | |
| 111 | partition@0 { |
| 112 | label = "xloader"; |
| 113 | reg = <0x0 0x10000>; |
| 114 | }; |
| 115 | partition@10000 { |
| 116 | label = "u-boot"; |
Vipin Kumar | 482a8f3 | 2012-07-05 11:51:47 +0800 | [diff] [blame] | 117 | reg = <0x10000 0x50000>; |
Viresh Kumar | 30a0d03 | 2012-05-01 18:09:22 +0530 | [diff] [blame] | 118 | }; |
Vipin Kumar | 482a8f3 | 2012-07-05 11:51:47 +0800 | [diff] [blame] | 119 | partition@60000 { |
| 120 | label = "environment"; |
| 121 | reg = <0x60000 0x10000>; |
| 122 | }; |
| 123 | partition@70000 { |
| 124 | label = "dtb"; |
| 125 | reg = <0x70000 0x10000>; |
| 126 | }; |
| 127 | partition@80000 { |
Viresh Kumar | 30a0d03 | 2012-05-01 18:09:22 +0530 | [diff] [blame] | 128 | label = "linux"; |
Vipin Kumar | 482a8f3 | 2012-07-05 11:51:47 +0800 | [diff] [blame] | 129 | reg = <0x80000 0x310000>; |
Viresh Kumar | 30a0d03 | 2012-05-01 18:09:22 +0530 | [diff] [blame] | 130 | }; |
Vipin Kumar | 482a8f3 | 2012-07-05 11:51:47 +0800 | [diff] [blame] | 131 | partition@390000 { |
Viresh Kumar | 30a0d03 | 2012-05-01 18:09:22 +0530 | [diff] [blame] | 132 | label = "rootfs"; |
Vipin Kumar | 482a8f3 | 2012-07-05 11:51:47 +0800 | [diff] [blame] | 133 | reg = <0x390000 0x0>; |
Viresh Kumar | 30a0d03 | 2012-05-01 18:09:22 +0530 | [diff] [blame] | 134 | }; |
Viresh Kumar | c5fa4fd | 2012-03-23 00:17:43 +0530 | [diff] [blame] | 135 | }; |
| 136 | }; |
| 137 | |
| 138 | spi0: spi@d0100000 { |
| 139 | status = "okay"; |
| 140 | }; |
| 141 | |
| 142 | ehci@e1800000 { |
| 143 | status = "okay"; |
| 144 | }; |
| 145 | |
| 146 | ohci@e1900000 { |
| 147 | status = "okay"; |
| 148 | }; |
| 149 | |
| 150 | ohci@e2100000 { |
| 151 | status = "okay"; |
| 152 | }; |
| 153 | |
| 154 | apb { |
| 155 | gpio0: gpio@fc980000 { |
| 156 | status = "okay"; |
| 157 | }; |
| 158 | |
| 159 | i2c0: i2c@d0180000 { |
| 160 | status = "okay"; |
| 161 | }; |
| 162 | |
| 163 | rtc@fc900000 { |
| 164 | status = "okay"; |
| 165 | }; |
| 166 | |
| 167 | serial@d0000000 { |
| 168 | status = "okay"; |
Vipul Kumar Samar | 7bceba8 | 2012-08-30 09:32:24 +0530 | [diff] [blame] | 169 | pinctrl-names = "default"; |
| 170 | pinctrl-0 = <>; |
Viresh Kumar | c5fa4fd | 2012-03-23 00:17:43 +0530 | [diff] [blame] | 171 | }; |
| 172 | |
| 173 | serial@b2000000 { |
| 174 | status = "okay"; |
Vipul Kumar Samar | 7bceba8 | 2012-08-30 09:32:24 +0530 | [diff] [blame] | 175 | pinctrl-names = "default"; |
| 176 | pinctrl-0 = <>; |
Viresh Kumar | c5fa4fd | 2012-03-23 00:17:43 +0530 | [diff] [blame] | 177 | }; |
| 178 | |
| 179 | serial@b2080000 { |
| 180 | status = "okay"; |
Vipul Kumar Samar | 7bceba8 | 2012-08-30 09:32:24 +0530 | [diff] [blame] | 181 | pinctrl-names = "default"; |
| 182 | pinctrl-0 = <>; |
Viresh Kumar | c5fa4fd | 2012-03-23 00:17:43 +0530 | [diff] [blame] | 183 | }; |
| 184 | |
| 185 | serial@b2100000 { |
| 186 | status = "okay"; |
Vipul Kumar Samar | 7bceba8 | 2012-08-30 09:32:24 +0530 | [diff] [blame] | 187 | pinctrl-names = "default"; |
| 188 | pinctrl-0 = <>; |
Viresh Kumar | c5fa4fd | 2012-03-23 00:17:43 +0530 | [diff] [blame] | 189 | }; |
| 190 | |
| 191 | serial@b2180000 { |
| 192 | status = "okay"; |
Vipul Kumar Samar | 7bceba8 | 2012-08-30 09:32:24 +0530 | [diff] [blame] | 193 | pinctrl-names = "default"; |
| 194 | pinctrl-0 = <>; |
Viresh Kumar | c5fa4fd | 2012-03-23 00:17:43 +0530 | [diff] [blame] | 195 | }; |
| 196 | |
| 197 | serial@b2200000 { |
| 198 | status = "okay"; |
Vipul Kumar Samar | 7bceba8 | 2012-08-30 09:32:24 +0530 | [diff] [blame] | 199 | pinctrl-names = "default"; |
| 200 | pinctrl-0 = <>; |
Viresh Kumar | c5fa4fd | 2012-03-23 00:17:43 +0530 | [diff] [blame] | 201 | }; |
| 202 | |
| 203 | wdt@fc880000 { |
| 204 | status = "okay"; |
| 205 | }; |
| 206 | }; |
| 207 | }; |
| 208 | }; |