Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  * Device Tree Source for Emerson KSI8560
0003  *
0004  * Author: Alexandr Smirnov <asmirnov@ru.mvista.com>
0005  *
0006  * Based on mpc8560ads.dts
0007  *
0008  * 2008 (c) MontaVista, Software, Inc.  This file is licensed under
0009  * the terms of the GNU General Public License version 2.  This program
0010  * is licensed "as is" without any warranty of any kind, whether express
0011  * or implied.
0012  *
0013  */
0014 
0015 /dts-v1/;
0016 
0017 / {
0018         model = "KSI8560";
0019         compatible = "emerson,KSI8560";
0020         #address-cells = <1>;
0021         #size-cells = <1>;
0022 
0023         aliases {
0024                 ethernet0 = &enet0;
0025                 ethernet1 = &enet1;
0026                 ethernet2 = &enet2;
0027         };
0028 
0029         cpus {
0030                 #address-cells = <1>;
0031                 #size-cells = <0>;
0032 
0033                 PowerPC,8560@0 {
0034                         device_type = "cpu";
0035                         reg = <0>;
0036                         d-cache-line-size = <32>;
0037                         i-cache-line-size = <32>;
0038                         d-cache-size = <0x8000>;                /* L1, 32K */
0039                         i-cache-size = <0x8000>;                /* L1, 32K */
0040                         timebase-frequency = <0>;               /* From U-boot */
0041                         bus-frequency = <0>;                    /* From U-boot */
0042                         clock-frequency = <0>;                  /* From U-boot */
0043                         next-level-cache = <&L2>;
0044                 };
0045         };
0046 
0047         memory {
0048                 device_type = "memory";
0049                 reg = <0x00000000 0x10000000>;                  /* Fixed by bootwrapper */
0050         };
0051 
0052         soc@fdf00000 {
0053                 #address-cells = <1>;
0054                 #size-cells = <1>;
0055                 device_type = "soc";
0056                 ranges = <0x00000000 0xfdf00000 0x00100000>;
0057                 bus-frequency = <0>;                            /* Fixed by bootwrapper */
0058 
0059                 ecm-law@0 {
0060                         compatible = "fsl,ecm-law";
0061                         reg = <0x0 0x1000>;
0062                         fsl,num-laws = <8>;
0063                 };
0064 
0065                 ecm@1000 {
0066                         compatible = "fsl,mpc8560-ecm", "fsl,ecm";
0067                         reg = <0x1000 0x1000>;
0068                         interrupts = <17 2>;
0069                         interrupt-parent = <&mpic>;
0070                 };
0071 
0072                 memory-controller@2000 {
0073                         compatible = "fsl,mpc8540-memory-controller";
0074                         reg = <0x2000 0x1000>;
0075                         interrupt-parent = <&mpic>;
0076                         interrupts = <0x12 0x2>;
0077                 };
0078 
0079                 L2: l2-cache-controller@20000 {
0080                         compatible = "fsl,mpc8540-l2-cache-controller";
0081                         reg = <0x20000 0x1000>;
0082                         cache-line-size = <0x20>;               /* 32 bytes */
0083                         cache-size = <0x40000>;                 /* L2, 256K */
0084                         interrupt-parent = <&mpic>;
0085                         interrupts = <0x10 0x2>;
0086                 };
0087 
0088                 i2c@3000 {
0089                         #address-cells = <1>;
0090                         #size-cells = <0>;
0091                         cell-index = <0>;
0092                         compatible = "fsl-i2c";
0093                         reg = <0x3000 0x100>;
0094                         interrupts = <0x2b 0x2>;
0095                         interrupt-parent = <&mpic>;
0096                         dfsrr;
0097                 };
0098 
0099                 dma@21300 {
0100                         #address-cells = <1>;
0101                         #size-cells = <1>;
0102                         compatible = "fsl,mpc8560-dma", "fsl,eloplus-dma";
0103                         reg = <0x21300 0x4>;
0104                         ranges = <0x0 0x21100 0x200>;
0105                         cell-index = <0>;
0106                         dma-channel@0 {
0107                                 compatible = "fsl,mpc8560-dma-channel",
0108                                                 "fsl,eloplus-dma-channel";
0109                                 reg = <0x0 0x80>;
0110                                 cell-index = <0>;
0111                                 interrupt-parent = <&mpic>;
0112                                 interrupts = <20 2>;
0113                         };
0114                         dma-channel@80 {
0115                                 compatible = "fsl,mpc8560-dma-channel",
0116                                                 "fsl,eloplus-dma-channel";
0117                                 reg = <0x80 0x80>;
0118                                 cell-index = <1>;
0119                                 interrupt-parent = <&mpic>;
0120                                 interrupts = <21 2>;
0121                         };
0122                         dma-channel@100 {
0123                                 compatible = "fsl,mpc8560-dma-channel",
0124                                                 "fsl,eloplus-dma-channel";
0125                                 reg = <0x100 0x80>;
0126                                 cell-index = <2>;
0127                                 interrupt-parent = <&mpic>;
0128                                 interrupts = <22 2>;
0129                         };
0130                         dma-channel@180 {
0131                                 compatible = "fsl,mpc8560-dma-channel",
0132                                                 "fsl,eloplus-dma-channel";
0133                                 reg = <0x180 0x80>;
0134                                 cell-index = <3>;
0135                                 interrupt-parent = <&mpic>;
0136                                 interrupts = <23 2>;
0137                         };
0138                 };
0139 
0140                 enet0: ethernet@24000 {
0141                         #address-cells = <1>;
0142                         #size-cells = <1>;
0143                         device_type = "network";
0144                         model = "TSEC";
0145                         compatible = "gianfar";
0146                         reg = <0x24000 0x1000>;
0147                         ranges = <0x0 0x24000 0x1000>;
0148                         /* Mac address filled in by bootwrapper */
0149                         local-mac-address = [ 00 00 00 00 00 00 ];
0150                         interrupts = <0x1d 0x2 0x1e 0x2 0x22 0x2>;
0151                         interrupt-parent = <&mpic>;
0152                         tbi-handle = <&tbi0>;
0153                         phy-handle = <&PHY1>;
0154 
0155                         mdio@520 {                                      /* For TSECs */
0156                                 #address-cells = <1>;
0157                                 #size-cells = <0>;
0158                                 compatible = "fsl,gianfar-mdio";
0159                                 reg = <0x520 0x20>;
0160 
0161                                 PHY1: ethernet-phy@1 {
0162                                         interrupt-parent = <&mpic>;
0163                                         reg = <0x1>;
0164                                 };
0165 
0166                                 PHY2: ethernet-phy@2 {
0167                                         interrupt-parent = <&mpic>;
0168                                         reg = <0x2>;
0169                                 };
0170 
0171                                 tbi0: tbi-phy@11 {
0172                                         reg = <0x11>;
0173                                         device_type = "tbi-phy";
0174                                 };
0175                         };
0176                 };
0177 
0178                 enet1: ethernet@25000 {
0179                         #address-cells = <1>;
0180                         #size-cells = <1>;
0181                         device_type = "network";
0182                         model = "TSEC";
0183                         compatible = "gianfar";
0184                         reg = <0x25000 0x1000>;
0185                         ranges = <0x0 0x25000 0x1000>;
0186                         /* Mac address filled in by bootwrapper */
0187                         local-mac-address = [ 00 00 00 00 00 00 ];
0188                         interrupts = <0x23 0x2 0x24 0x2 0x28 0x2>;
0189                         interrupt-parent = <&mpic>;
0190                         tbi-handle = <&tbi1>;
0191                         phy-handle = <&PHY2>;
0192 
0193                         mdio@520 {
0194                                 #address-cells = <1>;
0195                                 #size-cells = <0>;
0196                                 compatible = "fsl,gianfar-tbi";
0197                                 reg = <0x520 0x20>;
0198 
0199                                 tbi1: tbi-phy@11 {
0200                                         reg = <0x11>;
0201                                         device_type = "tbi-phy";
0202                                 };
0203                         };
0204                 };
0205 
0206                 mpic: pic@40000 {
0207                         #address-cells = <0>;
0208                         #interrupt-cells = <2>;
0209                         interrupt-controller;
0210                         reg = <0x40000 0x40000>;
0211                         device_type = "open-pic";
0212                 };
0213 
0214                 cpm@919c0 {
0215                         #address-cells = <1>;
0216                         #size-cells = <1>;
0217                         compatible = "fsl,mpc8560-cpm", "fsl,cpm2";
0218                         reg = <0x919c0 0x30>;
0219                         ranges;
0220 
0221                         muram@80000 {
0222                                 #address-cells = <1>;
0223                                 #size-cells = <1>;
0224                                 ranges = <0x0 0x80000 0x10000>;
0225 
0226                                 data@0 {
0227                                         compatible = "fsl,cpm-muram-data";
0228                                         reg = <0x0 0x4000 0x9000 0x2000>;
0229                                 };
0230                         };
0231 
0232                         brg@919f0 {
0233                                 compatible = "fsl,mpc8560-brg",
0234                                              "fsl,cpm2-brg",
0235                                              "fsl,cpm-brg";
0236                                 reg = <0x919f0 0x10 0x915f0 0x10>;
0237                                 clock-frequency = <165000000>;  /* 166MHz */
0238                         };
0239 
0240                         CPMPIC: pic@90c00 {
0241                                 #address-cells = <0>;
0242                                 #interrupt-cells = <2>;
0243                                 interrupt-controller;
0244                                 interrupts = <0x2e 0x2>;
0245                                 interrupt-parent = <&mpic>;
0246                                 reg = <0x90c00 0x80>;
0247                                 compatible = "fsl,mpc8560-cpm-pic", "fsl,cpm2-pic";
0248                         };
0249 
0250                         serial@91a00 {
0251                                 device_type = "serial";
0252                                 compatible = "fsl,mpc8560-scc-uart",
0253                                              "fsl,cpm2-scc-uart";
0254                                 reg = <0x91a00 0x20 0x88000 0x100>;
0255                                 fsl,cpm-brg = <1>;
0256                                 fsl,cpm-command = <0x800000>;
0257                                 current-speed = <0x1c200>;
0258                                 interrupts = <0x28 0x8>;
0259                                 interrupt-parent = <&CPMPIC>;
0260                         };
0261 
0262                         serial@91a20 {
0263                                 device_type = "serial";
0264                                 compatible = "fsl,mpc8560-scc-uart",
0265                                              "fsl,cpm2-scc-uart";
0266                                 reg = <0x91a20 0x20 0x88100 0x100>;
0267                                 fsl,cpm-brg = <2>;
0268                                 fsl,cpm-command = <0x4a00000>;
0269                                 current-speed = <0x1c200>;
0270                                 interrupts = <0x29 0x8>;
0271                                 interrupt-parent = <&CPMPIC>;
0272                         };
0273 
0274                         mdio@90d00 {                            /* For FCCs */
0275                                 #address-cells = <1>;
0276                                 #size-cells = <0>;
0277                                 compatible = "fsl,cpm2-mdio-bitbang";
0278                                 reg = <0x90d00 0x14>;
0279                                 fsl,mdio-pin = <24>;
0280                                 fsl,mdc-pin = <25>;
0281 
0282                                 PHY0: ethernet-phy@0 {
0283                                         interrupt-parent = <&mpic>;
0284                                         reg = <0x0>;
0285                                 };
0286                         };
0287 
0288                         enet2: ethernet@91300 {
0289                                 device_type = "network";
0290                                 compatible = "fsl,mpc8560-fcc-enet",
0291                                              "fsl,cpm2-fcc-enet";
0292                                 reg = <0x91300 0x20 0x88400 0x100 0x91390 0x1>;
0293                                 /* Mac address filled in by bootwrapper */
0294                                 local-mac-address = [ 00 00 00 00 00 00 ];
0295                                 fsl,cpm-command = <0x12000300>;
0296                                 interrupts = <0x20 0x8>;
0297                                 interrupt-parent = <&CPMPIC>;
0298                                 phy-handle = <&PHY0>;
0299                         };
0300                 };
0301         };
0302 
0303         localbus@fdf05000 {
0304                 #address-cells = <2>;
0305                 #size-cells = <1>;
0306                 compatible = "fsl,mpc8560-localbus", "simple-bus";
0307                 reg = <0xfdf05000 0x68>;
0308 
0309                 ranges = <0x0 0x0 0xe0000000 0x00800000
0310                           0x4 0x0 0xe8080000 0x00080000>;
0311 
0312                 flash@0,0 {
0313                         #address-cells = <1>;
0314                         #size-cells = <1>;
0315                         compatible = "jedec-flash";
0316                         reg = <0x0 0x0 0x800000>;
0317                         bank-width = <0x2>;
0318 
0319                         partition@0 {
0320                                 label = "Primary Kernel";
0321                                 reg = <0x0 0x180000>;
0322                         };
0323                         partition@180000 {
0324                                 label = "Primary Filesystem";
0325                                 reg = <0x180000 0x580000>;
0326                         };
0327                         partition@700000 {
0328                                 label = "Monitor";
0329                                 reg = <0x300000 0x100000>;
0330                                 read-only;
0331                         };
0332                 };
0333 
0334                 cpld@4,0 {
0335                         compatible = "emerson,KSI8560-cpld";
0336                         reg = <0x4 0x0 0x80000>;
0337                 };
0338         };
0339 
0340 
0341         chosen {
0342                 stdout-path = "/soc/cpm/serial@91a00";
0343         };
0344 };