123308c54SMichael Barkowski/* 223308c54SMichael Barkowski * MPC832x RDB Device Tree Source 323308c54SMichael Barkowski * 423308c54SMichael Barkowski * Copyright 2007 Freescale Semiconductor Inc. 523308c54SMichael Barkowski * 623308c54SMichael Barkowski * This program is free software; you can redistribute it and/or modify it 723308c54SMichael Barkowski * under the terms of the GNU General Public License as published by the 823308c54SMichael Barkowski * Free Software Foundation; either version 2 of the License, or (at your 923308c54SMichael Barkowski * option) any later version. 1023308c54SMichael Barkowski */ 1123308c54SMichael Barkowski 12cda13dd1SPaul Gortmaker/dts-v1/; 13cda13dd1SPaul Gortmaker 1423308c54SMichael Barkowski/ { 1523308c54SMichael Barkowski model = "MPC8323ERDB"; 1623308c54SMichael Barkowski compatible = "MPC8323ERDB", "MPC832xRDB", "MPC83xxRDB"; 1723308c54SMichael Barkowski #address-cells = <1>; 1823308c54SMichael Barkowski #size-cells = <1>; 1923308c54SMichael Barkowski 20ea082fa9SKumar Gala aliases { 21ea082fa9SKumar Gala ethernet0 = &enet0; 22ea082fa9SKumar Gala ethernet1 = &enet1; 23ea082fa9SKumar Gala serial0 = &serial0; 24ea082fa9SKumar Gala serial1 = &serial1; 25ea082fa9SKumar Gala pci0 = &pci0; 26ea082fa9SKumar Gala }; 27ea082fa9SKumar Gala 2823308c54SMichael Barkowski cpus { 2923308c54SMichael Barkowski #address-cells = <1>; 3023308c54SMichael Barkowski #size-cells = <0>; 3123308c54SMichael Barkowski 3223308c54SMichael Barkowski PowerPC,8323@0 { 3323308c54SMichael Barkowski device_type = "cpu"; 34cda13dd1SPaul Gortmaker reg = <0x0>; 35cda13dd1SPaul Gortmaker d-cache-line-size = <0x20>; // 32 bytes 36cda13dd1SPaul Gortmaker i-cache-line-size = <0x20>; // 32 bytes 37cda13dd1SPaul Gortmaker d-cache-size = <16384>; // L1, 16K 38cda13dd1SPaul Gortmaker i-cache-size = <16384>; // L1, 16K 3923308c54SMichael Barkowski timebase-frequency = <0>; 4023308c54SMichael Barkowski bus-frequency = <0>; 4123308c54SMichael Barkowski clock-frequency = <0>; 4223308c54SMichael Barkowski }; 4323308c54SMichael Barkowski }; 4423308c54SMichael Barkowski 4523308c54SMichael Barkowski memory { 4623308c54SMichael Barkowski device_type = "memory"; 47cda13dd1SPaul Gortmaker reg = <0x00000000 0x04000000>; 4823308c54SMichael Barkowski }; 4923308c54SMichael Barkowski 5023308c54SMichael Barkowski soc8323@e0000000 { 5123308c54SMichael Barkowski #address-cells = <1>; 5223308c54SMichael Barkowski #size-cells = <1>; 5323308c54SMichael Barkowski device_type = "soc"; 54cf0d19fbSKim Phillips compatible = "simple-bus"; 55cda13dd1SPaul Gortmaker ranges = <0x0 0xe0000000 0x00100000>; 56cda13dd1SPaul Gortmaker reg = <0xe0000000 0x00000200>; 5723308c54SMichael Barkowski bus-frequency = <0>; 5823308c54SMichael Barkowski 5923308c54SMichael Barkowski wdt@200 { 6023308c54SMichael Barkowski device_type = "watchdog"; 6123308c54SMichael Barkowski compatible = "mpc83xx_wdt"; 62cda13dd1SPaul Gortmaker reg = <0x200 0x100>; 6323308c54SMichael Barkowski }; 6423308c54SMichael Barkowski 6523308c54SMichael Barkowski i2c@3000 { 66ec9686c4SKumar Gala #address-cells = <1>; 67ec9686c4SKumar Gala #size-cells = <0>; 68ec9686c4SKumar Gala cell-index = <0>; 6923308c54SMichael Barkowski compatible = "fsl-i2c"; 70cda13dd1SPaul Gortmaker reg = <0x3000 0x100>; 71cda13dd1SPaul Gortmaker interrupts = <14 0x8>; 72dee80553SKumar Gala interrupt-parent = <&ipic>; 7323308c54SMichael Barkowski dfsrr; 7423308c54SMichael Barkowski }; 7523308c54SMichael Barkowski 76ea082fa9SKumar Gala serial0: serial@4500 { 77ea082fa9SKumar Gala cell-index = <0>; 7823308c54SMichael Barkowski device_type = "serial"; 7923308c54SMichael Barkowski compatible = "ns16550"; 80cda13dd1SPaul Gortmaker reg = <0x4500 0x100>; 8123308c54SMichael Barkowski clock-frequency = <0>; 82cda13dd1SPaul Gortmaker interrupts = <9 0x8>; 83dee80553SKumar Gala interrupt-parent = <&ipic>; 8423308c54SMichael Barkowski }; 8523308c54SMichael Barkowski 86ea082fa9SKumar Gala serial1: serial@4600 { 87ea082fa9SKumar Gala cell-index = <1>; 8823308c54SMichael Barkowski device_type = "serial"; 8923308c54SMichael Barkowski compatible = "ns16550"; 90cda13dd1SPaul Gortmaker reg = <0x4600 0x100>; 9123308c54SMichael Barkowski clock-frequency = <0>; 92cda13dd1SPaul Gortmaker interrupts = <10 0x8>; 93dee80553SKumar Gala interrupt-parent = <&ipic>; 94dee80553SKumar Gala }; 95dee80553SKumar Gala 96dee80553SKumar Gala dma@82a8 { 97dee80553SKumar Gala #address-cells = <1>; 98dee80553SKumar Gala #size-cells = <1>; 99dee80553SKumar Gala compatible = "fsl,mpc8323-dma", "fsl,elo-dma"; 100dee80553SKumar Gala reg = <0x82a8 4>; 101dee80553SKumar Gala ranges = <0 0x8100 0x1a8>; 102dee80553SKumar Gala interrupt-parent = <&ipic>; 103dee80553SKumar Gala interrupts = <71 8>; 104dee80553SKumar Gala cell-index = <0>; 105dee80553SKumar Gala dma-channel@0 { 106dee80553SKumar Gala compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel"; 107dee80553SKumar Gala reg = <0 0x80>; 108dee80553SKumar Gala interrupt-parent = <&ipic>; 109dee80553SKumar Gala interrupts = <71 8>; 110dee80553SKumar Gala }; 111dee80553SKumar Gala dma-channel@80 { 112dee80553SKumar Gala compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel"; 113dee80553SKumar Gala reg = <0x80 0x80>; 114dee80553SKumar Gala interrupt-parent = <&ipic>; 115dee80553SKumar Gala interrupts = <71 8>; 116dee80553SKumar Gala }; 117dee80553SKumar Gala dma-channel@100 { 118dee80553SKumar Gala compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel"; 119dee80553SKumar Gala reg = <0x100 0x80>; 120dee80553SKumar Gala interrupt-parent = <&ipic>; 121dee80553SKumar Gala interrupts = <71 8>; 122dee80553SKumar Gala }; 123dee80553SKumar Gala dma-channel@180 { 124dee80553SKumar Gala compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel"; 125dee80553SKumar Gala reg = <0x180 0x28>; 126dee80553SKumar Gala interrupt-parent = <&ipic>; 127dee80553SKumar Gala interrupts = <71 8>; 128dee80553SKumar Gala }; 12923308c54SMichael Barkowski }; 13023308c54SMichael Barkowski 13123308c54SMichael Barkowski crypto@30000 { 1323fd44736SKim Phillips compatible = "fsl,sec2.2", "fsl,sec2.1", "fsl,sec2.0"; 1333fd44736SKim Phillips reg = <0x30000 0x10000>; 134cda13dd1SPaul Gortmaker interrupts = <11 0x8>; 135dee80553SKumar Gala interrupt-parent = <&ipic>; 1363fd44736SKim Phillips fsl,num-channels = <1>; 1373fd44736SKim Phillips fsl,channel-fifo-len = <24>; 1383fd44736SKim Phillips fsl,exec-units-mask = <0x4c>; 1393fd44736SKim Phillips fsl,descriptor-types-mask = <0x0122003f>; 14023308c54SMichael Barkowski }; 14123308c54SMichael Barkowski 142dee80553SKumar Gala ipic:pic@700 { 14323308c54SMichael Barkowski interrupt-controller; 14423308c54SMichael Barkowski #address-cells = <0>; 14523308c54SMichael Barkowski #interrupt-cells = <2>; 146cda13dd1SPaul Gortmaker reg = <0x700 0x100>; 14723308c54SMichael Barkowski device_type = "ipic"; 14823308c54SMichael Barkowski }; 14923308c54SMichael Barkowski 15023308c54SMichael Barkowski par_io@1400 { 151cda13dd1SPaul Gortmaker reg = <0x1400 0x100>; 15223308c54SMichael Barkowski device_type = "par_io"; 15323308c54SMichael Barkowski num-ports = <7>; 15423308c54SMichael Barkowski 15523308c54SMichael Barkowski ucc2pio:ucc_pin@02 { 15623308c54SMichael Barkowski pio-map = < 15723308c54SMichael Barkowski /* port pin dir open_drain assignment has_irq */ 15823308c54SMichael Barkowski 3 4 3 0 2 0 /* MDIO */ 15923308c54SMichael Barkowski 3 5 1 0 2 0 /* MDC */ 160cda13dd1SPaul Gortmaker 3 21 2 0 1 0 /* RX_CLK (CLK16) */ 161cda13dd1SPaul Gortmaker 3 23 2 0 1 0 /* TX_CLK (CLK3) */ 162cda13dd1SPaul Gortmaker 0 18 1 0 1 0 /* TxD0 */ 163cda13dd1SPaul Gortmaker 0 19 1 0 1 0 /* TxD1 */ 164cda13dd1SPaul Gortmaker 0 20 1 0 1 0 /* TxD2 */ 165cda13dd1SPaul Gortmaker 0 21 1 0 1 0 /* TxD3 */ 166cda13dd1SPaul Gortmaker 0 22 2 0 1 0 /* RxD0 */ 167cda13dd1SPaul Gortmaker 0 23 2 0 1 0 /* RxD1 */ 168cda13dd1SPaul Gortmaker 0 24 2 0 1 0 /* RxD2 */ 169cda13dd1SPaul Gortmaker 0 25 2 0 1 0 /* RxD3 */ 170cda13dd1SPaul Gortmaker 0 26 2 0 1 0 /* RX_ER */ 171cda13dd1SPaul Gortmaker 0 27 1 0 1 0 /* TX_ER */ 172cda13dd1SPaul Gortmaker 0 28 2 0 1 0 /* RX_DV */ 173cda13dd1SPaul Gortmaker 0 29 2 0 1 0 /* COL */ 174cda13dd1SPaul Gortmaker 0 30 1 0 1 0 /* TX_EN */ 175cda13dd1SPaul Gortmaker 0 31 2 0 1 0>; /* CRS */ 17623308c54SMichael Barkowski }; 17723308c54SMichael Barkowski ucc3pio:ucc_pin@03 { 17823308c54SMichael Barkowski pio-map = < 17923308c54SMichael Barkowski /* port pin dir open_drain assignment has_irq */ 180cda13dd1SPaul Gortmaker 0 13 2 0 1 0 /* RX_CLK (CLK9) */ 181cda13dd1SPaul Gortmaker 3 24 2 0 1 0 /* TX_CLK (CLK10) */ 18223308c54SMichael Barkowski 1 0 1 0 1 0 /* TxD0 */ 18323308c54SMichael Barkowski 1 1 1 0 1 0 /* TxD1 */ 18423308c54SMichael Barkowski 1 2 1 0 1 0 /* TxD2 */ 18523308c54SMichael Barkowski 1 3 1 0 1 0 /* TxD3 */ 18623308c54SMichael Barkowski 1 4 2 0 1 0 /* RxD0 */ 18723308c54SMichael Barkowski 1 5 2 0 1 0 /* RxD1 */ 18823308c54SMichael Barkowski 1 6 2 0 1 0 /* RxD2 */ 18923308c54SMichael Barkowski 1 7 2 0 1 0 /* RxD3 */ 19023308c54SMichael Barkowski 1 8 2 0 1 0 /* RX_ER */ 19123308c54SMichael Barkowski 1 9 1 0 1 0 /* TX_ER */ 192cda13dd1SPaul Gortmaker 1 10 2 0 1 0 /* RX_DV */ 193cda13dd1SPaul Gortmaker 1 11 2 0 1 0 /* COL */ 194cda13dd1SPaul Gortmaker 1 12 1 0 1 0 /* TX_EN */ 195cda13dd1SPaul Gortmaker 1 13 2 0 1 0>; /* CRS */ 19623308c54SMichael Barkowski }; 19723308c54SMichael Barkowski }; 19823308c54SMichael Barkowski }; 19923308c54SMichael Barkowski 20023308c54SMichael Barkowski qe@e0100000 { 20123308c54SMichael Barkowski #address-cells = <1>; 20223308c54SMichael Barkowski #size-cells = <1>; 20323308c54SMichael Barkowski device_type = "qe"; 204a2dd70a1SAnton Vorontsov compatible = "fsl,qe"; 205cda13dd1SPaul Gortmaker ranges = <0x0 0xe0100000 0x00100000>; 206cda13dd1SPaul Gortmaker reg = <0xe0100000 0x480>; 20723308c54SMichael Barkowski brg-frequency = <0>; 208cda13dd1SPaul Gortmaker bus-frequency = <198000000>; 20923308c54SMichael Barkowski 21023308c54SMichael Barkowski muram@10000 { 211390167efSPaul Gortmaker #address-cells = <1>; 212390167efSPaul Gortmaker #size-cells = <1>; 213a2dd70a1SAnton Vorontsov compatible = "fsl,qe-muram", "fsl,cpm-muram"; 214cda13dd1SPaul Gortmaker ranges = <0x0 0x00010000 0x00004000>; 21523308c54SMichael Barkowski 21623308c54SMichael Barkowski data-only@0 { 217a2dd70a1SAnton Vorontsov compatible = "fsl,qe-muram-data", 218a2dd70a1SAnton Vorontsov "fsl,cpm-muram-data"; 219cda13dd1SPaul Gortmaker reg = <0x0 0x4000>; 22023308c54SMichael Barkowski }; 22123308c54SMichael Barkowski }; 22223308c54SMichael Barkowski 22323308c54SMichael Barkowski spi@4c0 { 224f3a2b29dSAnton Vorontsov cell-index = <0>; 225f3a2b29dSAnton Vorontsov compatible = "fsl,spi"; 226cda13dd1SPaul Gortmaker reg = <0x4c0 0x40>; 22723308c54SMichael Barkowski interrupts = <2>; 22823308c54SMichael Barkowski interrupt-parent = <&qeic>; 2298237bf08SAnton Vorontsov mode = "cpu-qe"; 23023308c54SMichael Barkowski }; 23123308c54SMichael Barkowski 23223308c54SMichael Barkowski spi@500 { 233f3a2b29dSAnton Vorontsov cell-index = <1>; 234f3a2b29dSAnton Vorontsov compatible = "fsl,spi"; 235cda13dd1SPaul Gortmaker reg = <0x500 0x40>; 23623308c54SMichael Barkowski interrupts = <1>; 23723308c54SMichael Barkowski interrupt-parent = <&qeic>; 23823308c54SMichael Barkowski mode = "cpu"; 23923308c54SMichael Barkowski }; 24023308c54SMichael Barkowski 241e77b28ebSKumar Gala enet0: ucc@3000 { 24223308c54SMichael Barkowski device_type = "network"; 24323308c54SMichael Barkowski compatible = "ucc_geth"; 244e77b28ebSKumar Gala cell-index = <2>; 245cda13dd1SPaul Gortmaker reg = <0x3000 0x200>; 246cda13dd1SPaul Gortmaker interrupts = <33>; 24723308c54SMichael Barkowski interrupt-parent = <&qeic>; 248eae98266STimur Tabi local-mac-address = [ 00 00 00 00 00 00 ]; 2499fb1e350STimur Tabi rx-clock-name = "clk16"; 2509fb1e350STimur Tabi tx-clock-name = "clk3"; 25123308c54SMichael Barkowski phy-handle = <&phy00>; 25223308c54SMichael Barkowski pio-handle = <&ucc2pio>; 25323308c54SMichael Barkowski }; 25423308c54SMichael Barkowski 255e77b28ebSKumar Gala enet1: ucc@2200 { 25623308c54SMichael Barkowski device_type = "network"; 25723308c54SMichael Barkowski compatible = "ucc_geth"; 258e77b28ebSKumar Gala cell-index = <3>; 259cda13dd1SPaul Gortmaker reg = <0x2200 0x200>; 260cda13dd1SPaul Gortmaker interrupts = <34>; 26123308c54SMichael Barkowski interrupt-parent = <&qeic>; 262eae98266STimur Tabi local-mac-address = [ 00 00 00 00 00 00 ]; 2639fb1e350STimur Tabi rx-clock-name = "clk9"; 2649fb1e350STimur Tabi tx-clock-name = "clk10"; 26523308c54SMichael Barkowski phy-handle = <&phy04>; 26623308c54SMichael Barkowski pio-handle = <&ucc3pio>; 26723308c54SMichael Barkowski }; 26823308c54SMichael Barkowski 26923308c54SMichael Barkowski mdio@3120 { 27023308c54SMichael Barkowski #address-cells = <1>; 27123308c54SMichael Barkowski #size-cells = <0>; 272cda13dd1SPaul Gortmaker reg = <0x3120 0x18>; 273d0a2f82dSAnton Vorontsov compatible = "fsl,ucc-mdio"; 27423308c54SMichael Barkowski 27523308c54SMichael Barkowski phy00:ethernet-phy@00 { 276dee80553SKumar Gala interrupt-parent = <&ipic>; 27723308c54SMichael Barkowski interrupts = <0>; 278cda13dd1SPaul Gortmaker reg = <0x0>; 27923308c54SMichael Barkowski device_type = "ethernet-phy"; 28023308c54SMichael Barkowski }; 28123308c54SMichael Barkowski phy04:ethernet-phy@04 { 282dee80553SKumar Gala interrupt-parent = <&ipic>; 28323308c54SMichael Barkowski interrupts = <0>; 284cda13dd1SPaul Gortmaker reg = <0x4>; 28523308c54SMichael Barkowski device_type = "ethernet-phy"; 28623308c54SMichael Barkowski }; 28723308c54SMichael Barkowski }; 28823308c54SMichael Barkowski 289a2dd70a1SAnton Vorontsov qeic:interrupt-controller@80 { 29023308c54SMichael Barkowski interrupt-controller; 291a2dd70a1SAnton Vorontsov compatible = "fsl,qe-ic"; 29223308c54SMichael Barkowski #address-cells = <0>; 29323308c54SMichael Barkowski #interrupt-cells = <1>; 294cda13dd1SPaul Gortmaker reg = <0x80 0x80>; 29523308c54SMichael Barkowski big-endian; 296cda13dd1SPaul Gortmaker interrupts = <32 0x8 33 0x8>; //high:32 low:33 297dee80553SKumar Gala interrupt-parent = <&ipic>; 29823308c54SMichael Barkowski }; 29923308c54SMichael Barkowski }; 3001b3c5cdaSKumar Gala 301ea082fa9SKumar Gala pci0: pci@e0008500 { 302ea082fa9SKumar Gala cell-index = <1>; 303cda13dd1SPaul Gortmaker interrupt-map-mask = <0xf800 0x0 0x0 0x7>; 3041b3c5cdaSKumar Gala interrupt-map = < 3051b3c5cdaSKumar Gala /* IDSEL 0x10 AD16 (USB) */ 306dee80553SKumar Gala 0x8000 0x0 0x0 0x1 &ipic 17 0x8 3071b3c5cdaSKumar Gala 3081b3c5cdaSKumar Gala /* IDSEL 0x11 AD17 (Mini1)*/ 309dee80553SKumar Gala 0x8800 0x0 0x0 0x1 &ipic 18 0x8 310dee80553SKumar Gala 0x8800 0x0 0x0 0x2 &ipic 19 0x8 311dee80553SKumar Gala 0x8800 0x0 0x0 0x3 &ipic 20 0x8 312dee80553SKumar Gala 0x8800 0x0 0x0 0x4 &ipic 48 0x8 3131b3c5cdaSKumar Gala 3141b3c5cdaSKumar Gala /* IDSEL 0x12 AD18 (PCI/Mini2) */ 315dee80553SKumar Gala 0x9000 0x0 0x0 0x1 &ipic 19 0x8 316dee80553SKumar Gala 0x9000 0x0 0x0 0x2 &ipic 20 0x8 317dee80553SKumar Gala 0x9000 0x0 0x0 0x3 &ipic 48 0x8 318dee80553SKumar Gala 0x9000 0x0 0x0 0x4 &ipic 17 0x8>; 3191b3c5cdaSKumar Gala 320dee80553SKumar Gala interrupt-parent = <&ipic>; 321cda13dd1SPaul Gortmaker interrupts = <66 0x8>; 322cda13dd1SPaul Gortmaker bus-range = <0x0 0x0>; 323cda13dd1SPaul Gortmaker ranges = <0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000 324cda13dd1SPaul Gortmaker 0x02000000 0x0 0x90000000 0x90000000 0x0 0x10000000 325cda13dd1SPaul Gortmaker 0x01000000 0x0 0xd0000000 0xd0000000 0x0 0x04000000>; 3261b3c5cdaSKumar Gala clock-frequency = <0>; 3271b3c5cdaSKumar Gala #interrupt-cells = <1>; 3281b3c5cdaSKumar Gala #size-cells = <2>; 3291b3c5cdaSKumar Gala #address-cells = <3>; 330cda13dd1SPaul Gortmaker reg = <0xe0008500 0x100>; 3311b3c5cdaSKumar Gala compatible = "fsl,mpc8349-pci"; 3321b3c5cdaSKumar Gala device_type = "pci"; 3331b3c5cdaSKumar Gala }; 33423308c54SMichael Barkowski}; 335