Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-or-later
0002 /*
0003  * Device Tree for the Embedded Planet EP8248E board running PlanetCore.
0004  *
0005  * Copyright 2007 Freescale Semiconductor Inc.
0006  */
0007 
0008 /dts-v1/;
0009 / {
0010         model = "EP8248E";
0011         compatible = "fsl,ep8248e";
0012         #address-cells = <1>;
0013         #size-cells = <1>;
0014 
0015         aliases {
0016                 planetcore-SMC1 = &smc1;
0017                 planetcore-SCC1 = &scc1;
0018                 ethernet0 = &eth0;
0019                 ethernet1 = &eth1;
0020                 serial0 = &smc1;
0021                 serial1 = &scc1;
0022         };
0023 
0024         cpus {
0025                 #address-cells = <1>;
0026                 #size-cells = <0>;
0027 
0028                 PowerPC,8248@0 {
0029                         device_type = "cpu";
0030                         reg = <0>;
0031                         d-cache-line-size = <32>;
0032                         i-cache-line-size = <32>;
0033                         d-cache-size = <16384>;
0034                         i-cache-size = <16384>;
0035                         timebase-frequency = <0>;
0036                         clock-frequency = <0>;
0037                 };
0038         };
0039 
0040         localbus@f0010100 {
0041                 compatible = "fsl,mpc8248-localbus",
0042                              "fsl,pq2-localbus",
0043                              "simple-bus";
0044                 #address-cells = <2>;
0045                 #size-cells = <1>;
0046                 reg = <0xf0010100 0x40>;
0047 
0048                 ranges = <0 0 0xfc000000 0x04000000
0049                           1 0 0xfa000000 0x00008000>;
0050 
0051                 flash@0,3800000 {
0052                         compatible = "cfi-flash";
0053                         reg = <0 0x3800000 0x800000>;
0054                         bank-width = <4>;
0055                         device-width = <2>;
0056                 };
0057 
0058                 bcsr@1,0 {
0059                         #address-cells = <2>;
0060                         #size-cells = <1>;
0061                         reg = <1 0 0x10>;
0062                         compatible = "fsl,ep8248e-bcsr";
0063                         ranges;
0064 
0065                         mdio {
0066                                 compatible = "fsl,ep8248e-mdio-bitbang";
0067                                 #address-cells = <1>;
0068                                 #size-cells = <0>;
0069                                 reg = <1 8 1>;
0070 
0071                                 PHY0: ethernet-phy@0 {
0072                                         interrupt-parent = <&PIC>;
0073                                         reg = <0>;
0074                                 };
0075 
0076                                 PHY1: ethernet-phy@1 {
0077                                         interrupt-parent = <&PIC>;
0078                                         reg = <1>;
0079                                 };
0080                         };
0081                 };
0082         };
0083 
0084         memory {
0085                 device_type = "memory";
0086                 reg = <0 0>;
0087         };
0088 
0089         soc@f0000000 {
0090                 #address-cells = <1>;
0091                 #size-cells = <1>;
0092                 compatible = "fsl,mpc8248-immr", "fsl,pq2-soc", "simple-bus";
0093                 ranges = <0x00000000 0xf0000000 0x00053000>;
0094 
0095                 // Temporary until code stops depending on it.
0096                 device_type = "soc";
0097 
0098                 // Temporary -- will go away once kernel uses ranges for get_immrbase().
0099                 reg = <0xf0000000 0x00053000>;
0100 
0101                 cpm@119c0 {
0102                         #address-cells = <1>;
0103                         #size-cells = <1>;
0104                         #interrupt-cells = <2>;
0105                         compatible = "fsl,mpc8248-cpm", "fsl,cpm2",
0106                                      "simple-bus";
0107                         reg = <0x119c0 0x30>;
0108                         ranges;
0109 
0110                         muram {
0111                                 #address-cells = <1>;
0112                                 #size-cells = <1>;
0113                                 ranges = <0 0 0x10000>;
0114 
0115                                 data@0 {
0116                                         compatible = "fsl,cpm-muram-data";
0117                                         reg = <0 0x2000 0x9800 0x800>;
0118                                 };
0119                         };
0120 
0121                         brg@119f0 {
0122                                 compatible = "fsl,mpc8248-brg",
0123                                              "fsl,cpm2-brg",
0124                                              "fsl,cpm-brg";
0125                                 reg = <0x119f0 0x10 0x115f0 0x10>;
0126                         };
0127 
0128                         /* Monitor port/SMC1 */
0129                         smc1: serial@11a80 {
0130                                 device_type = "serial";
0131                                 compatible = "fsl,mpc8248-smc-uart",
0132                                              "fsl,cpm2-smc-uart";
0133                                 reg = <0x11a80 0x20 0x87fc 2>;
0134                                 interrupts = <4 8>;
0135                                 interrupt-parent = <&PIC>;
0136                                 fsl,cpm-brg = <7>;
0137                                 fsl,cpm-command = <0x1d000000>;
0138                                 linux,planetcore-label = "SMC1";
0139                         };
0140 
0141                         /* "Serial" port/SCC1 */
0142                         scc1: serial@11a00 {
0143                                 device_type = "serial";
0144                                 compatible = "fsl,mpc8248-scc-uart",
0145                                              "fsl,cpm2-scc-uart";
0146                                 reg = <0x11a00 0x20 0x8000 0x100>;
0147                                 interrupts = <40 8>;
0148                                 interrupt-parent = <&PIC>;
0149                                 fsl,cpm-brg = <1>;
0150                                 fsl,cpm-command = <0x00800000>;
0151                                 linux,planetcore-label = "SCC1";
0152                         };
0153 
0154                         eth0: ethernet@11300 {
0155                                 device_type = "network";
0156                                 compatible = "fsl,mpc8248-fcc-enet",
0157                                              "fsl,cpm2-fcc-enet";
0158                                 reg = <0x11300 0x20 0x8400 0x100 0x11390 1>;
0159                                 local-mac-address = [ 00 00 00 00 00 00 ];
0160                                 interrupts = <32 8>;
0161                                 interrupt-parent = <&PIC>;
0162                                 phy-handle = <&PHY0>;
0163                                 linux,network-index = <0>;
0164                                 fsl,cpm-command = <0x12000300>;
0165                         };
0166 
0167                         eth1: ethernet@11320 {
0168                                 device_type = "network";
0169                                 compatible = "fsl,mpc8248-fcc-enet",
0170                                              "fsl,cpm2-fcc-enet";
0171                                 reg = <0x11320 0x20 0x8500 0x100 0x113b0 1>;
0172                                 local-mac-address = [ 00 00 00 00 00 00 ];
0173                                 interrupts = <33 8>;
0174                                 interrupt-parent = <&PIC>;
0175                                 phy-handle = <&PHY1>;
0176                                 linux,network-index = <1>;
0177                                 fsl,cpm-command = <0x16200300>;
0178                         };
0179 
0180                         usb@11b60 {
0181                                 #address-cells = <1>;
0182                                 #size-cells = <0>;
0183                                 compatible = "fsl,mpc8248-usb",
0184                                              "fsl,cpm2-usb";
0185                                 reg = <0x11b60 0x18 0x8b00 0x100>;
0186                                 interrupt-parent = <&PIC>;
0187                                 interrupts = <11 8>;
0188                                 fsl,cpm-command = <0x2e600000>;
0189                         };
0190                 };
0191 
0192                 PIC: interrupt-controller@10c00 {
0193                         #interrupt-cells = <2>;
0194                         interrupt-controller;
0195                         reg = <0x10c00 0x80>;
0196                         compatible = "fsl,mpc8248-pic", "fsl,pq2-pic";
0197                 };
0198         };
0199 };