Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-or-later
0002 /*
0003  * Device tree source for the Emerson/Artesyn MVME2500
0004  *
0005  * Copyright 2014 Elettra-Sincrotrone Trieste S.C.p.A.
0006  *
0007  * Based on: P2020 DS Device Tree Source
0008  * Copyright 2009 Freescale Semiconductor Inc.
0009  */
0010 
0011 /include/ "p2020si-pre.dtsi"
0012 
0013 / {
0014         model = "MVME2500";
0015         compatible = "artesyn,MVME2500";
0016 
0017         aliases {
0018                 serial2 = &serial2;
0019                 serial3 = &serial3;
0020                 serial4 = &serial4;
0021                 serial5 = &serial5;
0022         };
0023 
0024         memory {
0025                 device_type = "memory";
0026         };
0027 
0028         soc: soc@ffe00000 {
0029                 ranges = <0x0 0 0xffe00000 0x100000>;
0030 
0031                 i2c@3000 {
0032                         hwmon@4c {
0033                                 compatible = "adi,adt7461";
0034                                 reg = <0x4c>;
0035                         };
0036 
0037                         rtc@68 {
0038                                 compatible = "dallas,ds1337";
0039                                 reg = <0x68>;
0040                                 interrupts = <8 1 0 0>;
0041                         };
0042 
0043                         eeprom@54 {
0044                                 compatible = "atmel,24c64";
0045                                 reg = <0x54>;
0046                         };
0047 
0048                         eeprom@52 {
0049                                 compatible = "atmel,24c512";
0050                                 reg = <0x52>;
0051                         };
0052 
0053                         eeprom@53 {
0054                                 compatible = "atmel,24c512";
0055                                 reg = <0x53>;
0056                         };
0057 
0058                         eeprom@50 {
0059                                 compatible = "atmel,24c02";
0060                                 reg = <0x50>;
0061                         };
0062 
0063                 };
0064 
0065                 spi0: spi@7000 {
0066                         fsl,espi-num-chipselects = <2>;
0067 
0068                         flash@0 {
0069                                 compatible = "atmel,at25df641", "jedec,spi-nor";
0070                                 reg = <0>;
0071                                 spi-max-frequency = <10000000>;
0072                         };
0073                         flash@1 {
0074                                 compatible = "atmel,at25df641", "jedec,spi-nor";
0075                                 reg = <1>;
0076                                 spi-max-frequency = <10000000>;
0077                         };
0078                 };
0079 
0080                 usb@22000 {
0081                         dr_mode = "host";
0082                         phy_type = "ulpi";
0083                 };
0084 
0085                 enet0: ethernet@24000 {
0086                         tbi-handle = <&tbi0>;
0087                         phy-handle = <&phy1>;
0088                         phy-connection-type = "rgmii-id";
0089                 };
0090 
0091                 mdio@24520 {
0092                         phy1: ethernet-phy@1 {
0093                                 compatible = "brcm,bcm54616S";
0094                                 interrupts = <6 1 0 0>;
0095                                 reg = <0x1>;
0096                         };
0097 
0098                         phy2: ethernet-phy@2 {
0099                                 compatible = "brcm,bcm54616S";
0100                                 interrupts = <6 1 0 0>;
0101                                 reg = <0x2>;
0102                         };
0103 
0104                         phy3: ethernet-phy@3 {
0105                                 compatible = "brcm,bcm54616S";
0106                                 interrupts = <5 1 0 0>;
0107                                 reg = <0x3>;
0108                         };
0109 
0110                         phy7: ethernet-phy@7 {
0111                                 compatible = "brcm,bcm54616S";
0112                                 interrupts = <7 1 0 0>;
0113                                 reg = <0x7>;
0114                         };
0115 
0116                         tbi0: tbi-phy@11 {
0117                                 reg = <0x11>;
0118                                 device_type = "tbi-phy";
0119                         };
0120                 };
0121 
0122                 enet1: ethernet@25000 {
0123                         tbi-handle = <&tbi1>;
0124                         phy-handle = <&phy7>;
0125                         phy-connection-type = "rgmii-id";
0126                 };
0127 
0128                 mdio@25520 {
0129                         tbi1: tbi-phy@11 {
0130                                 reg = <0x11>;
0131                                 device_type = "tbi-phy";
0132                         };
0133                 };
0134 
0135                 enet2: ethernet@26000 {
0136                         tbi-handle = <&tbi2>;
0137                         phy-handle = <&phy3>;
0138                         phy-connection-type = "rgmii-id";
0139                 };
0140 
0141                 mdio@26520 {
0142                         tbi2: tbi-phy@11 {
0143                                 reg = <0x11>;
0144                                 device_type = "tbi-phy";
0145                         };
0146                 };
0147         };
0148 
0149         lbc: localbus@ffe05000 {
0150                 reg = <0 0xffe05000 0 0x1000>;
0151 
0152                 ranges = <0x0 0x0 0x0 0xfff00000 0x00080000
0153                           0x1 0x0 0x0 0xffc40000 0x00010000
0154                           0x2 0x0 0x0 0xffc50000 0x00010000
0155                           0x3 0x0 0x0 0xffc60000 0x00010000
0156                           0x4 0x0 0x0 0xffc70000 0x00010000
0157                           0x6 0x0 0x0 0xffc80000 0x00010000
0158                           0x5 0x0 0x0 0xffdf0000 0x00008000>;
0159 
0160                 serial2: serial@1,0 {
0161                         device_type = "serial";
0162                         compatible = "ns16550";
0163                         reg = <0x1 0x0 0x100>;
0164                         clock-frequency = <1843200>;
0165                         interrupts = <11 2 0 0>;
0166                 };
0167 
0168                 serial3: serial@2,0 {
0169                         device_type = "serial";
0170                         compatible = "ns16550";
0171                         reg = <0x2 0x0 0x100>;
0172                         clock-frequency = <1843200>;
0173                         interrupts = <1 2 0 0>;
0174                 };
0175 
0176                 serial4: serial@3,0 {
0177                         device_type = "serial";
0178                         compatible = "ns16550";
0179                         reg = <0x3 0x0 0x100>;
0180                         clock-frequency = <1843200>;
0181                         interrupts = <2 2 0 0>;
0182                 };
0183 
0184                 serial5: serial@4,0 {
0185                         device_type = "serial";
0186                         compatible = "ns16550";
0187                         reg = <0x4 0x0 0x100>;
0188                         clock-frequency = <1843200>;
0189                         interrupts = <3 2 0 0>;
0190                 };
0191 
0192                 mram@0,0 {
0193                         compatible = "everspin,mram", "mtd-ram";
0194                         reg = <0x0 0x0 0x80000>;
0195                         bank-width = <2>;
0196                 };
0197 
0198                 board-control@5,0 {
0199                         compatible = "artesyn,mvme2500-fpga";
0200                         reg = <0x5 0x0 0x01000>;
0201                 };
0202 
0203                 cpld@6,0 {
0204                         compatible = "artesyn,mvme2500-cpld";
0205                         reg = <0x6 0x0 0x10000>;
0206                         interrupts = <9 1 0 0>;
0207                 };
0208         };
0209 
0210         pci0: pcie@ffe08000 {
0211                 reg = <0 0xffe08000 0 0x1000>;
0212                 ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000
0213                           0x1000000 0x0 0x00000000 0 0xffc00000 0x0 0x10000>;
0214                 pcie@0 {
0215                         ranges = <0x2000000 0x0 0x80000000
0216                                   0x2000000 0x0 0x80000000
0217                                   0x0 0x20000000
0218 
0219                                   0x1000000 0x0 0x0
0220                                   0x1000000 0x0 0x0
0221                                   0x0 0x10000>;
0222                 };
0223         };
0224 
0225         pci1: pcie@ffe09000 {
0226                 reg = <0 0xffe09000 0 0x1000>;
0227                 ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000
0228                           0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>;
0229                 pcie@0 {
0230                         ranges = <0x2000000 0x0 0xa0000000
0231                                   0x2000000 0x0 0xa0000000
0232                                   0x0 0x20000000
0233 
0234                                   0x1000000 0x0 0x0
0235                                   0x1000000 0x0 0x0
0236                                   0x0 0x10000>;
0237                 };
0238 
0239         };
0240 
0241         pci2: pcie@ffe0a000 {
0242                 reg = <0 0xffe0a000 0 0x1000>;
0243                 ranges = <0x2000000 0x0 0xc0000000 0 0xc0000000 0x0 0x20000000
0244                           0x1000000 0x0 0x00000000 0 0xffc20000 0x0 0x10000>;
0245                 pcie@0 {
0246                         ranges = <0x2000000 0x0 0xc0000000
0247                                   0x2000000 0x0 0xc0000000
0248                                   0x0 0x20000000
0249 
0250                                   0x1000000 0x0 0x0
0251                                   0x1000000 0x0 0x0
0252                                   0x0 0x10000>;
0253                 };
0254         };
0255 };
0256 
0257 /include/ "p2020si-post.dtsi"
0258 
0259 / {
0260         soc@ffe00000 {
0261                 serial@4600 {
0262                         status = "disabled";
0263                 };
0264 
0265                 i2c@3100 {
0266                         status = "disabled";
0267                 };
0268 
0269                 sdhc@2e000 {
0270                         compatible = "fsl,p2020-esdhc", "fsl,esdhc";
0271                         non-removable;
0272                 };
0273 
0274         };
0275 
0276 };