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"; 54cda13dd1SPaul Gortmaker ranges = <0x0 0xe0000000 0x00100000>; 55cda13dd1SPaul Gortmaker reg = <0xe0000000 0x00000200>; 5623308c54SMichael Barkowski bus-frequency = <0>; 5723308c54SMichael Barkowski 5823308c54SMichael Barkowski wdt@200 { 5923308c54SMichael Barkowski device_type = "watchdog"; 6023308c54SMichael Barkowski compatible = "mpc83xx_wdt"; 61cda13dd1SPaul Gortmaker reg = <0x200 0x100>; 6223308c54SMichael Barkowski }; 6323308c54SMichael Barkowski 6423308c54SMichael Barkowski i2c@3000 { 65ec9686c4SKumar Gala #address-cells = <1>; 66ec9686c4SKumar Gala #size-cells = <0>; 67ec9686c4SKumar Gala cell-index = <0>; 6823308c54SMichael Barkowski compatible = "fsl-i2c"; 69cda13dd1SPaul Gortmaker reg = <0x3000 0x100>; 70cda13dd1SPaul Gortmaker interrupts = <14 0x8>; 71dee80553SKumar Gala interrupt-parent = <&ipic>; 7223308c54SMichael Barkowski dfsrr; 7323308c54SMichael Barkowski }; 7423308c54SMichael Barkowski 75ea082fa9SKumar Gala serial0: serial@4500 { 76ea082fa9SKumar Gala cell-index = <0>; 7723308c54SMichael Barkowski device_type = "serial"; 7823308c54SMichael Barkowski compatible = "ns16550"; 79cda13dd1SPaul Gortmaker reg = <0x4500 0x100>; 8023308c54SMichael Barkowski clock-frequency = <0>; 81cda13dd1SPaul Gortmaker interrupts = <9 0x8>; 82dee80553SKumar Gala interrupt-parent = <&ipic>; 8323308c54SMichael Barkowski }; 8423308c54SMichael Barkowski 85ea082fa9SKumar Gala serial1: serial@4600 { 86ea082fa9SKumar Gala cell-index = <1>; 8723308c54SMichael Barkowski device_type = "serial"; 8823308c54SMichael Barkowski compatible = "ns16550"; 89cda13dd1SPaul Gortmaker reg = <0x4600 0x100>; 9023308c54SMichael Barkowski clock-frequency = <0>; 91cda13dd1SPaul Gortmaker interrupts = <10 0x8>; 92dee80553SKumar Gala interrupt-parent = <&ipic>; 93dee80553SKumar Gala }; 94dee80553SKumar Gala 95dee80553SKumar Gala dma@82a8 { 96dee80553SKumar Gala #address-cells = <1>; 97dee80553SKumar Gala #size-cells = <1>; 98dee80553SKumar Gala compatible = "fsl,mpc8323-dma", "fsl,elo-dma"; 99dee80553SKumar Gala reg = <0x82a8 4>; 100dee80553SKumar Gala ranges = <0 0x8100 0x1a8>; 101dee80553SKumar Gala interrupt-parent = <&ipic>; 102dee80553SKumar Gala interrupts = <71 8>; 103dee80553SKumar Gala cell-index = <0>; 104dee80553SKumar Gala dma-channel@0 { 105dee80553SKumar Gala compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel"; 106dee80553SKumar Gala reg = <0 0x80>; 107dee80553SKumar Gala interrupt-parent = <&ipic>; 108dee80553SKumar Gala interrupts = <71 8>; 109dee80553SKumar Gala }; 110dee80553SKumar Gala dma-channel@80 { 111dee80553SKumar Gala compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel"; 112dee80553SKumar Gala reg = <0x80 0x80>; 113dee80553SKumar Gala interrupt-parent = <&ipic>; 114dee80553SKumar Gala interrupts = <71 8>; 115dee80553SKumar Gala }; 116dee80553SKumar Gala dma-channel@100 { 117dee80553SKumar Gala compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel"; 118dee80553SKumar Gala reg = <0x100 0x80>; 119dee80553SKumar Gala interrupt-parent = <&ipic>; 120dee80553SKumar Gala interrupts = <71 8>; 121dee80553SKumar Gala }; 122dee80553SKumar Gala dma-channel@180 { 123dee80553SKumar Gala compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel"; 124dee80553SKumar Gala reg = <0x180 0x28>; 125dee80553SKumar Gala interrupt-parent = <&ipic>; 126dee80553SKumar Gala interrupts = <71 8>; 127dee80553SKumar Gala }; 12823308c54SMichael Barkowski }; 12923308c54SMichael Barkowski 13023308c54SMichael Barkowski crypto@30000 { 1313fd44736SKim Phillips compatible = "fsl,sec2.2", "fsl,sec2.1", "fsl,sec2.0"; 1323fd44736SKim Phillips reg = <0x30000 0x10000>; 133cda13dd1SPaul Gortmaker interrupts = <11 0x8>; 134dee80553SKumar Gala interrupt-parent = <&ipic>; 1353fd44736SKim Phillips fsl,num-channels = <1>; 1363fd44736SKim Phillips fsl,channel-fifo-len = <24>; 1373fd44736SKim Phillips fsl,exec-units-mask = <0x4c>; 1383fd44736SKim Phillips fsl,descriptor-types-mask = <0x0122003f>; 13923308c54SMichael Barkowski }; 14023308c54SMichael Barkowski 141dee80553SKumar Gala ipic:pic@700 { 14223308c54SMichael Barkowski interrupt-controller; 14323308c54SMichael Barkowski #address-cells = <0>; 14423308c54SMichael Barkowski #interrupt-cells = <2>; 145cda13dd1SPaul Gortmaker reg = <0x700 0x100>; 14623308c54SMichael Barkowski device_type = "ipic"; 14723308c54SMichael Barkowski }; 14823308c54SMichael Barkowski 14923308c54SMichael Barkowski par_io@1400 { 150cda13dd1SPaul Gortmaker reg = <0x1400 0x100>; 15123308c54SMichael Barkowski device_type = "par_io"; 15223308c54SMichael Barkowski num-ports = <7>; 15323308c54SMichael Barkowski 15423308c54SMichael Barkowski ucc2pio:ucc_pin@02 { 15523308c54SMichael Barkowski pio-map = < 15623308c54SMichael Barkowski /* port pin dir open_drain assignment has_irq */ 15723308c54SMichael Barkowski 3 4 3 0 2 0 /* MDIO */ 15823308c54SMichael Barkowski 3 5 1 0 2 0 /* MDC */ 159cda13dd1SPaul Gortmaker 3 21 2 0 1 0 /* RX_CLK (CLK16) */ 160cda13dd1SPaul Gortmaker 3 23 2 0 1 0 /* TX_CLK (CLK3) */ 161cda13dd1SPaul Gortmaker 0 18 1 0 1 0 /* TxD0 */ 162cda13dd1SPaul Gortmaker 0 19 1 0 1 0 /* TxD1 */ 163cda13dd1SPaul Gortmaker 0 20 1 0 1 0 /* TxD2 */ 164cda13dd1SPaul Gortmaker 0 21 1 0 1 0 /* TxD3 */ 165cda13dd1SPaul Gortmaker 0 22 2 0 1 0 /* RxD0 */ 166cda13dd1SPaul Gortmaker 0 23 2 0 1 0 /* RxD1 */ 167cda13dd1SPaul Gortmaker 0 24 2 0 1 0 /* RxD2 */ 168cda13dd1SPaul Gortmaker 0 25 2 0 1 0 /* RxD3 */ 169cda13dd1SPaul Gortmaker 0 26 2 0 1 0 /* RX_ER */ 170cda13dd1SPaul Gortmaker 0 27 1 0 1 0 /* TX_ER */ 171cda13dd1SPaul Gortmaker 0 28 2 0 1 0 /* RX_DV */ 172cda13dd1SPaul Gortmaker 0 29 2 0 1 0 /* COL */ 173cda13dd1SPaul Gortmaker 0 30 1 0 1 0 /* TX_EN */ 174cda13dd1SPaul Gortmaker 0 31 2 0 1 0>; /* CRS */ 17523308c54SMichael Barkowski }; 17623308c54SMichael Barkowski ucc3pio:ucc_pin@03 { 17723308c54SMichael Barkowski pio-map = < 17823308c54SMichael Barkowski /* port pin dir open_drain assignment has_irq */ 179cda13dd1SPaul Gortmaker 0 13 2 0 1 0 /* RX_CLK (CLK9) */ 180cda13dd1SPaul Gortmaker 3 24 2 0 1 0 /* TX_CLK (CLK10) */ 18123308c54SMichael Barkowski 1 0 1 0 1 0 /* TxD0 */ 18223308c54SMichael Barkowski 1 1 1 0 1 0 /* TxD1 */ 18323308c54SMichael Barkowski 1 2 1 0 1 0 /* TxD2 */ 18423308c54SMichael Barkowski 1 3 1 0 1 0 /* TxD3 */ 18523308c54SMichael Barkowski 1 4 2 0 1 0 /* RxD0 */ 18623308c54SMichael Barkowski 1 5 2 0 1 0 /* RxD1 */ 18723308c54SMichael Barkowski 1 6 2 0 1 0 /* RxD2 */ 18823308c54SMichael Barkowski 1 7 2 0 1 0 /* RxD3 */ 18923308c54SMichael Barkowski 1 8 2 0 1 0 /* RX_ER */ 19023308c54SMichael Barkowski 1 9 1 0 1 0 /* TX_ER */ 191cda13dd1SPaul Gortmaker 1 10 2 0 1 0 /* RX_DV */ 192cda13dd1SPaul Gortmaker 1 11 2 0 1 0 /* COL */ 193cda13dd1SPaul Gortmaker 1 12 1 0 1 0 /* TX_EN */ 194cda13dd1SPaul Gortmaker 1 13 2 0 1 0>; /* CRS */ 19523308c54SMichael Barkowski }; 19623308c54SMichael Barkowski }; 19723308c54SMichael Barkowski }; 19823308c54SMichael Barkowski 19923308c54SMichael Barkowski qe@e0100000 { 20023308c54SMichael Barkowski #address-cells = <1>; 20123308c54SMichael Barkowski #size-cells = <1>; 20223308c54SMichael Barkowski device_type = "qe"; 203a2dd70a1SAnton Vorontsov compatible = "fsl,qe"; 204cda13dd1SPaul Gortmaker ranges = <0x0 0xe0100000 0x00100000>; 205cda13dd1SPaul Gortmaker reg = <0xe0100000 0x480>; 20623308c54SMichael Barkowski brg-frequency = <0>; 207cda13dd1SPaul Gortmaker bus-frequency = <198000000>; 20823308c54SMichael Barkowski 20923308c54SMichael Barkowski muram@10000 { 210390167efSPaul Gortmaker #address-cells = <1>; 211390167efSPaul Gortmaker #size-cells = <1>; 212a2dd70a1SAnton Vorontsov compatible = "fsl,qe-muram", "fsl,cpm-muram"; 213cda13dd1SPaul Gortmaker ranges = <0x0 0x00010000 0x00004000>; 21423308c54SMichael Barkowski 21523308c54SMichael Barkowski data-only@0 { 216a2dd70a1SAnton Vorontsov compatible = "fsl,qe-muram-data", 217a2dd70a1SAnton Vorontsov "fsl,cpm-muram-data"; 218cda13dd1SPaul Gortmaker reg = <0x0 0x4000>; 21923308c54SMichael Barkowski }; 22023308c54SMichael Barkowski }; 22123308c54SMichael Barkowski 22223308c54SMichael Barkowski spi@4c0 { 223f3a2b29dSAnton Vorontsov cell-index = <0>; 224f3a2b29dSAnton Vorontsov compatible = "fsl,spi"; 225cda13dd1SPaul Gortmaker reg = <0x4c0 0x40>; 22623308c54SMichael Barkowski interrupts = <2>; 22723308c54SMichael Barkowski interrupt-parent = <&qeic>; 2288237bf08SAnton Vorontsov mode = "cpu-qe"; 22923308c54SMichael Barkowski }; 23023308c54SMichael Barkowski 23123308c54SMichael Barkowski spi@500 { 232f3a2b29dSAnton Vorontsov cell-index = <1>; 233f3a2b29dSAnton Vorontsov compatible = "fsl,spi"; 234cda13dd1SPaul Gortmaker reg = <0x500 0x40>; 23523308c54SMichael Barkowski interrupts = <1>; 23623308c54SMichael Barkowski interrupt-parent = <&qeic>; 23723308c54SMichael Barkowski mode = "cpu"; 23823308c54SMichael Barkowski }; 23923308c54SMichael Barkowski 240e77b28ebSKumar Gala enet0: ucc@3000 { 24123308c54SMichael Barkowski device_type = "network"; 24223308c54SMichael Barkowski compatible = "ucc_geth"; 243e77b28ebSKumar Gala cell-index = <2>; 244cda13dd1SPaul Gortmaker reg = <0x3000 0x200>; 245cda13dd1SPaul Gortmaker interrupts = <33>; 24623308c54SMichael Barkowski interrupt-parent = <&qeic>; 247eae98266STimur Tabi local-mac-address = [ 00 00 00 00 00 00 ]; 2489fb1e350STimur Tabi rx-clock-name = "clk16"; 2499fb1e350STimur Tabi tx-clock-name = "clk3"; 25023308c54SMichael Barkowski phy-handle = <&phy00>; 25123308c54SMichael Barkowski pio-handle = <&ucc2pio>; 25223308c54SMichael Barkowski }; 25323308c54SMichael Barkowski 254e77b28ebSKumar Gala enet1: ucc@2200 { 25523308c54SMichael Barkowski device_type = "network"; 25623308c54SMichael Barkowski compatible = "ucc_geth"; 257e77b28ebSKumar Gala cell-index = <3>; 258cda13dd1SPaul Gortmaker reg = <0x2200 0x200>; 259cda13dd1SPaul Gortmaker interrupts = <34>; 26023308c54SMichael Barkowski interrupt-parent = <&qeic>; 261eae98266STimur Tabi local-mac-address = [ 00 00 00 00 00 00 ]; 2629fb1e350STimur Tabi rx-clock-name = "clk9"; 2639fb1e350STimur Tabi tx-clock-name = "clk10"; 26423308c54SMichael Barkowski phy-handle = <&phy04>; 26523308c54SMichael Barkowski pio-handle = <&ucc3pio>; 26623308c54SMichael Barkowski }; 26723308c54SMichael Barkowski 26823308c54SMichael Barkowski mdio@3120 { 26923308c54SMichael Barkowski #address-cells = <1>; 27023308c54SMichael Barkowski #size-cells = <0>; 271cda13dd1SPaul Gortmaker reg = <0x3120 0x18>; 272d0a2f82dSAnton Vorontsov compatible = "fsl,ucc-mdio"; 27323308c54SMichael Barkowski 27423308c54SMichael Barkowski phy00:ethernet-phy@00 { 275dee80553SKumar Gala interrupt-parent = <&ipic>; 27623308c54SMichael Barkowski interrupts = <0>; 277cda13dd1SPaul Gortmaker reg = <0x0>; 27823308c54SMichael Barkowski device_type = "ethernet-phy"; 27923308c54SMichael Barkowski }; 28023308c54SMichael Barkowski phy04:ethernet-phy@04 { 281dee80553SKumar Gala interrupt-parent = <&ipic>; 28223308c54SMichael Barkowski interrupts = <0>; 283cda13dd1SPaul Gortmaker reg = <0x4>; 28423308c54SMichael Barkowski device_type = "ethernet-phy"; 28523308c54SMichael Barkowski }; 28623308c54SMichael Barkowski }; 28723308c54SMichael Barkowski 288a2dd70a1SAnton Vorontsov qeic:interrupt-controller@80 { 28923308c54SMichael Barkowski interrupt-controller; 290a2dd70a1SAnton Vorontsov compatible = "fsl,qe-ic"; 29123308c54SMichael Barkowski #address-cells = <0>; 29223308c54SMichael Barkowski #interrupt-cells = <1>; 293cda13dd1SPaul Gortmaker reg = <0x80 0x80>; 29423308c54SMichael Barkowski big-endian; 295cda13dd1SPaul Gortmaker interrupts = <32 0x8 33 0x8>; //high:32 low:33 296dee80553SKumar Gala interrupt-parent = <&ipic>; 29723308c54SMichael Barkowski }; 29823308c54SMichael Barkowski }; 2991b3c5cdaSKumar Gala 300ea082fa9SKumar Gala pci0: pci@e0008500 { 301ea082fa9SKumar Gala cell-index = <1>; 302cda13dd1SPaul Gortmaker interrupt-map-mask = <0xf800 0x0 0x0 0x7>; 3031b3c5cdaSKumar Gala interrupt-map = < 3041b3c5cdaSKumar Gala /* IDSEL 0x10 AD16 (USB) */ 305dee80553SKumar Gala 0x8000 0x0 0x0 0x1 &ipic 17 0x8 3061b3c5cdaSKumar Gala 3071b3c5cdaSKumar Gala /* IDSEL 0x11 AD17 (Mini1)*/ 308dee80553SKumar Gala 0x8800 0x0 0x0 0x1 &ipic 18 0x8 309dee80553SKumar Gala 0x8800 0x0 0x0 0x2 &ipic 19 0x8 310dee80553SKumar Gala 0x8800 0x0 0x0 0x3 &ipic 20 0x8 311dee80553SKumar Gala 0x8800 0x0 0x0 0x4 &ipic 48 0x8 3121b3c5cdaSKumar Gala 3131b3c5cdaSKumar Gala /* IDSEL 0x12 AD18 (PCI/Mini2) */ 314dee80553SKumar Gala 0x9000 0x0 0x0 0x1 &ipic 19 0x8 315dee80553SKumar Gala 0x9000 0x0 0x0 0x2 &ipic 20 0x8 316dee80553SKumar Gala 0x9000 0x0 0x0 0x3 &ipic 48 0x8 317dee80553SKumar Gala 0x9000 0x0 0x0 0x4 &ipic 17 0x8>; 3181b3c5cdaSKumar Gala 319dee80553SKumar Gala interrupt-parent = <&ipic>; 320cda13dd1SPaul Gortmaker interrupts = <66 0x8>; 321cda13dd1SPaul Gortmaker bus-range = <0x0 0x0>; 322cda13dd1SPaul Gortmaker ranges = <0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000 323cda13dd1SPaul Gortmaker 0x02000000 0x0 0x90000000 0x90000000 0x0 0x10000000 324cda13dd1SPaul Gortmaker 0x01000000 0x0 0xd0000000 0xd0000000 0x0 0x04000000>; 3251b3c5cdaSKumar Gala clock-frequency = <0>; 3261b3c5cdaSKumar Gala #interrupt-cells = <1>; 3271b3c5cdaSKumar Gala #size-cells = <2>; 3281b3c5cdaSKumar Gala #address-cells = <3>; 329cda13dd1SPaul Gortmaker reg = <0xe0008500 0x100>; 3301b3c5cdaSKumar Gala compatible = "fsl,mpc8349-pci"; 3311b3c5cdaSKumar Gala device_type = "pci"; 3321b3c5cdaSKumar Gala }; 33323308c54SMichael Barkowski}; 334