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