1*4882a593Smuzhiyun/* 2*4882a593Smuzhiyun * Device Tree Source for AMCC Canyonlands (460EX) 3*4882a593Smuzhiyun * 4*4882a593Smuzhiyun * Copyright 2008-2009 DENX Software Engineering, Stefan Roese <sr@denx.de> 5*4882a593Smuzhiyun * 6*4882a593Smuzhiyun * This file is licensed under the terms of the GNU General Public 7*4882a593Smuzhiyun * License version 2. This program is licensed "as is" without 8*4882a593Smuzhiyun * any warranty of any kind, whether express or implied. 9*4882a593Smuzhiyun */ 10*4882a593Smuzhiyun 11*4882a593Smuzhiyun/dts-v1/; 12*4882a593Smuzhiyun 13*4882a593Smuzhiyun/ { 14*4882a593Smuzhiyun #address-cells = <2>; 15*4882a593Smuzhiyun #size-cells = <1>; 16*4882a593Smuzhiyun model = "amcc,canyonlands"; 17*4882a593Smuzhiyun compatible = "amcc,canyonlands"; 18*4882a593Smuzhiyun dcr-parent = <&{/cpus/cpu@0}>; 19*4882a593Smuzhiyun 20*4882a593Smuzhiyun aliases { 21*4882a593Smuzhiyun ethernet0 = &EMAC0; 22*4882a593Smuzhiyun ethernet1 = &EMAC1; 23*4882a593Smuzhiyun serial0 = &UART0; 24*4882a593Smuzhiyun serial1 = &UART1; 25*4882a593Smuzhiyun }; 26*4882a593Smuzhiyun 27*4882a593Smuzhiyun cpus { 28*4882a593Smuzhiyun #address-cells = <1>; 29*4882a593Smuzhiyun #size-cells = <0>; 30*4882a593Smuzhiyun 31*4882a593Smuzhiyun cpu@0 { 32*4882a593Smuzhiyun device_type = "cpu"; 33*4882a593Smuzhiyun model = "PowerPC,460EX"; 34*4882a593Smuzhiyun reg = <0x00000000>; 35*4882a593Smuzhiyun clock-frequency = <0>; /* Filled in by U-Boot */ 36*4882a593Smuzhiyun timebase-frequency = <0>; /* Filled in by U-Boot */ 37*4882a593Smuzhiyun i-cache-line-size = <32>; 38*4882a593Smuzhiyun d-cache-line-size = <32>; 39*4882a593Smuzhiyun i-cache-size = <32768>; 40*4882a593Smuzhiyun d-cache-size = <32768>; 41*4882a593Smuzhiyun dcr-controller; 42*4882a593Smuzhiyun dcr-access-method = "native"; 43*4882a593Smuzhiyun next-level-cache = <&L2C0>; 44*4882a593Smuzhiyun }; 45*4882a593Smuzhiyun }; 46*4882a593Smuzhiyun 47*4882a593Smuzhiyun memory { 48*4882a593Smuzhiyun device_type = "memory"; 49*4882a593Smuzhiyun reg = <0x00000000 0x00000000 0x00000000>; /* Filled in by U-Boot */ 50*4882a593Smuzhiyun }; 51*4882a593Smuzhiyun 52*4882a593Smuzhiyun UIC0: interrupt-controller0 { 53*4882a593Smuzhiyun compatible = "ibm,uic-460ex","ibm,uic"; 54*4882a593Smuzhiyun interrupt-controller; 55*4882a593Smuzhiyun cell-index = <0>; 56*4882a593Smuzhiyun dcr-reg = <0x0c0 0x009>; 57*4882a593Smuzhiyun #address-cells = <0>; 58*4882a593Smuzhiyun #size-cells = <0>; 59*4882a593Smuzhiyun #interrupt-cells = <2>; 60*4882a593Smuzhiyun }; 61*4882a593Smuzhiyun 62*4882a593Smuzhiyun UIC1: interrupt-controller1 { 63*4882a593Smuzhiyun compatible = "ibm,uic-460ex","ibm,uic"; 64*4882a593Smuzhiyun interrupt-controller; 65*4882a593Smuzhiyun cell-index = <1>; 66*4882a593Smuzhiyun dcr-reg = <0x0d0 0x009>; 67*4882a593Smuzhiyun #address-cells = <0>; 68*4882a593Smuzhiyun #size-cells = <0>; 69*4882a593Smuzhiyun #interrupt-cells = <2>; 70*4882a593Smuzhiyun interrupts = <0x1e 0x4 0x1f 0x4>; /* cascade */ 71*4882a593Smuzhiyun interrupt-parent = <&UIC0>; 72*4882a593Smuzhiyun }; 73*4882a593Smuzhiyun 74*4882a593Smuzhiyun UIC2: interrupt-controller2 { 75*4882a593Smuzhiyun compatible = "ibm,uic-460ex","ibm,uic"; 76*4882a593Smuzhiyun interrupt-controller; 77*4882a593Smuzhiyun cell-index = <2>; 78*4882a593Smuzhiyun dcr-reg = <0x0e0 0x009>; 79*4882a593Smuzhiyun #address-cells = <0>; 80*4882a593Smuzhiyun #size-cells = <0>; 81*4882a593Smuzhiyun #interrupt-cells = <2>; 82*4882a593Smuzhiyun interrupts = <0xa 0x4 0xb 0x4>; /* cascade */ 83*4882a593Smuzhiyun interrupt-parent = <&UIC0>; 84*4882a593Smuzhiyun }; 85*4882a593Smuzhiyun 86*4882a593Smuzhiyun UIC3: interrupt-controller3 { 87*4882a593Smuzhiyun compatible = "ibm,uic-460ex","ibm,uic"; 88*4882a593Smuzhiyun interrupt-controller; 89*4882a593Smuzhiyun cell-index = <3>; 90*4882a593Smuzhiyun dcr-reg = <0x0f0 0x009>; 91*4882a593Smuzhiyun #address-cells = <0>; 92*4882a593Smuzhiyun #size-cells = <0>; 93*4882a593Smuzhiyun #interrupt-cells = <2>; 94*4882a593Smuzhiyun interrupts = <0x10 0x4 0x11 0x4>; /* cascade */ 95*4882a593Smuzhiyun interrupt-parent = <&UIC0>; 96*4882a593Smuzhiyun }; 97*4882a593Smuzhiyun 98*4882a593Smuzhiyun SDR0: sdr { 99*4882a593Smuzhiyun compatible = "ibm,sdr-460ex"; 100*4882a593Smuzhiyun dcr-reg = <0x00e 0x002>; 101*4882a593Smuzhiyun }; 102*4882a593Smuzhiyun 103*4882a593Smuzhiyun CPR0: cpr { 104*4882a593Smuzhiyun compatible = "ibm,cpr-460ex"; 105*4882a593Smuzhiyun dcr-reg = <0x00c 0x002>; 106*4882a593Smuzhiyun }; 107*4882a593Smuzhiyun 108*4882a593Smuzhiyun CPM0: cpm { 109*4882a593Smuzhiyun compatible = "ibm,cpm"; 110*4882a593Smuzhiyun dcr-access-method = "native"; 111*4882a593Smuzhiyun dcr-reg = <0x160 0x003>; 112*4882a593Smuzhiyun unused-units = <0x00000100>; 113*4882a593Smuzhiyun idle-doze = <0x02000000>; 114*4882a593Smuzhiyun standby = <0xfeff791d>; 115*4882a593Smuzhiyun }; 116*4882a593Smuzhiyun 117*4882a593Smuzhiyun L2C0: l2c { 118*4882a593Smuzhiyun compatible = "ibm,l2-cache-460ex", "ibm,l2-cache"; 119*4882a593Smuzhiyun dcr-reg = <0x020 0x008 /* Internal SRAM DCR's */ 120*4882a593Smuzhiyun 0x030 0x008>; /* L2 cache DCR's */ 121*4882a593Smuzhiyun cache-line-size = <32>; /* 32 bytes */ 122*4882a593Smuzhiyun cache-size = <262144>; /* L2, 256K */ 123*4882a593Smuzhiyun interrupt-parent = <&UIC1>; 124*4882a593Smuzhiyun interrupts = <11 1>; 125*4882a593Smuzhiyun }; 126*4882a593Smuzhiyun 127*4882a593Smuzhiyun plb { 128*4882a593Smuzhiyun compatible = "ibm,plb-460ex", "ibm,plb4"; 129*4882a593Smuzhiyun #address-cells = <2>; 130*4882a593Smuzhiyun #size-cells = <1>; 131*4882a593Smuzhiyun ranges; 132*4882a593Smuzhiyun clock-frequency = <0>; /* Filled in by U-Boot */ 133*4882a593Smuzhiyun 134*4882a593Smuzhiyun SDRAM0: sdram { 135*4882a593Smuzhiyun compatible = "ibm,sdram-460ex", "ibm,sdram-405gp"; 136*4882a593Smuzhiyun dcr-reg = <0x010 0x002>; 137*4882a593Smuzhiyun }; 138*4882a593Smuzhiyun 139*4882a593Smuzhiyun CRYPTO: crypto@180000 { 140*4882a593Smuzhiyun compatible = "amcc,ppc460ex-crypto", "amcc,ppc4xx-crypto"; 141*4882a593Smuzhiyun reg = <4 0x00180000 0x80400>; 142*4882a593Smuzhiyun interrupt-parent = <&UIC0>; 143*4882a593Smuzhiyun interrupts = <0x1d 0x4>; 144*4882a593Smuzhiyun }; 145*4882a593Smuzhiyun 146*4882a593Smuzhiyun HWRNG: hwrng@110000 { 147*4882a593Smuzhiyun compatible = "amcc,ppc460ex-rng", "ppc4xx-rng"; 148*4882a593Smuzhiyun reg = <4 0x00110000 0x50>; 149*4882a593Smuzhiyun }; 150*4882a593Smuzhiyun 151*4882a593Smuzhiyun MAL0: mcmal { 152*4882a593Smuzhiyun compatible = "ibm,mcmal-460ex", "ibm,mcmal2"; 153*4882a593Smuzhiyun dcr-reg = <0x180 0x062>; 154*4882a593Smuzhiyun num-tx-chans = <2>; 155*4882a593Smuzhiyun num-rx-chans = <16>; 156*4882a593Smuzhiyun #address-cells = <0>; 157*4882a593Smuzhiyun #size-cells = <0>; 158*4882a593Smuzhiyun interrupt-parent = <&UIC2>; 159*4882a593Smuzhiyun interrupts = < /*TXEOB*/ 0x6 0x4 160*4882a593Smuzhiyun /*RXEOB*/ 0x7 0x4 161*4882a593Smuzhiyun /*SERR*/ 0x3 0x4 162*4882a593Smuzhiyun /*TXDE*/ 0x4 0x4 163*4882a593Smuzhiyun /*RXDE*/ 0x5 0x4>; 164*4882a593Smuzhiyun }; 165*4882a593Smuzhiyun 166*4882a593Smuzhiyun USB0: ehci@bffd0400 { 167*4882a593Smuzhiyun compatible = "ibm,usb-ehci-460ex", "usb-ehci"; 168*4882a593Smuzhiyun interrupt-parent = <&UIC2>; 169*4882a593Smuzhiyun interrupts = <0x1d 4>; 170*4882a593Smuzhiyun reg = <4 0xbffd0400 0x90 4 0xbffd0490 0x70>; 171*4882a593Smuzhiyun }; 172*4882a593Smuzhiyun 173*4882a593Smuzhiyun USB1: usb@bffd0000 { 174*4882a593Smuzhiyun compatible = "ohci-le"; 175*4882a593Smuzhiyun reg = <4 0xbffd0000 0x60>; 176*4882a593Smuzhiyun interrupt-parent = <&UIC2>; 177*4882a593Smuzhiyun interrupts = <0x1e 4>; 178*4882a593Smuzhiyun }; 179*4882a593Smuzhiyun 180*4882a593Smuzhiyun USBOTG0: usbotg@bff80000 { 181*4882a593Smuzhiyun compatible = "amcc,dwc-otg"; 182*4882a593Smuzhiyun reg = <0x4 0xbff80000 0x10000>; 183*4882a593Smuzhiyun interrupt-parent = <&USBOTG0>; 184*4882a593Smuzhiyun #interrupt-cells = <1>; 185*4882a593Smuzhiyun #address-cells = <0>; 186*4882a593Smuzhiyun #size-cells = <0>; 187*4882a593Smuzhiyun interrupts = <0x0 0x1 0x2>; 188*4882a593Smuzhiyun interrupt-map = </* USB-OTG */ 0x0 &UIC2 0x1c 0x4 189*4882a593Smuzhiyun /* HIGH-POWER */ 0x1 &UIC1 0x1a 0x8 190*4882a593Smuzhiyun /* DMA */ 0x2 &UIC0 0xc 0x4>; 191*4882a593Smuzhiyun }; 192*4882a593Smuzhiyun 193*4882a593Smuzhiyun AHBDMA: dma@bffd0800 { 194*4882a593Smuzhiyun compatible = "snps,dma-spear1340"; 195*4882a593Smuzhiyun reg = <4 0xbffd0800 0x400>; 196*4882a593Smuzhiyun interrupt-parent = <&UIC3>; 197*4882a593Smuzhiyun interrupts = <0x5 0x4>; 198*4882a593Smuzhiyun #dma-cells = <3>; 199*4882a593Smuzhiyun }; 200*4882a593Smuzhiyun 201*4882a593Smuzhiyun SATA0: sata@bffd1000 { 202*4882a593Smuzhiyun compatible = "amcc,sata-460ex"; 203*4882a593Smuzhiyun reg = <4 0xbffd1000 0x800>; 204*4882a593Smuzhiyun interrupt-parent = <&UIC3>; 205*4882a593Smuzhiyun interrupts = <0x0 0x4>; 206*4882a593Smuzhiyun dmas = <&AHBDMA 0 1 0>; 207*4882a593Smuzhiyun dma-names = "sata-dma"; 208*4882a593Smuzhiyun }; 209*4882a593Smuzhiyun 210*4882a593Smuzhiyun POB0: opb { 211*4882a593Smuzhiyun compatible = "ibm,opb-460ex", "ibm,opb"; 212*4882a593Smuzhiyun #address-cells = <1>; 213*4882a593Smuzhiyun #size-cells = <1>; 214*4882a593Smuzhiyun ranges = <0xb0000000 0x00000004 0xb0000000 0x50000000>; 215*4882a593Smuzhiyun clock-frequency = <0>; /* Filled in by U-Boot */ 216*4882a593Smuzhiyun 217*4882a593Smuzhiyun EBC0: ebc { 218*4882a593Smuzhiyun compatible = "ibm,ebc-460ex", "ibm,ebc"; 219*4882a593Smuzhiyun dcr-reg = <0x012 0x002>; 220*4882a593Smuzhiyun #address-cells = <2>; 221*4882a593Smuzhiyun #size-cells = <1>; 222*4882a593Smuzhiyun clock-frequency = <0>; /* Filled in by U-Boot */ 223*4882a593Smuzhiyun /* ranges property is supplied by U-Boot */ 224*4882a593Smuzhiyun interrupts = <0x6 0x4>; 225*4882a593Smuzhiyun interrupt-parent = <&UIC1>; 226*4882a593Smuzhiyun 227*4882a593Smuzhiyun nor_flash@0,0 { 228*4882a593Smuzhiyun compatible = "amd,s29gl512n", "cfi-flash"; 229*4882a593Smuzhiyun bank-width = <2>; 230*4882a593Smuzhiyun reg = <0x00000000 0x00000000 0x04000000>; 231*4882a593Smuzhiyun #address-cells = <1>; 232*4882a593Smuzhiyun #size-cells = <1>; 233*4882a593Smuzhiyun partition@0 { 234*4882a593Smuzhiyun label = "kernel"; 235*4882a593Smuzhiyun reg = <0x00000000 0x001e0000>; 236*4882a593Smuzhiyun }; 237*4882a593Smuzhiyun partition@1e0000 { 238*4882a593Smuzhiyun label = "dtb"; 239*4882a593Smuzhiyun reg = <0x001e0000 0x00020000>; 240*4882a593Smuzhiyun }; 241*4882a593Smuzhiyun partition@200000 { 242*4882a593Smuzhiyun label = "ramdisk"; 243*4882a593Smuzhiyun reg = <0x00200000 0x01400000>; 244*4882a593Smuzhiyun }; 245*4882a593Smuzhiyun partition@1600000 { 246*4882a593Smuzhiyun label = "jffs2"; 247*4882a593Smuzhiyun reg = <0x01600000 0x00400000>; 248*4882a593Smuzhiyun }; 249*4882a593Smuzhiyun partition@1a00000 { 250*4882a593Smuzhiyun label = "user"; 251*4882a593Smuzhiyun reg = <0x01a00000 0x02560000>; 252*4882a593Smuzhiyun }; 253*4882a593Smuzhiyun partition@3f60000 { 254*4882a593Smuzhiyun label = "env"; 255*4882a593Smuzhiyun reg = <0x03f60000 0x00040000>; 256*4882a593Smuzhiyun }; 257*4882a593Smuzhiyun partition@3fa0000 { 258*4882a593Smuzhiyun label = "u-boot"; 259*4882a593Smuzhiyun reg = <0x03fa0000 0x00060000>; 260*4882a593Smuzhiyun }; 261*4882a593Smuzhiyun }; 262*4882a593Smuzhiyun 263*4882a593Smuzhiyun cpld@2,0 { 264*4882a593Smuzhiyun compatible = "amcc,ppc460ex-bcsr"; 265*4882a593Smuzhiyun reg = <2 0x0 0x9>; 266*4882a593Smuzhiyun }; 267*4882a593Smuzhiyun 268*4882a593Smuzhiyun ndfc@3,0 { 269*4882a593Smuzhiyun compatible = "ibm,ndfc"; 270*4882a593Smuzhiyun reg = <0x00000003 0x00000000 0x00002000>; 271*4882a593Smuzhiyun ccr = <0x00001000>; 272*4882a593Smuzhiyun bank-settings = <0x80002222>; 273*4882a593Smuzhiyun #address-cells = <1>; 274*4882a593Smuzhiyun #size-cells = <1>; 275*4882a593Smuzhiyun 276*4882a593Smuzhiyun nand { 277*4882a593Smuzhiyun #address-cells = <1>; 278*4882a593Smuzhiyun #size-cells = <1>; 279*4882a593Smuzhiyun 280*4882a593Smuzhiyun partition@0 { 281*4882a593Smuzhiyun label = "u-boot"; 282*4882a593Smuzhiyun reg = <0x00000000 0x00100000>; 283*4882a593Smuzhiyun }; 284*4882a593Smuzhiyun partition@100000 { 285*4882a593Smuzhiyun label = "user"; 286*4882a593Smuzhiyun reg = <0x00000000 0x03f00000>; 287*4882a593Smuzhiyun }; 288*4882a593Smuzhiyun }; 289*4882a593Smuzhiyun }; 290*4882a593Smuzhiyun }; 291*4882a593Smuzhiyun 292*4882a593Smuzhiyun UART0: serial@ef600300 { 293*4882a593Smuzhiyun device_type = "serial"; 294*4882a593Smuzhiyun compatible = "ns16550"; 295*4882a593Smuzhiyun reg = <0xef600300 0x00000008>; 296*4882a593Smuzhiyun virtual-reg = <0xef600300>; 297*4882a593Smuzhiyun clock-frequency = <0>; /* Filled in by U-Boot */ 298*4882a593Smuzhiyun current-speed = <0>; /* Filled in by U-Boot */ 299*4882a593Smuzhiyun interrupt-parent = <&UIC1>; 300*4882a593Smuzhiyun interrupts = <0x1 0x4>; 301*4882a593Smuzhiyun }; 302*4882a593Smuzhiyun 303*4882a593Smuzhiyun UART1: serial@ef600400 { 304*4882a593Smuzhiyun device_type = "serial"; 305*4882a593Smuzhiyun compatible = "ns16550"; 306*4882a593Smuzhiyun reg = <0xef600400 0x00000008>; 307*4882a593Smuzhiyun virtual-reg = <0xef600400>; 308*4882a593Smuzhiyun clock-frequency = <0>; /* Filled in by U-Boot */ 309*4882a593Smuzhiyun current-speed = <0>; /* Filled in by U-Boot */ 310*4882a593Smuzhiyun interrupt-parent = <&UIC0>; 311*4882a593Smuzhiyun interrupts = <0x1 0x4>; 312*4882a593Smuzhiyun }; 313*4882a593Smuzhiyun 314*4882a593Smuzhiyun IIC0: i2c@ef600700 { 315*4882a593Smuzhiyun compatible = "ibm,iic-460ex", "ibm,iic"; 316*4882a593Smuzhiyun reg = <0xef600700 0x00000014>; 317*4882a593Smuzhiyun interrupt-parent = <&UIC0>; 318*4882a593Smuzhiyun interrupts = <0x2 0x4>; 319*4882a593Smuzhiyun #address-cells = <1>; 320*4882a593Smuzhiyun #size-cells = <0>; 321*4882a593Smuzhiyun rtc@68 { 322*4882a593Smuzhiyun compatible = "st,m41t80"; 323*4882a593Smuzhiyun reg = <0x68>; 324*4882a593Smuzhiyun interrupt-parent = <&UIC2>; 325*4882a593Smuzhiyun interrupts = <0x19 0x8>; 326*4882a593Smuzhiyun }; 327*4882a593Smuzhiyun sttm@48 { 328*4882a593Smuzhiyun compatible = "ad,ad7414"; 329*4882a593Smuzhiyun reg = <0x48>; 330*4882a593Smuzhiyun interrupt-parent = <&UIC1>; 331*4882a593Smuzhiyun interrupts = <0x14 0x8>; 332*4882a593Smuzhiyun }; 333*4882a593Smuzhiyun }; 334*4882a593Smuzhiyun 335*4882a593Smuzhiyun IIC1: i2c@ef600800 { 336*4882a593Smuzhiyun compatible = "ibm,iic-460ex", "ibm,iic"; 337*4882a593Smuzhiyun reg = <0xef600800 0x00000014>; 338*4882a593Smuzhiyun interrupt-parent = <&UIC0>; 339*4882a593Smuzhiyun interrupts = <0x3 0x4>; 340*4882a593Smuzhiyun }; 341*4882a593Smuzhiyun 342*4882a593Smuzhiyun GPIO0: gpio@ef600b00 { 343*4882a593Smuzhiyun compatible = "ibm,ppc4xx-gpio"; 344*4882a593Smuzhiyun reg = <0xef600b00 0x00000048>; 345*4882a593Smuzhiyun gpio-controller; 346*4882a593Smuzhiyun }; 347*4882a593Smuzhiyun 348*4882a593Smuzhiyun ZMII0: emac-zmii@ef600d00 { 349*4882a593Smuzhiyun compatible = "ibm,zmii-460ex", "ibm,zmii"; 350*4882a593Smuzhiyun reg = <0xef600d00 0x0000000c>; 351*4882a593Smuzhiyun }; 352*4882a593Smuzhiyun 353*4882a593Smuzhiyun RGMII0: emac-rgmii@ef601500 { 354*4882a593Smuzhiyun compatible = "ibm,rgmii-460ex", "ibm,rgmii"; 355*4882a593Smuzhiyun reg = <0xef601500 0x00000008>; 356*4882a593Smuzhiyun has-mdio; 357*4882a593Smuzhiyun }; 358*4882a593Smuzhiyun 359*4882a593Smuzhiyun TAH0: emac-tah@ef601350 { 360*4882a593Smuzhiyun compatible = "ibm,tah-460ex", "ibm,tah"; 361*4882a593Smuzhiyun reg = <0xef601350 0x00000030>; 362*4882a593Smuzhiyun }; 363*4882a593Smuzhiyun 364*4882a593Smuzhiyun TAH1: emac-tah@ef601450 { 365*4882a593Smuzhiyun compatible = "ibm,tah-460ex", "ibm,tah"; 366*4882a593Smuzhiyun reg = <0xef601450 0x00000030>; 367*4882a593Smuzhiyun }; 368*4882a593Smuzhiyun 369*4882a593Smuzhiyun EMAC0: ethernet@ef600e00 { 370*4882a593Smuzhiyun device_type = "network"; 371*4882a593Smuzhiyun compatible = "ibm,emac-460ex", "ibm,emac4sync"; 372*4882a593Smuzhiyun interrupt-parent = <&EMAC0>; 373*4882a593Smuzhiyun interrupts = <0x0 0x1>; 374*4882a593Smuzhiyun #interrupt-cells = <1>; 375*4882a593Smuzhiyun #address-cells = <0>; 376*4882a593Smuzhiyun #size-cells = <0>; 377*4882a593Smuzhiyun interrupt-map = </*Status*/ 0x0 &UIC2 0x10 0x4 378*4882a593Smuzhiyun /*Wake*/ 0x1 &UIC2 0x14 0x4>; 379*4882a593Smuzhiyun reg = <0xef600e00 0x000000c4>; 380*4882a593Smuzhiyun local-mac-address = [000000000000]; /* Filled in by U-Boot */ 381*4882a593Smuzhiyun mal-device = <&MAL0>; 382*4882a593Smuzhiyun mal-tx-channel = <0>; 383*4882a593Smuzhiyun mal-rx-channel = <0>; 384*4882a593Smuzhiyun cell-index = <0>; 385*4882a593Smuzhiyun max-frame-size = <9000>; 386*4882a593Smuzhiyun rx-fifo-size = <4096>; 387*4882a593Smuzhiyun tx-fifo-size = <2048>; 388*4882a593Smuzhiyun rx-fifo-size-gige = <16384>; 389*4882a593Smuzhiyun phy-mode = "rgmii"; 390*4882a593Smuzhiyun phy-map = <0x00000000>; 391*4882a593Smuzhiyun rgmii-device = <&RGMII0>; 392*4882a593Smuzhiyun rgmii-channel = <0>; 393*4882a593Smuzhiyun tah-device = <&TAH0>; 394*4882a593Smuzhiyun tah-channel = <0>; 395*4882a593Smuzhiyun has-inverted-stacr-oc; 396*4882a593Smuzhiyun has-new-stacr-staopc; 397*4882a593Smuzhiyun }; 398*4882a593Smuzhiyun 399*4882a593Smuzhiyun EMAC1: ethernet@ef600f00 { 400*4882a593Smuzhiyun device_type = "network"; 401*4882a593Smuzhiyun compatible = "ibm,emac-460ex", "ibm,emac4sync"; 402*4882a593Smuzhiyun interrupt-parent = <&EMAC1>; 403*4882a593Smuzhiyun interrupts = <0x0 0x1>; 404*4882a593Smuzhiyun #interrupt-cells = <1>; 405*4882a593Smuzhiyun #address-cells = <0>; 406*4882a593Smuzhiyun #size-cells = <0>; 407*4882a593Smuzhiyun interrupt-map = </*Status*/ 0x0 &UIC2 0x11 0x4 408*4882a593Smuzhiyun /*Wake*/ 0x1 &UIC2 0x15 0x4>; 409*4882a593Smuzhiyun reg = <0xef600f00 0x000000c4>; 410*4882a593Smuzhiyun local-mac-address = [000000000000]; /* Filled in by U-Boot */ 411*4882a593Smuzhiyun mal-device = <&MAL0>; 412*4882a593Smuzhiyun mal-tx-channel = <1>; 413*4882a593Smuzhiyun mal-rx-channel = <8>; 414*4882a593Smuzhiyun cell-index = <1>; 415*4882a593Smuzhiyun max-frame-size = <9000>; 416*4882a593Smuzhiyun rx-fifo-size = <4096>; 417*4882a593Smuzhiyun tx-fifo-size = <2048>; 418*4882a593Smuzhiyun rx-fifo-size-gige = <16384>; 419*4882a593Smuzhiyun phy-mode = "rgmii"; 420*4882a593Smuzhiyun phy-map = <0x00000000>; 421*4882a593Smuzhiyun rgmii-device = <&RGMII0>; 422*4882a593Smuzhiyun rgmii-channel = <1>; 423*4882a593Smuzhiyun tah-device = <&TAH1>; 424*4882a593Smuzhiyun tah-channel = <1>; 425*4882a593Smuzhiyun has-inverted-stacr-oc; 426*4882a593Smuzhiyun has-new-stacr-staopc; 427*4882a593Smuzhiyun mdio-device = <&EMAC0>; 428*4882a593Smuzhiyun }; 429*4882a593Smuzhiyun }; 430*4882a593Smuzhiyun 431*4882a593Smuzhiyun PCIX0: pci@c0ec00000 { 432*4882a593Smuzhiyun device_type = "pci"; 433*4882a593Smuzhiyun #interrupt-cells = <1>; 434*4882a593Smuzhiyun #size-cells = <2>; 435*4882a593Smuzhiyun #address-cells = <3>; 436*4882a593Smuzhiyun compatible = "ibm,plb-pcix-460ex", "ibm,plb-pcix"; 437*4882a593Smuzhiyun primary; 438*4882a593Smuzhiyun large-inbound-windows; 439*4882a593Smuzhiyun enable-msi-hole; 440*4882a593Smuzhiyun reg = <0x0000000c 0x0ec00000 0x00000008 /* Config space access */ 441*4882a593Smuzhiyun 0x00000000 0x00000000 0x00000000 /* no IACK cycles */ 442*4882a593Smuzhiyun 0x0000000c 0x0ed00000 0x00000004 /* Special cycles */ 443*4882a593Smuzhiyun 0x0000000c 0x0ec80000 0x00000100 /* Internal registers */ 444*4882a593Smuzhiyun 0x0000000c 0x0ec80100 0x000000fc>; /* Internal messaging registers */ 445*4882a593Smuzhiyun 446*4882a593Smuzhiyun /* Outbound ranges, one memory and one IO, 447*4882a593Smuzhiyun * later cannot be changed 448*4882a593Smuzhiyun */ 449*4882a593Smuzhiyun ranges = <0x02000000 0x00000000 0x80000000 0x0000000d 0x80000000 0x00000000 0x80000000 450*4882a593Smuzhiyun 0x02000000 0x00000000 0x00000000 0x0000000c 0x0ee00000 0x00000000 0x00100000 451*4882a593Smuzhiyun 0x01000000 0x00000000 0x00000000 0x0000000c 0x08000000 0x00000000 0x00010000>; 452*4882a593Smuzhiyun 453*4882a593Smuzhiyun /* Inbound 2GB range starting at 0 */ 454*4882a593Smuzhiyun dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x0 0x80000000>; 455*4882a593Smuzhiyun 456*4882a593Smuzhiyun /* This drives busses 0 to 0x3f */ 457*4882a593Smuzhiyun bus-range = <0x0 0x3f>; 458*4882a593Smuzhiyun 459*4882a593Smuzhiyun /* All PCI interrupts are routed to ext IRQ 2 -> UIC1-0 */ 460*4882a593Smuzhiyun interrupt-map-mask = <0x0 0x0 0x0 0x0>; 461*4882a593Smuzhiyun interrupt-map = < 0x0 0x0 0x0 0x0 &UIC1 0x0 0x8 >; 462*4882a593Smuzhiyun }; 463*4882a593Smuzhiyun 464*4882a593Smuzhiyun PCIE0: pcie@d00000000 { 465*4882a593Smuzhiyun device_type = "pci"; 466*4882a593Smuzhiyun #interrupt-cells = <1>; 467*4882a593Smuzhiyun #size-cells = <2>; 468*4882a593Smuzhiyun #address-cells = <3>; 469*4882a593Smuzhiyun compatible = "ibm,plb-pciex-460ex", "ibm,plb-pciex"; 470*4882a593Smuzhiyun primary; 471*4882a593Smuzhiyun port = <0x0>; /* port number */ 472*4882a593Smuzhiyun reg = <0x0000000d 0x00000000 0x20000000 /* Config space access */ 473*4882a593Smuzhiyun 0x0000000c 0x08010000 0x00001000>; /* Registers */ 474*4882a593Smuzhiyun dcr-reg = <0x100 0x020>; 475*4882a593Smuzhiyun sdr-base = <0x300>; 476*4882a593Smuzhiyun 477*4882a593Smuzhiyun /* Outbound ranges, one memory and one IO, 478*4882a593Smuzhiyun * later cannot be changed 479*4882a593Smuzhiyun */ 480*4882a593Smuzhiyun ranges = <0x02000000 0x00000000 0x80000000 0x0000000e 0x00000000 0x00000000 0x80000000 481*4882a593Smuzhiyun 0x02000000 0x00000000 0x00000000 0x0000000f 0x00000000 0x00000000 0x00100000 482*4882a593Smuzhiyun 0x01000000 0x00000000 0x00000000 0x0000000f 0x80000000 0x00000000 0x00010000>; 483*4882a593Smuzhiyun 484*4882a593Smuzhiyun /* Inbound 2GB range starting at 0 */ 485*4882a593Smuzhiyun dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x0 0x80000000>; 486*4882a593Smuzhiyun 487*4882a593Smuzhiyun /* This drives busses 40 to 0x7f */ 488*4882a593Smuzhiyun bus-range = <0x40 0x7f>; 489*4882a593Smuzhiyun 490*4882a593Smuzhiyun /* Legacy interrupts (note the weird polarity, the bridge seems 491*4882a593Smuzhiyun * to invert PCIe legacy interrupts). 492*4882a593Smuzhiyun * We are de-swizzling here because the numbers are actually for 493*4882a593Smuzhiyun * port of the root complex virtual P2P bridge. But I want 494*4882a593Smuzhiyun * to avoid putting a node for it in the tree, so the numbers 495*4882a593Smuzhiyun * below are basically de-swizzled numbers. 496*4882a593Smuzhiyun * The real slot is on idsel 0, so the swizzling is 1:1 497*4882a593Smuzhiyun */ 498*4882a593Smuzhiyun interrupt-map-mask = <0x0 0x0 0x0 0x7>; 499*4882a593Smuzhiyun interrupt-map = < 500*4882a593Smuzhiyun 0x0 0x0 0x0 0x1 &UIC3 0xc 0x4 /* swizzled int A */ 501*4882a593Smuzhiyun 0x0 0x0 0x0 0x2 &UIC3 0xd 0x4 /* swizzled int B */ 502*4882a593Smuzhiyun 0x0 0x0 0x0 0x3 &UIC3 0xe 0x4 /* swizzled int C */ 503*4882a593Smuzhiyun 0x0 0x0 0x0 0x4 &UIC3 0xf 0x4 /* swizzled int D */>; 504*4882a593Smuzhiyun }; 505*4882a593Smuzhiyun 506*4882a593Smuzhiyun PCIE1: pcie@d20000000 { 507*4882a593Smuzhiyun device_type = "pci"; 508*4882a593Smuzhiyun #interrupt-cells = <1>; 509*4882a593Smuzhiyun #size-cells = <2>; 510*4882a593Smuzhiyun #address-cells = <3>; 511*4882a593Smuzhiyun compatible = "ibm,plb-pciex-460ex", "ibm,plb-pciex"; 512*4882a593Smuzhiyun primary; 513*4882a593Smuzhiyun port = <0x1>; /* port number */ 514*4882a593Smuzhiyun reg = <0x0000000d 0x20000000 0x20000000 /* Config space access */ 515*4882a593Smuzhiyun 0x0000000c 0x08011000 0x00001000>; /* Registers */ 516*4882a593Smuzhiyun dcr-reg = <0x120 0x020>; 517*4882a593Smuzhiyun sdr-base = <0x340>; 518*4882a593Smuzhiyun 519*4882a593Smuzhiyun /* Outbound ranges, one memory and one IO, 520*4882a593Smuzhiyun * later cannot be changed 521*4882a593Smuzhiyun */ 522*4882a593Smuzhiyun ranges = <0x02000000 0x00000000 0x80000000 0x0000000e 0x80000000 0x00000000 0x80000000 523*4882a593Smuzhiyun 0x02000000 0x00000000 0x00000000 0x0000000f 0x00100000 0x00000000 0x00100000 524*4882a593Smuzhiyun 0x01000000 0x00000000 0x00000000 0x0000000f 0x80010000 0x00000000 0x00010000>; 525*4882a593Smuzhiyun 526*4882a593Smuzhiyun /* Inbound 2GB range starting at 0 */ 527*4882a593Smuzhiyun dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x0 0x80000000>; 528*4882a593Smuzhiyun 529*4882a593Smuzhiyun /* This drives busses 80 to 0xbf */ 530*4882a593Smuzhiyun bus-range = <0x80 0xbf>; 531*4882a593Smuzhiyun 532*4882a593Smuzhiyun /* Legacy interrupts (note the weird polarity, the bridge seems 533*4882a593Smuzhiyun * to invert PCIe legacy interrupts). 534*4882a593Smuzhiyun * We are de-swizzling here because the numbers are actually for 535*4882a593Smuzhiyun * port of the root complex virtual P2P bridge. But I want 536*4882a593Smuzhiyun * to avoid putting a node for it in the tree, so the numbers 537*4882a593Smuzhiyun * below are basically de-swizzled numbers. 538*4882a593Smuzhiyun * The real slot is on idsel 0, so the swizzling is 1:1 539*4882a593Smuzhiyun */ 540*4882a593Smuzhiyun interrupt-map-mask = <0x0 0x0 0x0 0x7>; 541*4882a593Smuzhiyun interrupt-map = < 542*4882a593Smuzhiyun 0x0 0x0 0x0 0x1 &UIC3 0x10 0x4 /* swizzled int A */ 543*4882a593Smuzhiyun 0x0 0x0 0x0 0x2 &UIC3 0x11 0x4 /* swizzled int B */ 544*4882a593Smuzhiyun 0x0 0x0 0x0 0x3 &UIC3 0x12 0x4 /* swizzled int C */ 545*4882a593Smuzhiyun 0x0 0x0 0x0 0x4 &UIC3 0x13 0x4 /* swizzled int D */>; 546*4882a593Smuzhiyun }; 547*4882a593Smuzhiyun 548*4882a593Smuzhiyun MSI: ppc4xx-msi@C10000000 { 549*4882a593Smuzhiyun compatible = "amcc,ppc4xx-msi", "ppc4xx-msi"; 550*4882a593Smuzhiyun reg = < 0xC 0x10000000 0x100>; 551*4882a593Smuzhiyun sdr-base = <0x36C>; 552*4882a593Smuzhiyun msi-data = <0x00000000>; 553*4882a593Smuzhiyun msi-mask = <0x44440000>; 554*4882a593Smuzhiyun interrupt-count = <3>; 555*4882a593Smuzhiyun interrupts = <0 1 2 3>; 556*4882a593Smuzhiyun interrupt-parent = <&UIC3>; 557*4882a593Smuzhiyun #interrupt-cells = <1>; 558*4882a593Smuzhiyun #address-cells = <0>; 559*4882a593Smuzhiyun #size-cells = <0>; 560*4882a593Smuzhiyun interrupt-map = <0 &UIC3 0x18 1 561*4882a593Smuzhiyun 1 &UIC3 0x19 1 562*4882a593Smuzhiyun 2 &UIC3 0x1A 1 563*4882a593Smuzhiyun 3 &UIC3 0x1B 1>; 564*4882a593Smuzhiyun }; 565*4882a593Smuzhiyun }; 566*4882a593Smuzhiyun}; 567