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 { 15575458285SAnton Vorontsov #address-cells = <1>; 15675458285SAnton Vorontsov #size-cells = <1>; 157cda13dd1SPaul Gortmaker reg = <0x1400 0x100>; 15875458285SAnton Vorontsov ranges = <3 0x1448 0x18>; 15975458285SAnton Vorontsov compatible = "fsl,mpc8323-qe-pario"; 16023308c54SMichael Barkowski device_type = "par_io"; 16123308c54SMichael Barkowski num-ports = <7>; 16223308c54SMichael Barkowski 16375458285SAnton Vorontsov qe_pio_d: gpio-controller@1448 { 16475458285SAnton Vorontsov #gpio-cells = <2>; 16575458285SAnton Vorontsov compatible = "fsl,mpc8323-qe-pario-bank"; 16675458285SAnton Vorontsov reg = <3 0x18>; 16775458285SAnton Vorontsov gpio-controller; 16875458285SAnton Vorontsov }; 16975458285SAnton Vorontsov 17023308c54SMichael Barkowski ucc2pio:ucc_pin@02 { 17123308c54SMichael Barkowski pio-map = < 17223308c54SMichael Barkowski /* port pin dir open_drain assignment has_irq */ 17323308c54SMichael Barkowski 3 4 3 0 2 0 /* MDIO */ 17423308c54SMichael Barkowski 3 5 1 0 2 0 /* MDC */ 175cda13dd1SPaul Gortmaker 3 21 2 0 1 0 /* RX_CLK (CLK16) */ 176cda13dd1SPaul Gortmaker 3 23 2 0 1 0 /* TX_CLK (CLK3) */ 177cda13dd1SPaul Gortmaker 0 18 1 0 1 0 /* TxD0 */ 178cda13dd1SPaul Gortmaker 0 19 1 0 1 0 /* TxD1 */ 179cda13dd1SPaul Gortmaker 0 20 1 0 1 0 /* TxD2 */ 180cda13dd1SPaul Gortmaker 0 21 1 0 1 0 /* TxD3 */ 181cda13dd1SPaul Gortmaker 0 22 2 0 1 0 /* RxD0 */ 182cda13dd1SPaul Gortmaker 0 23 2 0 1 0 /* RxD1 */ 183cda13dd1SPaul Gortmaker 0 24 2 0 1 0 /* RxD2 */ 184cda13dd1SPaul Gortmaker 0 25 2 0 1 0 /* RxD3 */ 185cda13dd1SPaul Gortmaker 0 26 2 0 1 0 /* RX_ER */ 186cda13dd1SPaul Gortmaker 0 27 1 0 1 0 /* TX_ER */ 187cda13dd1SPaul Gortmaker 0 28 2 0 1 0 /* RX_DV */ 188cda13dd1SPaul Gortmaker 0 29 2 0 1 0 /* COL */ 189cda13dd1SPaul Gortmaker 0 30 1 0 1 0 /* TX_EN */ 190cda13dd1SPaul Gortmaker 0 31 2 0 1 0>; /* CRS */ 19123308c54SMichael Barkowski }; 19223308c54SMichael Barkowski ucc3pio:ucc_pin@03 { 19323308c54SMichael Barkowski pio-map = < 19423308c54SMichael Barkowski /* port pin dir open_drain assignment has_irq */ 195cda13dd1SPaul Gortmaker 0 13 2 0 1 0 /* RX_CLK (CLK9) */ 196cda13dd1SPaul Gortmaker 3 24 2 0 1 0 /* TX_CLK (CLK10) */ 19723308c54SMichael Barkowski 1 0 1 0 1 0 /* TxD0 */ 19823308c54SMichael Barkowski 1 1 1 0 1 0 /* TxD1 */ 19923308c54SMichael Barkowski 1 2 1 0 1 0 /* TxD2 */ 20023308c54SMichael Barkowski 1 3 1 0 1 0 /* TxD3 */ 20123308c54SMichael Barkowski 1 4 2 0 1 0 /* RxD0 */ 20223308c54SMichael Barkowski 1 5 2 0 1 0 /* RxD1 */ 20323308c54SMichael Barkowski 1 6 2 0 1 0 /* RxD2 */ 20423308c54SMichael Barkowski 1 7 2 0 1 0 /* RxD3 */ 20523308c54SMichael Barkowski 1 8 2 0 1 0 /* RX_ER */ 20623308c54SMichael Barkowski 1 9 1 0 1 0 /* TX_ER */ 207cda13dd1SPaul Gortmaker 1 10 2 0 1 0 /* RX_DV */ 208cda13dd1SPaul Gortmaker 1 11 2 0 1 0 /* COL */ 209cda13dd1SPaul Gortmaker 1 12 1 0 1 0 /* TX_EN */ 210cda13dd1SPaul Gortmaker 1 13 2 0 1 0>; /* CRS */ 21123308c54SMichael Barkowski }; 21223308c54SMichael Barkowski }; 21323308c54SMichael Barkowski }; 21423308c54SMichael Barkowski 21523308c54SMichael Barkowski qe@e0100000 { 21623308c54SMichael Barkowski #address-cells = <1>; 21723308c54SMichael Barkowski #size-cells = <1>; 21823308c54SMichael Barkowski device_type = "qe"; 219a2dd70a1SAnton Vorontsov compatible = "fsl,qe"; 220cda13dd1SPaul Gortmaker ranges = <0x0 0xe0100000 0x00100000>; 221cda13dd1SPaul Gortmaker reg = <0xe0100000 0x480>; 22223308c54SMichael Barkowski brg-frequency = <0>; 223cda13dd1SPaul Gortmaker bus-frequency = <198000000>; 22423308c54SMichael Barkowski 22523308c54SMichael Barkowski muram@10000 { 226390167efSPaul Gortmaker #address-cells = <1>; 227390167efSPaul Gortmaker #size-cells = <1>; 228a2dd70a1SAnton Vorontsov compatible = "fsl,qe-muram", "fsl,cpm-muram"; 229cda13dd1SPaul Gortmaker ranges = <0x0 0x00010000 0x00004000>; 23023308c54SMichael Barkowski 23123308c54SMichael Barkowski data-only@0 { 232a2dd70a1SAnton Vorontsov compatible = "fsl,qe-muram-data", 233a2dd70a1SAnton Vorontsov "fsl,cpm-muram-data"; 234cda13dd1SPaul Gortmaker reg = <0x0 0x4000>; 23523308c54SMichael Barkowski }; 23623308c54SMichael Barkowski }; 23723308c54SMichael Barkowski 23823308c54SMichael Barkowski spi@4c0 { 23975458285SAnton Vorontsov #address-cells = <1>; 24075458285SAnton Vorontsov #size-cells = <0>; 241f3a2b29dSAnton Vorontsov cell-index = <0>; 242f3a2b29dSAnton Vorontsov compatible = "fsl,spi"; 243cda13dd1SPaul Gortmaker reg = <0x4c0 0x40>; 24423308c54SMichael Barkowski interrupts = <2>; 24523308c54SMichael Barkowski interrupt-parent = <&qeic>; 24675458285SAnton Vorontsov gpios = <&qe_pio_d 13 0>; 2478237bf08SAnton Vorontsov mode = "cpu-qe"; 24875458285SAnton Vorontsov 24975458285SAnton Vorontsov mmc-slot@0 { 25075458285SAnton Vorontsov compatible = "fsl,mpc8323rdb-mmc-slot", 25175458285SAnton Vorontsov "mmc-spi-slot"; 25275458285SAnton Vorontsov reg = <0>; 25375458285SAnton Vorontsov gpios = <&qe_pio_d 14 1 25475458285SAnton Vorontsov &qe_pio_d 15 0>; 25575458285SAnton Vorontsov voltage-ranges = <3300 3300>; 25675458285SAnton Vorontsov spi-max-frequency = <50000000>; 25775458285SAnton Vorontsov }; 25823308c54SMichael Barkowski }; 25923308c54SMichael Barkowski 26023308c54SMichael Barkowski spi@500 { 261f3a2b29dSAnton Vorontsov cell-index = <1>; 262f3a2b29dSAnton Vorontsov compatible = "fsl,spi"; 263cda13dd1SPaul Gortmaker reg = <0x500 0x40>; 26423308c54SMichael Barkowski interrupts = <1>; 26523308c54SMichael Barkowski interrupt-parent = <&qeic>; 26623308c54SMichael Barkowski mode = "cpu"; 26723308c54SMichael Barkowski }; 26823308c54SMichael Barkowski 269e77b28ebSKumar Gala enet0: ucc@3000 { 27023308c54SMichael Barkowski device_type = "network"; 27123308c54SMichael Barkowski compatible = "ucc_geth"; 272e77b28ebSKumar Gala cell-index = <2>; 273cda13dd1SPaul Gortmaker reg = <0x3000 0x200>; 274cda13dd1SPaul Gortmaker interrupts = <33>; 27523308c54SMichael Barkowski interrupt-parent = <&qeic>; 276eae98266STimur Tabi local-mac-address = [ 00 00 00 00 00 00 ]; 2779fb1e350STimur Tabi rx-clock-name = "clk16"; 2789fb1e350STimur Tabi tx-clock-name = "clk3"; 27923308c54SMichael Barkowski phy-handle = <&phy00>; 28023308c54SMichael Barkowski pio-handle = <&ucc2pio>; 28123308c54SMichael Barkowski }; 28223308c54SMichael Barkowski 283e77b28ebSKumar Gala enet1: ucc@2200 { 28423308c54SMichael Barkowski device_type = "network"; 28523308c54SMichael Barkowski compatible = "ucc_geth"; 286e77b28ebSKumar Gala cell-index = <3>; 287cda13dd1SPaul Gortmaker reg = <0x2200 0x200>; 288cda13dd1SPaul Gortmaker interrupts = <34>; 28923308c54SMichael Barkowski interrupt-parent = <&qeic>; 290eae98266STimur Tabi local-mac-address = [ 00 00 00 00 00 00 ]; 2919fb1e350STimur Tabi rx-clock-name = "clk9"; 2929fb1e350STimur Tabi tx-clock-name = "clk10"; 29323308c54SMichael Barkowski phy-handle = <&phy04>; 29423308c54SMichael Barkowski pio-handle = <&ucc3pio>; 29523308c54SMichael Barkowski }; 29623308c54SMichael Barkowski 29723308c54SMichael Barkowski mdio@3120 { 29823308c54SMichael Barkowski #address-cells = <1>; 29923308c54SMichael Barkowski #size-cells = <0>; 300cda13dd1SPaul Gortmaker reg = <0x3120 0x18>; 301d0a2f82dSAnton Vorontsov compatible = "fsl,ucc-mdio"; 30223308c54SMichael Barkowski 30323308c54SMichael Barkowski phy00:ethernet-phy@00 { 304dee80553SKumar Gala interrupt-parent = <&ipic>; 30523308c54SMichael Barkowski interrupts = <0>; 306cda13dd1SPaul Gortmaker reg = <0x0>; 30723308c54SMichael Barkowski device_type = "ethernet-phy"; 30823308c54SMichael Barkowski }; 30923308c54SMichael Barkowski phy04:ethernet-phy@04 { 310dee80553SKumar Gala interrupt-parent = <&ipic>; 31123308c54SMichael Barkowski interrupts = <0>; 312cda13dd1SPaul Gortmaker reg = <0x4>; 31323308c54SMichael Barkowski device_type = "ethernet-phy"; 31423308c54SMichael Barkowski }; 31523308c54SMichael Barkowski }; 31623308c54SMichael Barkowski 317a2dd70a1SAnton Vorontsov qeic:interrupt-controller@80 { 31823308c54SMichael Barkowski interrupt-controller; 319a2dd70a1SAnton Vorontsov compatible = "fsl,qe-ic"; 32023308c54SMichael Barkowski #address-cells = <0>; 32123308c54SMichael Barkowski #interrupt-cells = <1>; 322cda13dd1SPaul Gortmaker reg = <0x80 0x80>; 32323308c54SMichael Barkowski big-endian; 324cda13dd1SPaul Gortmaker interrupts = <32 0x8 33 0x8>; //high:32 low:33 325dee80553SKumar Gala interrupt-parent = <&ipic>; 32623308c54SMichael Barkowski }; 32723308c54SMichael Barkowski }; 3281b3c5cdaSKumar Gala 329ea082fa9SKumar Gala pci0: pci@e0008500 { 330ea082fa9SKumar Gala cell-index = <1>; 331cda13dd1SPaul Gortmaker interrupt-map-mask = <0xf800 0x0 0x0 0x7>; 3321b3c5cdaSKumar Gala interrupt-map = < 3331b3c5cdaSKumar Gala /* IDSEL 0x10 AD16 (USB) */ 334dee80553SKumar Gala 0x8000 0x0 0x0 0x1 &ipic 17 0x8 3351b3c5cdaSKumar Gala 3361b3c5cdaSKumar Gala /* IDSEL 0x11 AD17 (Mini1)*/ 337dee80553SKumar Gala 0x8800 0x0 0x0 0x1 &ipic 18 0x8 338dee80553SKumar Gala 0x8800 0x0 0x0 0x2 &ipic 19 0x8 339dee80553SKumar Gala 0x8800 0x0 0x0 0x3 &ipic 20 0x8 340dee80553SKumar Gala 0x8800 0x0 0x0 0x4 &ipic 48 0x8 3411b3c5cdaSKumar Gala 3421b3c5cdaSKumar Gala /* IDSEL 0x12 AD18 (PCI/Mini2) */ 343dee80553SKumar Gala 0x9000 0x0 0x0 0x1 &ipic 19 0x8 344dee80553SKumar Gala 0x9000 0x0 0x0 0x2 &ipic 20 0x8 345dee80553SKumar Gala 0x9000 0x0 0x0 0x3 &ipic 48 0x8 346dee80553SKumar Gala 0x9000 0x0 0x0 0x4 &ipic 17 0x8>; 3471b3c5cdaSKumar Gala 348dee80553SKumar Gala interrupt-parent = <&ipic>; 349cda13dd1SPaul Gortmaker interrupts = <66 0x8>; 350cda13dd1SPaul Gortmaker bus-range = <0x0 0x0>; 351cda13dd1SPaul Gortmaker ranges = <0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000 352cda13dd1SPaul Gortmaker 0x02000000 0x0 0x90000000 0x90000000 0x0 0x10000000 353cda13dd1SPaul Gortmaker 0x01000000 0x0 0xd0000000 0xd0000000 0x0 0x04000000>; 3541b3c5cdaSKumar Gala clock-frequency = <0>; 3551b3c5cdaSKumar Gala #interrupt-cells = <1>; 3561b3c5cdaSKumar Gala #size-cells = <2>; 3571b3c5cdaSKumar Gala #address-cells = <3>; 3585b70a097SJohn Rigby reg = <0xe0008500 0x100 /* internal registers */ 3595b70a097SJohn Rigby 0xe0008300 0x8>; /* config space access registers */ 3601b3c5cdaSKumar Gala compatible = "fsl,mpc8349-pci"; 3611b3c5cdaSKumar Gala device_type = "pci"; 3621b3c5cdaSKumar Gala }; 36323308c54SMichael Barkowski}; 364