1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * DTS file for SPEAr300 Evaluation Baord 4 * 5 * Copyright 2012 Viresh Kumar <vireshk@kernel.org> 6 */ 7 8/dts-v1/; 9/include/ "spear300.dtsi" 10 11/ { 12 model = "ST SPEAr300 Evaluation Board"; 13 compatible = "st,spear300-evb", "st,spear300"; 14 #address-cells = <1>; 15 #size-cells = <1>; 16 17 memory { 18 reg = <0 0x40000000>; 19 }; 20 21 ahb { 22 pinmux@99000000 { 23 st,pinmux-mode = <2>; 24 pinctrl-names = "default"; 25 pinctrl-0 = <&state_default>; 26 27 state_default: pinmux { 28 i2c0 { 29 st,pins = "i2c0_grp"; 30 st,function = "i2c0"; 31 }; 32 ssp0 { 33 st,pins = "ssp0_grp"; 34 st,function = "ssp0"; 35 }; 36 mii0 { 37 st,pins = "mii0_grp"; 38 st,function = "mii0"; 39 }; 40 uart0 { 41 st,pins = "uart0_grp"; 42 st,function = "uart0"; 43 }; 44 clcd { 45 st,pins = "clcd_pfmode_grp"; 46 st,function = "clcd"; 47 }; 48 sdhci { 49 st,pins = "sdhci_4bit_grp"; 50 st,function = "sdhci"; 51 }; 52 gpio1 { 53 st,pins = "gpio1_4_to_7_grp", 54 "gpio1_0_to_3_grp"; 55 st,function = "gpio1"; 56 }; 57 }; 58 }; 59 60 clcd@60000000 { 61 status = "okay"; 62 }; 63 64 dma@fc400000 { 65 status = "okay"; 66 }; 67 68 fsmc: flash@94000000 { 69 status = "okay"; 70 }; 71 72 gmac: eth@e0800000 { 73 status = "okay"; 74 }; 75 76 sdhci@70000000 { 77 cd-gpios = <&gpio1 0 0>; 78 status = "okay"; 79 }; 80 81 smi: flash@fc000000 { 82 status = "okay"; 83 clock-rate = <50000000>; 84 85 flash@f8000000 { 86 #address-cells = <1>; 87 #size-cells = <1>; 88 reg = <0xf8000000 0x800000>; 89 st,smi-fast-mode; 90 91 partition@0 { 92 label = "xloader"; 93 reg = <0x0 0x10000>; 94 }; 95 partition@10000 { 96 label = "u-boot"; 97 reg = <0x10000 0x50000>; 98 }; 99 partition@60000 { 100 label = "environment"; 101 reg = <0x60000 0x10000>; 102 }; 103 partition@70000 { 104 label = "dtb"; 105 reg = <0x70000 0x10000>; 106 }; 107 partition@80000 { 108 label = "linux"; 109 reg = <0x80000 0x310000>; 110 }; 111 partition@390000 { 112 label = "rootfs"; 113 reg = <0x390000 0x0>; 114 }; 115 }; 116 }; 117 118 spi0: spi@d0100000 { 119 status = "okay"; 120 }; 121 122 ehci@e1800000 { 123 status = "okay"; 124 }; 125 126 ohci@e1900000 { 127 status = "okay"; 128 }; 129 130 ohci@e2100000 { 131 status = "okay"; 132 }; 133 134 apb { 135 gpio0: gpio@fc980000 { 136 status = "okay"; 137 }; 138 139 gpio1: gpio@a9000000 { 140 status = "okay"; 141 }; 142 143 i2c0: i2c@d0180000 { 144 status = "okay"; 145 }; 146 147 kbd@a0000000 { 148 linux,keymap = < 0x00000001 149 0x00010002 150 0x00020003 151 0x00030004 152 0x00040005 153 0x00050006 154 0x00060007 155 0x00070008 156 0x00080009 157 0x0100000a 158 0x0101000c 159 0x0102000d 160 0x0103000e 161 0x0104000f 162 0x01050010 163 0x01060011 164 0x01070012 165 0x01080013 166 0x02000014 167 0x02010015 168 0x02020016 169 0x02030017 170 0x02040018 171 0x02050019 172 0x0206001a 173 0x0207001b 174 0x0208001c 175 0x0300001d 176 0x0301001e 177 0x0302001f 178 0x03030020 179 0x03040021 180 0x03050022 181 0x03060023 182 0x03070024 183 0x03080025 184 0x04000026 185 0x04010027 186 0x04020028 187 0x04030029 188 0x0404002a 189 0x0405002b 190 0x0406002c 191 0x0407002d 192 0x0408002e 193 0x0500002f 194 0x05010030 195 0x05020031 196 0x05030032 197 0x05040033 198 0x05050034 199 0x05060035 200 0x05070036 201 0x05080037 202 0x06000038 203 0x06010039 204 0x0602003a 205 0x0603003b 206 0x0604003c 207 0x0605003d 208 0x0606003e 209 0x0607003f 210 0x06080040 211 0x07000041 212 0x07010042 213 0x07020043 214 0x07030044 215 0x07040045 216 0x07050046 217 0x07060047 218 0x07070048 219 0x07080049 220 0x0800004a 221 0x0801004b 222 0x0802004c 223 0x0803004d 224 0x0804004e 225 0x0805004f 226 0x08060050 227 0x08070051 228 0x08080052 >; 229 autorepeat; 230 st,mode = <0>; 231 status = "okay"; 232 }; 233 234 rtc@fc900000 { 235 status = "okay"; 236 }; 237 238 serial@d0000000 { 239 status = "okay"; 240 pinctrl-names = "default"; 241 pinctrl-0 = <>; 242 }; 243 244 wdt@fc880000 { 245 status = "okay"; 246 }; 247 }; 248 }; 249}; 250