Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-or-later
0002 /*
0003  * DTS file for SPEAr300 Evaluation Baord
0004  *
0005  * Copyright 2012 Viresh Kumar <vireshk@kernel.org>
0006  */
0007 
0008 /dts-v1/;
0009 /include/ "spear300.dtsi"
0010 
0011 / {
0012         model = "ST SPEAr300 Evaluation Board";
0013         compatible = "st,spear300-evb", "st,spear300";
0014         #address-cells = <1>;
0015         #size-cells = <1>;
0016 
0017         memory {
0018                 reg = <0 0x40000000>;
0019         };
0020 
0021         ahb {
0022                 pinmux@99000000 {
0023                         st,pinmux-mode = <2>;
0024                         pinctrl-names = "default";
0025                         pinctrl-0 = <&state_default>;
0026 
0027                         state_default: pinmux {
0028                                 i2c0 {
0029                                         st,pins = "i2c0_grp";
0030                                         st,function = "i2c0";
0031                                 };
0032                                 ssp0 {
0033                                         st,pins = "ssp0_grp";
0034                                         st,function = "ssp0";
0035                                 };
0036                                 mii0 {
0037                                         st,pins = "mii0_grp";
0038                                         st,function = "mii0";
0039                                 };
0040                                 uart0 {
0041                                         st,pins = "uart0_grp";
0042                                         st,function = "uart0";
0043                                 };
0044                                 clcd {
0045                                         st,pins = "clcd_pfmode_grp";
0046                                         st,function = "clcd";
0047                                 };
0048                                 sdhci {
0049                                         st,pins = "sdhci_4bit_grp";
0050                                         st,function = "sdhci";
0051                                 };
0052                                 gpio1 {
0053                                         st,pins = "gpio1_4_to_7_grp",
0054                                                 "gpio1_0_to_3_grp";
0055                                         st,function = "gpio1";
0056                                 };
0057                         };
0058                 };
0059 
0060                 clcd@60000000 {
0061                         status = "okay";
0062                 };
0063 
0064                 dma@fc400000 {
0065                         status = "okay";
0066                 };
0067 
0068                 fsmc: flash@94000000 {
0069                         status = "okay";
0070                 };
0071 
0072                 gmac: eth@e0800000 {
0073                         status = "okay";
0074                 };
0075 
0076                 sdhci@70000000 {
0077                         cd-gpios = <&gpio1 0 0>;
0078                         status = "okay";
0079                 };
0080 
0081                 smi: flash@fc000000 {
0082                         status = "okay";
0083                         clock-rate = <50000000>;
0084 
0085                         flash@f8000000 {
0086                                 #address-cells = <1>;
0087                                 #size-cells = <1>;
0088                                 reg = <0xf8000000 0x800000>;
0089                                 st,smi-fast-mode;
0090 
0091                                 partition@0 {
0092                                         label = "xloader";
0093                                         reg = <0x0 0x10000>;
0094                                 };
0095                                 partition@10000 {
0096                                         label = "u-boot";
0097                                         reg = <0x10000 0x50000>;
0098                                 };
0099                                 partition@60000 {
0100                                         label = "environment";
0101                                         reg = <0x60000 0x10000>;
0102                                 };
0103                                 partition@70000 {
0104                                         label = "dtb";
0105                                         reg = <0x70000 0x10000>;
0106                                 };
0107                                 partition@80000 {
0108                                         label = "linux";
0109                                         reg = <0x80000 0x310000>;
0110                                 };
0111                                 partition@390000 {
0112                                         label = "rootfs";
0113                                         reg = <0x390000 0x0>;
0114                                 };
0115                         };
0116                 };
0117 
0118                 spi0: spi@d0100000 {
0119                         status = "okay";
0120                 };
0121 
0122                 ehci@e1800000 {
0123                         status = "okay";
0124                 };
0125 
0126                 ohci@e1900000 {
0127                         status = "okay";
0128                 };
0129 
0130                 ohci@e2100000 {
0131                         status = "okay";
0132                 };
0133 
0134                 apb {
0135                         gpio0: gpio@fc980000 {
0136                                status = "okay";
0137                         };
0138 
0139                         gpio1: gpio@a9000000 {
0140                                status = "okay";
0141                         };
0142 
0143                         i2c0: i2c@d0180000 {
0144                                status = "okay";
0145                         };
0146 
0147                         kbd@a0000000 {
0148                                 linux,keymap = < 0x00000001
0149                                                  0x00010002
0150                                                  0x00020003
0151                                                  0x00030004
0152                                                  0x00040005
0153                                                  0x00050006
0154                                                  0x00060007
0155                                                  0x00070008
0156                                                  0x00080009
0157                                                  0x0100000a
0158                                                  0x0101000c
0159                                                  0x0102000d
0160                                                  0x0103000e
0161                                                  0x0104000f
0162                                                  0x01050010
0163                                                  0x01060011
0164                                                  0x01070012
0165                                                  0x01080013
0166                                                  0x02000014
0167                                                  0x02010015
0168                                                  0x02020016
0169                                                  0x02030017
0170                                                  0x02040018
0171                                                  0x02050019
0172                                                  0x0206001a
0173                                                  0x0207001b
0174                                                  0x0208001c
0175                                                  0x0300001d
0176                                                  0x0301001e
0177                                                  0x0302001f
0178                                                  0x03030020
0179                                                  0x03040021
0180                                                  0x03050022
0181                                                  0x03060023
0182                                                  0x03070024
0183                                                  0x03080025
0184                                                  0x04000026
0185                                                  0x04010027
0186                                                  0x04020028
0187                                                  0x04030029
0188                                                  0x0404002a
0189                                                  0x0405002b
0190                                                  0x0406002c
0191                                                  0x0407002d
0192                                                  0x0408002e
0193                                                  0x0500002f
0194                                                  0x05010030
0195                                                  0x05020031
0196                                                  0x05030032
0197                                                  0x05040033
0198                                                  0x05050034
0199                                                  0x05060035
0200                                                  0x05070036
0201                                                  0x05080037
0202                                                  0x06000038
0203                                                  0x06010039
0204                                                  0x0602003a
0205                                                  0x0603003b
0206                                                  0x0604003c
0207                                                  0x0605003d
0208                                                  0x0606003e
0209                                                  0x0607003f
0210                                                  0x06080040
0211                                                  0x07000041
0212                                                  0x07010042
0213                                                  0x07020043
0214                                                  0x07030044
0215                                                  0x07040045
0216                                                  0x07050046
0217                                                  0x07060047
0218                                                  0x07070048
0219                                                  0x07080049
0220                                                  0x0800004a
0221                                                  0x0801004b
0222                                                  0x0802004c
0223                                                  0x0803004d
0224                                                  0x0804004e
0225                                                  0x0805004f
0226                                                  0x08060050
0227                                                  0x08070051
0228                                                  0x08080052 >;
0229                                autorepeat;
0230                                st,mode = <0>;
0231                                status = "okay";
0232                         };
0233 
0234                         rtc@fc900000 {
0235                                status = "okay";
0236                         };
0237 
0238                         serial@d0000000 {
0239                                status = "okay";
0240                                 pinctrl-names = "default";
0241                                 pinctrl-0 = <>;
0242                         };
0243 
0244                         wdt@fc880000 {
0245                                status = "okay";
0246                         };
0247                 };
0248         };
0249 };