1*c66ec88fSEmmanuel Vadot/* 2*c66ec88fSEmmanuel Vadot * Device Tree Source for Mosaix Technologies, Inc. ICON board 3*c66ec88fSEmmanuel Vadot * 4*c66ec88fSEmmanuel Vadot * Copyright 2010 DENX Software Engineering, Stefan Roese <sr@denx.de> 5*c66ec88fSEmmanuel Vadot * 6*c66ec88fSEmmanuel Vadot * This file is licensed under the terms of the GNU General Public 7*c66ec88fSEmmanuel Vadot * License version 2. This program is licensed "as is" without 8*c66ec88fSEmmanuel Vadot * any warranty of any kind, whether express or implied. 9*c66ec88fSEmmanuel Vadot */ 10*c66ec88fSEmmanuel Vadot 11*c66ec88fSEmmanuel Vadot/dts-v1/; 12*c66ec88fSEmmanuel Vadot 13*c66ec88fSEmmanuel Vadot/ { 14*c66ec88fSEmmanuel Vadot #address-cells = <2>; 15*c66ec88fSEmmanuel Vadot #size-cells = <2>; 16*c66ec88fSEmmanuel Vadot model = "mosaixtech,icon"; 17*c66ec88fSEmmanuel Vadot compatible = "mosaixtech,icon"; 18*c66ec88fSEmmanuel Vadot dcr-parent = <&{/cpus/cpu@0}>; 19*c66ec88fSEmmanuel Vadot 20*c66ec88fSEmmanuel Vadot aliases { 21*c66ec88fSEmmanuel Vadot ethernet0 = &EMAC0; 22*c66ec88fSEmmanuel Vadot serial0 = &UART0; 23*c66ec88fSEmmanuel Vadot serial1 = &UART1; 24*c66ec88fSEmmanuel Vadot serial2 = &UART2; 25*c66ec88fSEmmanuel Vadot }; 26*c66ec88fSEmmanuel Vadot 27*c66ec88fSEmmanuel Vadot cpus { 28*c66ec88fSEmmanuel Vadot #address-cells = <1>; 29*c66ec88fSEmmanuel Vadot #size-cells = <0>; 30*c66ec88fSEmmanuel Vadot 31*c66ec88fSEmmanuel Vadot cpu@0 { 32*c66ec88fSEmmanuel Vadot device_type = "cpu"; 33*c66ec88fSEmmanuel Vadot model = "PowerPC,440SPe"; 34*c66ec88fSEmmanuel Vadot reg = <0x00000000>; 35*c66ec88fSEmmanuel Vadot clock-frequency = <0>; /* Filled in by U-Boot */ 36*c66ec88fSEmmanuel Vadot timebase-frequency = <0>; /* Filled in by U-Boot */ 37*c66ec88fSEmmanuel Vadot i-cache-line-size = <32>; 38*c66ec88fSEmmanuel Vadot d-cache-line-size = <32>; 39*c66ec88fSEmmanuel Vadot i-cache-size = <32768>; 40*c66ec88fSEmmanuel Vadot d-cache-size = <32768>; 41*c66ec88fSEmmanuel Vadot dcr-controller; 42*c66ec88fSEmmanuel Vadot dcr-access-method = "native"; 43*c66ec88fSEmmanuel Vadot reset-type = <2>; /* Use chip-reset */ 44*c66ec88fSEmmanuel Vadot }; 45*c66ec88fSEmmanuel Vadot }; 46*c66ec88fSEmmanuel Vadot 47*c66ec88fSEmmanuel Vadot memory { 48*c66ec88fSEmmanuel Vadot device_type = "memory"; 49*c66ec88fSEmmanuel Vadot reg = <0x0 0x00000000 0x0 0x00000000>; /* Filled in by U-Boot */ 50*c66ec88fSEmmanuel Vadot }; 51*c66ec88fSEmmanuel Vadot 52*c66ec88fSEmmanuel Vadot UIC0: interrupt-controller0 { 53*c66ec88fSEmmanuel Vadot compatible = "ibm,uic-440spe","ibm,uic"; 54*c66ec88fSEmmanuel Vadot interrupt-controller; 55*c66ec88fSEmmanuel Vadot cell-index = <0>; 56*c66ec88fSEmmanuel Vadot dcr-reg = <0x0c0 0x009>; 57*c66ec88fSEmmanuel Vadot #address-cells = <0>; 58*c66ec88fSEmmanuel Vadot #size-cells = <0>; 59*c66ec88fSEmmanuel Vadot #interrupt-cells = <2>; 60*c66ec88fSEmmanuel Vadot }; 61*c66ec88fSEmmanuel Vadot 62*c66ec88fSEmmanuel Vadot UIC1: interrupt-controller1 { 63*c66ec88fSEmmanuel Vadot compatible = "ibm,uic-440spe","ibm,uic"; 64*c66ec88fSEmmanuel Vadot interrupt-controller; 65*c66ec88fSEmmanuel Vadot cell-index = <1>; 66*c66ec88fSEmmanuel Vadot dcr-reg = <0x0d0 0x009>; 67*c66ec88fSEmmanuel Vadot #address-cells = <0>; 68*c66ec88fSEmmanuel Vadot #size-cells = <0>; 69*c66ec88fSEmmanuel Vadot #interrupt-cells = <2>; 70*c66ec88fSEmmanuel Vadot interrupts = <0x1e 0x4 0x1f 0x4>; /* cascade */ 71*c66ec88fSEmmanuel Vadot interrupt-parent = <&UIC0>; 72*c66ec88fSEmmanuel Vadot }; 73*c66ec88fSEmmanuel Vadot 74*c66ec88fSEmmanuel Vadot UIC2: interrupt-controller2 { 75*c66ec88fSEmmanuel Vadot compatible = "ibm,uic-440spe","ibm,uic"; 76*c66ec88fSEmmanuel Vadot interrupt-controller; 77*c66ec88fSEmmanuel Vadot cell-index = <2>; 78*c66ec88fSEmmanuel Vadot dcr-reg = <0x0e0 0x009>; 79*c66ec88fSEmmanuel Vadot #address-cells = <0>; 80*c66ec88fSEmmanuel Vadot #size-cells = <0>; 81*c66ec88fSEmmanuel Vadot #interrupt-cells = <2>; 82*c66ec88fSEmmanuel Vadot interrupts = <0xa 0x4 0xb 0x4>; /* cascade */ 83*c66ec88fSEmmanuel Vadot interrupt-parent = <&UIC0>; 84*c66ec88fSEmmanuel Vadot }; 85*c66ec88fSEmmanuel Vadot 86*c66ec88fSEmmanuel Vadot UIC3: interrupt-controller3 { 87*c66ec88fSEmmanuel Vadot compatible = "ibm,uic-440spe","ibm,uic"; 88*c66ec88fSEmmanuel Vadot interrupt-controller; 89*c66ec88fSEmmanuel Vadot cell-index = <3>; 90*c66ec88fSEmmanuel Vadot dcr-reg = <0x0f0 0x009>; 91*c66ec88fSEmmanuel Vadot #address-cells = <0>; 92*c66ec88fSEmmanuel Vadot #size-cells = <0>; 93*c66ec88fSEmmanuel Vadot #interrupt-cells = <2>; 94*c66ec88fSEmmanuel Vadot interrupts = <0x10 0x4 0x11 0x4>; /* cascade */ 95*c66ec88fSEmmanuel Vadot interrupt-parent = <&UIC0>; 96*c66ec88fSEmmanuel Vadot }; 97*c66ec88fSEmmanuel Vadot 98*c66ec88fSEmmanuel Vadot SDR0: sdr { 99*c66ec88fSEmmanuel Vadot compatible = "ibm,sdr-440spe"; 100*c66ec88fSEmmanuel Vadot dcr-reg = <0x00e 0x002>; 101*c66ec88fSEmmanuel Vadot }; 102*c66ec88fSEmmanuel Vadot 103*c66ec88fSEmmanuel Vadot CPR0: cpr { 104*c66ec88fSEmmanuel Vadot compatible = "ibm,cpr-440spe"; 105*c66ec88fSEmmanuel Vadot dcr-reg = <0x00c 0x002>; 106*c66ec88fSEmmanuel Vadot }; 107*c66ec88fSEmmanuel Vadot 108*c66ec88fSEmmanuel Vadot MQ0: mq { 109*c66ec88fSEmmanuel Vadot compatible = "ibm,mq-440spe"; 110*c66ec88fSEmmanuel Vadot dcr-reg = <0x040 0x020>; 111*c66ec88fSEmmanuel Vadot }; 112*c66ec88fSEmmanuel Vadot 113*c66ec88fSEmmanuel Vadot plb { 114*c66ec88fSEmmanuel Vadot compatible = "ibm,plb-440spe", "ibm,plb-440gp", "ibm,plb4"; 115*c66ec88fSEmmanuel Vadot #address-cells = <2>; 116*c66ec88fSEmmanuel Vadot #size-cells = <1>; 117*c66ec88fSEmmanuel Vadot /* addr-child addr-parent size */ 118*c66ec88fSEmmanuel Vadot ranges = <0x4 0x00100000 0x4 0x00100000 0x00001000 119*c66ec88fSEmmanuel Vadot 0x4 0x00200000 0x4 0x00200000 0x00000400 120*c66ec88fSEmmanuel Vadot 0x4 0xe0000000 0x4 0xe0000000 0x20000000 121*c66ec88fSEmmanuel Vadot 0xc 0x00000000 0xc 0x00000000 0x20000000 122*c66ec88fSEmmanuel Vadot 0xd 0x00000000 0xd 0x00000000 0x80000000 123*c66ec88fSEmmanuel Vadot 0xd 0x80000000 0xd 0x80000000 0x80000000 124*c66ec88fSEmmanuel Vadot 0xe 0x00000000 0xe 0x00000000 0x80000000 125*c66ec88fSEmmanuel Vadot 0xe 0x80000000 0xe 0x80000000 0x80000000 126*c66ec88fSEmmanuel Vadot 0xf 0x00000000 0xf 0x00000000 0x80000000 127*c66ec88fSEmmanuel Vadot 0xf 0x80000000 0xf 0x80000000 0x80000000>; 128*c66ec88fSEmmanuel Vadot clock-frequency = <0>; /* Filled in by U-Boot */ 129*c66ec88fSEmmanuel Vadot 130*c66ec88fSEmmanuel Vadot SDRAM0: sdram { 131*c66ec88fSEmmanuel Vadot compatible = "ibm,sdram-440spe", "ibm,sdram-405gp"; 132*c66ec88fSEmmanuel Vadot dcr-reg = <0x010 0x002>; 133*c66ec88fSEmmanuel Vadot }; 134*c66ec88fSEmmanuel Vadot 135*c66ec88fSEmmanuel Vadot MAL0: mcmal { 136*c66ec88fSEmmanuel Vadot compatible = "ibm,mcmal-440spe", "ibm,mcmal2"; 137*c66ec88fSEmmanuel Vadot dcr-reg = <0x180 0x062>; 138*c66ec88fSEmmanuel Vadot num-tx-chans = <2>; 139*c66ec88fSEmmanuel Vadot num-rx-chans = <1>; 140*c66ec88fSEmmanuel Vadot interrupt-parent = <&MAL0>; 141*c66ec88fSEmmanuel Vadot interrupts = <0x0 0x1 0x2 0x3 0x4>; 142*c66ec88fSEmmanuel Vadot #interrupt-cells = <1>; 143*c66ec88fSEmmanuel Vadot #address-cells = <0>; 144*c66ec88fSEmmanuel Vadot #size-cells = <0>; 145*c66ec88fSEmmanuel Vadot interrupt-map = </*TXEOB*/ 0x0 &UIC1 0x6 0x4 146*c66ec88fSEmmanuel Vadot /*RXEOB*/ 0x1 &UIC1 0x7 0x4 147*c66ec88fSEmmanuel Vadot /*SERR*/ 0x2 &UIC1 0x1 0x4 148*c66ec88fSEmmanuel Vadot /*TXDE*/ 0x3 &UIC1 0x2 0x4 149*c66ec88fSEmmanuel Vadot /*RXDE*/ 0x4 &UIC1 0x3 0x4>; 150*c66ec88fSEmmanuel Vadot }; 151*c66ec88fSEmmanuel Vadot 152*c66ec88fSEmmanuel Vadot POB0: opb { 153*c66ec88fSEmmanuel Vadot compatible = "ibm,opb-440spe", "ibm,opb-440gp", "ibm,opb"; 154*c66ec88fSEmmanuel Vadot #address-cells = <1>; 155*c66ec88fSEmmanuel Vadot #size-cells = <1>; 156*c66ec88fSEmmanuel Vadot ranges = <0xe0000000 0x00000004 0xe0000000 0x20000000>; 157*c66ec88fSEmmanuel Vadot clock-frequency = <0>; /* Filled in by U-Boot */ 158*c66ec88fSEmmanuel Vadot 159*c66ec88fSEmmanuel Vadot EBC0: ebc { 160*c66ec88fSEmmanuel Vadot compatible = "ibm,ebc-440spe", "ibm,ebc-440gp", "ibm,ebc"; 161*c66ec88fSEmmanuel Vadot dcr-reg = <0x012 0x002>; 162*c66ec88fSEmmanuel Vadot #address-cells = <2>; 163*c66ec88fSEmmanuel Vadot #size-cells = <1>; 164*c66ec88fSEmmanuel Vadot clock-frequency = <0>; /* Filled in by U-Boot */ 165*c66ec88fSEmmanuel Vadot /* ranges property is supplied by U-Boot */ 166*c66ec88fSEmmanuel Vadot interrupts = <0x5 0x1>; 167*c66ec88fSEmmanuel Vadot interrupt-parent = <&UIC1>; 168*c66ec88fSEmmanuel Vadot 169*c66ec88fSEmmanuel Vadot nor_flash@0,0 { 170*c66ec88fSEmmanuel Vadot compatible = "cfi-flash"; 171*c66ec88fSEmmanuel Vadot bank-width = <2>; 172*c66ec88fSEmmanuel Vadot reg = <0x00000000 0x00000000 0x01000000>; 173*c66ec88fSEmmanuel Vadot #address-cells = <1>; 174*c66ec88fSEmmanuel Vadot #size-cells = <1>; 175*c66ec88fSEmmanuel Vadot partition@0 { 176*c66ec88fSEmmanuel Vadot label = "kernel"; 177*c66ec88fSEmmanuel Vadot reg = <0x00000000 0x001e0000>; 178*c66ec88fSEmmanuel Vadot }; 179*c66ec88fSEmmanuel Vadot partition@1e0000 { 180*c66ec88fSEmmanuel Vadot label = "dtb"; 181*c66ec88fSEmmanuel Vadot reg = <0x001e0000 0x00020000>; 182*c66ec88fSEmmanuel Vadot }; 183*c66ec88fSEmmanuel Vadot partition@200000 { 184*c66ec88fSEmmanuel Vadot label = "root"; 185*c66ec88fSEmmanuel Vadot reg = <0x00200000 0x00200000>; 186*c66ec88fSEmmanuel Vadot }; 187*c66ec88fSEmmanuel Vadot partition@400000 { 188*c66ec88fSEmmanuel Vadot label = "user"; 189*c66ec88fSEmmanuel Vadot reg = <0x00400000 0x00b60000>; 190*c66ec88fSEmmanuel Vadot }; 191*c66ec88fSEmmanuel Vadot partition@f60000 { 192*c66ec88fSEmmanuel Vadot label = "env"; 193*c66ec88fSEmmanuel Vadot reg = <0x00f60000 0x00040000>; 194*c66ec88fSEmmanuel Vadot }; 195*c66ec88fSEmmanuel Vadot partition@fa0000 { 196*c66ec88fSEmmanuel Vadot label = "u-boot"; 197*c66ec88fSEmmanuel Vadot reg = <0x00fa0000 0x00060000>; 198*c66ec88fSEmmanuel Vadot }; 199*c66ec88fSEmmanuel Vadot }; 200*c66ec88fSEmmanuel Vadot 201*c66ec88fSEmmanuel Vadot SysACE_CompactFlash: sysace@1,0 { 202*c66ec88fSEmmanuel Vadot compatible = "xlnx,sysace"; 203*c66ec88fSEmmanuel Vadot interrupt-parent = <&UIC2>; 204*c66ec88fSEmmanuel Vadot interrupts = <24 0x4>; 205*c66ec88fSEmmanuel Vadot reg = <0x00000001 0x00000000 0x10000>; 206*c66ec88fSEmmanuel Vadot }; 207*c66ec88fSEmmanuel Vadot }; 208*c66ec88fSEmmanuel Vadot 209*c66ec88fSEmmanuel Vadot UART0: serial@f0000200 { 210*c66ec88fSEmmanuel Vadot device_type = "serial"; 211*c66ec88fSEmmanuel Vadot compatible = "ns16550"; 212*c66ec88fSEmmanuel Vadot reg = <0xf0000200 0x00000008>; 213*c66ec88fSEmmanuel Vadot virtual-reg = <0xa0000200>; 214*c66ec88fSEmmanuel Vadot clock-frequency = <0>; /* Filled in by U-Boot */ 215*c66ec88fSEmmanuel Vadot current-speed = <115200>; 216*c66ec88fSEmmanuel Vadot interrupt-parent = <&UIC0>; 217*c66ec88fSEmmanuel Vadot interrupts = <0x0 0x4>; 218*c66ec88fSEmmanuel Vadot }; 219*c66ec88fSEmmanuel Vadot 220*c66ec88fSEmmanuel Vadot UART1: serial@f0000300 { 221*c66ec88fSEmmanuel Vadot device_type = "serial"; 222*c66ec88fSEmmanuel Vadot compatible = "ns16550"; 223*c66ec88fSEmmanuel Vadot reg = <0xf0000300 0x00000008>; 224*c66ec88fSEmmanuel Vadot virtual-reg = <0xa0000300>; 225*c66ec88fSEmmanuel Vadot clock-frequency = <0>; 226*c66ec88fSEmmanuel Vadot current-speed = <0>; 227*c66ec88fSEmmanuel Vadot interrupt-parent = <&UIC0>; 228*c66ec88fSEmmanuel Vadot interrupts = <0x1 0x4>; 229*c66ec88fSEmmanuel Vadot }; 230*c66ec88fSEmmanuel Vadot 231*c66ec88fSEmmanuel Vadot 232*c66ec88fSEmmanuel Vadot UART2: serial@f0000600 { 233*c66ec88fSEmmanuel Vadot device_type = "serial"; 234*c66ec88fSEmmanuel Vadot compatible = "ns16550"; 235*c66ec88fSEmmanuel Vadot reg = <0xf0000600 0x00000008>; 236*c66ec88fSEmmanuel Vadot virtual-reg = <0xa0000600>; 237*c66ec88fSEmmanuel Vadot clock-frequency = <0>; 238*c66ec88fSEmmanuel Vadot current-speed = <0>; 239*c66ec88fSEmmanuel Vadot interrupt-parent = <&UIC1>; 240*c66ec88fSEmmanuel Vadot interrupts = <0x5 0x4>; 241*c66ec88fSEmmanuel Vadot }; 242*c66ec88fSEmmanuel Vadot 243*c66ec88fSEmmanuel Vadot IIC0: i2c@f0000400 { 244*c66ec88fSEmmanuel Vadot compatible = "ibm,iic-440spe", "ibm,iic-440gp", "ibm,iic"; 245*c66ec88fSEmmanuel Vadot reg = <0xf0000400 0x00000014>; 246*c66ec88fSEmmanuel Vadot interrupt-parent = <&UIC0>; 247*c66ec88fSEmmanuel Vadot interrupts = <0x2 0x4>; 248*c66ec88fSEmmanuel Vadot }; 249*c66ec88fSEmmanuel Vadot 250*c66ec88fSEmmanuel Vadot IIC1: i2c@f0000500 { 251*c66ec88fSEmmanuel Vadot compatible = "ibm,iic-440spe", "ibm,iic-440gp", "ibm,iic"; 252*c66ec88fSEmmanuel Vadot reg = <0xf0000500 0x00000014>; 253*c66ec88fSEmmanuel Vadot interrupt-parent = <&UIC0>; 254*c66ec88fSEmmanuel Vadot interrupts = <0x3 0x4>; 255*c66ec88fSEmmanuel Vadot #address-cells = <1>; 256*c66ec88fSEmmanuel Vadot #size-cells = <0>; 257*c66ec88fSEmmanuel Vadot 258*c66ec88fSEmmanuel Vadot rtc@68 { 259*c66ec88fSEmmanuel Vadot compatible = "st,m41t00"; 260*c66ec88fSEmmanuel Vadot reg = <0x68>; 261*c66ec88fSEmmanuel Vadot }; 262*c66ec88fSEmmanuel Vadot }; 263*c66ec88fSEmmanuel Vadot 264*c66ec88fSEmmanuel Vadot EMAC0: ethernet@f0000800 { 265*c66ec88fSEmmanuel Vadot linux,network-index = <0x0>; 266*c66ec88fSEmmanuel Vadot device_type = "network"; 267*c66ec88fSEmmanuel Vadot compatible = "ibm,emac-440spe", "ibm,emac4"; 268*c66ec88fSEmmanuel Vadot interrupt-parent = <&UIC1>; 269*c66ec88fSEmmanuel Vadot interrupts = <0x1c 0x4 0x1d 0x4>; 270*c66ec88fSEmmanuel Vadot reg = <0xf0000800 0x00000074>; 271*c66ec88fSEmmanuel Vadot local-mac-address = [000000000000]; 272*c66ec88fSEmmanuel Vadot mal-device = <&MAL0>; 273*c66ec88fSEmmanuel Vadot mal-tx-channel = <0>; 274*c66ec88fSEmmanuel Vadot mal-rx-channel = <0>; 275*c66ec88fSEmmanuel Vadot cell-index = <0>; 276*c66ec88fSEmmanuel Vadot max-frame-size = <9000>; 277*c66ec88fSEmmanuel Vadot rx-fifo-size = <4096>; 278*c66ec88fSEmmanuel Vadot tx-fifo-size = <2048>; 279*c66ec88fSEmmanuel Vadot phy-mode = "gmii"; 280*c66ec88fSEmmanuel Vadot phy-map = <0x00000000>; 281*c66ec88fSEmmanuel Vadot has-inverted-stacr-oc; 282*c66ec88fSEmmanuel Vadot has-new-stacr-staopc; 283*c66ec88fSEmmanuel Vadot }; 284*c66ec88fSEmmanuel Vadot }; 285*c66ec88fSEmmanuel Vadot 286*c66ec88fSEmmanuel Vadot PCIX0: pci@c0ec00000 { 287*c66ec88fSEmmanuel Vadot device_type = "pci"; 288*c66ec88fSEmmanuel Vadot #interrupt-cells = <1>; 289*c66ec88fSEmmanuel Vadot #size-cells = <2>; 290*c66ec88fSEmmanuel Vadot #address-cells = <3>; 291*c66ec88fSEmmanuel Vadot compatible = "ibm,plb-pcix-440spe", "ibm,plb-pcix"; 292*c66ec88fSEmmanuel Vadot primary; 293*c66ec88fSEmmanuel Vadot large-inbound-windows; 294*c66ec88fSEmmanuel Vadot enable-msi-hole; 295*c66ec88fSEmmanuel Vadot reg = <0x0000000c 0x0ec00000 0x00000008 /* Config space access */ 296*c66ec88fSEmmanuel Vadot 0x00000000 0x00000000 0x00000000 /* no IACK cycles */ 297*c66ec88fSEmmanuel Vadot 0x0000000c 0x0ed00000 0x00000004 /* Special cycles */ 298*c66ec88fSEmmanuel Vadot 0x0000000c 0x0ec80000 0x00000100 /* Internal registers */ 299*c66ec88fSEmmanuel Vadot 0x0000000c 0x0ec80100 0x000000fc>; /* Internal messaging registers */ 300*c66ec88fSEmmanuel Vadot 301*c66ec88fSEmmanuel Vadot /* Outbound ranges, one memory and one IO, 302*c66ec88fSEmmanuel Vadot * later cannot be changed 303*c66ec88fSEmmanuel Vadot */ 304*c66ec88fSEmmanuel Vadot ranges = <0x02000000 0x00000000 0x80000000 0x0000000d 0x80000000 0x00000000 0x80000000 305*c66ec88fSEmmanuel Vadot 0x01000000 0x00000000 0x00000000 0x0000000c 0x08000000 0x00000000 0x00010000>; 306*c66ec88fSEmmanuel Vadot 307*c66ec88fSEmmanuel Vadot /* Inbound 4GB range starting at 0 */ 308*c66ec88fSEmmanuel Vadot dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x1 0x00000000>; 309*c66ec88fSEmmanuel Vadot 310*c66ec88fSEmmanuel Vadot /* This drives busses 0 to 0xf */ 311*c66ec88fSEmmanuel Vadot bus-range = <0x0 0xf>; 312*c66ec88fSEmmanuel Vadot 313*c66ec88fSEmmanuel Vadot /* PCI-X interrupt (SM502) is routed to extIRQ10 (UIC1, 19) */ 314*c66ec88fSEmmanuel Vadot interrupt-map-mask = <0x0 0x0 0x0 0x0>; 315*c66ec88fSEmmanuel Vadot interrupt-map = <0x0 0x0 0x0 0x0 &UIC1 19 0x8>; 316*c66ec88fSEmmanuel Vadot }; 317*c66ec88fSEmmanuel Vadot 318*c66ec88fSEmmanuel Vadot PCIE0: pcie@d00000000 { 319*c66ec88fSEmmanuel Vadot device_type = "pci"; 320*c66ec88fSEmmanuel Vadot #interrupt-cells = <1>; 321*c66ec88fSEmmanuel Vadot #size-cells = <2>; 322*c66ec88fSEmmanuel Vadot #address-cells = <3>; 323*c66ec88fSEmmanuel Vadot compatible = "ibm,plb-pciex-440spe", "ibm,plb-pciex"; 324*c66ec88fSEmmanuel Vadot primary; 325*c66ec88fSEmmanuel Vadot port = <0x0>; /* port number */ 326*c66ec88fSEmmanuel Vadot reg = <0x0000000d 0x00000000 0x20000000 /* Config space access */ 327*c66ec88fSEmmanuel Vadot 0x0000000c 0x10000000 0x00001000>; /* Registers */ 328*c66ec88fSEmmanuel Vadot dcr-reg = <0x100 0x020>; 329*c66ec88fSEmmanuel Vadot sdr-base = <0x300>; 330*c66ec88fSEmmanuel Vadot 331*c66ec88fSEmmanuel Vadot /* Outbound ranges, one memory and one IO, 332*c66ec88fSEmmanuel Vadot * later cannot be changed 333*c66ec88fSEmmanuel Vadot */ 334*c66ec88fSEmmanuel Vadot ranges = <0x02000000 0x00000000 0x80000000 0x0000000e 0x00000000 0x00000000 0x80000000 335*c66ec88fSEmmanuel Vadot 0x01000000 0x00000000 0x00000000 0x0000000f 0x80000000 0x00000000 0x00010000>; 336*c66ec88fSEmmanuel Vadot 337*c66ec88fSEmmanuel Vadot /* Inbound 4GB range starting at 0 */ 338*c66ec88fSEmmanuel Vadot dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x1 0x00000000>; 339*c66ec88fSEmmanuel Vadot 340*c66ec88fSEmmanuel Vadot /* This drives busses 0x10 to 0x1f */ 341*c66ec88fSEmmanuel Vadot bus-range = <0x10 0x1f>; 342*c66ec88fSEmmanuel Vadot 343*c66ec88fSEmmanuel Vadot /* Legacy interrupts (note the weird polarity, the bridge seems 344*c66ec88fSEmmanuel Vadot * to invert PCIe legacy interrupts). 345*c66ec88fSEmmanuel Vadot * We are de-swizzling here because the numbers are actually for 346*c66ec88fSEmmanuel Vadot * port of the root complex virtual P2P bridge. But I want 347*c66ec88fSEmmanuel Vadot * to avoid putting a node for it in the tree, so the numbers 348*c66ec88fSEmmanuel Vadot * below are basically de-swizzled numbers. 349*c66ec88fSEmmanuel Vadot * The real slot is on idsel 0, so the swizzling is 1:1 350*c66ec88fSEmmanuel Vadot */ 351*c66ec88fSEmmanuel Vadot interrupt-map-mask = <0x0 0x0 0x0 0x7>; 352*c66ec88fSEmmanuel Vadot interrupt-map = < 353*c66ec88fSEmmanuel Vadot 0x0 0x0 0x0 0x1 &UIC3 0x0 0x4 /* swizzled int A */ 354*c66ec88fSEmmanuel Vadot 0x0 0x0 0x0 0x2 &UIC3 0x1 0x4 /* swizzled int B */ 355*c66ec88fSEmmanuel Vadot 0x0 0x0 0x0 0x3 &UIC3 0x2 0x4 /* swizzled int C */ 356*c66ec88fSEmmanuel Vadot 0x0 0x0 0x0 0x4 &UIC3 0x3 0x4 /* swizzled int D */>; 357*c66ec88fSEmmanuel Vadot }; 358*c66ec88fSEmmanuel Vadot 359*c66ec88fSEmmanuel Vadot PCIE1: pcie@d20000000 { 360*c66ec88fSEmmanuel Vadot device_type = "pci"; 361*c66ec88fSEmmanuel Vadot #interrupt-cells = <1>; 362*c66ec88fSEmmanuel Vadot #size-cells = <2>; 363*c66ec88fSEmmanuel Vadot #address-cells = <3>; 364*c66ec88fSEmmanuel Vadot compatible = "ibm,plb-pciex-440spe", "ibm,plb-pciex"; 365*c66ec88fSEmmanuel Vadot primary; 366*c66ec88fSEmmanuel Vadot port = <0x1>; /* port number */ 367*c66ec88fSEmmanuel Vadot reg = <0x0000000d 0x20000000 0x20000000 /* Config space access */ 368*c66ec88fSEmmanuel Vadot 0x0000000c 0x10001000 0x00001000>; /* Registers */ 369*c66ec88fSEmmanuel Vadot dcr-reg = <0x120 0x020>; 370*c66ec88fSEmmanuel Vadot sdr-base = <0x340>; 371*c66ec88fSEmmanuel Vadot 372*c66ec88fSEmmanuel Vadot /* Outbound ranges, one memory and one IO, 373*c66ec88fSEmmanuel Vadot * later cannot be changed 374*c66ec88fSEmmanuel Vadot */ 375*c66ec88fSEmmanuel Vadot ranges = <0x02000000 0x00000000 0x80000000 0x0000000e 0x80000000 0x00000000 0x80000000 376*c66ec88fSEmmanuel Vadot 0x01000000 0x00000000 0x00000000 0x0000000f 0x80010000 0x00000000 0x00010000>; 377*c66ec88fSEmmanuel Vadot 378*c66ec88fSEmmanuel Vadot /* Inbound 4GB range starting at 0 */ 379*c66ec88fSEmmanuel Vadot dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x1 0x00000000>; 380*c66ec88fSEmmanuel Vadot 381*c66ec88fSEmmanuel Vadot /* This drives busses 0x20 to 0x2f */ 382*c66ec88fSEmmanuel Vadot bus-range = <0x20 0x2f>; 383*c66ec88fSEmmanuel Vadot 384*c66ec88fSEmmanuel Vadot /* Legacy interrupts (note the weird polarity, the bridge seems 385*c66ec88fSEmmanuel Vadot * to invert PCIe legacy interrupts). 386*c66ec88fSEmmanuel Vadot * We are de-swizzling here because the numbers are actually for 387*c66ec88fSEmmanuel Vadot * port of the root complex virtual P2P bridge. But I want 388*c66ec88fSEmmanuel Vadot * to avoid putting a node for it in the tree, so the numbers 389*c66ec88fSEmmanuel Vadot * below are basically de-swizzled numbers. 390*c66ec88fSEmmanuel Vadot * The real slot is on idsel 0, so the swizzling is 1:1 391*c66ec88fSEmmanuel Vadot */ 392*c66ec88fSEmmanuel Vadot interrupt-map-mask = <0x0 0x0 0x0 0x7>; 393*c66ec88fSEmmanuel Vadot interrupt-map = < 394*c66ec88fSEmmanuel Vadot 0x0 0x0 0x0 0x1 &UIC3 0x4 0x4 /* swizzled int A */ 395*c66ec88fSEmmanuel Vadot 0x0 0x0 0x0 0x2 &UIC3 0x5 0x4 /* swizzled int B */ 396*c66ec88fSEmmanuel Vadot 0x0 0x0 0x0 0x3 &UIC3 0x6 0x4 /* swizzled int C */ 397*c66ec88fSEmmanuel Vadot 0x0 0x0 0x0 0x4 &UIC3 0x7 0x4 /* swizzled int D */>; 398*c66ec88fSEmmanuel Vadot }; 399*c66ec88fSEmmanuel Vadot 400*c66ec88fSEmmanuel Vadot I2O: i2o@400100000 { 401*c66ec88fSEmmanuel Vadot compatible = "ibm,i2o-440spe"; 402*c66ec88fSEmmanuel Vadot reg = <0x00000004 0x00100000 0x100>; 403*c66ec88fSEmmanuel Vadot dcr-reg = <0x060 0x020>; 404*c66ec88fSEmmanuel Vadot }; 405*c66ec88fSEmmanuel Vadot 406*c66ec88fSEmmanuel Vadot DMA0: dma0@400100100 { 407*c66ec88fSEmmanuel Vadot compatible = "ibm,dma-440spe"; 408*c66ec88fSEmmanuel Vadot cell-index = <0>; 409*c66ec88fSEmmanuel Vadot reg = <0x00000004 0x00100100 0x100>; 410*c66ec88fSEmmanuel Vadot dcr-reg = <0x060 0x020>; 411*c66ec88fSEmmanuel Vadot interrupt-parent = <&DMA0>; 412*c66ec88fSEmmanuel Vadot interrupts = <0 1>; 413*c66ec88fSEmmanuel Vadot #interrupt-cells = <1>; 414*c66ec88fSEmmanuel Vadot #address-cells = <0>; 415*c66ec88fSEmmanuel Vadot #size-cells = <0>; 416*c66ec88fSEmmanuel Vadot interrupt-map = < 417*c66ec88fSEmmanuel Vadot 0 &UIC0 0x14 4 418*c66ec88fSEmmanuel Vadot 1 &UIC1 0x16 4>; 419*c66ec88fSEmmanuel Vadot }; 420*c66ec88fSEmmanuel Vadot 421*c66ec88fSEmmanuel Vadot DMA1: dma1@400100200 { 422*c66ec88fSEmmanuel Vadot compatible = "ibm,dma-440spe"; 423*c66ec88fSEmmanuel Vadot cell-index = <1>; 424*c66ec88fSEmmanuel Vadot reg = <0x00000004 0x00100200 0x100>; 425*c66ec88fSEmmanuel Vadot dcr-reg = <0x060 0x020>; 426*c66ec88fSEmmanuel Vadot interrupt-parent = <&DMA1>; 427*c66ec88fSEmmanuel Vadot interrupts = <0 1>; 428*c66ec88fSEmmanuel Vadot #interrupt-cells = <1>; 429*c66ec88fSEmmanuel Vadot #address-cells = <0>; 430*c66ec88fSEmmanuel Vadot #size-cells = <0>; 431*c66ec88fSEmmanuel Vadot interrupt-map = < 432*c66ec88fSEmmanuel Vadot 0 &UIC0 0x16 4 433*c66ec88fSEmmanuel Vadot 1 &UIC1 0x16 4>; 434*c66ec88fSEmmanuel Vadot }; 435*c66ec88fSEmmanuel Vadot 436*c66ec88fSEmmanuel Vadot xor-accel@400200000 { 437*c66ec88fSEmmanuel Vadot compatible = "amcc,xor-accelerator"; 438*c66ec88fSEmmanuel Vadot reg = <0x00000004 0x00200000 0x400>; 439*c66ec88fSEmmanuel Vadot interrupt-parent = <&UIC1>; 440*c66ec88fSEmmanuel Vadot interrupts = <0x1f 4>; 441*c66ec88fSEmmanuel Vadot }; 442*c66ec88fSEmmanuel Vadot }; 443*c66ec88fSEmmanuel Vadot 444*c66ec88fSEmmanuel Vadot chosen { 445*c66ec88fSEmmanuel Vadot stdout-path = "/plb/opb/serial@f0000200"; 446*c66ec88fSEmmanuel Vadot }; 447*c66ec88fSEmmanuel Vadot}; 448