Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-or-later
0002 /*
0003  * EP88xC 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 = "EP88xC";
0013         compatible = "fsl,ep88xc";
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@fa200100 {
0042                 compatible = "fsl,mpc885-localbus", "fsl,pq1-localbus";
0043                 #address-cells = <2>;
0044                 #size-cells = <1>;
0045                 reg = <0xfa200100 0x40>;
0046 
0047                 ranges = <
0048                         0x0 0x0 0xfc000000 0x4000000
0049                         0x3 0x0 0xfa000000 0x1000000
0050                 >;
0051 
0052                 flash@0,2000000 {
0053                         compatible = "cfi-flash";
0054                         reg = <0x0 0x2000000 0x2000000>;
0055                         bank-width = <4>;
0056                         device-width = <2>;
0057                 };
0058 
0059                 board-control@3,400000 {
0060                         reg = <0x3 0x400000 0x10>;
0061                         compatible = "fsl,ep88xc-bcsr";
0062                 };
0063         };
0064 
0065         soc@fa200000 {
0066                 compatible = "fsl,mpc885", "fsl,pq1-soc";
0067                 #address-cells = <1>;
0068                 #size-cells = <1>;
0069                 device_type = "soc";
0070                 ranges = <0x0 0xfa200000 0x4000>;
0071                 bus-frequency = <0>;
0072 
0073                 // Temporary -- will go away once kernel uses ranges for get_immrbase().
0074                 reg = <0xfa200000 0x4000>;
0075 
0076                 mdio@e00 {
0077                         compatible = "fsl,mpc885-fec-mdio", "fsl,pq1-fec-mdio";
0078                         reg = <0xe00 0x188>;
0079                         #address-cells = <1>;
0080                         #size-cells = <0>;
0081 
0082                         PHY0: ethernet-phy@0 {
0083                                 reg = <0x0>;
0084                         };
0085 
0086                         PHY1: ethernet-phy@1 {
0087                                 reg = <0x1>;
0088                         };
0089                 };
0090 
0091                 ethernet@e00 {
0092                         device_type = "network";
0093                         compatible = "fsl,mpc885-fec-enet",
0094                                      "fsl,pq1-fec-enet";
0095                         reg = <0xe00 0x188>;
0096                         local-mac-address = [ 00 00 00 00 00 00 ];
0097                         interrupts = <3 1>;
0098                         interrupt-parent = <&PIC>;
0099                         phy-handle = <&PHY0>;
0100                         linux,network-index = <0>;
0101                 };
0102 
0103                 ethernet@1e00 {
0104                         device_type = "network";
0105                         compatible = "fsl,mpc885-fec-enet",
0106                                      "fsl,pq1-fec-enet";
0107                         reg = <0x1e00 0x188>;
0108                         local-mac-address = [ 00 00 00 00 00 00 ];
0109                         interrupts = <7 1>;
0110                         interrupt-parent = <&PIC>;
0111                         phy-handle = <&PHY1>;
0112                         linux,network-index = <1>;
0113                 };
0114 
0115                 PIC: interrupt-controller@0 {
0116                         interrupt-controller;
0117                         #interrupt-cells = <2>;
0118                         reg = <0x0 0x24>;
0119                         compatible = "fsl,mpc885-pic", "fsl,pq1-pic";
0120                 };
0121 
0122                 pcmcia@80 {
0123                         #address-cells = <3>;
0124                         #interrupt-cells = <1>;
0125                         #size-cells = <2>;
0126                         compatible = "fsl,pq-pcmcia";
0127                         device_type = "pcmcia";
0128                         reg = <0x80 0x80>;
0129                         interrupt-parent = <&PIC>;
0130                         interrupts = <13 1>;
0131                 };
0132 
0133                 cpm@9c0 {
0134                         #address-cells = <1>;
0135                         #size-cells = <1>;
0136                         compatible = "fsl,mpc885-cpm", "fsl,cpm1";
0137                         command-proc = <0x9c0>;
0138                         interrupts = <0>;       // cpm error interrupt
0139                         interrupt-parent = <&CPM_PIC>;
0140                         reg = <0x9c0 0x40>;
0141                         ranges;
0142 
0143                         muram@2000 {
0144                                 #address-cells = <1>;
0145                                 #size-cells = <1>;
0146                                 ranges = <0x0 0x2000 0x2000>;
0147 
0148                                 data@0 {
0149                                         compatible = "fsl,cpm-muram-data";
0150                                         reg = <0x0 0x1c00>;
0151                                 };
0152                         };
0153 
0154                         brg@9f0 {
0155                                 compatible = "fsl,mpc885-brg",
0156                                              "fsl,cpm1-brg",
0157                                              "fsl,cpm-brg";
0158                                 reg = <0x9f0 0x10>;
0159                         };
0160 
0161                         CPM_PIC: interrupt-controller@930 {
0162                                 interrupt-controller;
0163                                 #interrupt-cells = <1>;
0164                                 interrupts = <5 2 0 2>;
0165                                 interrupt-parent = <&PIC>;
0166                                 reg = <0x930 0x20>;
0167                                 compatible = "fsl,mpc885-cpm-pic",
0168                                              "fsl,cpm1-pic";
0169                         };
0170 
0171                         // MON-1
0172                         serial@a80 {
0173                                 device_type = "serial";
0174                                 compatible = "fsl,mpc885-smc-uart",
0175                                              "fsl,cpm1-smc-uart";
0176                                 reg = <0xa80 0x10 0x3e80 0x40>;
0177                                 interrupts = <4>;
0178                                 interrupt-parent = <&CPM_PIC>;
0179                                 fsl,cpm-brg = <1>;
0180                                 fsl,cpm-command = <0x90>;
0181                                 linux,planetcore-label = "SMC1";
0182                         };
0183 
0184                         // SER-1
0185                         serial@a20 {
0186                                 device_type = "serial";
0187                                 compatible = "fsl,mpc885-scc-uart",
0188                                              "fsl,cpm1-scc-uart";
0189                                 reg = <0xa20 0x20 0x3d00 0x80>;
0190                                 interrupts = <29>;
0191                                 interrupt-parent = <&CPM_PIC>;
0192                                 fsl,cpm-brg = <2>;
0193                                 fsl,cpm-command = <0x40>;
0194                                 linux,planetcore-label = "SCC2";
0195                         };
0196 
0197                         usb@a00 {
0198                                 #address-cells = <1>;
0199                                 #size-cells = <0>;
0200                                 compatible = "fsl,mpc885-usb",
0201                                              "fsl,cpm1-usb";
0202                                 reg = <0xa00 0x18 0x1c00 0x80>;
0203                                 interrupt-parent = <&CPM_PIC>;
0204                                 interrupts = <30>;
0205                                 fsl,cpm-command = <0000>;
0206                         };
0207                 };
0208         };
0209 };