1fd0ed740SJosh Boyer/* 2fd0ed740SJosh Boyer * Device Tree Source for AMCC Yosemite 3fd0ed740SJosh Boyer * 4fd0ed740SJosh Boyer * Copyright 2008 IBM Corp. 5fd0ed740SJosh Boyer * Josh Boyer <jwboyer@linux.vnet.ibm.com> 6fd0ed740SJosh Boyer * 7fd0ed740SJosh Boyer * This file is licensed under the terms of the GNU General Public 8fd0ed740SJosh Boyer * License version 2. This program is licensed "as is" without 9fd0ed740SJosh Boyer * any warranty of any kind, whether express or implied. 10fd0ed740SJosh Boyer */ 11fd0ed740SJosh Boyer 1271f34979SDavid Gibson/dts-v1/; 1371f34979SDavid Gibson 14fd0ed740SJosh Boyer/ { 15fd0ed740SJosh Boyer #address-cells = <2>; 16fd0ed740SJosh Boyer #size-cells = <1>; 17fd0ed740SJosh Boyer model = "amcc,yosemite"; 1838d56f16SJosh Boyer compatible = "amcc,yosemite"; 1971f34979SDavid Gibson dcr-parent = <&{/cpus/cpu@0}>; 20fd0ed740SJosh Boyer 21fd0ed740SJosh Boyer aliases { 22fd0ed740SJosh Boyer ethernet0 = &EMAC0; 23fd0ed740SJosh Boyer ethernet1 = &EMAC1; 24fd0ed740SJosh Boyer serial0 = &UART0; 25fd0ed740SJosh Boyer serial1 = &UART1; 26fd0ed740SJosh Boyer serial2 = &UART2; 27fd0ed740SJosh Boyer serial3 = &UART3; 28fd0ed740SJosh Boyer }; 29fd0ed740SJosh Boyer 30fd0ed740SJosh Boyer cpus { 31fd0ed740SJosh Boyer #address-cells = <1>; 32fd0ed740SJosh Boyer #size-cells = <0>; 33fd0ed740SJosh Boyer 34fd0ed740SJosh Boyer cpu@0 { 35fd0ed740SJosh Boyer device_type = "cpu"; 36fd0ed740SJosh Boyer model = "PowerPC,440EP"; 3771f34979SDavid Gibson reg = <0x00000000>; 38fd0ed740SJosh Boyer clock-frequency = <0>; /* Filled in by zImage */ 39fd0ed740SJosh Boyer timebase-frequency = <0>; /* Filled in by zImage */ 4071f34979SDavid Gibson i-cache-line-size = <32>; 4171f34979SDavid Gibson d-cache-line-size = <32>; 4271f34979SDavid Gibson i-cache-size = <32768>; 4371f34979SDavid Gibson d-cache-size = <32768>; 44fd0ed740SJosh Boyer dcr-controller; 45fd0ed740SJosh Boyer dcr-access-method = "native"; 46fd0ed740SJosh Boyer }; 47fd0ed740SJosh Boyer }; 48fd0ed740SJosh Boyer 49fd0ed740SJosh Boyer memory { 50fd0ed740SJosh Boyer device_type = "memory"; 5171f34979SDavid Gibson reg = <0x00000000 0x00000000 0x00000000>; /* Filled in by zImage */ 52fd0ed740SJosh Boyer }; 53fd0ed740SJosh Boyer 54fd0ed740SJosh Boyer UIC0: interrupt-controller0 { 55fd0ed740SJosh Boyer compatible = "ibm,uic-440ep","ibm,uic"; 56fd0ed740SJosh Boyer interrupt-controller; 57fd0ed740SJosh Boyer cell-index = <0>; 5871f34979SDavid Gibson dcr-reg = <0x0c0 0x009>; 59fd0ed740SJosh Boyer #address-cells = <0>; 60fd0ed740SJosh Boyer #size-cells = <0>; 61fd0ed740SJosh Boyer #interrupt-cells = <2>; 62fd0ed740SJosh Boyer }; 63fd0ed740SJosh Boyer 64fd0ed740SJosh Boyer UIC1: interrupt-controller1 { 65fd0ed740SJosh Boyer compatible = "ibm,uic-440ep","ibm,uic"; 66fd0ed740SJosh Boyer interrupt-controller; 67fd0ed740SJosh Boyer cell-index = <1>; 6871f34979SDavid Gibson dcr-reg = <0x0d0 0x009>; 69fd0ed740SJosh Boyer #address-cells = <0>; 70fd0ed740SJosh Boyer #size-cells = <0>; 71fd0ed740SJosh Boyer #interrupt-cells = <2>; 7271f34979SDavid Gibson interrupts = <0x1e 0x4 0x1f 0x4>; /* cascade */ 73fd0ed740SJosh Boyer interrupt-parent = <&UIC0>; 74fd0ed740SJosh Boyer }; 75fd0ed740SJosh Boyer 76fd0ed740SJosh Boyer SDR0: sdr { 77fd0ed740SJosh Boyer compatible = "ibm,sdr-440ep"; 7871f34979SDavid Gibson dcr-reg = <0x00e 0x002>; 79fd0ed740SJosh Boyer }; 80fd0ed740SJosh Boyer 81fd0ed740SJosh Boyer CPR0: cpr { 82fd0ed740SJosh Boyer compatible = "ibm,cpr-440ep"; 8371f34979SDavid Gibson dcr-reg = <0x00c 0x002>; 84fd0ed740SJosh Boyer }; 85fd0ed740SJosh Boyer 86fd0ed740SJosh Boyer plb { 87fd0ed740SJosh Boyer compatible = "ibm,plb-440ep", "ibm,plb-440gp", "ibm,plb4"; 88fd0ed740SJosh Boyer #address-cells = <2>; 89fd0ed740SJosh Boyer #size-cells = <1>; 90fd0ed740SJosh Boyer ranges; 91fd0ed740SJosh Boyer clock-frequency = <0>; /* Filled in by zImage */ 92fd0ed740SJosh Boyer 93fd0ed740SJosh Boyer SDRAM0: sdram { 94fd0ed740SJosh Boyer compatible = "ibm,sdram-440ep", "ibm,sdram-405gp"; 9571f34979SDavid Gibson dcr-reg = <0x010 0x002>; 96fd0ed740SJosh Boyer }; 97fd0ed740SJosh Boyer 98fd0ed740SJosh Boyer DMA0: dma { 99fd0ed740SJosh Boyer compatible = "ibm,dma-440ep", "ibm,dma-440gp"; 10071f34979SDavid Gibson dcr-reg = <0x100 0x027>; 101fd0ed740SJosh Boyer }; 102fd0ed740SJosh Boyer 103fd0ed740SJosh Boyer MAL0: mcmal { 104fd0ed740SJosh Boyer compatible = "ibm,mcmal-440ep", "ibm,mcmal-440gp", "ibm,mcmal"; 10571f34979SDavid Gibson dcr-reg = <0x180 0x062>; 106fd0ed740SJosh Boyer num-tx-chans = <4>; 107fd0ed740SJosh Boyer num-rx-chans = <2>; 108fd0ed740SJosh Boyer interrupt-parent = <&MAL0>; 10971f34979SDavid Gibson interrupts = <0x0 0x1 0x2 0x3 0x4>; 110fd0ed740SJosh Boyer #interrupt-cells = <1>; 111fd0ed740SJosh Boyer #address-cells = <0>; 112fd0ed740SJosh Boyer #size-cells = <0>; 11371f34979SDavid Gibson interrupt-map = </*TXEOB*/ 0x0 &UIC0 0xa 0x4 11471f34979SDavid Gibson /*RXEOB*/ 0x1 &UIC0 0xb 0x4 11571f34979SDavid Gibson /*SERR*/ 0x2 &UIC1 0x0 0x4 11671f34979SDavid Gibson /*TXDE*/ 0x3 &UIC1 0x1 0x4 11771f34979SDavid Gibson /*RXDE*/ 0x4 &UIC1 0x2 0x4>; 118fd0ed740SJosh Boyer }; 119fd0ed740SJosh Boyer 120fd0ed740SJosh Boyer POB0: opb { 121fd0ed740SJosh Boyer compatible = "ibm,opb-440ep", "ibm,opb-440gp", "ibm,opb"; 122fd0ed740SJosh Boyer #address-cells = <1>; 123fd0ed740SJosh Boyer #size-cells = <1>; 124fd0ed740SJosh Boyer /* Bamboo is oddball in the 44x world and doesn't use the ERPN 125fd0ed740SJosh Boyer * bits. 126fd0ed740SJosh Boyer */ 12771f34979SDavid Gibson ranges = <0x00000000 0x00000000 0x00000000 0x80000000 12871f34979SDavid Gibson 0x80000000 0x00000000 0x80000000 0x80000000>; 129fd0ed740SJosh Boyer interrupt-parent = <&UIC1>; 13071f34979SDavid Gibson interrupts = <0x7 0x4>; 131fd0ed740SJosh Boyer clock-frequency = <0>; /* Filled in by zImage */ 132fd0ed740SJosh Boyer 133fd0ed740SJosh Boyer EBC0: ebc { 134fd0ed740SJosh Boyer compatible = "ibm,ebc-440ep", "ibm,ebc-440gp", "ibm,ebc"; 13571f34979SDavid Gibson dcr-reg = <0x012 0x002>; 136fd0ed740SJosh Boyer #address-cells = <2>; 137fd0ed740SJosh Boyer #size-cells = <1>; 138fd0ed740SJosh Boyer clock-frequency = <0>; /* Filled in by zImage */ 13971f34979SDavid Gibson interrupts = <0x5 0x1>; 140fd0ed740SJosh Boyer interrupt-parent = <&UIC1>; 141fd0ed740SJosh Boyer }; 142fd0ed740SJosh Boyer 143fd0ed740SJosh Boyer UART0: serial@ef600300 { 144fd0ed740SJosh Boyer device_type = "serial"; 145fd0ed740SJosh Boyer compatible = "ns16550"; 14671f34979SDavid Gibson reg = <0xef600300 0x00000008>; 14771f34979SDavid Gibson virtual-reg = <0xef600300>; 148fd0ed740SJosh Boyer clock-frequency = <0>; /* Filled in by zImage */ 14971f34979SDavid Gibson current-speed = <115200>; 150fd0ed740SJosh Boyer interrupt-parent = <&UIC0>; 15171f34979SDavid Gibson interrupts = <0x0 0x4>; 152fd0ed740SJosh Boyer }; 153fd0ed740SJosh Boyer 154fd0ed740SJosh Boyer UART1: serial@ef600400 { 155fd0ed740SJosh Boyer device_type = "serial"; 156fd0ed740SJosh Boyer compatible = "ns16550"; 15771f34979SDavid Gibson reg = <0xef600400 0x00000008>; 15871f34979SDavid Gibson virtual-reg = <0xef600400>; 159fd0ed740SJosh Boyer clock-frequency = <0>; 160fd0ed740SJosh Boyer current-speed = <0>; 161fd0ed740SJosh Boyer interrupt-parent = <&UIC0>; 16271f34979SDavid Gibson interrupts = <0x1 0x4>; 163fd0ed740SJosh Boyer }; 164fd0ed740SJosh Boyer 165fd0ed740SJosh Boyer UART2: serial@ef600500 { 166fd0ed740SJosh Boyer device_type = "serial"; 167fd0ed740SJosh Boyer compatible = "ns16550"; 16871f34979SDavid Gibson reg = <0xef600500 0x00000008>; 16971f34979SDavid Gibson virtual-reg = <0xef600500>; 170fd0ed740SJosh Boyer clock-frequency = <0>; 171fd0ed740SJosh Boyer current-speed = <0>; 172fd0ed740SJosh Boyer interrupt-parent = <&UIC0>; 17371f34979SDavid Gibson interrupts = <0x3 0x4>; 174fd0ed740SJosh Boyer status = "disabled"; 175fd0ed740SJosh Boyer }; 176fd0ed740SJosh Boyer 177fd0ed740SJosh Boyer UART3: serial@ef600600 { 178fd0ed740SJosh Boyer device_type = "serial"; 179fd0ed740SJosh Boyer compatible = "ns16550"; 18071f34979SDavid Gibson reg = <0xef600600 0x00000008>; 18171f34979SDavid Gibson virtual-reg = <0xef600600>; 182fd0ed740SJosh Boyer clock-frequency = <0>; 183fd0ed740SJosh Boyer current-speed = <0>; 184fd0ed740SJosh Boyer interrupt-parent = <&UIC0>; 18571f34979SDavid Gibson interrupts = <0x4 0x4>; 186fd0ed740SJosh Boyer status = "disabled"; 187fd0ed740SJosh Boyer }; 188fd0ed740SJosh Boyer 189fd0ed740SJosh Boyer IIC0: i2c@ef600700 { 190fd0ed740SJosh Boyer compatible = "ibm,iic-440ep", "ibm,iic-440gp", "ibm,iic"; 19171f34979SDavid Gibson reg = <0xef600700 0x00000014>; 192fd0ed740SJosh Boyer interrupt-parent = <&UIC0>; 19371f34979SDavid Gibson interrupts = <0x2 0x4>; 194fd0ed740SJosh Boyer }; 195fd0ed740SJosh Boyer 196fd0ed740SJosh Boyer IIC1: i2c@ef600800 { 197fd0ed740SJosh Boyer compatible = "ibm,iic-440ep", "ibm,iic-440gp", "ibm,iic"; 19871f34979SDavid Gibson reg = <0xef600800 0x00000014>; 199fd0ed740SJosh Boyer interrupt-parent = <&UIC0>; 20071f34979SDavid Gibson interrupts = <0x7 0x4>; 201fd0ed740SJosh Boyer }; 202fd0ed740SJosh Boyer 203fd0ed740SJosh Boyer spi@ef600900 { 204fd0ed740SJosh Boyer compatible = "amcc,spi-440ep"; 20571f34979SDavid Gibson reg = <0xef600900 0x00000006>; 20671f34979SDavid Gibson interrupts = <0x8 0x4>; 207fd0ed740SJosh Boyer interrupt-parent = <&UIC0>; 208fd0ed740SJosh Boyer }; 209fd0ed740SJosh Boyer 210fd0ed740SJosh Boyer ZMII0: emac-zmii@ef600d00 { 211fd0ed740SJosh Boyer compatible = "ibm,zmii-440ep", "ibm,zmii-440gp", "ibm,zmii"; 21271f34979SDavid Gibson reg = <0xef600d00 0x0000000c>; 213fd0ed740SJosh Boyer }; 214fd0ed740SJosh Boyer 215fd0ed740SJosh Boyer EMAC0: ethernet@ef600e00 { 216fd0ed740SJosh Boyer device_type = "network"; 217fd0ed740SJosh Boyer compatible = "ibm,emac-440ep", "ibm,emac-440gp", "ibm,emac"; 218fd0ed740SJosh Boyer interrupt-parent = <&UIC1>; 21971f34979SDavid Gibson interrupts = <0x1c 0x4 0x1d 0x4>; 22071f34979SDavid Gibson reg = <0xef600e00 0x00000070>; 221fd0ed740SJosh Boyer local-mac-address = [000000000000]; 222fd0ed740SJosh Boyer mal-device = <&MAL0>; 223fd0ed740SJosh Boyer mal-tx-channel = <0 1>; 224fd0ed740SJosh Boyer mal-rx-channel = <0>; 225fd0ed740SJosh Boyer cell-index = <0>; 22671f34979SDavid Gibson max-frame-size = <1500>; 22771f34979SDavid Gibson rx-fifo-size = <4096>; 22871f34979SDavid Gibson tx-fifo-size = <2048>; 229fd0ed740SJosh Boyer phy-mode = "rmii"; 23071f34979SDavid Gibson phy-map = <0x00000000>; 231fd0ed740SJosh Boyer zmii-device = <&ZMII0>; 232fd0ed740SJosh Boyer zmii-channel = <0>; 233fd0ed740SJosh Boyer }; 234fd0ed740SJosh Boyer 235fd0ed740SJosh Boyer EMAC1: ethernet@ef600f00 { 236fd0ed740SJosh Boyer device_type = "network"; 237fd0ed740SJosh Boyer compatible = "ibm,emac-440ep", "ibm,emac-440gp", "ibm,emac"; 238fd0ed740SJosh Boyer interrupt-parent = <&UIC1>; 23971f34979SDavid Gibson interrupts = <0x1e 0x4 0x1f 0x4>; 24071f34979SDavid Gibson reg = <0xef600f00 0x00000070>; 241fd0ed740SJosh Boyer local-mac-address = [000000000000]; 242fd0ed740SJosh Boyer mal-device = <&MAL0>; 243fd0ed740SJosh Boyer mal-tx-channel = <2 3>; 244fd0ed740SJosh Boyer mal-rx-channel = <1>; 245fd0ed740SJosh Boyer cell-index = <1>; 24671f34979SDavid Gibson max-frame-size = <1500>; 24771f34979SDavid Gibson rx-fifo-size = <4096>; 24871f34979SDavid Gibson tx-fifo-size = <2048>; 249fd0ed740SJosh Boyer phy-mode = "rmii"; 25071f34979SDavid Gibson phy-map = <0x00000000>; 251fd0ed740SJosh Boyer zmii-device = <&ZMII0>; 252fd0ed740SJosh Boyer zmii-channel = <1>; 253fd0ed740SJosh Boyer }; 254fd0ed740SJosh Boyer 255fd0ed740SJosh Boyer usb@ef601000 { 256fd0ed740SJosh Boyer compatible = "ohci-be"; 25771f34979SDavid Gibson reg = <0xef601000 0x00000080>; 25871f34979SDavid Gibson interrupts = <0x8 0x4 0x9 0x4>; 259fd0ed740SJosh Boyer interrupt-parent = < &UIC1 >; 260fd0ed740SJosh Boyer }; 261fd0ed740SJosh Boyer }; 262fd0ed740SJosh Boyer 263fd0ed740SJosh Boyer PCI0: pci@ec000000 { 264fd0ed740SJosh Boyer device_type = "pci"; 265fd0ed740SJosh Boyer #interrupt-cells = <1>; 266fd0ed740SJosh Boyer #size-cells = <2>; 267fd0ed740SJosh Boyer #address-cells = <3>; 268fd0ed740SJosh Boyer compatible = "ibm,plb440ep-pci", "ibm,plb-pci"; 269fd0ed740SJosh Boyer primary; 27071f34979SDavid Gibson reg = <0x00000000 0xeec00000 0x00000008 /* Config space access */ 27171f34979SDavid Gibson 0x00000000 0xeed00000 0x00000004 /* IACK */ 27271f34979SDavid Gibson 0x00000000 0xeed00000 0x00000004 /* Special cycle */ 27371f34979SDavid Gibson 0x00000000 0xef400000 0x00000040>; /* Internal registers */ 274fd0ed740SJosh Boyer 275fd0ed740SJosh Boyer /* Outbound ranges, one memory and one IO, 276fd0ed740SJosh Boyer * later cannot be changed. Chip supports a second 277fd0ed740SJosh Boyer * IO range but we don't use it for now 278fd0ed740SJosh Boyer */ 27971f34979SDavid Gibson ranges = <0x02000000 0x00000000 0xa0000000 0x00000000 0xa0000000 0x00000000 0x20000000 28071f34979SDavid Gibson 0x01000000 0x00000000 0x00000000 0x00000000 0xe8000000 0x00000000 0x00010000>; 281fd0ed740SJosh Boyer 282fd0ed740SJosh Boyer /* Inbound 2GB range starting at 0 */ 28371f34979SDavid Gibson dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x0 0x80000000>; 284fd0ed740SJosh Boyer 28571f34979SDavid Gibson interrupt-map-mask = <0xf800 0x0 0x0 0x0>; 286fd0ed740SJosh Boyer interrupt-map = < 28706a5bad8SCurtis Wald /* IDSEL 12 */ 28806a5bad8SCurtis Wald 0x6000 0x0 0x0 0x0 &UIC0 0x19 0x8 289fd0ed740SJosh Boyer >; 290fd0ed740SJosh Boyer }; 291fd0ed740SJosh Boyer }; 292fd0ed740SJosh Boyer 293fd0ed740SJosh Boyer chosen { 294fd0ed740SJosh Boyer linux,stdout-path = "/plb/opb/serial@ef600300"; 295fd0ed740SJosh Boyer }; 296fd0ed740SJosh Boyer}; 297