Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-or-later
0002 /*
0003  * Device Tree Source for MPC885 ADS running RedBoot
0004  *
0005  * Copyright 2006 MontaVista Software, Inc.
0006  * Copyright 2007 Freescale Semiconductor, Inc.
0007  */
0008 
0009 /dts-v1/;
0010 / {
0011         model = "Analogue & Micro Adder MPC875";
0012         compatible = "analogue-and-micro,adder875";
0013         #address-cells = <1>;
0014         #size-cells = <1>;
0015 
0016         aliases {
0017                 console = &console;
0018                 ethernet0 = &eth0;
0019                 ethernet1 = &eth1;
0020         };
0021 
0022         cpus {
0023                 #address-cells = <1>;
0024                 #size-cells = <0>;
0025 
0026                 PowerPC,875@0 {
0027                         device_type = "cpu";
0028                         reg = <0>;
0029                         d-cache-line-size = <16>;
0030                         i-cache-line-size = <16>;
0031                         d-cache-size = <8192>;
0032                         i-cache-size = <8192>;
0033                         timebase-frequency = <0>;
0034                         bus-frequency = <0>;
0035                         clock-frequency = <0>;
0036                         interrupts = <15 2>;    // decrementer interrupt
0037                         interrupt-parent = <&PIC>;
0038                 };
0039         };
0040 
0041         memory {
0042                 device_type = "memory";
0043                 reg = <0 0x01000000>;
0044         };
0045 
0046         localbus@fa200100 {
0047                 compatible = "fsl,mpc885-localbus", "fsl,pq1-localbus",
0048                              "simple-bus";
0049                 #address-cells = <2>;
0050                 #size-cells = <1>;
0051                 reg = <0xfa200100 0x40>;
0052 
0053                 ranges = <
0054                         0 0 0xfe000000 0x00800000
0055                         2 0 0xfa100000 0x00008000
0056                 >;
0057 
0058                 flash@0,0 {
0059                         compatible = "cfi-flash";
0060                         reg = <0 0 0x800000>;
0061                         bank-width = <2>;
0062                         device-width = <2>;
0063                 };
0064         };
0065 
0066         soc@fa200000 {
0067                 compatible = "fsl,mpc875-immr", "fsl,pq1-soc", "simple-bus";
0068                 #address-cells = <1>;
0069                 #size-cells = <1>;
0070                 ranges = <0 0xfa200000 0x00004000>;
0071 
0072                 // Temporary until code stops depending on it.
0073                 device_type = "soc";
0074 
0075                 // Temporary until get_immrbase() is fixed.
0076                 reg = <0xfa200000 0x4000>;
0077 
0078                 mdio@e00 {
0079                         compatible = "fsl,mpc875-fec-mdio", "fsl,pq1-fec-mdio";
0080                         reg = <0xe00 0x188>;
0081                         #address-cells = <1>;
0082                         #size-cells = <0>;
0083 
0084                         PHY0: ethernet-phy@0 {
0085                                 reg = <0>;
0086                         };
0087 
0088                         PHY1: ethernet-phy@1 {
0089                                 reg = <1>;
0090                         };
0091                 };
0092 
0093                 eth0: ethernet@e00 {
0094                         device_type = "network";
0095                         compatible = "fsl,mpc875-fec-enet",
0096                                      "fsl,pq1-fec-enet";
0097                         reg = <0xe00 0x188>;
0098                         local-mac-address = [ 00 00 00 00 00 00 ];
0099                         interrupts = <3 1>;
0100                         interrupt-parent = <&PIC>;
0101                         phy-handle = <&PHY0>;
0102                         linux,network-index = <0>;
0103                 };
0104 
0105                 eth1: ethernet@1e00 {
0106                         device_type = "network";
0107                         compatible = "fsl,mpc875-fec-enet",
0108                                      "fsl,pq1-fec-enet";
0109                         reg = <0x1e00 0x188>;
0110                         local-mac-address = [ 00 00 00 00 00 00 ];
0111                         interrupts = <7 1>;
0112                         interrupt-parent = <&PIC>;
0113                         phy-handle = <&PHY1>;
0114                         linux,network-index = <1>;
0115                 };
0116 
0117                 PIC: interrupt-controller@0 {
0118                         interrupt-controller;
0119                         #interrupt-cells = <2>;
0120                         reg = <0 0x24>;
0121                         compatible = "fsl,mpc875-pic", "fsl,pq1-pic";
0122                 };
0123 
0124                 cpm@9c0 {
0125                         #address-cells = <1>;
0126                         #size-cells = <1>;
0127                         compatible = "fsl,mpc875-cpm", "fsl,cpm1", "simple-bus";
0128                         interrupts = <0>;       // cpm error interrupt
0129                         interrupt-parent = <&CPM_PIC>;
0130                         reg = <0x9c0 0x40>;
0131                         ranges;
0132 
0133                         muram {
0134                                 #address-cells = <1>;
0135                                 #size-cells = <1>;
0136                                 ranges = <0 0x2000 0x2000>;
0137 
0138                                 data@0 {
0139                                         compatible = "fsl,cpm-muram-data";
0140                                         reg = <0 0x1c00>;
0141                                 };
0142                         };
0143 
0144                         brg@9f0 {
0145                                 compatible = "fsl,mpc875-brg",
0146                                              "fsl,cpm1-brg",
0147                                              "fsl,cpm-brg";
0148                                 clock-frequency = <50000000>;
0149                                 reg = <0x9f0 0x10>;
0150                         };
0151 
0152                         CPM_PIC: interrupt-controller@930 {
0153                                 interrupt-controller;
0154                                 #interrupt-cells = <1>;
0155                                 interrupts = <5 2 0 2>;
0156                                 interrupt-parent = <&PIC>;
0157                                 reg = <0x930 0x20>;
0158                                 compatible = "fsl,mpc875-cpm-pic",
0159                                              "fsl,cpm1-pic";
0160                         };
0161 
0162                         console: serial@a80 {
0163                                 device_type = "serial";
0164                                 compatible = "fsl,mpc875-smc-uart",
0165                                              "fsl,cpm1-smc-uart";
0166                                 reg = <0xa80 0x10 0x3e80 0x40>;
0167                                 interrupts = <4>;
0168                                 interrupt-parent = <&CPM_PIC>;
0169                                 fsl,cpm-brg = <1>;
0170                                 fsl,cpm-command = <0x0090>;
0171                                 current-speed = <115200>;
0172                         };
0173                 };
0174         };
0175 
0176         chosen {
0177                 stdout-path = &console;
0178         };
0179 };