100f3ca74SJosh Boyer/* 200f3ca74SJosh Boyer * Device Tree Source for AMCC Acadia (405EZ) 300f3ca74SJosh Boyer * 400f3ca74SJosh Boyer * Copyright IBM Corp. 2008 500f3ca74SJosh Boyer * 600f3ca74SJosh Boyer * This file is licensed under the terms of the GNU General Public License 700f3ca74SJosh Boyer * version 2. This program is licensed "as is" without any warranty of any 800f3ca74SJosh Boyer * kind, whether express or implied. 900f3ca74SJosh Boyer */ 1000f3ca74SJosh Boyer 1100f3ca74SJosh Boyer/dts-v1/; 1200f3ca74SJosh Boyer 1300f3ca74SJosh Boyer/ { 1400f3ca74SJosh Boyer #address-cells = <1>; 1500f3ca74SJosh Boyer #size-cells = <1>; 1600f3ca74SJosh Boyer model = "amcc,acadia"; 1700f3ca74SJosh Boyer compatible = "amcc,acadia"; 1800f3ca74SJosh Boyer dcr-parent = <&{/cpus/cpu@0}>; 1900f3ca74SJosh Boyer 2000f3ca74SJosh Boyer aliases { 2100f3ca74SJosh Boyer ethernet0 = &EMAC0; 2200f3ca74SJosh Boyer serial0 = &UART0; 2300f3ca74SJosh Boyer serial1 = &UART1; 2400f3ca74SJosh Boyer }; 2500f3ca74SJosh Boyer 2600f3ca74SJosh Boyer cpus { 2700f3ca74SJosh Boyer #address-cells = <1>; 2800f3ca74SJosh Boyer #size-cells = <0>; 2900f3ca74SJosh Boyer 3000f3ca74SJosh Boyer cpu@0 { 3100f3ca74SJosh Boyer device_type = "cpu"; 3200f3ca74SJosh Boyer model = "PowerPC,405EZ"; 3300f3ca74SJosh Boyer reg = <0x0>; 3400f3ca74SJosh Boyer clock-frequency = <0>; /* Filled in by wrapper */ 3500f3ca74SJosh Boyer timebase-frequency = <0>; /* Filled in by wrapper */ 3600f3ca74SJosh Boyer i-cache-line-size = <32>; 3700f3ca74SJosh Boyer d-cache-line-size = <32>; 3800f3ca74SJosh Boyer i-cache-size = <16384>; 3900f3ca74SJosh Boyer d-cache-size = <16384>; 4000f3ca74SJosh Boyer dcr-controller; 4100f3ca74SJosh Boyer dcr-access-method = "native"; 4200f3ca74SJosh Boyer }; 4300f3ca74SJosh Boyer }; 4400f3ca74SJosh Boyer 4500f3ca74SJosh Boyer memory { 4600f3ca74SJosh Boyer device_type = "memory"; 4700f3ca74SJosh Boyer reg = <0x0 0x0>; /* Filled in by wrapper */ 4800f3ca74SJosh Boyer }; 4900f3ca74SJosh Boyer 5000f3ca74SJosh Boyer UIC0: interrupt-controller { 5100f3ca74SJosh Boyer compatible = "ibm,uic-405ez", "ibm,uic"; 5200f3ca74SJosh Boyer interrupt-controller; 5300f3ca74SJosh Boyer dcr-reg = <0x0c0 0x009>; 5400f3ca74SJosh Boyer cell-index = <0>; 5500f3ca74SJosh Boyer #address-cells = <0>; 5600f3ca74SJosh Boyer #size-cells = <0>; 5700f3ca74SJosh Boyer #interrupt-cells = <2>; 5800f3ca74SJosh Boyer }; 5900f3ca74SJosh Boyer 6000f3ca74SJosh Boyer plb { 6100f3ca74SJosh Boyer compatible = "ibm,plb-405ez", "ibm,plb3"; 6200f3ca74SJosh Boyer #address-cells = <1>; 6300f3ca74SJosh Boyer #size-cells = <1>; 6400f3ca74SJosh Boyer ranges; 6500f3ca74SJosh Boyer clock-frequency = <0>; /* Filled in by wrapper */ 6600f3ca74SJosh Boyer 6700f3ca74SJosh Boyer MAL0: mcmal { 6800f3ca74SJosh Boyer compatible = "ibm,mcmal-405ez", "ibm,mcmal"; 6900f3ca74SJosh Boyer dcr-reg = <0x380 0x62>; 7000f3ca74SJosh Boyer num-tx-chans = <1>; 7100f3ca74SJosh Boyer num-rx-chans = <1>; 7200f3ca74SJosh Boyer interrupt-parent = <&UIC0>; 7300f3ca74SJosh Boyer /* 405EZ has only 3 interrupts to the UIC, as 7400f3ca74SJosh Boyer * SERR, TXDE, and RXDE are or'd together into 7500f3ca74SJosh Boyer * one UIC bit 7600f3ca74SJosh Boyer */ 7700f3ca74SJosh Boyer interrupts = < 7800f3ca74SJosh Boyer 0x13 0x4 /* TXEOB */ 7900f3ca74SJosh Boyer 0x15 0x4 /* RXEOB */ 8000f3ca74SJosh Boyer 0x12 0x4 /* SERR, TXDE, RXDE */>; 8100f3ca74SJosh Boyer }; 8200f3ca74SJosh Boyer 8300f3ca74SJosh Boyer POB0: opb { 8400f3ca74SJosh Boyer compatible = "ibm,opb-405ez", "ibm,opb"; 8500f3ca74SJosh Boyer #address-cells = <1>; 8600f3ca74SJosh Boyer #size-cells = <1>; 8700f3ca74SJosh Boyer ranges; 8800f3ca74SJosh Boyer dcr-reg = <0x0a 0x05>; 8900f3ca74SJosh Boyer clock-frequency = <0>; /* Filled in by wrapper */ 9000f3ca74SJosh Boyer 9100f3ca74SJosh Boyer UART0: serial@ef600300 { 9200f3ca74SJosh Boyer device_type = "serial"; 9300f3ca74SJosh Boyer compatible = "ns16550"; 9400f3ca74SJosh Boyer reg = <0xef600300 0x8>; 9500f3ca74SJosh Boyer virtual-reg = <0xef600300>; 9600f3ca74SJosh Boyer clock-frequency = <0>; /* Filled in by wrapper */ 9700f3ca74SJosh Boyer current-speed = <115200>; 9800f3ca74SJosh Boyer interrupt-parent = <&UIC0>; 9900f3ca74SJosh Boyer interrupts = <0x5 0x4>; 10000f3ca74SJosh Boyer }; 10100f3ca74SJosh Boyer 10200f3ca74SJosh Boyer UART1: serial@ef600400 { 10300f3ca74SJosh Boyer device_type = "serial"; 10400f3ca74SJosh Boyer compatible = "ns16550"; 10500f3ca74SJosh Boyer reg = <0xef600400 0x8>; 10600f3ca74SJosh Boyer clock-frequency = <0>; /* Filled in by wrapper */ 10700f3ca74SJosh Boyer current-speed = <115200>; 10800f3ca74SJosh Boyer interrupt-parent = <&UIC0>; 10900f3ca74SJosh Boyer interrupts = <0x6 0x4>; 11000f3ca74SJosh Boyer }; 11100f3ca74SJosh Boyer 11200f3ca74SJosh Boyer IIC: i2c@ef600500 { 11300f3ca74SJosh Boyer compatible = "ibm,iic-405ez", "ibm,iic"; 11400f3ca74SJosh Boyer reg = <0xef600500 0x11>; 11500f3ca74SJosh Boyer interrupt-parent = <&UIC0>; 11600f3ca74SJosh Boyer interrupts = <0xa 0x4>; 11700f3ca74SJosh Boyer }; 11800f3ca74SJosh Boyer 11900f3ca74SJosh Boyer GPIO0: gpio@ef600700 { 12000f3ca74SJosh Boyer compatible = "ibm,gpio-405ez"; 12100f3ca74SJosh Boyer reg = <0xef600700 0x20>; 12200f3ca74SJosh Boyer }; 12300f3ca74SJosh Boyer 12400f3ca74SJosh Boyer GPIO1: gpio@ef600800 { 12500f3ca74SJosh Boyer compatible = "ibm,gpio-405ez"; 12600f3ca74SJosh Boyer reg = <0xef600800 0x20>; 12700f3ca74SJosh Boyer }; 12800f3ca74SJosh Boyer 12900f3ca74SJosh Boyer EMAC0: ethernet@ef600900 { 13000f3ca74SJosh Boyer device_type = "network"; 13100f3ca74SJosh Boyer compatible = "ibm,emac-405ez", "ibm,emac"; 13200f3ca74SJosh Boyer interrupt-parent = <&UIC0>; 13300f3ca74SJosh Boyer interrupts = < 13400f3ca74SJosh Boyer 0x10 0x4 /* Ethernet */ 13500f3ca74SJosh Boyer 0x11 0x4 /* Ethernet Wake up */>; 13600f3ca74SJosh Boyer local-mac-address = [000000000000]; /* Filled in by wrapper */ 13700f3ca74SJosh Boyer reg = <0xef600900 0x70>; 13800f3ca74SJosh Boyer mal-device = <&MAL0>; 13900f3ca74SJosh Boyer mal-tx-channel = <0>; 14000f3ca74SJosh Boyer mal-rx-channel = <0>; 14100f3ca74SJosh Boyer cell-index = <0>; 14200f3ca74SJosh Boyer max-frame-size = <1500>; 14300f3ca74SJosh Boyer rx-fifo-size = <4096>; 14400f3ca74SJosh Boyer tx-fifo-size = <2048>; 14500f3ca74SJosh Boyer phy-mode = "mii"; 14600f3ca74SJosh Boyer phy-map = <0x0>; 14700f3ca74SJosh Boyer }; 14800f3ca74SJosh Boyer 14900f3ca74SJosh Boyer CAN0: can@ef601000 { 15000f3ca74SJosh Boyer compatible = "amcc,can-405ez"; 15100f3ca74SJosh Boyer reg = <0xef601000 0x620>; 15200f3ca74SJosh Boyer interrupt-parent = <&UIC0>; 15300f3ca74SJosh Boyer interrupts = <0x7 0x4>; 15400f3ca74SJosh Boyer }; 15500f3ca74SJosh Boyer 15600f3ca74SJosh Boyer CAN1: can@ef601800 { 15700f3ca74SJosh Boyer compatible = "amcc,can-405ez"; 15800f3ca74SJosh Boyer reg = <0xef601800 0x620>; 15900f3ca74SJosh Boyer interrupt-parent = <&UIC0>; 16000f3ca74SJosh Boyer interrupts = <0x8 0x4>; 16100f3ca74SJosh Boyer }; 16200f3ca74SJosh Boyer 16300f3ca74SJosh Boyer cameleon@ef602000 { 16400f3ca74SJosh Boyer compatible = "amcc,cameleon-405ez"; 16500f3ca74SJosh Boyer reg = <0xef602000 0x800>; 16600f3ca74SJosh Boyer interrupt-parent = <&UIC0>; 16700f3ca74SJosh Boyer interrupts = <0xb 0x4 0xc 0x4>; 16800f3ca74SJosh Boyer }; 16900f3ca74SJosh Boyer 17000f3ca74SJosh Boyer ieee1588@ef602800 { 17100f3ca74SJosh Boyer compatible = "amcc,ieee1588-405ez"; 17200f3ca74SJosh Boyer reg = <0xef602800 0x60>; 17300f3ca74SJosh Boyer interrupt-parent = <&UIC0>; 17400f3ca74SJosh Boyer interrupts = <0x4 0x4>; 17500f3ca74SJosh Boyer /* This thing is a bit weird. It has it's own UIC 17600f3ca74SJosh Boyer * that it uses to generate snapshot triggers. We 17700f3ca74SJosh Boyer * don't really support this device yet, and it needs 17800f3ca74SJosh Boyer * work to figure this out. 17900f3ca74SJosh Boyer */ 18000f3ca74SJosh Boyer dcr-reg = <0xe0 0x9>; 18100f3ca74SJosh Boyer }; 18200f3ca74SJosh Boyer 18300f3ca74SJosh Boyer usb@ef603000 { 18400f3ca74SJosh Boyer compatible = "ohci-be"; 18500f3ca74SJosh Boyer reg = <0xef603000 0x80>; 1863d2d4339SGeert Uytterhoeven interrupt-parent = <&UIC0>; 18700f3ca74SJosh Boyer interrupts = <0xd 0x4 0xe 0x4>; 18800f3ca74SJosh Boyer }; 18900f3ca74SJosh Boyer 19000f3ca74SJosh Boyer dac@ef603300 { 19100f3ca74SJosh Boyer compatible = "amcc,dac-405ez"; 19200f3ca74SJosh Boyer reg = <0xef603300 0x40>; 19300f3ca74SJosh Boyer interrupt-parent = <&UIC0>; 19400f3ca74SJosh Boyer interrupts = <0x18 0x4>; 19500f3ca74SJosh Boyer }; 19600f3ca74SJosh Boyer 19700f3ca74SJosh Boyer adc@ef603400 { 19800f3ca74SJosh Boyer compatible = "amcc,adc-405ez"; 19900f3ca74SJosh Boyer reg = <0xef603400 0x40>; 20000f3ca74SJosh Boyer interrupt-parent = <&UIC0>; 20100f3ca74SJosh Boyer interrupts = <0x17 0x4>; 20200f3ca74SJosh Boyer }; 20300f3ca74SJosh Boyer 20400f3ca74SJosh Boyer spi@ef603500 { 20500f3ca74SJosh Boyer compatible = "amcc,spi-405ez"; 20600f3ca74SJosh Boyer reg = <0xef603500 0x100>; 20700f3ca74SJosh Boyer interrupt-parent = <&UIC0>; 20800f3ca74SJosh Boyer interrupts = <0x9 0x4>; 20900f3ca74SJosh Boyer }; 21000f3ca74SJosh Boyer }; 21100f3ca74SJosh Boyer 21200f3ca74SJosh Boyer EBC0: ebc { 21300f3ca74SJosh Boyer compatible = "ibm,ebc-405ez", "ibm,ebc"; 21400f3ca74SJosh Boyer dcr-reg = <0x12 0x2>; 21500f3ca74SJosh Boyer #address-cells = <2>; 21600f3ca74SJosh Boyer #size-cells = <1>; 21700f3ca74SJosh Boyer clock-frequency = <0>; /* Filled in by wrapper */ 21800f3ca74SJosh Boyer }; 21900f3ca74SJosh Boyer }; 22000f3ca74SJosh Boyer 22100f3ca74SJosh Boyer chosen { 22200f3ca74SJosh Boyer linux,stdout-path = "/plb/opb/serial@ef600300"; 22300f3ca74SJosh Boyer }; 22400f3ca74SJosh Boyer}; 225