Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  * Device Tree Source for IBM Holly (PPC 750CL with TSI controller)
0003  * Copyright 2007, IBM Corporation
0004  *
0005  * Stephen Winiecki <stevewin@us.ibm.com>
0006  * Josh Boyer <jwboyer@linux.vnet.ibm.com>
0007  *
0008  * This file is licensed under the terms of the GNU General Public
0009  * License version 2.  This program is licensed "as is" without
0010  * any warranty of any kind, whether express or implied.
0011  */
0012 
0013 /dts-v1/;
0014 
0015 / {
0016         model = "41K7339";
0017         compatible = "ibm,holly";
0018         #address-cells = <1>;
0019         #size-cells = <1>;
0020 
0021         cpus {
0022                 #address-cells = <1>;
0023                 #size-cells =<0>;
0024                 PowerPC,750CL@0 {
0025                         device_type = "cpu";
0026                         reg = <0x00000000>;
0027                         d-cache-line-size = <32>;
0028                         i-cache-line-size = <32>;
0029                         d-cache-size = <32768>;
0030                         i-cache-size = <32768>;
0031                         d-cache-sets = <128>;
0032                         i-cache-sets = <128>;
0033                         timebase-frequency = <50000000>;
0034                         clock-frequency = <600000000>;
0035                         bus-frequency = <200000000>;
0036                 };
0037         };
0038 
0039         memory@0 {
0040                 device_type = "memory";
0041                 reg = <0x00000000 0x20000000>;
0042         };
0043 
0044         tsi109@c0000000 {
0045                 device_type = "tsi-bridge";
0046                 compatible = "tsi109-bridge", "tsi108-bridge";
0047                 #address-cells = <1>;
0048                 #size-cells = <1>;
0049                 ranges = <0x00000000 0xc0000000 0x00010000>;
0050                 reg = <0xc0000000 0x00010000>;
0051 
0052                 i2c@7000 {
0053                         device_type = "i2c";
0054                         compatible  = "tsi109-i2c", "tsi108-i2c";
0055                         interrupt-parent = <&MPIC>;
0056                         interrupts = <0xe 0x2>;
0057                         reg = <0x00007000 0x00000400>;
0058                 };
0059 
0060                 MDIO: mdio@6000 {
0061                         compatible = "tsi109-mdio", "tsi108-mdio";
0062                         reg = <0x00006000 0x00000050>;
0063                         #address-cells = <1>;
0064                         #size-cells = <0>;
0065 
0066                         PHY1: ethernet-phy@1 {
0067                                 compatible = "bcm5461a";
0068                                 reg = <0x00000001>;
0069                                 txc-rxc-delay-disable;
0070                         };
0071 
0072                         PHY2: ethernet-phy@2 {
0073                                 compatible = "bcm5461a";
0074                                 reg = <0x00000002>;
0075                                 txc-rxc-delay-disable;
0076                         };
0077                 };
0078 
0079                 ethernet@6200 {
0080                         device_type = "network";
0081                         compatible = "tsi109-ethernet", "tsi108-ethernet";
0082                         #address-cells = <1>;
0083                         #size-cells = <0>;
0084                         reg = <0x00006000 0x00000200>;
0085                         local-mac-address = [ 00 00 00 00 00 00 ];
0086                         interrupt-parent = <&MPIC>;
0087                         interrupts = <0x10 0x2>;
0088                         mdio-handle = <&MDIO>;
0089                         phy-handle = <&PHY1>;
0090                 };
0091 
0092                 ethernet@6600 {
0093                         device_type = "network";
0094                         compatible = "tsi109-ethernet", "tsi108-ethernet";
0095                         #address-cells = <1>;
0096                         #size-cells = <0>;
0097                         reg = <0x00006400 0x00000200>;
0098                         local-mac-address = [ 00 00 00 00 00 00 ];
0099                         interrupt-parent = <&MPIC>;
0100                         interrupts = <0x11 0x2>;
0101                         mdio-handle = <&MDIO>;
0102                         phy-handle = <&PHY2>;
0103                 };
0104 
0105                 serial@7808 {
0106                         device_type = "serial";
0107                         compatible = "ns16550";
0108                         reg = <0x00007808 0x00000200>;
0109                         virtual-reg = <0xc0007808>;
0110                         clock-frequency = <1067212800>;
0111                         current-speed = <115200>;
0112                         interrupt-parent = <&MPIC>;
0113                         interrupts = <0xc 0x2>;
0114                 };
0115 
0116                 serial@7c08 {
0117                         device_type = "serial";
0118                         compatible = "ns16550";
0119                         reg = <0x00007c08 0x00000200>;
0120                         virtual-reg = <0xc0007c08>;
0121                         clock-frequency = <1067212800>;
0122                         current-speed = <115200>;
0123                         interrupt-parent = <&MPIC>;
0124                         interrupts = <0xd 0x2>;
0125                 };
0126 
0127                 MPIC: pic@7400 {
0128                         device_type = "open-pic";
0129                         compatible = "chrp,open-pic";
0130                         interrupt-controller;
0131                         #interrupt-cells = <2>;
0132                         reg = <0x00007400 0x00000400>;
0133                         big-endian;
0134                 };
0135         };
0136 
0137         pci@c0001000 {
0138                 device_type = "pci";
0139                 compatible = "tsi109-pci", "tsi108-pci";
0140                 #interrupt-cells = <1>;
0141                 #size-cells = <2>;
0142                 #address-cells = <3>;
0143                 reg = <0xc0001000 0x00001000>;
0144                 bus-range = <0x0 0x0>;
0145                 /*----------------------------------------------------+
0146                 | PCI memory range.
0147                 | 01 denotes I/O space
0148                 | 02 denotes 32-bit memory space
0149                 +----------------------------------------------------*/
0150                 ranges = <0x02000000 0x00000000 0x40000000 0x40000000 0x00000000 0x10000000
0151                           0x01000000 0x00000000 0x00000000 0x7e000000 0x00000000 0x00010000>;
0152                 clock-frequency = <133333332>;
0153                 interrupt-parent = <&MPIC>;
0154                 interrupts = <0x17 0x2>;
0155                 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
0156                 /*----------------------------------------------------+
0157                 | The INTA, INTB, INTC, INTD are shared.
0158                 +----------------------------------------------------*/
0159                 interrupt-map = <
0160                         0x800 0x0 0x0 0x1 &RT0 0x24 0x0
0161                         0x800 0x0 0x0 0x2 &RT0 0x25 0x0
0162                         0x800 0x0 0x0 0x3 &RT0 0x26 0x0
0163                         0x800 0x0 0x0 0x4 &RT0 0x27 0x0
0164 
0165                         0x1000 0x0 0x0 0x1 &RT0 0x25 0x0
0166                         0x1000 0x0 0x0 0x2 &RT0 0x26 0x0
0167                         0x1000 0x0 0x0 0x3 &RT0 0x27 0x0
0168                         0x1000 0x0 0x0 0x4 &RT0 0x24 0x0
0169 
0170                         0x1800 0x0 0x0 0x1 &RT0 0x26 0x0
0171                         0x1800 0x0 0x0 0x2 &RT0 0x27 0x0
0172                         0x1800 0x0 0x0 0x3 &RT0 0x24 0x0
0173                         0x1800 0x0 0x0 0x4 &RT0 0x25 0x0
0174 
0175                         0x2000 0x0 0x0 0x1 &RT0 0x27 0x0
0176                         0x2000 0x0 0x0 0x2 &RT0 0x24 0x0
0177                         0x2000 0x0 0x0 0x3 &RT0 0x25 0x0
0178                         0x2000 0x0 0x0 0x4 &RT0 0x26 0x0
0179                         >;
0180 
0181                 RT0: router@1180 {
0182                         device_type = "pic-router";
0183                         interrupt-controller;
0184                         big-endian;
0185                         clock-frequency = <0>;
0186                         #address-cells = <0>;
0187                         #interrupt-cells = <2>;
0188                         interrupts = <0x17 0x2>;
0189                         interrupt-parent = <&MPIC>;
0190                 };
0191         };
0192 
0193         chosen {
0194                 stdout-path = "/tsi109@c0000000/serial@7808";
0195         };
0196 };