1*c66ec88fSEmmanuel Vadot/* 2*c66ec88fSEmmanuel Vadot * Device Tree Source for AMCC Kilauea (405EX) 3*c66ec88fSEmmanuel Vadot * 4*c66ec88fSEmmanuel Vadot * Copyright 2007-2009 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 = <1>; 15*c66ec88fSEmmanuel Vadot #size-cells = <1>; 16*c66ec88fSEmmanuel Vadot model = "amcc,kilauea"; 17*c66ec88fSEmmanuel Vadot compatible = "amcc,kilauea"; 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 serial0 = &UART0; 24*c66ec88fSEmmanuel Vadot serial1 = &UART1; 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,405EX"; 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 = <16384>; /* 16 kB */ 40*c66ec88fSEmmanuel Vadot d-cache-size = <16384>; /* 16 kB */ 41*c66ec88fSEmmanuel Vadot dcr-controller; 42*c66ec88fSEmmanuel Vadot dcr-access-method = "native"; 43*c66ec88fSEmmanuel Vadot }; 44*c66ec88fSEmmanuel Vadot }; 45*c66ec88fSEmmanuel Vadot 46*c66ec88fSEmmanuel Vadot memory { 47*c66ec88fSEmmanuel Vadot device_type = "memory"; 48*c66ec88fSEmmanuel Vadot reg = <0x00000000 0x00000000>; /* Filled in by U-Boot */ 49*c66ec88fSEmmanuel Vadot }; 50*c66ec88fSEmmanuel Vadot 51*c66ec88fSEmmanuel Vadot UIC0: interrupt-controller { 52*c66ec88fSEmmanuel Vadot compatible = "ibm,uic-405ex", "ibm,uic"; 53*c66ec88fSEmmanuel Vadot interrupt-controller; 54*c66ec88fSEmmanuel Vadot cell-index = <0>; 55*c66ec88fSEmmanuel Vadot dcr-reg = <0x0c0 0x009>; 56*c66ec88fSEmmanuel Vadot #address-cells = <0>; 57*c66ec88fSEmmanuel Vadot #size-cells = <0>; 58*c66ec88fSEmmanuel Vadot #interrupt-cells = <2>; 59*c66ec88fSEmmanuel Vadot }; 60*c66ec88fSEmmanuel Vadot 61*c66ec88fSEmmanuel Vadot UIC1: interrupt-controller1 { 62*c66ec88fSEmmanuel Vadot compatible = "ibm,uic-405ex","ibm,uic"; 63*c66ec88fSEmmanuel Vadot interrupt-controller; 64*c66ec88fSEmmanuel Vadot cell-index = <1>; 65*c66ec88fSEmmanuel Vadot dcr-reg = <0x0d0 0x009>; 66*c66ec88fSEmmanuel Vadot #address-cells = <0>; 67*c66ec88fSEmmanuel Vadot #size-cells = <0>; 68*c66ec88fSEmmanuel Vadot #interrupt-cells = <2>; 69*c66ec88fSEmmanuel Vadot interrupts = <0x1e 0x4 0x1f 0x4>; /* cascade */ 70*c66ec88fSEmmanuel Vadot interrupt-parent = <&UIC0>; 71*c66ec88fSEmmanuel Vadot }; 72*c66ec88fSEmmanuel Vadot 73*c66ec88fSEmmanuel Vadot UIC2: interrupt-controller2 { 74*c66ec88fSEmmanuel Vadot compatible = "ibm,uic-405ex","ibm,uic"; 75*c66ec88fSEmmanuel Vadot interrupt-controller; 76*c66ec88fSEmmanuel Vadot cell-index = <2>; 77*c66ec88fSEmmanuel Vadot dcr-reg = <0x0e0 0x009>; 78*c66ec88fSEmmanuel Vadot #address-cells = <0>; 79*c66ec88fSEmmanuel Vadot #size-cells = <0>; 80*c66ec88fSEmmanuel Vadot #interrupt-cells = <2>; 81*c66ec88fSEmmanuel Vadot interrupts = <0x1c 0x4 0x1d 0x4>; /* cascade */ 82*c66ec88fSEmmanuel Vadot interrupt-parent = <&UIC0>; 83*c66ec88fSEmmanuel Vadot }; 84*c66ec88fSEmmanuel Vadot 85*c66ec88fSEmmanuel Vadot CPM0: cpm { 86*c66ec88fSEmmanuel Vadot compatible = "ibm,cpm"; 87*c66ec88fSEmmanuel Vadot dcr-access-method = "native"; 88*c66ec88fSEmmanuel Vadot dcr-reg = <0x0b0 0x003>; 89*c66ec88fSEmmanuel Vadot unused-units = <0x00000000>; 90*c66ec88fSEmmanuel Vadot idle-doze = <0x02000000>; 91*c66ec88fSEmmanuel Vadot standby = <0xe3e74800>; 92*c66ec88fSEmmanuel Vadot }; 93*c66ec88fSEmmanuel Vadot 94*c66ec88fSEmmanuel Vadot plb { 95*c66ec88fSEmmanuel Vadot compatible = "ibm,plb-405ex", "ibm,plb4"; 96*c66ec88fSEmmanuel Vadot #address-cells = <1>; 97*c66ec88fSEmmanuel Vadot #size-cells = <1>; 98*c66ec88fSEmmanuel Vadot ranges; 99*c66ec88fSEmmanuel Vadot clock-frequency = <0>; /* Filled in by U-Boot */ 100*c66ec88fSEmmanuel Vadot 101*c66ec88fSEmmanuel Vadot SDRAM0: memory-controller { 102*c66ec88fSEmmanuel Vadot compatible = "ibm,sdram-405ex", "ibm,sdram-4xx-ddr2"; 103*c66ec88fSEmmanuel Vadot dcr-reg = <0x010 0x002>; 104*c66ec88fSEmmanuel Vadot interrupt-parent = <&UIC2>; 105*c66ec88fSEmmanuel Vadot interrupts = <0x5 0x4 /* ECC DED Error */ 106*c66ec88fSEmmanuel Vadot 0x6 0x4>; /* ECC SEC Error */ 107*c66ec88fSEmmanuel Vadot }; 108*c66ec88fSEmmanuel Vadot 109*c66ec88fSEmmanuel Vadot CRYPTO: crypto@ef700000 { 110*c66ec88fSEmmanuel Vadot compatible = "amcc,ppc405ex-crypto", "amcc,ppc4xx-crypto"; 111*c66ec88fSEmmanuel Vadot reg = <0xef700000 0x80400>; 112*c66ec88fSEmmanuel Vadot interrupt-parent = <&UIC0>; 113*c66ec88fSEmmanuel Vadot interrupts = <0x17 0x2>; 114*c66ec88fSEmmanuel Vadot }; 115*c66ec88fSEmmanuel Vadot 116*c66ec88fSEmmanuel Vadot MAL0: mcmal { 117*c66ec88fSEmmanuel Vadot compatible = "ibm,mcmal-405ex", "ibm,mcmal2"; 118*c66ec88fSEmmanuel Vadot dcr-reg = <0x180 0x062>; 119*c66ec88fSEmmanuel Vadot num-tx-chans = <2>; 120*c66ec88fSEmmanuel Vadot num-rx-chans = <2>; 121*c66ec88fSEmmanuel Vadot interrupt-parent = <&MAL0>; 122*c66ec88fSEmmanuel Vadot interrupts = <0x0 0x1 0x2 0x3 0x4>; 123*c66ec88fSEmmanuel Vadot #interrupt-cells = <1>; 124*c66ec88fSEmmanuel Vadot #address-cells = <0>; 125*c66ec88fSEmmanuel Vadot #size-cells = <0>; 126*c66ec88fSEmmanuel Vadot interrupt-map = </*TXEOB*/ 0x0 &UIC0 0xa 0x4 127*c66ec88fSEmmanuel Vadot /*RXEOB*/ 0x1 &UIC0 0xb 0x4 128*c66ec88fSEmmanuel Vadot /*SERR*/ 0x2 &UIC1 0x0 0x4 129*c66ec88fSEmmanuel Vadot /*TXDE*/ 0x3 &UIC1 0x1 0x4 130*c66ec88fSEmmanuel Vadot /*RXDE*/ 0x4 &UIC1 0x2 0x4>; 131*c66ec88fSEmmanuel Vadot interrupt-map-mask = <0xffffffff>; 132*c66ec88fSEmmanuel Vadot }; 133*c66ec88fSEmmanuel Vadot 134*c66ec88fSEmmanuel Vadot POB0: opb { 135*c66ec88fSEmmanuel Vadot compatible = "ibm,opb-405ex", "ibm,opb"; 136*c66ec88fSEmmanuel Vadot #address-cells = <1>; 137*c66ec88fSEmmanuel Vadot #size-cells = <1>; 138*c66ec88fSEmmanuel Vadot ranges = <0x80000000 0x80000000 0x10000000 139*c66ec88fSEmmanuel Vadot 0xef600000 0xef600000 0x00a00000 140*c66ec88fSEmmanuel Vadot 0xf0000000 0xf0000000 0x10000000>; 141*c66ec88fSEmmanuel Vadot dcr-reg = <0x0a0 0x005>; 142*c66ec88fSEmmanuel Vadot clock-frequency = <0>; /* Filled in by U-Boot */ 143*c66ec88fSEmmanuel Vadot 144*c66ec88fSEmmanuel Vadot EBC0: ebc { 145*c66ec88fSEmmanuel Vadot compatible = "ibm,ebc-405ex", "ibm,ebc"; 146*c66ec88fSEmmanuel Vadot dcr-reg = <0x012 0x002>; 147*c66ec88fSEmmanuel Vadot #address-cells = <2>; 148*c66ec88fSEmmanuel Vadot #size-cells = <1>; 149*c66ec88fSEmmanuel Vadot clock-frequency = <0>; /* Filled in by U-Boot */ 150*c66ec88fSEmmanuel Vadot /* ranges property is supplied by U-Boot */ 151*c66ec88fSEmmanuel Vadot interrupts = <0x5 0x1>; 152*c66ec88fSEmmanuel Vadot interrupt-parent = <&UIC1>; 153*c66ec88fSEmmanuel Vadot 154*c66ec88fSEmmanuel Vadot nor_flash@0,0 { 155*c66ec88fSEmmanuel Vadot compatible = "amd,s29gl512n", "cfi-flash"; 156*c66ec88fSEmmanuel Vadot bank-width = <2>; 157*c66ec88fSEmmanuel Vadot reg = <0x00000000 0x00000000 0x04000000>; 158*c66ec88fSEmmanuel Vadot #address-cells = <1>; 159*c66ec88fSEmmanuel Vadot #size-cells = <1>; 160*c66ec88fSEmmanuel Vadot partition@0 { 161*c66ec88fSEmmanuel Vadot label = "kernel"; 162*c66ec88fSEmmanuel Vadot reg = <0x00000000 0x001e0000>; 163*c66ec88fSEmmanuel Vadot }; 164*c66ec88fSEmmanuel Vadot partition@1e0000 { 165*c66ec88fSEmmanuel Vadot label = "dtb"; 166*c66ec88fSEmmanuel Vadot reg = <0x001e0000 0x00020000>; 167*c66ec88fSEmmanuel Vadot }; 168*c66ec88fSEmmanuel Vadot partition@200000 { 169*c66ec88fSEmmanuel Vadot label = "root"; 170*c66ec88fSEmmanuel Vadot reg = <0x00200000 0x00200000>; 171*c66ec88fSEmmanuel Vadot }; 172*c66ec88fSEmmanuel Vadot partition@400000 { 173*c66ec88fSEmmanuel Vadot label = "user"; 174*c66ec88fSEmmanuel Vadot reg = <0x00400000 0x03b60000>; 175*c66ec88fSEmmanuel Vadot }; 176*c66ec88fSEmmanuel Vadot partition@3f60000 { 177*c66ec88fSEmmanuel Vadot label = "env"; 178*c66ec88fSEmmanuel Vadot reg = <0x03f60000 0x00040000>; 179*c66ec88fSEmmanuel Vadot }; 180*c66ec88fSEmmanuel Vadot partition@3fa0000 { 181*c66ec88fSEmmanuel Vadot label = "u-boot"; 182*c66ec88fSEmmanuel Vadot reg = <0x03fa0000 0x00060000>; 183*c66ec88fSEmmanuel Vadot }; 184*c66ec88fSEmmanuel Vadot }; 185*c66ec88fSEmmanuel Vadot 186*c66ec88fSEmmanuel Vadot ndfc@1,0 { 187*c66ec88fSEmmanuel Vadot compatible = "ibm,ndfc"; 188*c66ec88fSEmmanuel Vadot reg = <0x00000001 0x00000000 0x00002000>; 189*c66ec88fSEmmanuel Vadot ccr = <0x00001000>; 190*c66ec88fSEmmanuel Vadot bank-settings = <0x80002222>; 191*c66ec88fSEmmanuel Vadot #address-cells = <1>; 192*c66ec88fSEmmanuel Vadot #size-cells = <1>; 193*c66ec88fSEmmanuel Vadot 194*c66ec88fSEmmanuel Vadot nand { 195*c66ec88fSEmmanuel Vadot #address-cells = <1>; 196*c66ec88fSEmmanuel Vadot #size-cells = <1>; 197*c66ec88fSEmmanuel Vadot 198*c66ec88fSEmmanuel Vadot partition@0 { 199*c66ec88fSEmmanuel Vadot label = "u-boot"; 200*c66ec88fSEmmanuel Vadot reg = <0x00000000 0x00100000>; 201*c66ec88fSEmmanuel Vadot }; 202*c66ec88fSEmmanuel Vadot partition@100000 { 203*c66ec88fSEmmanuel Vadot label = "user"; 204*c66ec88fSEmmanuel Vadot reg = <0x00000000 0x03f00000>; 205*c66ec88fSEmmanuel Vadot }; 206*c66ec88fSEmmanuel Vadot }; 207*c66ec88fSEmmanuel Vadot }; 208*c66ec88fSEmmanuel Vadot }; 209*c66ec88fSEmmanuel Vadot 210*c66ec88fSEmmanuel Vadot UART0: serial@ef600200 { 211*c66ec88fSEmmanuel Vadot device_type = "serial"; 212*c66ec88fSEmmanuel Vadot compatible = "ns16550"; 213*c66ec88fSEmmanuel Vadot reg = <0xef600200 0x00000008>; 214*c66ec88fSEmmanuel Vadot virtual-reg = <0xef600200>; 215*c66ec88fSEmmanuel Vadot clock-frequency = <0>; /* Filled in by U-Boot */ 216*c66ec88fSEmmanuel Vadot current-speed = <0>; 217*c66ec88fSEmmanuel Vadot interrupt-parent = <&UIC0>; 218*c66ec88fSEmmanuel Vadot interrupts = <0x1a 0x4>; 219*c66ec88fSEmmanuel Vadot }; 220*c66ec88fSEmmanuel Vadot 221*c66ec88fSEmmanuel Vadot UART1: serial@ef600300 { 222*c66ec88fSEmmanuel Vadot device_type = "serial"; 223*c66ec88fSEmmanuel Vadot compatible = "ns16550"; 224*c66ec88fSEmmanuel Vadot reg = <0xef600300 0x00000008>; 225*c66ec88fSEmmanuel Vadot virtual-reg = <0xef600300>; 226*c66ec88fSEmmanuel Vadot clock-frequency = <0>; /* Filled in by U-Boot */ 227*c66ec88fSEmmanuel Vadot current-speed = <0>; 228*c66ec88fSEmmanuel Vadot interrupt-parent = <&UIC0>; 229*c66ec88fSEmmanuel Vadot interrupts = <0x1 0x4>; 230*c66ec88fSEmmanuel Vadot }; 231*c66ec88fSEmmanuel Vadot 232*c66ec88fSEmmanuel Vadot IIC0: i2c@ef600400 { 233*c66ec88fSEmmanuel Vadot compatible = "ibm,iic-405ex", "ibm,iic"; 234*c66ec88fSEmmanuel Vadot reg = <0xef600400 0x00000014>; 235*c66ec88fSEmmanuel Vadot interrupt-parent = <&UIC0>; 236*c66ec88fSEmmanuel Vadot interrupts = <0x2 0x4>; 237*c66ec88fSEmmanuel Vadot #address-cells = <1>; 238*c66ec88fSEmmanuel Vadot #size-cells = <0>; 239*c66ec88fSEmmanuel Vadot 240*c66ec88fSEmmanuel Vadot rtc@68 { 241*c66ec88fSEmmanuel Vadot compatible = "dallas,ds1338"; 242*c66ec88fSEmmanuel Vadot reg = <0x68>; 243*c66ec88fSEmmanuel Vadot }; 244*c66ec88fSEmmanuel Vadot 245*c66ec88fSEmmanuel Vadot dtt@48 { 246*c66ec88fSEmmanuel Vadot compatible = "dallas,ds1775"; 247*c66ec88fSEmmanuel Vadot reg = <0x48>; 248*c66ec88fSEmmanuel Vadot }; 249*c66ec88fSEmmanuel Vadot }; 250*c66ec88fSEmmanuel Vadot 251*c66ec88fSEmmanuel Vadot IIC1: i2c@ef600500 { 252*c66ec88fSEmmanuel Vadot compatible = "ibm,iic-405ex", "ibm,iic"; 253*c66ec88fSEmmanuel Vadot reg = <0xef600500 0x00000014>; 254*c66ec88fSEmmanuel Vadot interrupt-parent = <&UIC0>; 255*c66ec88fSEmmanuel Vadot interrupts = <0x7 0x4>; 256*c66ec88fSEmmanuel Vadot }; 257*c66ec88fSEmmanuel Vadot 258*c66ec88fSEmmanuel Vadot RGMII0: emac-rgmii@ef600b00 { 259*c66ec88fSEmmanuel Vadot compatible = "ibm,rgmii-405ex", "ibm,rgmii"; 260*c66ec88fSEmmanuel Vadot reg = <0xef600b00 0x00000104>; 261*c66ec88fSEmmanuel Vadot has-mdio; 262*c66ec88fSEmmanuel Vadot }; 263*c66ec88fSEmmanuel Vadot 264*c66ec88fSEmmanuel Vadot EMAC0: ethernet@ef600900 { 265*c66ec88fSEmmanuel Vadot linux,network-index = <0x0>; 266*c66ec88fSEmmanuel Vadot device_type = "network"; 267*c66ec88fSEmmanuel Vadot compatible = "ibm,emac-405ex", "ibm,emac4sync"; 268*c66ec88fSEmmanuel Vadot interrupt-parent = <&EMAC0>; 269*c66ec88fSEmmanuel Vadot interrupts = <0x0 0x1>; 270*c66ec88fSEmmanuel Vadot #interrupt-cells = <1>; 271*c66ec88fSEmmanuel Vadot #address-cells = <0>; 272*c66ec88fSEmmanuel Vadot #size-cells = <0>; 273*c66ec88fSEmmanuel Vadot interrupt-map = </*Status*/ 0x0 &UIC0 0x18 0x4 274*c66ec88fSEmmanuel Vadot /*Wake*/ 0x1 &UIC1 0x1d 0x4>; 275*c66ec88fSEmmanuel Vadot reg = <0xef600900 0x000000c4>; 276*c66ec88fSEmmanuel Vadot local-mac-address = [000000000000]; /* Filled in by U-Boot */ 277*c66ec88fSEmmanuel Vadot mal-device = <&MAL0>; 278*c66ec88fSEmmanuel Vadot mal-tx-channel = <0>; 279*c66ec88fSEmmanuel Vadot mal-rx-channel = <0>; 280*c66ec88fSEmmanuel Vadot cell-index = <0>; 281*c66ec88fSEmmanuel Vadot max-frame-size = <9000>; 282*c66ec88fSEmmanuel Vadot rx-fifo-size = <4096>; 283*c66ec88fSEmmanuel Vadot tx-fifo-size = <2048>; 284*c66ec88fSEmmanuel Vadot rx-fifo-size-gige = <16384>; 285*c66ec88fSEmmanuel Vadot tx-fifo-size-gige = <16384>; 286*c66ec88fSEmmanuel Vadot phy-mode = "rgmii"; 287*c66ec88fSEmmanuel Vadot phy-map = <0x00000000>; 288*c66ec88fSEmmanuel Vadot rgmii-device = <&RGMII0>; 289*c66ec88fSEmmanuel Vadot rgmii-channel = <0>; 290*c66ec88fSEmmanuel Vadot has-inverted-stacr-oc; 291*c66ec88fSEmmanuel Vadot has-new-stacr-staopc; 292*c66ec88fSEmmanuel Vadot }; 293*c66ec88fSEmmanuel Vadot 294*c66ec88fSEmmanuel Vadot EMAC1: ethernet@ef600a00 { 295*c66ec88fSEmmanuel Vadot linux,network-index = <0x1>; 296*c66ec88fSEmmanuel Vadot device_type = "network"; 297*c66ec88fSEmmanuel Vadot compatible = "ibm,emac-405ex", "ibm,emac4sync"; 298*c66ec88fSEmmanuel Vadot interrupt-parent = <&EMAC1>; 299*c66ec88fSEmmanuel Vadot interrupts = <0x0 0x1>; 300*c66ec88fSEmmanuel Vadot #interrupt-cells = <1>; 301*c66ec88fSEmmanuel Vadot #address-cells = <0>; 302*c66ec88fSEmmanuel Vadot #size-cells = <0>; 303*c66ec88fSEmmanuel Vadot interrupt-map = </*Status*/ 0x0 &UIC0 0x19 0x4 304*c66ec88fSEmmanuel Vadot /*Wake*/ 0x1 &UIC1 0x1f 0x4>; 305*c66ec88fSEmmanuel Vadot reg = <0xef600a00 0x000000c4>; 306*c66ec88fSEmmanuel Vadot local-mac-address = [000000000000]; /* Filled in by U-Boot */ 307*c66ec88fSEmmanuel Vadot mal-device = <&MAL0>; 308*c66ec88fSEmmanuel Vadot mal-tx-channel = <1>; 309*c66ec88fSEmmanuel Vadot mal-rx-channel = <1>; 310*c66ec88fSEmmanuel Vadot cell-index = <1>; 311*c66ec88fSEmmanuel Vadot max-frame-size = <9000>; 312*c66ec88fSEmmanuel Vadot rx-fifo-size = <4096>; 313*c66ec88fSEmmanuel Vadot tx-fifo-size = <2048>; 314*c66ec88fSEmmanuel Vadot rx-fifo-size-gige = <16384>; 315*c66ec88fSEmmanuel Vadot tx-fifo-size-gige = <16384>; 316*c66ec88fSEmmanuel Vadot phy-mode = "rgmii"; 317*c66ec88fSEmmanuel Vadot phy-map = <0x00000000>; 318*c66ec88fSEmmanuel Vadot rgmii-device = <&RGMII0>; 319*c66ec88fSEmmanuel Vadot rgmii-channel = <1>; 320*c66ec88fSEmmanuel Vadot has-inverted-stacr-oc; 321*c66ec88fSEmmanuel Vadot has-new-stacr-staopc; 322*c66ec88fSEmmanuel Vadot }; 323*c66ec88fSEmmanuel Vadot }; 324*c66ec88fSEmmanuel Vadot 325*c66ec88fSEmmanuel Vadot PCIE0: pcie@a0000000 { 326*c66ec88fSEmmanuel Vadot device_type = "pci"; 327*c66ec88fSEmmanuel Vadot #interrupt-cells = <1>; 328*c66ec88fSEmmanuel Vadot #size-cells = <2>; 329*c66ec88fSEmmanuel Vadot #address-cells = <3>; 330*c66ec88fSEmmanuel Vadot compatible = "ibm,plb-pciex-405ex", "ibm,plb-pciex"; 331*c66ec88fSEmmanuel Vadot primary; 332*c66ec88fSEmmanuel Vadot port = <0x0>; /* port number */ 333*c66ec88fSEmmanuel Vadot reg = <0xa0000000 0x20000000 /* Config space access */ 334*c66ec88fSEmmanuel Vadot 0xef000000 0x00001000>; /* Registers */ 335*c66ec88fSEmmanuel Vadot dcr-reg = <0x040 0x020>; 336*c66ec88fSEmmanuel Vadot sdr-base = <0x400>; 337*c66ec88fSEmmanuel Vadot 338*c66ec88fSEmmanuel Vadot /* Outbound ranges, one memory and one IO, 339*c66ec88fSEmmanuel Vadot * later cannot be changed 340*c66ec88fSEmmanuel Vadot */ 341*c66ec88fSEmmanuel Vadot ranges = <0x02000000 0x00000000 0x80000000 0x90000000 0x00000000 0x08000000 342*c66ec88fSEmmanuel Vadot 0x01000000 0x00000000 0x00000000 0xe0000000 0x00000000 0x00010000>; 343*c66ec88fSEmmanuel Vadot 344*c66ec88fSEmmanuel Vadot /* Inbound 2GB range starting at 0 */ 345*c66ec88fSEmmanuel Vadot dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x80000000>; 346*c66ec88fSEmmanuel Vadot 347*c66ec88fSEmmanuel Vadot /* This drives busses 0x00 to 0x3f */ 348*c66ec88fSEmmanuel Vadot bus-range = <0x0 0x3f>; 349*c66ec88fSEmmanuel Vadot 350*c66ec88fSEmmanuel Vadot /* Legacy interrupts (note the weird polarity, the bridge seems 351*c66ec88fSEmmanuel Vadot * to invert PCIe legacy interrupts). 352*c66ec88fSEmmanuel Vadot * We are de-swizzling here because the numbers are actually for 353*c66ec88fSEmmanuel Vadot * port of the root complex virtual P2P bridge. But I want 354*c66ec88fSEmmanuel Vadot * to avoid putting a node for it in the tree, so the numbers 355*c66ec88fSEmmanuel Vadot * below are basically de-swizzled numbers. 356*c66ec88fSEmmanuel Vadot * The real slot is on idsel 0, so the swizzling is 1:1 357*c66ec88fSEmmanuel Vadot */ 358*c66ec88fSEmmanuel Vadot interrupt-map-mask = <0x0 0x0 0x0 0x7>; 359*c66ec88fSEmmanuel Vadot interrupt-map = < 360*c66ec88fSEmmanuel Vadot 0x0 0x0 0x0 0x1 &UIC2 0x0 0x4 /* swizzled int A */ 361*c66ec88fSEmmanuel Vadot 0x0 0x0 0x0 0x2 &UIC2 0x1 0x4 /* swizzled int B */ 362*c66ec88fSEmmanuel Vadot 0x0 0x0 0x0 0x3 &UIC2 0x2 0x4 /* swizzled int C */ 363*c66ec88fSEmmanuel Vadot 0x0 0x0 0x0 0x4 &UIC2 0x3 0x4 /* swizzled int D */>; 364*c66ec88fSEmmanuel Vadot }; 365*c66ec88fSEmmanuel Vadot 366*c66ec88fSEmmanuel Vadot PCIE1: pcie@c0000000 { 367*c66ec88fSEmmanuel Vadot device_type = "pci"; 368*c66ec88fSEmmanuel Vadot #interrupt-cells = <1>; 369*c66ec88fSEmmanuel Vadot #size-cells = <2>; 370*c66ec88fSEmmanuel Vadot #address-cells = <3>; 371*c66ec88fSEmmanuel Vadot compatible = "ibm,plb-pciex-405ex", "ibm,plb-pciex"; 372*c66ec88fSEmmanuel Vadot primary; 373*c66ec88fSEmmanuel Vadot port = <0x1>; /* port number */ 374*c66ec88fSEmmanuel Vadot reg = <0xc0000000 0x20000000 /* Config space access */ 375*c66ec88fSEmmanuel Vadot 0xef001000 0x00001000>; /* Registers */ 376*c66ec88fSEmmanuel Vadot dcr-reg = <0x060 0x020>; 377*c66ec88fSEmmanuel Vadot sdr-base = <0x440>; 378*c66ec88fSEmmanuel Vadot 379*c66ec88fSEmmanuel Vadot /* Outbound ranges, one memory and one IO, 380*c66ec88fSEmmanuel Vadot * later cannot be changed 381*c66ec88fSEmmanuel Vadot */ 382*c66ec88fSEmmanuel Vadot ranges = <0x02000000 0x00000000 0x80000000 0x98000000 0x00000000 0x08000000 383*c66ec88fSEmmanuel Vadot 0x01000000 0x00000000 0x00000000 0xe0010000 0x00000000 0x00010000>; 384*c66ec88fSEmmanuel Vadot 385*c66ec88fSEmmanuel Vadot /* Inbound 2GB range starting at 0 */ 386*c66ec88fSEmmanuel Vadot dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x80000000>; 387*c66ec88fSEmmanuel Vadot 388*c66ec88fSEmmanuel Vadot /* This drives busses 0x40 to 0x7f */ 389*c66ec88fSEmmanuel Vadot bus-range = <0x40 0x7f>; 390*c66ec88fSEmmanuel Vadot 391*c66ec88fSEmmanuel Vadot /* Legacy interrupts (note the weird polarity, the bridge seems 392*c66ec88fSEmmanuel Vadot * to invert PCIe legacy interrupts). 393*c66ec88fSEmmanuel Vadot * We are de-swizzling here because the numbers are actually for 394*c66ec88fSEmmanuel Vadot * port of the root complex virtual P2P bridge. But I want 395*c66ec88fSEmmanuel Vadot * to avoid putting a node for it in the tree, so the numbers 396*c66ec88fSEmmanuel Vadot * below are basically de-swizzled numbers. 397*c66ec88fSEmmanuel Vadot * The real slot is on idsel 0, so the swizzling is 1:1 398*c66ec88fSEmmanuel Vadot */ 399*c66ec88fSEmmanuel Vadot interrupt-map-mask = <0x0 0x0 0x0 0x7>; 400*c66ec88fSEmmanuel Vadot interrupt-map = < 401*c66ec88fSEmmanuel Vadot 0x0 0x0 0x0 0x1 &UIC2 0xb 0x4 /* swizzled int A */ 402*c66ec88fSEmmanuel Vadot 0x0 0x0 0x0 0x2 &UIC2 0xc 0x4 /* swizzled int B */ 403*c66ec88fSEmmanuel Vadot 0x0 0x0 0x0 0x3 &UIC2 0xd 0x4 /* swizzled int C */ 404*c66ec88fSEmmanuel Vadot 0x0 0x0 0x0 0x4 &UIC2 0xe 0x4 /* swizzled int D */>; 405*c66ec88fSEmmanuel Vadot }; 406*c66ec88fSEmmanuel Vadot }; 407*c66ec88fSEmmanuel Vadot}; 408