| Josh Boyer | d4d19ec | 2007-05-08 07:31:00 +1000 | [diff] [blame] | 1 | /* | 
|  | 2 | * Device Tree Source for IBM Holly (PPC 750CL with TSI controller) | 
|  | 3 | * Copyright 2007, IBM Corporation | 
|  | 4 | * | 
|  | 5 | * Stephen Winiecki <stevewin@us.ibm.com> | 
|  | 6 | * Josh Boyer <jwboyer@linux.vnet.ibm.com> | 
|  | 7 | * | 
|  | 8 | * This file is licensed under the terms of the GNU General Public | 
|  | 9 | * License version 2.  This program is licensed "as is" without | 
|  | 10 | * any warranty of any kind, whether express or implied. | 
| Josh Boyer | d4d19ec | 2007-05-08 07:31:00 +1000 | [diff] [blame] | 11 | */ | 
|  | 12 |  | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 13 | /dts-v1/; | 
|  | 14 |  | 
| Josh Boyer | d4d19ec | 2007-05-08 07:31:00 +1000 | [diff] [blame] | 15 | / { | 
|  | 16 | model = "41K7339"; | 
|  | 17 | compatible = "ibm,holly"; | 
|  | 18 | #address-cells = <1>; | 
|  | 19 | #size-cells = <1>; | 
|  | 20 |  | 
|  | 21 | cpus { | 
|  | 22 | #address-cells = <1>; | 
|  | 23 | #size-cells =<0>; | 
|  | 24 | PowerPC,750CL@0 { | 
|  | 25 | device_type = "cpu"; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 26 | reg = <0x00000000>; | 
|  | 27 | d-cache-line-size = <32>; | 
|  | 28 | i-cache-line-size = <32>; | 
|  | 29 | d-cache-size = <32768>; | 
|  | 30 | i-cache-size = <32768>; | 
|  | 31 | d-cache-sets = <128>; | 
|  | 32 | i-cache-sets = <128>; | 
|  | 33 | timebase-frequency = <50000000>; | 
|  | 34 | clock-frequency = <600000000>; | 
|  | 35 | bus-frequency = <200000000>; | 
| Josh Boyer | d4d19ec | 2007-05-08 07:31:00 +1000 | [diff] [blame] | 36 | }; | 
|  | 37 | }; | 
|  | 38 |  | 
|  | 39 | memory@0 { | 
|  | 40 | device_type = "memory"; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 41 | reg = <0x00000000 0x20000000>; | 
| Josh Boyer | d4d19ec | 2007-05-08 07:31:00 +1000 | [diff] [blame] | 42 | }; | 
|  | 43 |  | 
|  | 44 | tsi109@c0000000 { | 
|  | 45 | device_type = "tsi-bridge"; | 
| David Gibson | e58ca3d | 2007-06-13 14:53:00 +1000 | [diff] [blame] | 46 | compatible = "tsi109-bridge", "tsi108-bridge"; | 
| Josh Boyer | d4d19ec | 2007-05-08 07:31:00 +1000 | [diff] [blame] | 47 | #address-cells = <1>; | 
|  | 48 | #size-cells = <1>; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 49 | ranges = <0x00000000 0xc0000000 0x00010000>; | 
|  | 50 | reg = <0xc0000000 0x00010000>; | 
| Josh Boyer | d4d19ec | 2007-05-08 07:31:00 +1000 | [diff] [blame] | 51 |  | 
|  | 52 | i2c@7000 { | 
|  | 53 | device_type = "i2c"; | 
| David Gibson | e58ca3d | 2007-06-13 14:53:00 +1000 | [diff] [blame] | 54 | compatible  = "tsi109-i2c", "tsi108-i2c"; | 
|  | 55 | interrupt-parent = <&MPIC>; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 56 | interrupts = <0xe 0x2>; | 
|  | 57 | reg = <0x00007000 0x00000400>; | 
| Josh Boyer | d4d19ec | 2007-05-08 07:31:00 +1000 | [diff] [blame] | 58 | }; | 
|  | 59 |  | 
| David Gibson | e58ca3d | 2007-06-13 14:53:00 +1000 | [diff] [blame] | 60 | MDIO: mdio@6000 { | 
| Josh Boyer | d4d19ec | 2007-05-08 07:31:00 +1000 | [diff] [blame] | 61 | device_type = "mdio"; | 
| David Gibson | e58ca3d | 2007-06-13 14:53:00 +1000 | [diff] [blame] | 62 | compatible = "tsi109-mdio", "tsi108-mdio"; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 63 | reg = <0x00006000 0x00000050>; | 
| David Gibson | e58ca3d | 2007-06-13 14:53:00 +1000 | [diff] [blame] | 64 | #address-cells = <1>; | 
|  | 65 | #size-cells = <0>; | 
| Josh Boyer | d4d19ec | 2007-05-08 07:31:00 +1000 | [diff] [blame] | 66 |  | 
| David Gibson | e58ca3d | 2007-06-13 14:53:00 +1000 | [diff] [blame] | 67 | PHY1: ethernet-phy@1 { | 
|  | 68 | compatible = "bcm5461a"; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 69 | reg = <0x00000001>; | 
| David Gibson | e58ca3d | 2007-06-13 14:53:00 +1000 | [diff] [blame] | 70 | txc-rxc-delay-disable; | 
| Josh Boyer | d4d19ec | 2007-05-08 07:31:00 +1000 | [diff] [blame] | 71 | }; | 
|  | 72 |  | 
| David Gibson | e58ca3d | 2007-06-13 14:53:00 +1000 | [diff] [blame] | 73 | PHY2: ethernet-phy@2 { | 
|  | 74 | compatible = "bcm5461a"; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 75 | reg = <0x00000002>; | 
| David Gibson | e58ca3d | 2007-06-13 14:53:00 +1000 | [diff] [blame] | 76 | txc-rxc-delay-disable; | 
| Josh Boyer | d4d19ec | 2007-05-08 07:31:00 +1000 | [diff] [blame] | 77 | }; | 
|  | 78 | }; | 
|  | 79 |  | 
|  | 80 | ethernet@6200 { | 
|  | 81 | device_type = "network"; | 
| David Gibson | e58ca3d | 2007-06-13 14:53:00 +1000 | [diff] [blame] | 82 | compatible = "tsi109-ethernet", "tsi108-ethernet"; | 
| Josh Boyer | d4d19ec | 2007-05-08 07:31:00 +1000 | [diff] [blame] | 83 | #address-cells = <1>; | 
|  | 84 | #size-cells = <0>; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 85 | reg = <0x00006000 0x00000200>; | 
| Josh Boyer | d4d19ec | 2007-05-08 07:31:00 +1000 | [diff] [blame] | 86 | local-mac-address = [ 00 00 00 00 00 00 ]; | 
| David Gibson | e58ca3d | 2007-06-13 14:53:00 +1000 | [diff] [blame] | 87 | interrupt-parent = <&MPIC>; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 88 | interrupts = <0x10 0x2>; | 
| David Gibson | e58ca3d | 2007-06-13 14:53:00 +1000 | [diff] [blame] | 89 | mdio-handle = <&MDIO>; | 
| Josh Boyer | d4d19ec | 2007-05-08 07:31:00 +1000 | [diff] [blame] | 90 | phy-handle = <&PHY1>; | 
|  | 91 | }; | 
|  | 92 |  | 
|  | 93 | ethernet@6600 { | 
|  | 94 | device_type = "network"; | 
| David Gibson | e58ca3d | 2007-06-13 14:53:00 +1000 | [diff] [blame] | 95 | compatible = "tsi109-ethernet", "tsi108-ethernet"; | 
| Josh Boyer | d4d19ec | 2007-05-08 07:31:00 +1000 | [diff] [blame] | 96 | #address-cells = <1>; | 
|  | 97 | #size-cells = <0>; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 98 | reg = <0x00006400 0x00000200>; | 
| Josh Boyer | d4d19ec | 2007-05-08 07:31:00 +1000 | [diff] [blame] | 99 | local-mac-address = [ 00 00 00 00 00 00 ]; | 
| David Gibson | e58ca3d | 2007-06-13 14:53:00 +1000 | [diff] [blame] | 100 | interrupt-parent = <&MPIC>; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 101 | interrupts = <0x11 0x2>; | 
| David Gibson | e58ca3d | 2007-06-13 14:53:00 +1000 | [diff] [blame] | 102 | mdio-handle = <&MDIO>; | 
| Josh Boyer | d4d19ec | 2007-05-08 07:31:00 +1000 | [diff] [blame] | 103 | phy-handle = <&PHY2>; | 
|  | 104 | }; | 
|  | 105 |  | 
|  | 106 | serial@7808 { | 
|  | 107 | device_type = "serial"; | 
|  | 108 | compatible = "ns16550"; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 109 | reg = <0x00007808 0x00000200>; | 
|  | 110 | virtual-reg = <0xc0007808>; | 
|  | 111 | clock-frequency = <1067212800>; | 
|  | 112 | current-speed = <115200>; | 
| David Gibson | e58ca3d | 2007-06-13 14:53:00 +1000 | [diff] [blame] | 113 | interrupt-parent = <&MPIC>; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 114 | interrupts = <0xc 0x2>; | 
| Josh Boyer | d4d19ec | 2007-05-08 07:31:00 +1000 | [diff] [blame] | 115 | }; | 
|  | 116 |  | 
|  | 117 | serial@7c08 { | 
|  | 118 | device_type = "serial"; | 
|  | 119 | compatible = "ns16550"; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 120 | reg = <0x00007c08 0x00000200>; | 
|  | 121 | virtual-reg = <0xc0007c08>; | 
|  | 122 | clock-frequency = <1067212800>; | 
|  | 123 | current-speed = <115200>; | 
| David Gibson | e58ca3d | 2007-06-13 14:53:00 +1000 | [diff] [blame] | 124 | interrupt-parent = <&MPIC>; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 125 | interrupts = <0xd 0x2>; | 
| Josh Boyer | d4d19ec | 2007-05-08 07:31:00 +1000 | [diff] [blame] | 126 | }; | 
|  | 127 |  | 
|  | 128 | MPIC: pic@7400 { | 
|  | 129 | device_type = "open-pic"; | 
|  | 130 | compatible = "chrp,open-pic"; | 
|  | 131 | interrupt-controller; | 
|  | 132 | #interrupt-cells = <2>; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 133 | reg = <0x00007400 0x00000400>; | 
| Josh Boyer | d4d19ec | 2007-05-08 07:31:00 +1000 | [diff] [blame] | 134 | big-endian; | 
|  | 135 | }; | 
| David Gibson | ad61104 | 2008-09-24 16:39:04 +0000 | [diff] [blame] | 136 | }; | 
| Josh Boyer | d4d19ec | 2007-05-08 07:31:00 +1000 | [diff] [blame] | 137 |  | 
| David Gibson | ad61104 | 2008-09-24 16:39:04 +0000 | [diff] [blame] | 138 | pci@c0001000 { | 
|  | 139 | device_type = "pci"; | 
|  | 140 | compatible = "tsi109-pci", "tsi108-pci"; | 
|  | 141 | #interrupt-cells = <1>; | 
|  | 142 | #size-cells = <2>; | 
|  | 143 | #address-cells = <3>; | 
|  | 144 | reg = <0xc0001000 0x00001000>; | 
|  | 145 | bus-range = <0x0 0x0>; | 
|  | 146 | /*----------------------------------------------------+ | 
|  | 147 | | PCI memory range. | 
|  | 148 | | 01 denotes I/O space | 
|  | 149 | | 02 denotes 32-bit memory space | 
|  | 150 | +----------------------------------------------------*/ | 
|  | 151 | ranges = <0x02000000 0x00000000 0x40000000 0x40000000 0x00000000 0x10000000 | 
|  | 152 | 0x01000000 0x00000000 0x00000000 0x7e000000 0x00000000 0x00010000>; | 
|  | 153 | clock-frequency = <133333332>; | 
|  | 154 | interrupt-parent = <&MPIC>; | 
|  | 155 | interrupts = <0x17 0x2>; | 
|  | 156 | interrupt-map-mask = <0xf800 0x0 0x0 0x7>; | 
|  | 157 | /*----------------------------------------------------+ | 
|  | 158 | | The INTA, INTB, INTC, INTD are shared. | 
|  | 159 | +----------------------------------------------------*/ | 
|  | 160 | interrupt-map = < | 
|  | 161 | 0x800 0x0 0x0 0x1 &RT0 0x24 0x0 | 
|  | 162 | 0x800 0x0 0x0 0x2 &RT0 0x25 0x0 | 
|  | 163 | 0x800 0x0 0x0 0x3 &RT0 0x26 0x0 | 
|  | 164 | 0x800 0x0 0x0 0x4 &RT0 0x27 0x0 | 
|  | 165 |  | 
|  | 166 | 0x1000 0x0 0x0 0x1 &RT0 0x25 0x0 | 
|  | 167 | 0x1000 0x0 0x0 0x2 &RT0 0x26 0x0 | 
|  | 168 | 0x1000 0x0 0x0 0x3 &RT0 0x27 0x0 | 
|  | 169 | 0x1000 0x0 0x0 0x4 &RT0 0x24 0x0 | 
|  | 170 |  | 
|  | 171 | 0x1800 0x0 0x0 0x1 &RT0 0x26 0x0 | 
|  | 172 | 0x1800 0x0 0x0 0x2 &RT0 0x27 0x0 | 
|  | 173 | 0x1800 0x0 0x0 0x3 &RT0 0x24 0x0 | 
|  | 174 | 0x1800 0x0 0x0 0x4 &RT0 0x25 0x0 | 
|  | 175 |  | 
|  | 176 | 0x2000 0x0 0x0 0x1 &RT0 0x27 0x0 | 
|  | 177 | 0x2000 0x0 0x0 0x2 &RT0 0x24 0x0 | 
|  | 178 | 0x2000 0x0 0x0 0x3 &RT0 0x25 0x0 | 
|  | 179 | 0x2000 0x0 0x0 0x4 &RT0 0x26 0x0 | 
|  | 180 | >; | 
|  | 181 |  | 
|  | 182 | RT0: router@1180 { | 
|  | 183 | device_type = "pic-router"; | 
|  | 184 | interrupt-controller; | 
|  | 185 | big-endian; | 
|  | 186 | clock-frequency = <0>; | 
|  | 187 | #address-cells = <0>; | 
|  | 188 | #interrupt-cells = <2>; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 189 | interrupts = <0x17 0x2>; | 
| David Gibson | ad61104 | 2008-09-24 16:39:04 +0000 | [diff] [blame] | 190 | interrupt-parent = <&MPIC>; | 
| Josh Boyer | d4d19ec | 2007-05-08 07:31:00 +1000 | [diff] [blame] | 191 | }; | 
|  | 192 | }; | 
|  | 193 |  | 
|  | 194 | chosen { | 
|  | 195 | linux,stdout-path = "/tsi109@c0000000/serial@7808"; | 
| Josh Boyer | d4d19ec | 2007-05-08 07:31:00 +1000 | [diff] [blame] | 196 | }; | 
|  | 197 | }; |