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