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 { 21e871809cSMichael Barkowski ethernet0 = &enet1; 22e871809cSMichael Barkowski ethernet1 = &enet0; 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>; 108aeb42762SKumar Gala cell-index = <0>; 109dee80553SKumar Gala interrupt-parent = <&ipic>; 110dee80553SKumar Gala interrupts = <71 8>; 111dee80553SKumar Gala }; 112dee80553SKumar Gala dma-channel@80 { 113dee80553SKumar Gala compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel"; 114dee80553SKumar Gala reg = <0x80 0x80>; 115aeb42762SKumar Gala cell-index = <1>; 116dee80553SKumar Gala interrupt-parent = <&ipic>; 117dee80553SKumar Gala interrupts = <71 8>; 118dee80553SKumar Gala }; 119dee80553SKumar Gala dma-channel@100 { 120dee80553SKumar Gala compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel"; 121dee80553SKumar Gala reg = <0x100 0x80>; 122aeb42762SKumar Gala cell-index = <2>; 123dee80553SKumar Gala interrupt-parent = <&ipic>; 124dee80553SKumar Gala interrupts = <71 8>; 125dee80553SKumar Gala }; 126dee80553SKumar Gala dma-channel@180 { 127dee80553SKumar Gala compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel"; 128dee80553SKumar Gala reg = <0x180 0x28>; 129aeb42762SKumar Gala cell-index = <3>; 130dee80553SKumar Gala interrupt-parent = <&ipic>; 131dee80553SKumar Gala interrupts = <71 8>; 132dee80553SKumar Gala }; 13323308c54SMichael Barkowski }; 13423308c54SMichael Barkowski 13523308c54SMichael Barkowski crypto@30000 { 1363fd44736SKim Phillips compatible = "fsl,sec2.2", "fsl,sec2.1", "fsl,sec2.0"; 1373fd44736SKim Phillips reg = <0x30000 0x10000>; 138cda13dd1SPaul Gortmaker interrupts = <11 0x8>; 139dee80553SKumar Gala interrupt-parent = <&ipic>; 1403fd44736SKim Phillips fsl,num-channels = <1>; 1413fd44736SKim Phillips fsl,channel-fifo-len = <24>; 1423fd44736SKim Phillips fsl,exec-units-mask = <0x4c>; 1433fd44736SKim Phillips fsl,descriptor-types-mask = <0x0122003f>; 14423308c54SMichael Barkowski }; 14523308c54SMichael Barkowski 146dee80553SKumar Gala ipic:pic@700 { 14723308c54SMichael Barkowski interrupt-controller; 14823308c54SMichael Barkowski #address-cells = <0>; 14923308c54SMichael Barkowski #interrupt-cells = <2>; 150cda13dd1SPaul Gortmaker reg = <0x700 0x100>; 15123308c54SMichael Barkowski device_type = "ipic"; 15223308c54SMichael Barkowski }; 15323308c54SMichael Barkowski 15423308c54SMichael Barkowski par_io@1400 { 155cda13dd1SPaul Gortmaker reg = <0x1400 0x100>; 15623308c54SMichael Barkowski device_type = "par_io"; 15723308c54SMichael Barkowski num-ports = <7>; 15823308c54SMichael Barkowski 15923308c54SMichael Barkowski ucc2pio:ucc_pin@02 { 16023308c54SMichael Barkowski pio-map = < 16123308c54SMichael Barkowski /* port pin dir open_drain assignment has_irq */ 16223308c54SMichael Barkowski 3 4 3 0 2 0 /* MDIO */ 16323308c54SMichael Barkowski 3 5 1 0 2 0 /* MDC */ 164cda13dd1SPaul Gortmaker 3 21 2 0 1 0 /* RX_CLK (CLK16) */ 165cda13dd1SPaul Gortmaker 3 23 2 0 1 0 /* TX_CLK (CLK3) */ 166cda13dd1SPaul Gortmaker 0 18 1 0 1 0 /* TxD0 */ 167cda13dd1SPaul Gortmaker 0 19 1 0 1 0 /* TxD1 */ 168cda13dd1SPaul Gortmaker 0 20 1 0 1 0 /* TxD2 */ 169cda13dd1SPaul Gortmaker 0 21 1 0 1 0 /* TxD3 */ 170cda13dd1SPaul Gortmaker 0 22 2 0 1 0 /* RxD0 */ 171cda13dd1SPaul Gortmaker 0 23 2 0 1 0 /* RxD1 */ 172cda13dd1SPaul Gortmaker 0 24 2 0 1 0 /* RxD2 */ 173cda13dd1SPaul Gortmaker 0 25 2 0 1 0 /* RxD3 */ 174cda13dd1SPaul Gortmaker 0 26 2 0 1 0 /* RX_ER */ 175cda13dd1SPaul Gortmaker 0 27 1 0 1 0 /* TX_ER */ 176cda13dd1SPaul Gortmaker 0 28 2 0 1 0 /* RX_DV */ 177cda13dd1SPaul Gortmaker 0 29 2 0 1 0 /* COL */ 178cda13dd1SPaul Gortmaker 0 30 1 0 1 0 /* TX_EN */ 179cda13dd1SPaul Gortmaker 0 31 2 0 1 0>; /* CRS */ 18023308c54SMichael Barkowski }; 18123308c54SMichael Barkowski ucc3pio:ucc_pin@03 { 18223308c54SMichael Barkowski pio-map = < 18323308c54SMichael Barkowski /* port pin dir open_drain assignment has_irq */ 184cda13dd1SPaul Gortmaker 0 13 2 0 1 0 /* RX_CLK (CLK9) */ 185cda13dd1SPaul Gortmaker 3 24 2 0 1 0 /* TX_CLK (CLK10) */ 18623308c54SMichael Barkowski 1 0 1 0 1 0 /* TxD0 */ 18723308c54SMichael Barkowski 1 1 1 0 1 0 /* TxD1 */ 18823308c54SMichael Barkowski 1 2 1 0 1 0 /* TxD2 */ 18923308c54SMichael Barkowski 1 3 1 0 1 0 /* TxD3 */ 19023308c54SMichael Barkowski 1 4 2 0 1 0 /* RxD0 */ 19123308c54SMichael Barkowski 1 5 2 0 1 0 /* RxD1 */ 19223308c54SMichael Barkowski 1 6 2 0 1 0 /* RxD2 */ 19323308c54SMichael Barkowski 1 7 2 0 1 0 /* RxD3 */ 19423308c54SMichael Barkowski 1 8 2 0 1 0 /* RX_ER */ 19523308c54SMichael Barkowski 1 9 1 0 1 0 /* TX_ER */ 196cda13dd1SPaul Gortmaker 1 10 2 0 1 0 /* RX_DV */ 197cda13dd1SPaul Gortmaker 1 11 2 0 1 0 /* COL */ 198cda13dd1SPaul Gortmaker 1 12 1 0 1 0 /* TX_EN */ 199cda13dd1SPaul Gortmaker 1 13 2 0 1 0>; /* CRS */ 20023308c54SMichael Barkowski }; 20123308c54SMichael Barkowski }; 20223308c54SMichael Barkowski }; 20323308c54SMichael Barkowski 20423308c54SMichael Barkowski qe@e0100000 { 20523308c54SMichael Barkowski #address-cells = <1>; 20623308c54SMichael Barkowski #size-cells = <1>; 20723308c54SMichael Barkowski device_type = "qe"; 208a2dd70a1SAnton Vorontsov compatible = "fsl,qe"; 209cda13dd1SPaul Gortmaker ranges = <0x0 0xe0100000 0x00100000>; 210cda13dd1SPaul Gortmaker reg = <0xe0100000 0x480>; 21123308c54SMichael Barkowski brg-frequency = <0>; 212cda13dd1SPaul Gortmaker bus-frequency = <198000000>; 21323308c54SMichael Barkowski 21423308c54SMichael Barkowski muram@10000 { 215390167efSPaul Gortmaker #address-cells = <1>; 216390167efSPaul Gortmaker #size-cells = <1>; 217a2dd70a1SAnton Vorontsov compatible = "fsl,qe-muram", "fsl,cpm-muram"; 218cda13dd1SPaul Gortmaker ranges = <0x0 0x00010000 0x00004000>; 21923308c54SMichael Barkowski 22023308c54SMichael Barkowski data-only@0 { 221a2dd70a1SAnton Vorontsov compatible = "fsl,qe-muram-data", 222a2dd70a1SAnton Vorontsov "fsl,cpm-muram-data"; 223cda13dd1SPaul Gortmaker reg = <0x0 0x4000>; 22423308c54SMichael Barkowski }; 22523308c54SMichael Barkowski }; 22623308c54SMichael Barkowski 22723308c54SMichael Barkowski spi@4c0 { 228f3a2b29dSAnton Vorontsov cell-index = <0>; 229f3a2b29dSAnton Vorontsov compatible = "fsl,spi"; 230cda13dd1SPaul Gortmaker reg = <0x4c0 0x40>; 23123308c54SMichael Barkowski interrupts = <2>; 23223308c54SMichael Barkowski interrupt-parent = <&qeic>; 2338237bf08SAnton Vorontsov mode = "cpu-qe"; 23423308c54SMichael Barkowski }; 23523308c54SMichael Barkowski 23623308c54SMichael Barkowski spi@500 { 237f3a2b29dSAnton Vorontsov cell-index = <1>; 238f3a2b29dSAnton Vorontsov compatible = "fsl,spi"; 239cda13dd1SPaul Gortmaker reg = <0x500 0x40>; 24023308c54SMichael Barkowski interrupts = <1>; 24123308c54SMichael Barkowski interrupt-parent = <&qeic>; 24223308c54SMichael Barkowski mode = "cpu"; 24323308c54SMichael Barkowski }; 24423308c54SMichael Barkowski 245e77b28ebSKumar Gala enet0: ucc@3000 { 24623308c54SMichael Barkowski device_type = "network"; 24723308c54SMichael Barkowski compatible = "ucc_geth"; 248e77b28ebSKumar Gala cell-index = <2>; 249cda13dd1SPaul Gortmaker reg = <0x3000 0x200>; 250cda13dd1SPaul Gortmaker interrupts = <33>; 25123308c54SMichael Barkowski interrupt-parent = <&qeic>; 252eae98266STimur Tabi local-mac-address = [ 00 00 00 00 00 00 ]; 2539fb1e350STimur Tabi rx-clock-name = "clk16"; 2549fb1e350STimur Tabi tx-clock-name = "clk3"; 25523308c54SMichael Barkowski phy-handle = <&phy00>; 25623308c54SMichael Barkowski pio-handle = <&ucc2pio>; 25723308c54SMichael Barkowski }; 25823308c54SMichael Barkowski 259e77b28ebSKumar Gala enet1: ucc@2200 { 26023308c54SMichael Barkowski device_type = "network"; 26123308c54SMichael Barkowski compatible = "ucc_geth"; 262e77b28ebSKumar Gala cell-index = <3>; 263cda13dd1SPaul Gortmaker reg = <0x2200 0x200>; 264cda13dd1SPaul Gortmaker interrupts = <34>; 26523308c54SMichael Barkowski interrupt-parent = <&qeic>; 266eae98266STimur Tabi local-mac-address = [ 00 00 00 00 00 00 ]; 2679fb1e350STimur Tabi rx-clock-name = "clk9"; 2689fb1e350STimur Tabi tx-clock-name = "clk10"; 26923308c54SMichael Barkowski phy-handle = <&phy04>; 27023308c54SMichael Barkowski pio-handle = <&ucc3pio>; 27123308c54SMichael Barkowski }; 27223308c54SMichael Barkowski 27323308c54SMichael Barkowski mdio@3120 { 27423308c54SMichael Barkowski #address-cells = <1>; 27523308c54SMichael Barkowski #size-cells = <0>; 276cda13dd1SPaul Gortmaker reg = <0x3120 0x18>; 277d0a2f82dSAnton Vorontsov compatible = "fsl,ucc-mdio"; 27823308c54SMichael Barkowski 27923308c54SMichael Barkowski phy00:ethernet-phy@00 { 280dee80553SKumar Gala interrupt-parent = <&ipic>; 28123308c54SMichael Barkowski interrupts = <0>; 282cda13dd1SPaul Gortmaker reg = <0x0>; 28323308c54SMichael Barkowski device_type = "ethernet-phy"; 28423308c54SMichael Barkowski }; 28523308c54SMichael Barkowski phy04:ethernet-phy@04 { 286dee80553SKumar Gala interrupt-parent = <&ipic>; 28723308c54SMichael Barkowski interrupts = <0>; 288cda13dd1SPaul Gortmaker reg = <0x4>; 28923308c54SMichael Barkowski device_type = "ethernet-phy"; 29023308c54SMichael Barkowski }; 29123308c54SMichael Barkowski }; 29223308c54SMichael Barkowski 293a2dd70a1SAnton Vorontsov qeic:interrupt-controller@80 { 29423308c54SMichael Barkowski interrupt-controller; 295a2dd70a1SAnton Vorontsov compatible = "fsl,qe-ic"; 29623308c54SMichael Barkowski #address-cells = <0>; 29723308c54SMichael Barkowski #interrupt-cells = <1>; 298cda13dd1SPaul Gortmaker reg = <0x80 0x80>; 29923308c54SMichael Barkowski big-endian; 300cda13dd1SPaul Gortmaker interrupts = <32 0x8 33 0x8>; //high:32 low:33 301dee80553SKumar Gala interrupt-parent = <&ipic>; 30223308c54SMichael Barkowski }; 30323308c54SMichael Barkowski }; 3041b3c5cdaSKumar Gala 305ea082fa9SKumar Gala pci0: pci@e0008500 { 306ea082fa9SKumar Gala cell-index = <1>; 307cda13dd1SPaul Gortmaker interrupt-map-mask = <0xf800 0x0 0x0 0x7>; 3081b3c5cdaSKumar Gala interrupt-map = < 3091b3c5cdaSKumar Gala /* IDSEL 0x10 AD16 (USB) */ 310dee80553SKumar Gala 0x8000 0x0 0x0 0x1 &ipic 17 0x8 3111b3c5cdaSKumar Gala 3121b3c5cdaSKumar Gala /* IDSEL 0x11 AD17 (Mini1)*/ 313dee80553SKumar Gala 0x8800 0x0 0x0 0x1 &ipic 18 0x8 314dee80553SKumar Gala 0x8800 0x0 0x0 0x2 &ipic 19 0x8 315dee80553SKumar Gala 0x8800 0x0 0x0 0x3 &ipic 20 0x8 316dee80553SKumar Gala 0x8800 0x0 0x0 0x4 &ipic 48 0x8 3171b3c5cdaSKumar Gala 3181b3c5cdaSKumar Gala /* IDSEL 0x12 AD18 (PCI/Mini2) */ 319dee80553SKumar Gala 0x9000 0x0 0x0 0x1 &ipic 19 0x8 320dee80553SKumar Gala 0x9000 0x0 0x0 0x2 &ipic 20 0x8 321dee80553SKumar Gala 0x9000 0x0 0x0 0x3 &ipic 48 0x8 322dee80553SKumar Gala 0x9000 0x0 0x0 0x4 &ipic 17 0x8>; 3231b3c5cdaSKumar Gala 324dee80553SKumar Gala interrupt-parent = <&ipic>; 325cda13dd1SPaul Gortmaker interrupts = <66 0x8>; 326cda13dd1SPaul Gortmaker bus-range = <0x0 0x0>; 327cda13dd1SPaul Gortmaker ranges = <0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000 328cda13dd1SPaul Gortmaker 0x02000000 0x0 0x90000000 0x90000000 0x0 0x10000000 329cda13dd1SPaul Gortmaker 0x01000000 0x0 0xd0000000 0xd0000000 0x0 0x04000000>; 3301b3c5cdaSKumar Gala clock-frequency = <0>; 3311b3c5cdaSKumar Gala #interrupt-cells = <1>; 3321b3c5cdaSKumar Gala #size-cells = <2>; 3331b3c5cdaSKumar Gala #address-cells = <3>; 3345b70a097SJohn Rigby reg = <0xe0008500 0x100 /* internal registers */ 3355b70a097SJohn Rigby 0xe0008300 0x8>; /* config space access registers */ 3361b3c5cdaSKumar Gala compatible = "fsl,mpc8349-pci"; 3371b3c5cdaSKumar Gala device_type = "pci"; 3381b3c5cdaSKumar Gala }; 33923308c54SMichael Barkowski}; 340