Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  * T1023 RDB Device Tree Source
0003  *
0004  * Copyright 2014 Freescale Semiconductor Inc.
0005  *
0006  * Redistribution and use in source and binary forms, with or without
0007  * modification, are permitted provided that the following conditions are met:
0008  *     * Redistributions of source code must retain the above copyright
0009  *       notice, this list of conditions and the following disclaimer.
0010  *     * Redistributions in binary form must reproduce the above copyright
0011  *       notice, this list of conditions and the following disclaimer in the
0012  *       documentation and/or other materials provided with the distribution.
0013  *     * Neither the name of Freescale Semiconductor nor the
0014  *       names of its contributors may be used to endorse or promote products
0015  *       derived from this software without specific prior written permission.
0016  *
0017  *
0018  * ALTERNATIVELY, this software may be distributed under the terms of the
0019  * GNU General Public License ("GPL") as published by the Free Software
0020  * Foundation, either version 2 of that License or (at your option) any
0021  * later version.
0022  *
0023  * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor "AS IS" AND ANY
0024  * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
0025  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
0026  * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
0027  * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
0028  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
0029  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
0030  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
0031  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
0032  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
0033  */
0034 
0035 /include/ "t102xsi-pre.dtsi"
0036 
0037 / {
0038         model = "fsl,T1023RDB";
0039         compatible = "fsl,T1023RDB";
0040         #address-cells = <2>;
0041         #size-cells = <2>;
0042         interrupt-parent = <&mpic>;
0043 
0044         reserved-memory {
0045                 #address-cells = <2>;
0046                 #size-cells = <2>;
0047                 ranges;
0048 
0049                 bman_fbpr: bman-fbpr {
0050                         size = <0 0x1000000>;
0051                         alignment = <0 0x1000000>;
0052                 };
0053 
0054                 qman_fqd: qman-fqd {
0055                         size = <0 0x400000>;
0056                         alignment = <0 0x400000>;
0057                 };
0058 
0059                 qman_pfdr: qman-pfdr {
0060                         size = <0 0x2000000>;
0061                         alignment = <0 0x2000000>;
0062                 };
0063         };
0064 
0065         ifc: localbus@ffe124000 {
0066                 reg = <0xf 0xfe124000 0 0x2000>;
0067                 ranges = <0 0 0xf 0xe8000000 0x08000000
0068                           1 0 0xf 0xff800000 0x00010000>;
0069 
0070                 nor@0,0 {
0071                         #address-cells = <1>;
0072                         #size-cells = <1>;
0073                         status = "disabled";
0074                         compatible = "cfi-flash";
0075                         reg = <0x0 0x0 0x8000000>;
0076                         bank-width = <2>;
0077                         device-width = <1>;
0078                 };
0079 
0080                 nand@1,0 {
0081                         #address-cells = <1>;
0082                         #size-cells = <1>;
0083                         compatible = "fsl,ifc-nand";
0084                         reg = <0x1 0x0 0x10000>;
0085                 };
0086         };
0087 
0088         memory {
0089                 device_type = "memory";
0090         };
0091 
0092         dcsr: dcsr@f00000000 {
0093                 ranges = <0x00000000 0xf 0x00000000 0x01072000>;
0094         };
0095 
0096         bportals: bman-portals@ff4000000 {
0097                 ranges = <0x0 0xf 0xf4000000 0x2000000>;
0098         };
0099 
0100         qportals: qman-portals@ff6000000 {
0101                 ranges = <0x0 0xf 0xf6000000 0x2000000>;
0102         };
0103 
0104         soc: soc@ffe000000 {
0105                 ranges = <0x00000000 0xf 0xfe000000 0x1000000>;
0106                 reg = <0xf 0xfe000000 0 0x00001000>;
0107                 spi@110000 {
0108                         flash@0 {
0109                                 #address-cells = <1>;
0110                                 #size-cells = <1>;
0111                                 compatible = "spansion,s25fl512s", "jedec,spi-nor";
0112                                 reg = <0>;
0113                                 spi-max-frequency = <10000000>; /* input clk */
0114                         };
0115                 };
0116 
0117                 i2c@118000 {
0118                         eeprom@50 {
0119                                 compatible = "st,m24256";
0120                                 reg = <0x50>;
0121                         };
0122 
0123                         rtc@68 {
0124                                 compatible = "dallas,ds1339";
0125                                 reg = <0x68>;
0126                                 interrupts = <0x5 0x1 0 0>;
0127                         };
0128                 };
0129 
0130                 i2c@118100 {
0131                         current-sensor@40 {
0132                                 compatible = "ti,ina220";
0133                                 reg = <0x40>;
0134                                 shunt-resistor = <1000>;
0135                         };
0136 
0137                         current-sensor@41 {
0138                                 compatible = "ti,ina220";
0139                                 reg = <0x41>;
0140                                 shunt-resistor = <1000>;
0141                         };
0142                 };
0143 
0144                 fman@400000 {
0145                         fm1mac1: ethernet@e0000 {
0146                                 phy-handle = <&sgmii_rtk_phy2>;
0147                                 phy-connection-type = "sgmii";
0148                                 sleep = <&rcpm 0x80000000>;
0149                         };
0150 
0151                         fm1mac2: ethernet@e2000 {
0152                                 sleep = <&rcpm 0x40000000>;
0153                         };
0154 
0155                         fm1mac3: ethernet@e4000 {
0156                                 phy-handle = <&sgmii_aqr_phy3>;
0157                                 phy-connection-type = "2500base-x";
0158                                 sleep = <&rcpm 0x20000000>;
0159                         };
0160 
0161                         fm1mac4: ethernet@e6000 {
0162                                 phy-handle = <&rgmii_rtk_phy1>;
0163                                 phy-connection-type = "rgmii";
0164                                 sleep = <&rcpm 0x10000000>;
0165                         };
0166 
0167 
0168                         mdio0: mdio@fc000 {
0169                                 rgmii_rtk_phy1: ethernet-phy@1 {
0170                                         reg = <0x1>;
0171                                 };
0172                                 sgmii_rtk_phy2: ethernet-phy@3 {
0173                                         reg = <0x3>;
0174                                 };
0175                         };
0176 
0177                         xmdio0: mdio@fd000 {
0178                                 sgmii_aqr_phy3: ethernet-phy@2 {
0179                                         compatible = "ethernet-phy-ieee802.3-c45";
0180                                         reg = <0x2>;
0181                                 };
0182                         };
0183                 };
0184         };
0185 
0186         pci0: pcie@ffe240000 {
0187                 reg = <0xf 0xfe240000 0 0x10000>;
0188                 ranges = <0x02000000 0 0xe0000000 0xc 0x00000000 0 0x10000000
0189                           0x01000000 0 0x00000000 0xf 0xf8000000 0 0x00010000>;
0190                 pcie@0 {
0191                         ranges = <0x02000000 0 0xe0000000
0192                                   0x02000000 0 0xe0000000
0193                                   0 0x10000000
0194 
0195                                   0x01000000 0 0x00000000
0196                                   0x01000000 0 0x00000000
0197                                   0 0x00010000>;
0198                 };
0199         };
0200 
0201         pci1: pcie@ffe250000 {
0202                 reg = <0xf 0xfe250000 0 0x10000>;
0203                 ranges = <0x02000000 0 0xe0000000 0xc 0x10000000 0 0x10000000
0204                           0x01000000 0 0x00000000 0xf 0xf8010000 0 0x00010000>;
0205                 pcie@0 {
0206                         ranges = <0x02000000 0 0xe0000000
0207                                   0x02000000 0 0xe0000000
0208                                   0 0x10000000
0209 
0210                                   0x01000000 0 0x00000000
0211                                   0x01000000 0 0x00000000
0212                                   0 0x00010000>;
0213                 };
0214         };
0215 
0216         pci2: pcie@ffe260000 {
0217                 reg = <0xf 0xfe260000 0 0x10000>;
0218                 ranges = <0x02000000 0 0xe0000000 0xc 0x20000000 0 0x10000000
0219                           0x01000000 0 0x00000000 0xf 0xf8020000 0 0x00010000>;
0220                 pcie@0 {
0221                         ranges = <0x02000000 0 0xe0000000
0222                                   0x02000000 0 0xe0000000
0223                                   0 0x10000000
0224 
0225                                   0x01000000 0 0x00000000
0226                                   0x01000000 0 0x00000000
0227                                   0 0x00010000>;
0228                 };
0229         };
0230 };
0231 
0232 #include "t1023si-post.dtsi"