1*c66ec88fSEmmanuel Vadot/* 2*c66ec88fSEmmanuel Vadot * Device Tree Source for AMCC Sequoia 3*c66ec88fSEmmanuel Vadot * 4*c66ec88fSEmmanuel Vadot * Based on Bamboo code by Josh Boyer <jwboyer@linux.vnet.ibm.com> 5*c66ec88fSEmmanuel Vadot * Copyright (c) 2006, 2007 IBM Corp. 6*c66ec88fSEmmanuel Vadot * 7*c66ec88fSEmmanuel Vadot * FIXME: Draft only! 8*c66ec88fSEmmanuel Vadot * 9*c66ec88fSEmmanuel Vadot * This file is licensed under the terms of the GNU General Public 10*c66ec88fSEmmanuel Vadot * License version 2. This program is licensed "as is" without 11*c66ec88fSEmmanuel Vadot * any warranty of any kind, whether express or implied. 12*c66ec88fSEmmanuel Vadot * 13*c66ec88fSEmmanuel Vadot */ 14*c66ec88fSEmmanuel Vadot 15*c66ec88fSEmmanuel Vadot/dts-v1/; 16*c66ec88fSEmmanuel Vadot 17*c66ec88fSEmmanuel Vadot/ { 18*c66ec88fSEmmanuel Vadot #address-cells = <2>; 19*c66ec88fSEmmanuel Vadot #size-cells = <1>; 20*c66ec88fSEmmanuel Vadot model = "amcc,sequoia"; 21*c66ec88fSEmmanuel Vadot compatible = "amcc,sequoia"; 22*c66ec88fSEmmanuel Vadot dcr-parent = <&{/cpus/cpu@0}>; 23*c66ec88fSEmmanuel Vadot 24*c66ec88fSEmmanuel Vadot aliases { 25*c66ec88fSEmmanuel Vadot ethernet0 = &EMAC0; 26*c66ec88fSEmmanuel Vadot ethernet1 = &EMAC1; 27*c66ec88fSEmmanuel Vadot serial0 = &UART0; 28*c66ec88fSEmmanuel Vadot serial1 = &UART1; 29*c66ec88fSEmmanuel Vadot serial2 = &UART2; 30*c66ec88fSEmmanuel Vadot serial3 = &UART3; 31*c66ec88fSEmmanuel Vadot }; 32*c66ec88fSEmmanuel Vadot 33*c66ec88fSEmmanuel Vadot cpus { 34*c66ec88fSEmmanuel Vadot #address-cells = <1>; 35*c66ec88fSEmmanuel Vadot #size-cells = <0>; 36*c66ec88fSEmmanuel Vadot 37*c66ec88fSEmmanuel Vadot cpu@0 { 38*c66ec88fSEmmanuel Vadot device_type = "cpu"; 39*c66ec88fSEmmanuel Vadot model = "PowerPC,440EPx"; 40*c66ec88fSEmmanuel Vadot reg = <0x00000000>; 41*c66ec88fSEmmanuel Vadot clock-frequency = <0>; /* Filled in by zImage */ 42*c66ec88fSEmmanuel Vadot timebase-frequency = <0>; /* Filled in by zImage */ 43*c66ec88fSEmmanuel Vadot i-cache-line-size = <32>; 44*c66ec88fSEmmanuel Vadot d-cache-line-size = <32>; 45*c66ec88fSEmmanuel Vadot i-cache-size = <32768>; 46*c66ec88fSEmmanuel Vadot d-cache-size = <32768>; 47*c66ec88fSEmmanuel Vadot dcr-controller; 48*c66ec88fSEmmanuel Vadot dcr-access-method = "native"; 49*c66ec88fSEmmanuel Vadot }; 50*c66ec88fSEmmanuel Vadot }; 51*c66ec88fSEmmanuel Vadot 52*c66ec88fSEmmanuel Vadot memory { 53*c66ec88fSEmmanuel Vadot device_type = "memory"; 54*c66ec88fSEmmanuel Vadot reg = <0x00000000 0x00000000 0x00000000>; /* Filled in by zImage */ 55*c66ec88fSEmmanuel Vadot }; 56*c66ec88fSEmmanuel Vadot 57*c66ec88fSEmmanuel Vadot UIC0: interrupt-controller0 { 58*c66ec88fSEmmanuel Vadot compatible = "ibm,uic-440epx","ibm,uic"; 59*c66ec88fSEmmanuel Vadot interrupt-controller; 60*c66ec88fSEmmanuel Vadot cell-index = <0>; 61*c66ec88fSEmmanuel Vadot dcr-reg = <0x0c0 0x009>; 62*c66ec88fSEmmanuel Vadot #address-cells = <0>; 63*c66ec88fSEmmanuel Vadot #size-cells = <0>; 64*c66ec88fSEmmanuel Vadot #interrupt-cells = <2>; 65*c66ec88fSEmmanuel Vadot }; 66*c66ec88fSEmmanuel Vadot 67*c66ec88fSEmmanuel Vadot UIC1: interrupt-controller1 { 68*c66ec88fSEmmanuel Vadot compatible = "ibm,uic-440epx","ibm,uic"; 69*c66ec88fSEmmanuel Vadot interrupt-controller; 70*c66ec88fSEmmanuel Vadot cell-index = <1>; 71*c66ec88fSEmmanuel Vadot dcr-reg = <0x0d0 0x009>; 72*c66ec88fSEmmanuel Vadot #address-cells = <0>; 73*c66ec88fSEmmanuel Vadot #size-cells = <0>; 74*c66ec88fSEmmanuel Vadot #interrupt-cells = <2>; 75*c66ec88fSEmmanuel Vadot interrupts = <0x1e 0x4 0x1f 0x4>; /* cascade */ 76*c66ec88fSEmmanuel Vadot interrupt-parent = <&UIC0>; 77*c66ec88fSEmmanuel Vadot }; 78*c66ec88fSEmmanuel Vadot 79*c66ec88fSEmmanuel Vadot UIC2: interrupt-controller2 { 80*c66ec88fSEmmanuel Vadot compatible = "ibm,uic-440epx","ibm,uic"; 81*c66ec88fSEmmanuel Vadot interrupt-controller; 82*c66ec88fSEmmanuel Vadot cell-index = <2>; 83*c66ec88fSEmmanuel Vadot dcr-reg = <0x0e0 0x009>; 84*c66ec88fSEmmanuel Vadot #address-cells = <0>; 85*c66ec88fSEmmanuel Vadot #size-cells = <0>; 86*c66ec88fSEmmanuel Vadot #interrupt-cells = <2>; 87*c66ec88fSEmmanuel Vadot interrupts = <0x1c 0x4 0x1d 0x4>; /* cascade */ 88*c66ec88fSEmmanuel Vadot interrupt-parent = <&UIC0>; 89*c66ec88fSEmmanuel Vadot }; 90*c66ec88fSEmmanuel Vadot 91*c66ec88fSEmmanuel Vadot SDR0: sdr { 92*c66ec88fSEmmanuel Vadot compatible = "ibm,sdr-440epx", "ibm,sdr-440ep"; 93*c66ec88fSEmmanuel Vadot dcr-reg = <0x00e 0x002>; 94*c66ec88fSEmmanuel Vadot }; 95*c66ec88fSEmmanuel Vadot 96*c66ec88fSEmmanuel Vadot CPR0: cpr { 97*c66ec88fSEmmanuel Vadot compatible = "ibm,cpr-440epx", "ibm,cpr-440ep"; 98*c66ec88fSEmmanuel Vadot dcr-reg = <0x00c 0x002>; 99*c66ec88fSEmmanuel Vadot }; 100*c66ec88fSEmmanuel Vadot 101*c66ec88fSEmmanuel Vadot plb { 102*c66ec88fSEmmanuel Vadot compatible = "ibm,plb-440epx", "ibm,plb4"; 103*c66ec88fSEmmanuel Vadot #address-cells = <2>; 104*c66ec88fSEmmanuel Vadot #size-cells = <1>; 105*c66ec88fSEmmanuel Vadot ranges; 106*c66ec88fSEmmanuel Vadot clock-frequency = <0>; /* Filled in by zImage */ 107*c66ec88fSEmmanuel Vadot 108*c66ec88fSEmmanuel Vadot SDRAM0: sdram { 109*c66ec88fSEmmanuel Vadot compatible = "ibm,sdram-440epx", "ibm,sdram-44x-ddr2denali"; 110*c66ec88fSEmmanuel Vadot dcr-reg = <0x010 0x002>; 111*c66ec88fSEmmanuel Vadot }; 112*c66ec88fSEmmanuel Vadot 113*c66ec88fSEmmanuel Vadot CRYPTO: crypto@e0100000 { 114*c66ec88fSEmmanuel Vadot compatible = "amcc,ppc440epx-crypto","amcc,ppc4xx-crypto"; 115*c66ec88fSEmmanuel Vadot reg = <0 0xE0100000 0x80400>; 116*c66ec88fSEmmanuel Vadot interrupt-parent = <&UIC0>; 117*c66ec88fSEmmanuel Vadot interrupts = <0x17 0x4>; 118*c66ec88fSEmmanuel Vadot }; 119*c66ec88fSEmmanuel Vadot 120*c66ec88fSEmmanuel Vadot rng@e0120000 { 121*c66ec88fSEmmanuel Vadot compatible = "amcc,ppc440epx-rng","amcc,ppc4xx-rng"; 122*c66ec88fSEmmanuel Vadot reg = <0 0xE0120000 0x150>; 123*c66ec88fSEmmanuel Vadot }; 124*c66ec88fSEmmanuel Vadot 125*c66ec88fSEmmanuel Vadot DMA0: dma { 126*c66ec88fSEmmanuel Vadot compatible = "ibm,dma-440epx", "ibm,dma-4xx"; 127*c66ec88fSEmmanuel Vadot dcr-reg = <0x100 0x027>; 128*c66ec88fSEmmanuel Vadot }; 129*c66ec88fSEmmanuel Vadot 130*c66ec88fSEmmanuel Vadot MAL0: mcmal { 131*c66ec88fSEmmanuel Vadot compatible = "ibm,mcmal-440epx", "ibm,mcmal2"; 132*c66ec88fSEmmanuel Vadot dcr-reg = <0x180 0x062>; 133*c66ec88fSEmmanuel Vadot num-tx-chans = <2>; 134*c66ec88fSEmmanuel Vadot num-rx-chans = <2>; 135*c66ec88fSEmmanuel Vadot interrupt-parent = <&MAL0>; 136*c66ec88fSEmmanuel Vadot interrupts = <0x0 0x1 0x2 0x3 0x4>; 137*c66ec88fSEmmanuel Vadot #interrupt-cells = <1>; 138*c66ec88fSEmmanuel Vadot #address-cells = <0>; 139*c66ec88fSEmmanuel Vadot #size-cells = <0>; 140*c66ec88fSEmmanuel Vadot interrupt-map = </*TXEOB*/ 0x0 &UIC0 0xa 0x4 141*c66ec88fSEmmanuel Vadot /*RXEOB*/ 0x1 &UIC0 0xb 0x4 142*c66ec88fSEmmanuel Vadot /*SERR*/ 0x2 &UIC1 0x0 0x4 143*c66ec88fSEmmanuel Vadot /*TXDE*/ 0x3 &UIC1 0x1 0x4 144*c66ec88fSEmmanuel Vadot /*RXDE*/ 0x4 &UIC1 0x2 0x4>; 145*c66ec88fSEmmanuel Vadot interrupt-map-mask = <0xffffffff>; 146*c66ec88fSEmmanuel Vadot }; 147*c66ec88fSEmmanuel Vadot 148*c66ec88fSEmmanuel Vadot USB1: usb@e0000400 { 149*c66ec88fSEmmanuel Vadot compatible = "ibm,usb-ohci-440epx", "ohci-be"; 150*c66ec88fSEmmanuel Vadot reg = <0x00000000 0xe0000400 0x00000060>; 151*c66ec88fSEmmanuel Vadot interrupt-parent = <&UIC0>; 152*c66ec88fSEmmanuel Vadot interrupts = <0x15 0x8>; 153*c66ec88fSEmmanuel Vadot }; 154*c66ec88fSEmmanuel Vadot 155*c66ec88fSEmmanuel Vadot USB0: ehci@e0000300 { 156*c66ec88fSEmmanuel Vadot compatible = "ibm,usb-ehci-440epx", "usb-ehci"; 157*c66ec88fSEmmanuel Vadot interrupt-parent = <&UIC0>; 158*c66ec88fSEmmanuel Vadot interrupts = <0x1a 0x4>; 159*c66ec88fSEmmanuel Vadot reg = <0x00000000 0xe0000300 0x00000090 0x00000000 0xe0000390 0x00000070>; 160*c66ec88fSEmmanuel Vadot big-endian; 161*c66ec88fSEmmanuel Vadot }; 162*c66ec88fSEmmanuel Vadot 163*c66ec88fSEmmanuel Vadot POB0: opb { 164*c66ec88fSEmmanuel Vadot compatible = "ibm,opb-440epx", "ibm,opb"; 165*c66ec88fSEmmanuel Vadot #address-cells = <1>; 166*c66ec88fSEmmanuel Vadot #size-cells = <1>; 167*c66ec88fSEmmanuel Vadot ranges = <0x00000000 0x00000001 0x00000000 0x80000000 168*c66ec88fSEmmanuel Vadot 0x80000000 0x00000001 0x80000000 0x80000000>; 169*c66ec88fSEmmanuel Vadot interrupt-parent = <&UIC1>; 170*c66ec88fSEmmanuel Vadot interrupts = <0x7 0x4>; 171*c66ec88fSEmmanuel Vadot clock-frequency = <0>; /* Filled in by zImage */ 172*c66ec88fSEmmanuel Vadot 173*c66ec88fSEmmanuel Vadot EBC0: ebc { 174*c66ec88fSEmmanuel Vadot compatible = "ibm,ebc-440epx", "ibm,ebc"; 175*c66ec88fSEmmanuel Vadot dcr-reg = <0x012 0x002>; 176*c66ec88fSEmmanuel Vadot #address-cells = <2>; 177*c66ec88fSEmmanuel Vadot #size-cells = <1>; 178*c66ec88fSEmmanuel Vadot clock-frequency = <0>; /* Filled in by zImage */ 179*c66ec88fSEmmanuel Vadot interrupts = <0x5 0x1>; 180*c66ec88fSEmmanuel Vadot interrupt-parent = <&UIC1>; 181*c66ec88fSEmmanuel Vadot 182*c66ec88fSEmmanuel Vadot nor_flash@0,0 { 183*c66ec88fSEmmanuel Vadot compatible = "amd,s29gl256n", "cfi-flash"; 184*c66ec88fSEmmanuel Vadot bank-width = <2>; 185*c66ec88fSEmmanuel Vadot reg = <0x00000000 0x00000000 0x04000000>; 186*c66ec88fSEmmanuel Vadot #address-cells = <1>; 187*c66ec88fSEmmanuel Vadot #size-cells = <1>; 188*c66ec88fSEmmanuel Vadot partition@0 { 189*c66ec88fSEmmanuel Vadot label = "Kernel"; 190*c66ec88fSEmmanuel Vadot reg = <0x00000000 0x00180000>; 191*c66ec88fSEmmanuel Vadot }; 192*c66ec88fSEmmanuel Vadot partition@180000 { 193*c66ec88fSEmmanuel Vadot label = "ramdisk"; 194*c66ec88fSEmmanuel Vadot reg = <0x00180000 0x00200000>; 195*c66ec88fSEmmanuel Vadot }; 196*c66ec88fSEmmanuel Vadot partition@380000 { 197*c66ec88fSEmmanuel Vadot label = "file system"; 198*c66ec88fSEmmanuel Vadot reg = <0x00380000 0x03aa0000>; 199*c66ec88fSEmmanuel Vadot }; 200*c66ec88fSEmmanuel Vadot partition@3e20000 { 201*c66ec88fSEmmanuel Vadot label = "kozio"; 202*c66ec88fSEmmanuel Vadot reg = <0x03e20000 0x00140000>; 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 0x00084000>; 229*c66ec88fSEmmanuel Vadot }; 230*c66ec88fSEmmanuel Vadot partition@84000 { 231*c66ec88fSEmmanuel Vadot label = "user"; 232*c66ec88fSEmmanuel Vadot reg = <0x00084000 0x01f7c000>; 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 zImage */ 244*c66ec88fSEmmanuel Vadot current-speed = <115200>; 245*c66ec88fSEmmanuel Vadot interrupt-parent = <&UIC0>; 246*c66ec88fSEmmanuel Vadot interrupts = <0x0 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>; 255*c66ec88fSEmmanuel Vadot current-speed = <0>; 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>; 266*c66ec88fSEmmanuel Vadot current-speed = <0>; 267*c66ec88fSEmmanuel Vadot interrupt-parent = <&UIC1>; 268*c66ec88fSEmmanuel Vadot interrupts = <0x3 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>; 277*c66ec88fSEmmanuel Vadot current-speed = <0>; 278*c66ec88fSEmmanuel Vadot interrupt-parent = <&UIC1>; 279*c66ec88fSEmmanuel Vadot interrupts = <0x4 0x4>; 280*c66ec88fSEmmanuel Vadot }; 281*c66ec88fSEmmanuel Vadot 282*c66ec88fSEmmanuel Vadot IIC0: i2c@ef600700 { 283*c66ec88fSEmmanuel Vadot #address-cells = <1>; 284*c66ec88fSEmmanuel Vadot #size-cells = <0>; 285*c66ec88fSEmmanuel Vadot compatible = "ibm,iic-440epx", "ibm,iic"; 286*c66ec88fSEmmanuel Vadot reg = <0xef600700 0x00000014>; 287*c66ec88fSEmmanuel Vadot interrupt-parent = <&UIC0>; 288*c66ec88fSEmmanuel Vadot interrupts = <0x2 0x4>; 289*c66ec88fSEmmanuel Vadot 290*c66ec88fSEmmanuel Vadot hwmon@48 { 291*c66ec88fSEmmanuel Vadot compatible = "adi,ad7414"; 292*c66ec88fSEmmanuel Vadot reg = <0x48>; 293*c66ec88fSEmmanuel Vadot }; 294*c66ec88fSEmmanuel Vadot }; 295*c66ec88fSEmmanuel Vadot 296*c66ec88fSEmmanuel Vadot IIC1: i2c@ef600800 { 297*c66ec88fSEmmanuel Vadot #address-cells = <1>; 298*c66ec88fSEmmanuel Vadot #size-cells = <0>; 299*c66ec88fSEmmanuel Vadot compatible = "ibm,iic-440epx", "ibm,iic"; 300*c66ec88fSEmmanuel Vadot reg = <0xef600800 0x00000014>; 301*c66ec88fSEmmanuel Vadot interrupt-parent = <&UIC0>; 302*c66ec88fSEmmanuel Vadot interrupts = <0x7 0x4>; 303*c66ec88fSEmmanuel Vadot }; 304*c66ec88fSEmmanuel Vadot 305*c66ec88fSEmmanuel Vadot ZMII0: emac-zmii@ef600d00 { 306*c66ec88fSEmmanuel Vadot compatible = "ibm,zmii-440epx", "ibm,zmii"; 307*c66ec88fSEmmanuel Vadot reg = <0xef600d00 0x0000000c>; 308*c66ec88fSEmmanuel Vadot }; 309*c66ec88fSEmmanuel Vadot 310*c66ec88fSEmmanuel Vadot RGMII0: emac-rgmii@ef601000 { 311*c66ec88fSEmmanuel Vadot compatible = "ibm,rgmii-440epx", "ibm,rgmii"; 312*c66ec88fSEmmanuel Vadot reg = <0xef601000 0x00000008>; 313*c66ec88fSEmmanuel Vadot has-mdio; 314*c66ec88fSEmmanuel Vadot }; 315*c66ec88fSEmmanuel Vadot 316*c66ec88fSEmmanuel Vadot EMAC0: ethernet@ef600e00 { 317*c66ec88fSEmmanuel Vadot device_type = "network"; 318*c66ec88fSEmmanuel Vadot compatible = "ibm,emac-440epx", "ibm,emac4"; 319*c66ec88fSEmmanuel Vadot interrupt-parent = <&EMAC0>; 320*c66ec88fSEmmanuel Vadot interrupts = <0x0 0x1>; 321*c66ec88fSEmmanuel Vadot #interrupt-cells = <1>; 322*c66ec88fSEmmanuel Vadot #address-cells = <0>; 323*c66ec88fSEmmanuel Vadot #size-cells = <0>; 324*c66ec88fSEmmanuel Vadot interrupt-map = </*Status*/ 0x0 &UIC0 0x18 0x4 325*c66ec88fSEmmanuel Vadot /*Wake*/ 0x1 &UIC1 0x1d 0x4>; 326*c66ec88fSEmmanuel Vadot reg = <0xef600e00 0x00000074>; 327*c66ec88fSEmmanuel Vadot local-mac-address = [000000000000]; 328*c66ec88fSEmmanuel Vadot mal-device = <&MAL0>; 329*c66ec88fSEmmanuel Vadot mal-tx-channel = <0>; 330*c66ec88fSEmmanuel Vadot mal-rx-channel = <0>; 331*c66ec88fSEmmanuel Vadot cell-index = <0>; 332*c66ec88fSEmmanuel Vadot max-frame-size = <9000>; 333*c66ec88fSEmmanuel Vadot rx-fifo-size = <4096>; 334*c66ec88fSEmmanuel Vadot tx-fifo-size = <2048>; 335*c66ec88fSEmmanuel Vadot phy-mode = "rgmii"; 336*c66ec88fSEmmanuel Vadot phy-map = <0x00000000>; 337*c66ec88fSEmmanuel Vadot zmii-device = <&ZMII0>; 338*c66ec88fSEmmanuel Vadot zmii-channel = <0>; 339*c66ec88fSEmmanuel Vadot rgmii-device = <&RGMII0>; 340*c66ec88fSEmmanuel Vadot rgmii-channel = <0>; 341*c66ec88fSEmmanuel Vadot has-inverted-stacr-oc; 342*c66ec88fSEmmanuel Vadot has-new-stacr-staopc; 343*c66ec88fSEmmanuel Vadot }; 344*c66ec88fSEmmanuel Vadot 345*c66ec88fSEmmanuel Vadot EMAC1: ethernet@ef600f00 { 346*c66ec88fSEmmanuel Vadot device_type = "network"; 347*c66ec88fSEmmanuel Vadot compatible = "ibm,emac-440epx", "ibm,emac4"; 348*c66ec88fSEmmanuel Vadot interrupt-parent = <&EMAC1>; 349*c66ec88fSEmmanuel Vadot interrupts = <0x0 0x1>; 350*c66ec88fSEmmanuel Vadot #interrupt-cells = <1>; 351*c66ec88fSEmmanuel Vadot #address-cells = <0>; 352*c66ec88fSEmmanuel Vadot #size-cells = <0>; 353*c66ec88fSEmmanuel Vadot interrupt-map = </*Status*/ 0x0 &UIC0 0x19 0x4 354*c66ec88fSEmmanuel Vadot /*Wake*/ 0x1 &UIC1 0x1f 0x4>; 355*c66ec88fSEmmanuel Vadot reg = <0xef600f00 0x00000074>; 356*c66ec88fSEmmanuel Vadot local-mac-address = [000000000000]; 357*c66ec88fSEmmanuel Vadot mal-device = <&MAL0>; 358*c66ec88fSEmmanuel Vadot mal-tx-channel = <1>; 359*c66ec88fSEmmanuel Vadot mal-rx-channel = <1>; 360*c66ec88fSEmmanuel Vadot cell-index = <1>; 361*c66ec88fSEmmanuel Vadot max-frame-size = <9000>; 362*c66ec88fSEmmanuel Vadot rx-fifo-size = <4096>; 363*c66ec88fSEmmanuel Vadot tx-fifo-size = <2048>; 364*c66ec88fSEmmanuel Vadot phy-mode = "rgmii"; 365*c66ec88fSEmmanuel Vadot phy-map = <0x00000000>; 366*c66ec88fSEmmanuel Vadot zmii-device = <&ZMII0>; 367*c66ec88fSEmmanuel Vadot zmii-channel = <1>; 368*c66ec88fSEmmanuel Vadot rgmii-device = <&RGMII0>; 369*c66ec88fSEmmanuel Vadot rgmii-channel = <1>; 370*c66ec88fSEmmanuel Vadot has-inverted-stacr-oc; 371*c66ec88fSEmmanuel Vadot has-new-stacr-staopc; 372*c66ec88fSEmmanuel Vadot }; 373*c66ec88fSEmmanuel Vadot }; 374*c66ec88fSEmmanuel Vadot 375*c66ec88fSEmmanuel Vadot PCI0: pci@1ec000000 { 376*c66ec88fSEmmanuel Vadot device_type = "pci"; 377*c66ec88fSEmmanuel Vadot #interrupt-cells = <1>; 378*c66ec88fSEmmanuel Vadot #size-cells = <2>; 379*c66ec88fSEmmanuel Vadot #address-cells = <3>; 380*c66ec88fSEmmanuel Vadot compatible = "ibm,plb440epx-pci", "ibm,plb-pci"; 381*c66ec88fSEmmanuel Vadot primary; 382*c66ec88fSEmmanuel Vadot reg = <0x00000001 0xeec00000 0x00000008 /* Config space access */ 383*c66ec88fSEmmanuel Vadot 0x00000001 0xeed00000 0x00000004 /* IACK */ 384*c66ec88fSEmmanuel Vadot 0x00000001 0xeed00000 0x00000004 /* Special cycle */ 385*c66ec88fSEmmanuel Vadot 0x00000001 0xef400000 0x00000040>; /* Internal registers */ 386*c66ec88fSEmmanuel Vadot 387*c66ec88fSEmmanuel Vadot /* Outbound ranges, one memory and one IO, 388*c66ec88fSEmmanuel Vadot * later cannot be changed. Chip supports a second 389*c66ec88fSEmmanuel Vadot * IO range but we don't use it for now 390*c66ec88fSEmmanuel Vadot * From the 440EPx user manual: 391*c66ec88fSEmmanuel Vadot * PCI 1 Memory 1 8000 0000 1 BFFF FFFF 1GB 392*c66ec88fSEmmanuel Vadot * I/O 1 E800 0000 1 E800 FFFF 64KB 393*c66ec88fSEmmanuel Vadot * I/O 1 E880 0000 1 EBFF FFFF 56MB 394*c66ec88fSEmmanuel Vadot */ 395*c66ec88fSEmmanuel Vadot ranges = <0x02000000 0x00000000 0x80000000 0x00000001 0x80000000 0x00000000 0x40000000 396*c66ec88fSEmmanuel Vadot 0x01000000 0x00000000 0x00000000 0x00000001 0xe8000000 0x00000000 0x00010000 397*c66ec88fSEmmanuel Vadot 0x01000000 0x00000000 0x00000000 0x00000001 0xe8800000 0x00000000 0x03800000>; 398*c66ec88fSEmmanuel Vadot 399*c66ec88fSEmmanuel Vadot /* Inbound 2GB range starting at 0 */ 400*c66ec88fSEmmanuel Vadot dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x0 0x80000000>; 401*c66ec88fSEmmanuel Vadot 402*c66ec88fSEmmanuel Vadot /* All PCI interrupts are routed to IRQ 67 */ 403*c66ec88fSEmmanuel Vadot interrupt-map-mask = <0x0 0x0 0x0 0x0>; 404*c66ec88fSEmmanuel Vadot interrupt-map = < 0x0 0x0 0x0 0x0 &UIC2 0x3 0x8 >; 405*c66ec88fSEmmanuel Vadot }; 406*c66ec88fSEmmanuel Vadot }; 407*c66ec88fSEmmanuel Vadot 408*c66ec88fSEmmanuel Vadot chosen { 409*c66ec88fSEmmanuel Vadot stdout-path = "/plb/opb/serial@ef600300"; 410*c66ec88fSEmmanuel Vadot bootargs = "console=ttyS0,115200"; 411*c66ec88fSEmmanuel Vadot }; 412*c66ec88fSEmmanuel Vadot}; 413