Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-or-later
0002 /*
0003  * MPC7448HPC2 (Taiga) board Device Tree Source
0004  *
0005  * Copyright 2006, 2008 Freescale Semiconductor Inc.
0006  * 2006 Roy Zang <Roy Zang at freescale.com>.
0007  */
0008 
0009 /dts-v1/;
0010 
0011 / {
0012         model = "mpc7448hpc2";
0013         compatible = "mpc74xx";
0014         #address-cells = <1>;
0015         #size-cells = <1>;
0016 
0017         aliases {
0018                 ethernet0 = &enet0;
0019                 ethernet1 = &enet1;
0020 
0021                 serial0 = &serial0;
0022                 serial1 = &serial1;
0023 
0024                 pci0 = &pci0;
0025         };
0026 
0027         cpus {
0028                 #address-cells = <1>;
0029                 #size-cells =<0>;
0030                                 
0031                 PowerPC,7448@0 {
0032                         device_type = "cpu";
0033                         reg = <0x0>;
0034                         d-cache-line-size = <32>;       // 32 bytes
0035                         i-cache-line-size = <32>;       // 32 bytes
0036                         d-cache-size = <0x8000>;                // L1, 32K bytes
0037                         i-cache-size = <0x8000>;                // L1, 32K bytes
0038                         timebase-frequency = <0>;       // 33 MHz, from uboot
0039                         clock-frequency = <0>;          // From U-Boot
0040                         bus-frequency = <0>;            // From U-Boot
0041                 };
0042         };
0043 
0044         memory {
0045                 device_type = "memory";
0046                 reg = <0x0 0x20000000   // DDR2   512M at 0
0047                        >;
0048         };
0049 
0050         tsi108@c0000000 {
0051                 #address-cells = <1>;
0052                 #size-cells = <1>;
0053                 device_type = "tsi-bridge";
0054                 ranges = <0x0 0xc0000000 0x10000>;
0055                 reg = <0xc0000000 0x10000>;
0056                 bus-frequency = <0>;
0057 
0058                 i2c@7000 {
0059                         interrupt-parent = <&mpic>;
0060                         interrupts = <14 0>;
0061                         reg = <0x7000 0x400>;
0062                         device_type = "i2c";
0063                         compatible  = "tsi108-i2c";
0064                 };
0065 
0066                 MDIO: mdio@6000 {
0067                         compatible = "tsi108-mdio";
0068                         reg = <0x6000 0x50>;
0069                         #address-cells = <1>;
0070                         #size-cells = <0>;
0071 
0072                         phy8: ethernet-phy@8 {
0073                                 interrupt-parent = <&mpic>;
0074                                 interrupts = <2 1>;
0075                                 reg = <0x8>;
0076                         };
0077 
0078                         phy9: ethernet-phy@9 {
0079                                 interrupt-parent = <&mpic>;
0080                                 interrupts = <2 1>;
0081                                 reg = <0x9>;
0082                         };
0083 
0084                 };
0085 
0086                 enet0: ethernet@6200 {
0087                         linux,network-index = <0>;
0088                         #size-cells = <0>;
0089                         device_type = "network";
0090                         compatible = "tsi108-ethernet";
0091                         reg = <0x6000 0x200>;
0092                         address = [ 00 06 D2 00 00 01 ];
0093                         interrupts = <16 2>;
0094                         interrupt-parent = <&mpic>;
0095                         mdio-handle = <&MDIO>;
0096                         phy-handle = <&phy8>;
0097                 };
0098 
0099                 enet1: ethernet@6600 {
0100                         linux,network-index = <1>;
0101                         #address-cells = <1>;
0102                         #size-cells = <0>;
0103                         device_type = "network";
0104                         compatible = "tsi108-ethernet";
0105                         reg = <0x6400 0x200>;
0106                         address = [ 00 06 D2 00 00 02 ];
0107                         interrupts = <17 2>;
0108                         interrupt-parent = <&mpic>;
0109                         mdio-handle = <&MDIO>;
0110                         phy-handle = <&phy9>;
0111                 };
0112 
0113                 serial0: serial@7808 {
0114                         device_type = "serial";
0115                         compatible = "ns16550";
0116                         reg = <0x7808 0x200>;
0117                         clock-frequency = <1064000000>;
0118                         interrupts = <12 0>;
0119                         interrupt-parent = <&mpic>;
0120                 };
0121 
0122                 serial1: serial@7c08 {
0123                         device_type = "serial";
0124                         compatible = "ns16550";
0125                         reg = <0x7c08 0x200>;
0126                         clock-frequency = <1064000000>;
0127                         interrupts = <13 0>;
0128                         interrupt-parent = <&mpic>;
0129                 };
0130 
0131                 mpic: pic@7400 {
0132                         interrupt-controller;
0133                         #address-cells = <0>;
0134                         #interrupt-cells = <2>;
0135                         reg = <0x7400 0x400>;
0136                         compatible = "chrp,open-pic";
0137                         device_type = "open-pic";
0138                 };
0139                 pci0: pci@1000 {
0140                         compatible = "tsi108-pci";
0141                         device_type = "pci";
0142                         #interrupt-cells = <1>;
0143                         #size-cells = <2>;
0144                         #address-cells = <3>;
0145                         reg = <0x1000 0x1000>;
0146                         bus-range = <0 0>;
0147                         ranges = <0x2000000 0x0 0xe0000000 0xe0000000 0x0 0x1a000000    
0148                                   0x1000000 0x0 0x0 0xfa000000 0x0 0x10000>;
0149                         clock-frequency = <133333332>;
0150                         interrupt-parent = <&mpic>;
0151                         interrupts = <23 2>;
0152                         interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
0153                         interrupt-map = <
0154 
0155                                 /* IDSEL 0x11 */
0156                                 0x800 0x0 0x0 0x1 &RT0 0x24 0x0
0157                                 0x800 0x0 0x0 0x2 &RT0 0x25 0x0
0158                                 0x800 0x0 0x0 0x3 &RT0 0x26 0x0
0159                                 0x800 0x0 0x0 0x4 &RT0 0x27 0x0
0160 
0161                                 /* IDSEL 0x12 */
0162                                 0x1000 0x0 0x0 0x1 &RT0 0x25 0x0
0163                                 0x1000 0x0 0x0 0x2 &RT0 0x26 0x0
0164                                 0x1000 0x0 0x0 0x3 &RT0 0x27 0x0
0165                                 0x1000 0x0 0x0 0x4 &RT0 0x24 0x0
0166 
0167                                 /* IDSEL 0x13 */
0168                                 0x1800 0x0 0x0 0x1 &RT0 0x26 0x0
0169                                 0x1800 0x0 0x0 0x2 &RT0 0x27 0x0
0170                                 0x1800 0x0 0x0 0x3 &RT0 0x24 0x0
0171                                 0x1800 0x0 0x0 0x4 &RT0 0x25 0x0
0172 
0173                                 /* IDSEL 0x14 */
0174                                 0x2000 0x0 0x0 0x1 &RT0 0x27 0x0
0175                                 0x2000 0x0 0x0 0x2 &RT0 0x24 0x0
0176                                 0x2000 0x0 0x0 0x3 &RT0 0x25 0x0
0177                                 0x2000 0x0 0x0 0x4 &RT0 0x26 0x0
0178                                 >;
0179 
0180                         RT0: router@1180 {
0181                                 clock-frequency = <0>;
0182                                 interrupt-controller;
0183                                 device_type = "pic-router";
0184                                 #address-cells = <0>;
0185                                 #interrupt-cells = <2>;
0186                                 big-endian;
0187                                 interrupts = <23 2>;
0188                                 interrupt-parent = <&mpic>;
0189                         };
0190                 };
0191         };
0192 };