Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  * Device Tree Source for AMCC (AppliedMicro) Eiger(460SX)
0003  *
0004  * Copyright 2009 AMCC (AppliedMicro) <ttnguyen@amcc.com>
0005  *
0006  * This file is licensed under the terms of the GNU General Public
0007  * License version 2.  This program is licensed "as is" without
0008  * any warranty of any kind, whether express or implied.
0009  */
0010 
0011 /dts-v1/;
0012 
0013 / {
0014         #address-cells = <2>;
0015         #size-cells = <1>;
0016         model = "amcc,eiger";
0017         compatible = "amcc,eiger";
0018         dcr-parent = <&{/cpus/cpu@0}>;
0019 
0020         aliases {
0021                 ethernet0 = &EMAC0;
0022                 ethernet1 = &EMAC1;
0023                 ethernet2 = &EMAC2;
0024                 ethernet3 = &EMAC3;
0025                 serial0 = &UART0;
0026                 serial1 = &UART1;
0027         };
0028 
0029         cpus {
0030                 #address-cells = <1>;
0031                 #size-cells = <0>;
0032 
0033                 cpu@0 {
0034                         device_type = "cpu";
0035                         model = "PowerPC,460SX";
0036                         reg = <0x00000000>;
0037                         clock-frequency = <0>; /* Filled in by U-Boot */
0038                         timebase-frequency = <0>; /* Filled in by U-Boot */
0039                         i-cache-line-size = <32>;
0040                         d-cache-line-size = <32>;
0041                         i-cache-size = <32768>;
0042                         d-cache-size = <32768>;
0043                         dcr-controller;
0044                         dcr-access-method = "native";
0045                 };
0046         };
0047 
0048         memory {
0049                 device_type = "memory";
0050                 reg = <0x00000000 0x00000000 0x00000000>; /* Filled in by U-Boot */
0051         };
0052 
0053         UIC0: interrupt-controller0 {
0054                 compatible = "ibm,uic-460sx","ibm,uic";
0055                 interrupt-controller;
0056                 cell-index = <0>;
0057                 dcr-reg = <0x0c0 0x009>;
0058                 #address-cells = <0>;
0059                 #size-cells = <0>;
0060                 #interrupt-cells = <2>;
0061         };
0062 
0063         UIC1: interrupt-controller1 {
0064                 compatible = "ibm,uic-460sx","ibm,uic";
0065                 interrupt-controller;
0066                 cell-index = <1>;
0067                 dcr-reg = <0x0d0 0x009>;
0068                 #address-cells = <0>;
0069                 #size-cells = <0>;
0070                 #interrupt-cells = <2>;
0071                 interrupts = <0x1e 0x4 0x1f 0x4>; /* cascade */
0072                 interrupt-parent = <&UIC0>;
0073         };
0074 
0075         UIC2: interrupt-controller2 {
0076                 compatible = "ibm,uic-460sx","ibm,uic";
0077                 interrupt-controller;
0078                 cell-index = <2>;
0079                 dcr-reg = <0x0e0 0x009>;
0080                 #address-cells = <0>;
0081                 #size-cells = <0>;
0082                 #interrupt-cells = <2>;
0083                 interrupts = <0xa 0x4 0xb 0x4>; /* cascade */
0084                 interrupt-parent = <&UIC0>;
0085         };
0086 
0087         UIC3: interrupt-controller3 {
0088                 compatible = "ibm,uic-460sx","ibm,uic";
0089                 interrupt-controller;
0090                 cell-index = <3>;
0091                 dcr-reg = <0x0f0 0x009>;
0092                 #address-cells = <0>;
0093                 #size-cells = <0>;
0094                 #interrupt-cells = <2>;
0095                 interrupts = <0x10 0x4 0x11 0x4>; /* cascade */
0096                 interrupt-parent = <&UIC0>;
0097         };
0098 
0099         SDR0: sdr {
0100                 compatible = "ibm,sdr-460sx";
0101                 dcr-reg = <0x00e 0x002>;
0102         };
0103 
0104         CPR0: cpr {
0105                 compatible = "ibm,cpr-460sx";
0106                 dcr-reg = <0x00c 0x002>;
0107         };
0108 
0109         plb {
0110                 compatible = "ibm,plb-460sx", "ibm,plb4";
0111                 #address-cells = <2>;
0112                 #size-cells = <1>;
0113                 ranges;
0114                 clock-frequency = <0>; /* Filled in by U-Boot */
0115 
0116                 SDRAM0: sdram {
0117                         compatible = "ibm,sdram-460sx", "ibm,sdram-405gp";
0118                         dcr-reg = <0x010 0x002>;
0119                 };
0120 
0121                 MAL0: mcmal {
0122                         compatible = "ibm,mcmal-460sx", "ibm,mcmal2";
0123                         dcr-reg = <0x180 0x62>;
0124                         num-tx-chans = <4>;
0125                         num-rx-chans = <32>;
0126                         #address-cells = <1>;
0127                         #size-cells = <1>;
0128                         interrupt-parent = <&UIC1>;
0129                         interrupts = <  /*TXEOB*/ 0x6 0x4
0130                                         /*RXEOB*/ 0x7 0x4
0131                                         /*SERR*/  0x1 0x4
0132                                         /*TXDE*/  0x2 0x4
0133                                         /*RXDE*/  0x3 0x4
0134                                         /*COAL TX0*/ 0x18 0x2
0135                                         /*COAL TX1*/ 0x19 0x2
0136                                         /*COAL TX2*/ 0x1a 0x2
0137                                         /*COAL TX3*/ 0x1b 0x2
0138                                         /*COAL RX0*/ 0x1c 0x2
0139                                         /*COAL RX1*/ 0x1d 0x2
0140                                         /*COAL RX2*/ 0x1e 0x2
0141                                         /*COAL RX3*/ 0x1f 0x2>;
0142                 };
0143 
0144                 POB0: opb {
0145                         compatible = "ibm,opb-460sx", "ibm,opb";
0146                         #address-cells = <1>;
0147                         #size-cells = <1>;
0148                         ranges = <0xb0000000 0x00000004 0xb0000000 0x50000000>;
0149                         clock-frequency = <0>; /* Filled in by U-Boot */
0150 
0151                         EBC0: ebc {
0152                                 compatible = "ibm,ebc-460sx", "ibm,ebc";
0153                                 dcr-reg = <0x012 0x002>;
0154                                 #address-cells = <2>;
0155                                 #size-cells = <1>;
0156                                 clock-frequency = <0>; /* Filled in by U-Boot */
0157                                 /* ranges property is supplied by U-Boot */
0158                                 interrupts = <0x6 0x4>;
0159                                 interrupt-parent = <&UIC1>;
0160 
0161                                 nor_flash@0,0 {
0162                                         compatible = "amd,s29gl512n", "cfi-flash";
0163                                         bank-width = <2>;
0164                                         /* reg property is supplied in by U-Boot */
0165                                         #address-cells = <1>;
0166                                         #size-cells = <1>;
0167                                         partition@0 {
0168                                                 label = "kernel";
0169                                                 reg = <0x00000000 0x001e0000>;
0170                                         };
0171                                         partition@1e0000 {
0172                                                 label = "dtb";
0173                                                 reg = <0x001e0000 0x00020000>;
0174                                         };
0175                                         partition@200000 {
0176                                                 label = "ramdisk";
0177                                                 reg = <0x00200000 0x01400000>;
0178                                         };
0179                                         partition@1600000 {
0180                                                 label = "jffs2";
0181                                                 reg = <0x01600000 0x00400000>;
0182                                         };
0183                                         partition@1a00000 {
0184                                                 label = "user";
0185                                                 reg = <0x01a00000 0x02560000>;
0186                                         };
0187                                         partition@3f60000 {
0188                                                 label = "env";
0189                                                 reg = <0x03f60000 0x00040000>;
0190                                         };
0191                                         partition@3fa0000 {
0192                                                 label = "u-boot";
0193                                                 reg = <0x03fa0000 0x00060000>;
0194                                         };
0195                                 };
0196 
0197                                 ndfc@1,0 {
0198                                         compatible = "ibm,ndfc";
0199                                         /* reg property is supplied by U-boot */
0200                                         ccr = <0x00003000>;
0201                                         bank-settings = <0x80002222>;
0202                                         #address-cells = <1>;
0203                                         #size-cells = <1>;
0204 
0205                                         nand {
0206                                                 #address-cells = <1>;
0207                                                 #size-cells = <1>;
0208                                                 partition@0 {
0209                                                         label = "uboot";
0210                                                         reg = <0x00000000 0x00200000>;
0211                                                 };
0212                                                 partition@200000 {
0213                                                         label = "uboot-environment";
0214                                                         reg = <0x00200000 0x00100000>;
0215                                                 };
0216                                                 partition@300000 {
0217                                                         label = "linux";
0218                                                         reg = <0x00300000 0x00300000>;
0219                                                 };
0220                                                 partition@600000 {
0221                                                         label = "root-file-system";
0222                                                         reg = <0x00600000 0x01900000>;
0223                                                 };
0224                                                 partition@1f00000 {
0225                                                         label = "device-tree";
0226                                                         reg = <0x01f00000 0x00020000>;
0227                                                 };
0228                                                 partition@1f20000 {
0229                                                         label = "data";
0230                                                         reg = <0x01f20000 0x060E0000>;
0231                                                 };
0232                                         };
0233                                 };
0234                         };
0235 
0236                         UART0: serial@ef600200 {
0237                                 device_type = "serial";
0238                                 compatible = "ns16550";
0239                                 reg = <0xef600200 0x00000008>;
0240                                 virtual-reg = <0xef600200>;
0241                                 clock-frequency = <0>; /* Filled in by U-Boot */
0242                                 current-speed = <0>; /* Filled in by U-Boot */
0243                                 interrupt-parent = <&UIC0>;
0244                                 interrupts = <0x0 0x4>;
0245                         };
0246 
0247                         UART1: serial@ef600300 {
0248                                 device_type = "serial";
0249                                 compatible = "ns16550";
0250                                 reg = <0xef600300 0x00000008>;
0251                                 virtual-reg = <0xef600300>;
0252                                 clock-frequency = <0>; /* Filled in by U-Boot */
0253                                 current-speed = <0>; /* Filled in by U-Boot */
0254                                 interrupt-parent = <&UIC0>;
0255                                 interrupts = <0x1 0x4>;
0256                         };
0257 
0258                         IIC0: i2c@ef600400 {
0259                                 compatible = "ibm,iic-460sx", "ibm,iic";
0260                                 reg = <0xef600400 0x00000014>;
0261                                 interrupt-parent = <&UIC0>;
0262                                 interrupts = <0x2 0x4>;
0263                                 #address-cells = <1>;
0264                                 #size-cells = <0>;
0265                                 index = <0>;
0266                         };
0267 
0268                         IIC1: i2c@ef600500 {
0269                                 compatible = "ibm,iic-460sx", "ibm,iic";
0270                                 reg = <0xef600500 0x00000014>;
0271                                 interrupt-parent = <&UIC0>;
0272                                 interrupts = <0x3 0x4>;
0273                                 #address-cells = <1>;
0274                                 #size-cells = <0>;
0275                                 index = <1>;
0276                         };
0277 
0278                         RGMII0: emac-rgmii@ef600900 {
0279                                 compatible = "ibm,rgmii-460sx", "ibm,rgmii";
0280                                 reg = <0xef600900 0x00000008>;
0281                                 has-mdio;
0282                         };
0283 
0284                         RGMII1: emac-rgmii@ef600920 {
0285                                 compatible = "ibm,rgmii-460sx", "ibm,rgmii";
0286                                 reg = <0xef600920 0x00000008>;
0287                                 has-mdio;
0288                         };
0289 
0290                         TAH0: emac-tah@ef600e50 {
0291                                 compatible = "ibm,tah-460sx", "ibm,tah";
0292                                 reg = <0xef600e50 0x00000030>;
0293                         };
0294 
0295                         TAH1: emac-tah@ef600f50 {
0296                                 compatible = "ibm,tah-460sx", "ibm,tah";
0297                                 reg = <0xef600f50 0x00000030>;
0298                         };
0299 
0300                         EMAC0: ethernet@ef600a00 {
0301                                 device_type = "network";
0302                                 compatible = "ibm,emac-460sx", "ibm,emac4";
0303                                 interrupt-parent = <&EMAC0>;
0304                                 interrupts = <0x0 0x1>;
0305                                 #interrupt-cells = <1>;
0306                                 #address-cells = <0>;
0307                                 #size-cells = <0>;
0308                                 interrupt-map = </*Status*/ 0x0 &UIC0 0x13 0x4
0309                                                  /*Wake*/   0x1 &UIC2 0x1d 0x4>;
0310                                 reg = <0xef600a00 0x00000070>;
0311                                 local-mac-address = [000000000000]; /* Filled in by U-Boot */
0312                                 mal-device = <&MAL0>;
0313                                 mal-tx-channel = <0>;
0314                                 mal-rx-channel = <0>;
0315                                 cell-index = <0>;
0316                                 max-frame-size = <9000>;
0317                                 rx-fifo-size = <4096>;
0318                                 tx-fifo-size = <2048>;
0319                                 rx-fifo-size-gige = <16384>;
0320                                 phy-mode = "rgmii";
0321                                 phy-map = <0x00000000>;
0322                                 rgmii-device = <&RGMII0>;
0323                                 rgmii-channel = <0>;
0324                                 tah-device = <&TAH0>;
0325                                 tah-channel = <0>;
0326                                 has-inverted-stacr-oc;
0327                                 has-new-stacr-staopc;
0328                         };
0329 
0330                         EMAC1: ethernet@ef600b00 {
0331                                 device_type = "network";
0332                                 compatible = "ibm,emac-460sx", "ibm,emac4";
0333                                 interrupt-parent = <&EMAC1>;
0334                                 interrupts = <0x0 0x1>;
0335                                 #interrupt-cells = <1>;
0336                                 #address-cells = <0>;
0337                                 #size-cells = <0>;
0338                                 interrupt-map = </*Status*/ 0x0 &UIC0 0x14 0x4
0339                                                  /*Wake*/   0x1 &UIC2 0x1d 0x4>;
0340                                 reg = <0xef600b00 0x00000070>;
0341                                 local-mac-address = [000000000000]; /* Filled in by U-Boot */
0342                                 mal-device = <&MAL0>;
0343                                 mal-tx-channel = <1>;
0344                                 mal-rx-channel = <8>;
0345                                 cell-index = <1>;
0346                                 max-frame-size = <9000>;
0347                                 rx-fifo-size = <4096>;
0348                                 tx-fifo-size = <2048>;
0349                                 rx-fifo-size-gige = <16384>;
0350                                 phy-mode = "rgmii";
0351                                 phy-map = <0x00000000>;
0352                                 rgmii-device = <&RGMII0>;
0353                                 rgmii-channel = <1>;
0354                                 tah-device = <&TAH1>;
0355                                 tah-channel = <1>;
0356                                 has-inverted-stacr-oc;
0357                                 has-new-stacr-staopc;
0358                                 mdio-device = <&EMAC0>;
0359                         };
0360 
0361                         EMAC2: ethernet@ef600c00 {
0362                                 device_type = "network";
0363                                 compatible = "ibm,emac-460sx", "ibm,emac4";
0364                                 interrupt-parent = <&EMAC2>;
0365                                 interrupts = <0x0 0x1>;
0366                                 #interrupt-cells = <1>;
0367                                 #address-cells = <0>;
0368                                 #size-cells = <0>;
0369                                 interrupt-map = </*Status*/ 0x0 &UIC0 0x15 0x4
0370                                                  /*Wake*/   0x1 &UIC2 0x1d 0x4>;
0371                                 reg = <0xef600c00 0x00000070>;
0372                                 local-mac-address = [000000000000]; /* Filled in by U-Boot */
0373                                 mal-device = <&MAL0>;
0374                                 mal-tx-channel = <2>;
0375                                 mal-rx-channel = <16>;
0376                                 cell-index = <2>;
0377                                 max-frame-size = <9000>;
0378                                 rx-fifo-size = <4096>;
0379                                 tx-fifo-size = <2048>;
0380                                 rx-fifo-size-gige = <16384>;
0381                                 tx-fifo-size-gige = <16384>; /* emac2&3 only */
0382                                 phy-mode = "rgmii";
0383                                 phy-map = <0x00000000>;
0384                                 rgmii-device = <&RGMII1>;
0385                                 rgmii-channel = <0>;
0386                                 has-inverted-stacr-oc;
0387                                 has-new-stacr-staopc;
0388                                 mdio-device = <&EMAC0>;
0389                         };
0390 
0391                         EMAC3: ethernet@ef600d00 {
0392                                 device_type = "network";
0393                                 compatible = "ibm,emac-460sx", "ibm,emac4";
0394                                 interrupt-parent = <&EMAC3>;
0395                                 interrupts = <0x0 0x1>;
0396                                 #interrupt-cells = <1>;
0397                                 #address-cells = <0>;
0398                                 #size-cells = <0>;
0399                                 interrupt-map = </*Status*/ 0x0 &UIC0 0x16 0x4
0400                                                  /*Wake*/   0x1 &UIC2 0x1d 0x4>;
0401                                 reg = <0xef600d00 0x00000070>;
0402                                 local-mac-address = [000000000000]; /* Filled in by U-Boot */
0403                                 mal-device = <&MAL0>;
0404                                 mal-tx-channel = <3>;
0405                                 mal-rx-channel = <24>;
0406                                 cell-index = <3>;
0407                                 max-frame-size = <9000>;
0408                                 rx-fifo-size = <4096>;
0409                                 tx-fifo-size = <2048>;
0410                                 rx-fifo-size-gige = <16384>;
0411                                 tx-fifo-size-gige = <16384>; /* emac2&3 only */
0412                                 phy-mode = "rgmii";
0413                                 phy-map = <0x00000000>;
0414                                 rgmii-device = <&RGMII1>;
0415                                 rgmii-channel = <1>;
0416                                 has-inverted-stacr-oc;
0417                                 has-new-stacr-staopc;
0418                                 mdio-device = <&EMAC0>;
0419                         };
0420                 };
0421 
0422         };
0423         chosen {
0424                 stdout-path = "/plb/opb/serial@ef600200";
0425         };
0426 
0427 };