Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-or-later
0002 /*
0003  * DTS file for SPEAr1310 Evaluation Baord
0004  *
0005  * Copyright 2012 Viresh Kumar <vireshk@kernel.org>
0006  */
0007 
0008 /dts-v1/;
0009 /include/ "spear1310.dtsi"
0010 
0011 / {
0012         model = "ST SPEAr1310 Evaluation Board";
0013         compatible = "st,spear1310-evb", "st,spear1310";
0014         #address-cells = <1>;
0015         #size-cells = <1>;
0016 
0017         memory {
0018                 reg = <0 0x40000000>;
0019         };
0020 
0021         ahb {
0022                 pinmux@e0700000 {
0023                         pinctrl-names = "default";
0024                         pinctrl-0 = <&state_default>;
0025 
0026                         state_default: pinmux {
0027                                 i2c0 {
0028                                         st,pins = "i2c0_grp";
0029                                         st,function = "i2c0";
0030                                 };
0031                                 i2s0 {
0032                                         st,pins = "i2s0_grp";
0033                                         st,function = "i2s0";
0034                                 };
0035                                 i2s1 {
0036                                         st,pins = "i2s1_grp";
0037                                         st,function = "i2s1";
0038                                 };
0039                                 gpio {
0040                                         st,pins = "arm_gpio_grp";
0041                                         st,function = "arm_gpio";
0042                                 };
0043                                 clcd {
0044                                         st,pins = "clcd_grp" , "clcd_high_res";
0045                                         st,function = "clcd";
0046                                 };
0047                                 eth {
0048                                         st,pins = "gmii_grp";
0049                                         st,function = "gmii";
0050                                 };
0051                                 ssp0 {
0052                                         st,pins = "ssp0_grp";
0053                                         st,function = "ssp0";
0054                                 };
0055                                 kbd {
0056                                         st,pins = "keyboard_6x6_grp";
0057                                         st,function = "keyboard";
0058                                 };
0059                                 sdhci {
0060                                         st,pins = "sdhci_grp";
0061                                         st,function = "sdhci";
0062                                 };
0063                                 smi-pmx {
0064                                         st,pins = "smi_2_chips_grp";
0065                                         st,function = "smi";
0066                                 };
0067                                 uart0 {
0068                                         st,pins = "uart0_grp";
0069                                         st,function = "uart0";
0070                                 };
0071                                 rs485 {
0072                                         st,pins = "rs485_0_1_tdm_0_1_grp";
0073                                         st,function = "rs485_0_1_tdm_0_1";
0074                                 };
0075                                 i2c1_2 {
0076                                         st,pins = "i2c_1_2_grp";
0077                                         st,function = "i2c_1_2";
0078                                 };
0079                                 smii {
0080                                         st,pins = "smii_0_1_2_grp";
0081                                         st,function = "smii_0_1_2";
0082                                 };
0083                                 nand {
0084                                         st,pins = "nand_8bit_grp",
0085                                                 "nand_16bit_grp";
0086                                         st,function = "nand";
0087                                 };
0088                                 sata {
0089                                         st,pins = "sata0_grp";
0090                                         st,function = "sata";
0091                                 };
0092                                 pcie {
0093                                         st,pins = "pcie1_grp", "pcie2_grp";
0094                                         st,function = "pci_express";
0095                                 };
0096                         };
0097                 };
0098 
0099                 ahci@b1000000 {
0100                         status = "okay";
0101                 };
0102 
0103                 miphy@eb800000 {
0104                         status = "okay";
0105                 };
0106 
0107                 cf@b2800000 {
0108                         status = "okay";
0109                 };
0110 
0111                 dma@ea800000 {
0112                         status = "okay";
0113                 };
0114 
0115                 dma@eb000000 {
0116                         status = "okay";
0117                 };
0118 
0119                 fsmc: flash@b0000000 {
0120                         status = "okay";
0121 
0122                         partition@0 {
0123                                 label = "xloader";
0124                                 reg = <0x0 0x80000>;
0125                         };
0126                         partition@80000 {
0127                                 label = "u-boot";
0128                                 reg = <0x80000 0x140000>;
0129                         };
0130                         partition@1C0000 {
0131                                 label = "environment";
0132                                 reg = <0x1C0000 0x40000>;
0133                         };
0134                         partition@200000 {
0135                                 label = "dtb";
0136                                 reg = <0x200000 0x40000>;
0137                         };
0138                         partition@240000 {
0139                                 label = "linux";
0140                                 reg = <0x240000 0xC00000>;
0141                         };
0142                         partition@E40000 {
0143                                 label = "rootfs";
0144                                 reg = <0xE40000 0x0>;
0145                         };
0146                 };
0147 
0148                 gpio_keys {
0149                         compatible = "gpio-keys";
0150                         #address-cells = <1>;
0151                         #size-cells = <0>;
0152 
0153                         button@1 {
0154                                 label = "wakeup";
0155                                 linux,code = <0x100>;
0156                                 gpios = <&gpio0 7 0x4>;
0157                                 debounce-interval = <20>;
0158                                 wakeup-source;
0159                         };
0160                 };
0161 
0162                 gmac0: eth@e2000000 {
0163                         phy-mode = "gmii";
0164                         status = "okay";
0165                 };
0166 
0167                 sdhci@b3000000 {
0168                         status = "okay";
0169                 };
0170 
0171                 smi: flash@ea000000 {
0172                         status = "okay";
0173                         clock-rate = <50000000>;
0174 
0175                         flash@e6000000 {
0176                                 #address-cells = <1>;
0177                                 #size-cells = <1>;
0178                                 reg = <0xe6000000 0x800000>;
0179                                 st,smi-fast-mode;
0180 
0181                                 partition@0 {
0182                                         label = "xloader";
0183                                         reg = <0x0 0x10000>;
0184                                 };
0185                                 partition@10000 {
0186                                         label = "u-boot";
0187                                         reg = <0x10000 0x50000>;
0188                                 };
0189                                 partition@60000 {
0190                                         label = "environment";
0191                                         reg = <0x60000 0x10000>;
0192                                 };
0193                                 partition@70000 {
0194                                         label = "dtb";
0195                                         reg = <0x70000 0x10000>;
0196                                 };
0197                                 partition@80000 {
0198                                         label = "linux";
0199                                         reg = <0x80000 0x310000>;
0200                                 };
0201                                 partition@390000 {
0202                                         label = "rootfs";
0203                                         reg = <0x390000 0x0>;
0204                                 };
0205                         };
0206                 };
0207 
0208                 ehci@e4800000 {
0209                         status = "okay";
0210                 };
0211 
0212                 ehci@e5800000 {
0213                         status = "okay";
0214                 };
0215 
0216                 ohci@e4000000 {
0217                         status = "okay";
0218                 };
0219 
0220                 ohci@e5000000 {
0221                         status = "okay";
0222                 };
0223 
0224                 apb {
0225                         adc@e0080000 {
0226                                 status = "okay";
0227                         };
0228 
0229                         gpio0: gpio@e0600000 {
0230                                status = "okay";
0231                         };
0232 
0233                         gpio1: gpio@e0680000 {
0234                                status = "okay";
0235                         };
0236 
0237                         gpio@d8400000 {
0238                                status = "okay";
0239                         };
0240 
0241                         i2c0: i2c@e0280000 {
0242                                status = "okay";
0243                         };
0244 
0245                         kbd@e0300000 {
0246                                 linux,keymap = < 0x00000001
0247                                                  0x00010002
0248                                                  0x00020003
0249                                                  0x00030004
0250                                                  0x00040005
0251                                                  0x00050006
0252                                                  0x00060007
0253                                                  0x00070008
0254                                                  0x00080009
0255                                                  0x0100000a
0256                                                  0x0101000c
0257                                                  0x0102000d
0258                                                  0x0103000e
0259                                                  0x0104000f
0260                                                  0x01050010
0261                                                  0x01060011
0262                                                  0x01070012
0263                                                  0x01080013
0264                                                  0x02000014
0265                                                  0x02010015
0266                                                  0x02020016
0267                                                  0x02030017
0268                                                  0x02040018
0269                                                  0x02050019
0270                                                  0x0206001a
0271                                                  0x0207001b
0272                                                  0x0208001c
0273                                                  0x0300001d
0274                                                  0x0301001e
0275                                                  0x0302001f
0276                                                  0x03030020
0277                                                  0x03040021
0278                                                  0x03050022
0279                                                  0x03060023
0280                                                  0x03070024
0281                                                  0x03080025
0282                                                  0x04000026
0283                                                  0x04010027
0284                                                  0x04020028
0285                                                  0x04030029
0286                                                  0x0404002a
0287                                                  0x0405002b
0288                                                  0x0406002c
0289                                                  0x0407002d
0290                                                  0x0408002e
0291                                                  0x0500002f
0292                                                  0x05010030
0293                                                  0x05020031
0294                                                  0x05030032
0295                                                  0x05040033
0296                                                  0x05050034
0297                                                  0x05060035
0298                                                  0x05070036
0299                                                  0x05080037
0300                                                  0x06000038
0301                                                  0x06010039
0302                                                  0x0602003a
0303                                                  0x0603003b
0304                                                  0x0604003c
0305                                                  0x0605003d
0306                                                  0x0606003e
0307                                                  0x0607003f
0308                                                  0x06080040
0309                                                  0x07000041
0310                                                  0x07010042
0311                                                  0x07020043
0312                                                  0x07030044
0313                                                  0x07040045
0314                                                  0x07050046
0315                                                  0x07060047
0316                                                  0x07070048
0317                                                  0x07080049
0318                                                  0x0800004a
0319                                                  0x0801004b
0320                                                  0x0802004c
0321                                                  0x0803004d
0322                                                  0x0804004e
0323                                                  0x0805004f
0324                                                  0x08060050
0325                                                  0x08070051
0326                                                  0x08080052 >;
0327                                autorepeat;
0328                                st,mode = <0>;
0329                                suspended_rate = <2000000>;
0330                                status = "okay";
0331                         };
0332 
0333                         rtc@e0580000 {
0334                                status = "okay";
0335                         };
0336 
0337                         serial@e0000000 {
0338                                status = "okay";
0339                                 pinctrl-names = "default";
0340                                 pinctrl-0 = <>;
0341                         };
0342 
0343                         spi0: spi@e0100000 {
0344                                 status = "okay";
0345                                 num-cs = <3>;
0346                                 cs-gpios = <&gpio1 7 0>, <&spics 0 0>, <&spics 1 0>;
0347 
0348                                 stmpe610@0 {
0349                                         compatible = "st,stmpe610";
0350                                         reg = <0>;
0351                                         #address-cells = <1>;
0352                                         #size-cells = <0>;
0353                                         spi-max-frequency = <1000000>;
0354                                         spi-cpha;
0355                                         pl022,hierarchy = <0>;
0356                                         pl022,interface = <0>;
0357                                         pl022,slave-tx-disable;
0358                                         pl022,com-mode = <0>;
0359                                         pl022,rx-level-trig = <0>;
0360                                         pl022,tx-level-trig = <0>;
0361                                         pl022,ctrl-len = <0x7>;
0362                                         pl022,wait-state = <0>;
0363                                         pl022,duplex = <0>;
0364                                         interrupts = <6 0x4>;
0365                                         interrupt-parent = <&gpio1>;
0366                                         irq-trigger = <0x2>;
0367 
0368                                         stmpe_touchscreen {
0369                                                 compatible = "st,stmpe-ts";
0370                                                 ts,sample-time = <4>;
0371                                                 ts,mod-12b = <1>;
0372                                                 ts,ref-sel = <0>;
0373                                                 ts,adc-freq = <1>;
0374                                                 ts,ave-ctrl = <1>;
0375                                                 ts,touch-det-delay = <2>;
0376                                                 ts,settling = <2>;
0377                                                 ts,fraction-z = <7>;
0378                                                 ts,i-drive = <1>;
0379                                         };
0380                                 };
0381 
0382                                 flash@1 {
0383                                         compatible = "st,m25p80";
0384                                         reg = <1>;
0385                                         spi-max-frequency = <12000000>;
0386                                         spi-cpol;
0387                                         spi-cpha;
0388                                         pl022,hierarchy = <0>;
0389                                         pl022,interface = <0>;
0390                                         pl022,slave-tx-disable;
0391                                         pl022,com-mode = <0x2>;
0392                                         pl022,rx-level-trig = <0>;
0393                                         pl022,tx-level-trig = <0>;
0394                                         pl022,ctrl-len = <0x11>;
0395                                         pl022,wait-state = <0>;
0396                                         pl022,duplex = <0>;
0397                                 };
0398                         };
0399 
0400                         wdt@ec800620 {
0401                                status = "okay";
0402                         };
0403                 };
0404         };
0405 };