Viresh Kumar | c5fa4fd | 2012-03-23 00:17:43 +0530 | [diff] [blame] | 1 | /* |
| 2 | * DTS file for SPEAr310 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/ "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"; |
| 117 | reg = <0x10000 0x40000>; |
| 118 | }; |
| 119 | partition@50000 { |
| 120 | label = "linux"; |
| 121 | reg = <0x50000 0x2c0000>; |
| 122 | }; |
| 123 | partition@310000 { |
| 124 | label = "rootfs"; |
| 125 | reg = <0x310000 0x4f0000>; |
| 126 | }; |
Viresh Kumar | c5fa4fd | 2012-03-23 00:17:43 +0530 | [diff] [blame] | 127 | }; |
| 128 | }; |
| 129 | |
| 130 | spi0: spi@d0100000 { |
| 131 | status = "okay"; |
| 132 | }; |
| 133 | |
| 134 | ehci@e1800000 { |
| 135 | status = "okay"; |
| 136 | }; |
| 137 | |
| 138 | ohci@e1900000 { |
| 139 | status = "okay"; |
| 140 | }; |
| 141 | |
| 142 | ohci@e2100000 { |
| 143 | status = "okay"; |
| 144 | }; |
| 145 | |
| 146 | apb { |
| 147 | gpio0: gpio@fc980000 { |
| 148 | status = "okay"; |
| 149 | }; |
| 150 | |
| 151 | i2c0: i2c@d0180000 { |
| 152 | status = "okay"; |
| 153 | }; |
| 154 | |
| 155 | rtc@fc900000 { |
| 156 | status = "okay"; |
| 157 | }; |
| 158 | |
| 159 | serial@d0000000 { |
| 160 | status = "okay"; |
| 161 | }; |
| 162 | |
| 163 | serial@b2000000 { |
| 164 | status = "okay"; |
| 165 | }; |
| 166 | |
| 167 | serial@b2080000 { |
| 168 | status = "okay"; |
| 169 | }; |
| 170 | |
| 171 | serial@b2100000 { |
| 172 | status = "okay"; |
| 173 | }; |
| 174 | |
| 175 | serial@b2180000 { |
| 176 | status = "okay"; |
| 177 | }; |
| 178 | |
| 179 | serial@b2200000 { |
| 180 | status = "okay"; |
| 181 | }; |
| 182 | |
| 183 | wdt@fc880000 { |
| 184 | status = "okay"; |
| 185 | }; |
| 186 | }; |
| 187 | }; |
| 188 | }; |