Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-or-later
0002 /*
0003  * Device Tree Source for MPC885 ADS running U-Boot
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@ff000100 {
0047                 compatible = "fsl,mpc885-localbus", "fsl,pq1-localbus",
0048                              "simple-bus";
0049                 #address-cells = <2>;
0050                 #size-cells = <1>;
0051                 reg = <0xff000100 0x40>;
0052 
0053                 ranges = <
0054                         0 0 0xfe000000 0x01000000
0055                 >;
0056 
0057                 flash@0,0 {
0058                         compatible = "cfi-flash";
0059                         reg = <0 0 0x800000>;
0060                         bank-width = <2>;
0061                         device-width = <2>;
0062                 };
0063         };
0064 
0065         soc@ff000000 {
0066                 compatible = "fsl,mpc875-immr", "fsl,pq1-soc", "simple-bus";
0067                 #address-cells = <1>;
0068                 #size-cells = <1>;
0069                 ranges = <0 0xff000000 0x00004000>;
0070 
0071                 // Temporary until code stops depending on it.
0072                 device_type = "soc";
0073 
0074                 // Temporary until get_immrbase() is fixed.
0075                 reg = <0xff000000 0x4000>;
0076 
0077                 mdio@e00 {
0078                         compatible = "fsl,mpc875-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 = <0>;
0085                         };
0086 
0087                         PHY1: ethernet-phy@1 {
0088                                 reg = <1>;
0089                         };
0090                 };
0091 
0092                 eth0: ethernet@e00 {
0093                         device_type = "network";
0094                         compatible = "fsl,mpc875-fec-enet",
0095                                      "fsl,pq1-fec-enet";
0096                         reg = <0xe00 0x188>;
0097                         local-mac-address = [ 00 00 00 00 00 00 ];
0098                         interrupts = <3 1>;
0099                         interrupt-parent = <&PIC>;
0100                         phy-handle = <&PHY0>;
0101                         linux,network-index = <0>;
0102                 };
0103 
0104                 eth1: ethernet@1e00 {
0105                         device_type = "network";
0106                         compatible = "fsl,mpc875-fec-enet",
0107                                      "fsl,pq1-fec-enet";
0108                         reg = <0x1e00 0x188>;
0109                         local-mac-address = [ 00 00 00 00 00 00 ];
0110                         interrupts = <7 1>;
0111                         interrupt-parent = <&PIC>;
0112                         phy-handle = <&PHY1>;
0113                         linux,network-index = <1>;
0114                 };
0115 
0116                 PIC: interrupt-controller@0 {
0117                         interrupt-controller;
0118                         #interrupt-cells = <2>;
0119                         reg = <0 0x24>;
0120                         compatible = "fsl,mpc875-pic", "fsl,pq1-pic";
0121                 };
0122 
0123                 cpm@9c0 {
0124                         #address-cells = <1>;
0125                         #size-cells = <1>;
0126                         compatible = "fsl,mpc875-cpm", "fsl,cpm1", "simple-bus";
0127                         interrupts = <0>;       // cpm error interrupt
0128                         interrupt-parent = <&CPM_PIC>;
0129                         reg = <0x9c0 0x40>;
0130                         ranges;
0131 
0132                         muram {
0133                                 #address-cells = <1>;
0134                                 #size-cells = <1>;
0135                                 ranges = <0 0x2000 0x2000>;
0136 
0137                                 data@0 {
0138                                         compatible = "fsl,cpm-muram-data";
0139                                         reg = <0 0x1c00>;
0140                                 };
0141                         };
0142 
0143                         brg@9f0 {
0144                                 compatible = "fsl,mpc875-brg",
0145                                              "fsl,cpm1-brg",
0146                                              "fsl,cpm-brg";
0147                                 clock-frequency = <50000000>;
0148                                 reg = <0x9f0 0x10>;
0149                         };
0150 
0151                         CPM_PIC: interrupt-controller@930 {
0152                                 interrupt-controller;
0153                                 #interrupt-cells = <1>;
0154                                 interrupts = <5 2 0 2>;
0155                                 interrupt-parent = <&PIC>;
0156                                 reg = <0x930 0x20>;
0157                                 compatible = "fsl,mpc875-cpm-pic",
0158                                              "fsl,cpm1-pic";
0159                         };
0160 
0161                         console: serial@a80 {
0162                                 device_type = "serial";
0163                                 compatible = "fsl,mpc875-smc-uart",
0164                                              "fsl,cpm1-smc-uart";
0165                                 reg = <0xa80 0x10 0x3e80 0x40>;
0166                                 interrupts = <4>;
0167                                 interrupt-parent = <&CPM_PIC>;
0168                                 fsl,cpm-brg = <1>;
0169                                 fsl,cpm-command = <0x0090>;
0170                                 current-speed = <115200>;
0171                         };
0172                 };
0173         };
0174 
0175         chosen {
0176                 stdout-path = &console;
0177         };
0178 };