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