Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-or-later
0002 /*
0003  * MPC885 ADS Device Tree Source
0004  *
0005  * Copyright 2006 MontaVista Software, Inc.
0006  * Copyright 2007,2008 Freescale Semiconductor, Inc.
0007  */
0008 
0009 /dts-v1/;
0010 
0011 / {
0012         model = "MPC885ADS";
0013         compatible = "fsl,mpc885ads";
0014         #address-cells = <1>;
0015         #size-cells = <1>;
0016 
0017         cpus {
0018                 #address-cells = <1>;
0019                 #size-cells = <0>;
0020 
0021                 PowerPC,885@0 {
0022                         device_type = "cpu";
0023                         reg = <0x0>;
0024                         d-cache-line-size = <16>;
0025                         i-cache-line-size = <16>;
0026                         d-cache-size = <8192>;
0027                         i-cache-size = <8192>;
0028                         timebase-frequency = <0>;
0029                         bus-frequency = <0>;
0030                         clock-frequency = <0>;
0031                         interrupts = <15 2>;    // decrementer interrupt
0032                         interrupt-parent = <&PIC>;
0033                 };
0034         };
0035 
0036         memory {
0037                 device_type = "memory";
0038                 reg = <0x0 0x0>;
0039         };
0040 
0041         localbus@ff000100 {
0042                 compatible = "fsl,mpc885-localbus", "fsl,pq1-localbus";
0043                 #address-cells = <2>;
0044                 #size-cells = <1>;
0045                 reg = <0xff000100 0x40>;
0046 
0047                 ranges = <
0048                         0x0 0x0 0xfe000000 0x800000
0049                         0x1 0x0 0xff080000 0x8000
0050                         0x5 0x0 0xff0a0000 0x8000
0051                 >;
0052 
0053                 flash@0,0 {
0054                         compatible = "jedec-flash";
0055                         reg = <0x0 0x0 0x800000>;
0056                         bank-width = <4>;
0057                         device-width = <1>;
0058                 };
0059 
0060                 board-control@1,0 {
0061                         reg = <0x1 0x0 0x20 0x5 0x300 0x4>;
0062                         compatible = "fsl,mpc885ads-bcsr";
0063                 };
0064         };
0065 
0066         soc@ff000000 {
0067                 compatible = "fsl,mpc885", "fsl,pq1-soc";
0068                 #address-cells = <1>;
0069                 #size-cells = <1>;
0070                 device_type = "soc";
0071                 ranges = <0x0 0xff000000 0x28000>;
0072                 bus-frequency = <0>;
0073 
0074                 // Temporary -- will go away once kernel uses ranges for get_immrbase().
0075                 reg = <0xff000000 0x4000>;
0076 
0077                 mdio@e00 {
0078                         compatible = "fsl,mpc885-fec-mdio", "fsl,pq1-fec-mdio";
0079                         reg = <0xe00 0x188>;
0080                         #address-cells = <1>;
0081                         #size-cells = <0>;
0082 
0083                         PHY0: ethernet-phy@0 {
0084                                 reg = <0x0>;
0085                         };
0086 
0087                         PHY1: ethernet-phy@1 {
0088                                 reg = <0x1>;
0089                         };
0090 
0091                         PHY2: ethernet-phy@2 {
0092                                 reg = <0x2>;
0093                         };
0094                 };
0095 
0096                 ethernet@e00 {
0097                         device_type = "network";
0098                         compatible = "fsl,mpc885-fec-enet",
0099                                      "fsl,pq1-fec-enet";
0100                         reg = <0xe00 0x188>;
0101                         local-mac-address = [ 00 00 00 00 00 00 ];
0102                         interrupts = <3 1>;
0103                         interrupt-parent = <&PIC>;
0104                         phy-handle = <&PHY0>;
0105                         linux,network-index = <0>;
0106                 };
0107 
0108                 ethernet@1e00 {
0109                         device_type = "network";
0110                         compatible = "fsl,mpc885-fec-enet",
0111                                      "fsl,pq1-fec-enet";
0112                         reg = <0x1e00 0x188>;
0113                         local-mac-address = [ 00 00 00 00 00 00 ];
0114                         interrupts = <7 1>;
0115                         interrupt-parent = <&PIC>;
0116                         phy-handle = <&PHY1>;
0117                         linux,network-index = <1>;
0118                 };
0119 
0120                 PIC: interrupt-controller@0 {
0121                         interrupt-controller;
0122                         #interrupt-cells = <2>;
0123                         reg = <0x0 0x24>;
0124                         compatible = "fsl,mpc885-pic", "fsl,pq1-pic";
0125                 };
0126 
0127                 pcmcia@80 {
0128                         #address-cells = <3>;
0129                         #interrupt-cells = <1>;
0130                         #size-cells = <2>;
0131                         compatible = "fsl,pq-pcmcia";
0132                         device_type = "pcmcia";
0133                         reg = <0x80 0x80>;
0134                         interrupt-parent = <&PIC>;
0135                         interrupts = <13 1>;
0136                 };
0137 
0138                 cpm@9c0 {
0139                         #address-cells = <1>;
0140                         #size-cells = <1>;
0141                         compatible = "fsl,mpc885-cpm", "fsl,cpm1";
0142                         command-proc = <0x9c0>;
0143                         interrupts = <0>;       // cpm error interrupt
0144                         interrupt-parent = <&CPM_PIC>;
0145                         reg = <0x9c0 0x40>;
0146                         ranges;
0147 
0148                         muram@2000 {
0149                                 #address-cells = <1>;
0150                                 #size-cells = <1>;
0151                                 ranges = <0x0 0x2000 0x2000>;
0152 
0153                                 data@0 {
0154                                         compatible = "fsl,cpm-muram-data";
0155                                         reg = <0x0 0x1c00>;
0156                                 };
0157                         };
0158 
0159                         brg@9f0 {
0160                                 compatible = "fsl,mpc885-brg",
0161                                              "fsl,cpm1-brg",
0162                                              "fsl,cpm-brg";
0163                                 clock-frequency = <0>;
0164                                 reg = <0x9f0 0x10>;
0165                         };
0166 
0167                         CPM_PIC: interrupt-controller@930 {
0168                                 interrupt-controller;
0169                                 #interrupt-cells = <1>;
0170                                 interrupts = <5 2 0 2>;
0171                                 interrupt-parent = <&PIC>;
0172                                 reg = <0x930 0x20>;
0173                                 compatible = "fsl,mpc885-cpm-pic",
0174                                              "fsl,cpm1-pic";
0175                         };
0176 
0177                         serial@a80 {
0178                                 device_type = "serial";
0179                                 compatible = "fsl,mpc885-smc-uart",
0180                                              "fsl,cpm1-smc-uart";
0181                                 reg = <0xa80 0x10 0x3e80 0x40>;
0182                                 interrupts = <4>;
0183                                 interrupt-parent = <&CPM_PIC>;
0184                                 fsl,cpm-brg = <1>;
0185                                 fsl,cpm-command = <0x90>;
0186                         };
0187 
0188                         serial@a90 {
0189                                 device_type = "serial";
0190                                 compatible = "fsl,mpc885-smc-uart",
0191                                              "fsl,cpm1-smc-uart";
0192                                 reg = <0xa90 0x10 0x3f80 0x40>;
0193                                 interrupts = <3>;
0194                                 interrupt-parent = <&CPM_PIC>;
0195                                 fsl,cpm-brg = <2>;
0196                                 fsl,cpm-command = <0xd0>;
0197                         };
0198 
0199                         ethernet@a40 {
0200                                 device_type = "network";
0201                                 compatible = "fsl,mpc885-scc-enet",
0202                                              "fsl,cpm1-scc-enet";
0203                                 reg = <0xa40 0x18 0x3e00 0x100>;
0204                                 local-mac-address = [ 00 00 00 00 00 00 ];
0205                                 interrupts = <28>;
0206                                 interrupt-parent = <&CPM_PIC>;
0207                                 phy-handle = <&PHY2>;
0208                                 fsl,cpm-command = <0x80>;
0209                                 linux,network-index = <2>;
0210                         };
0211 
0212                         i2c@860 {
0213                                 compatible = "fsl,mpc885-i2c",
0214                                              "fsl,cpm1-i2c";
0215                                 reg = <0x860 0x20 0x3c80 0x30>;
0216                                 interrupts = <16>;
0217                                 interrupt-parent = <&CPM_PIC>;
0218                                 fsl,cpm-command = <0x10>;
0219                                 #address-cells = <1>;
0220                                 #size-cells = <0>;
0221                         };
0222                 };
0223 
0224                 crypto@20000 {
0225                         compatible = "fsl,sec1.2", "fsl,sec1.0";
0226                         reg = <0x20000 0x8000>;
0227                         interrupts = <1 1>;
0228                         interrupt-parent = <&PIC>;
0229                         fsl,num-channels = <1>;
0230                         fsl,channel-fifo-len = <24>;
0231                         fsl,exec-units-mask = <0x4c>;
0232                         fsl,descriptor-types-mask = <0x05000154>;
0233                 };
0234         };
0235 
0236         chosen {
0237                 stdout-path = "/soc/cpm/serial@a80";
0238         };
0239 };