174c37e8cSTimur Tabi/* 274c37e8cSTimur Tabi * MPC8349E-mITX Device Tree Source 374c37e8cSTimur Tabi * 474c37e8cSTimur Tabi * Copyright 2006 Freescale Semiconductor Inc. 574c37e8cSTimur Tabi * 674c37e8cSTimur Tabi * This program is free software; you can redistribute it and/or modify it 774c37e8cSTimur Tabi * under the terms of the GNU General Public License as published by the 874c37e8cSTimur Tabi * Free Software Foundation; either version 2 of the License, or (at your 974c37e8cSTimur Tabi * option) any later version. 1074c37e8cSTimur Tabi */ 11cda13dd1SPaul Gortmaker 12cda13dd1SPaul Gortmaker/dts-v1/; 13cda13dd1SPaul Gortmaker 1474c37e8cSTimur Tabi/ { 1574c37e8cSTimur Tabi model = "MPC8349EMITX"; 16d71a1dc6SKumar Gala compatible = "MPC8349EMITX", "MPC834xMITX", "MPC83xxMITX"; 1774c37e8cSTimur Tabi #address-cells = <1>; 1874c37e8cSTimur Tabi #size-cells = <1>; 1974c37e8cSTimur Tabi 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 pci1 = &pci1; 27ea082fa9SKumar Gala }; 28ea082fa9SKumar Gala 2974c37e8cSTimur Tabi cpus { 3074c37e8cSTimur Tabi #address-cells = <1>; 3174c37e8cSTimur Tabi #size-cells = <0>; 3274c37e8cSTimur Tabi 3374c37e8cSTimur Tabi PowerPC,8349@0 { 3474c37e8cSTimur Tabi device_type = "cpu"; 35cda13dd1SPaul Gortmaker reg = <0x0>; 36cda13dd1SPaul Gortmaker d-cache-line-size = <32>; 37cda13dd1SPaul Gortmaker i-cache-line-size = <32>; 38cda13dd1SPaul Gortmaker d-cache-size = <32768>; 39cda13dd1SPaul Gortmaker i-cache-size = <32768>; 4074c37e8cSTimur Tabi timebase-frequency = <0>; // from bootloader 4174c37e8cSTimur Tabi bus-frequency = <0>; // from bootloader 4274c37e8cSTimur Tabi clock-frequency = <0>; // from bootloader 4374c37e8cSTimur Tabi }; 4474c37e8cSTimur Tabi }; 4574c37e8cSTimur Tabi 4674c37e8cSTimur Tabi memory { 4774c37e8cSTimur Tabi device_type = "memory"; 48cda13dd1SPaul Gortmaker reg = <0x00000000 0x10000000>; 4974c37e8cSTimur Tabi }; 5074c37e8cSTimur Tabi 5174c37e8cSTimur Tabi soc8349@e0000000 { 5274c37e8cSTimur Tabi #address-cells = <1>; 5374c37e8cSTimur Tabi #size-cells = <1>; 5474c37e8cSTimur Tabi device_type = "soc"; 55cf0d19fbSKim Phillips compatible = "simple-bus"; 56cda13dd1SPaul Gortmaker ranges = <0x0 0xe0000000 0x00100000>; 57cda13dd1SPaul Gortmaker reg = <0xe0000000 0x00000200>; 5874c37e8cSTimur Tabi bus-frequency = <0>; // from bootloader 5974c37e8cSTimur Tabi 6074c37e8cSTimur Tabi wdt@200 { 6174c37e8cSTimur Tabi device_type = "watchdog"; 6274c37e8cSTimur Tabi compatible = "mpc83xx_wdt"; 63cda13dd1SPaul Gortmaker reg = <0x200 0x100>; 6474c37e8cSTimur Tabi }; 6574c37e8cSTimur Tabi 6674c37e8cSTimur Tabi i2c@3000 { 67ec9686c4SKumar Gala #address-cells = <1>; 68ec9686c4SKumar Gala #size-cells = <0>; 69ec9686c4SKumar Gala cell-index = <0>; 7074c37e8cSTimur Tabi compatible = "fsl-i2c"; 71cda13dd1SPaul Gortmaker reg = <0x3000 0x100>; 72cda13dd1SPaul Gortmaker interrupts = <14 0x8>; 73d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 7474c37e8cSTimur Tabi dfsrr; 7574c37e8cSTimur Tabi }; 7674c37e8cSTimur Tabi 7774c37e8cSTimur Tabi i2c@3100 { 78ec9686c4SKumar Gala #address-cells = <1>; 79ec9686c4SKumar Gala #size-cells = <0>; 80ec9686c4SKumar Gala cell-index = <1>; 8174c37e8cSTimur Tabi compatible = "fsl-i2c"; 82cda13dd1SPaul Gortmaker reg = <0x3100 0x100>; 83cda13dd1SPaul Gortmaker interrupts = <15 0x8>; 84d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 8574c37e8cSTimur Tabi dfsrr; 86672e806eSAnton Vorontsov 87672e806eSAnton Vorontsov rtc@68 { 88672e806eSAnton Vorontsov device_type = "rtc"; 89672e806eSAnton Vorontsov compatible = "dallas,ds1339"; 90672e806eSAnton Vorontsov reg = <0x68>; 91672e806eSAnton Vorontsov interrupts = <18 0x8>; 92672e806eSAnton Vorontsov interrupt-parent = <&ipic>; 93672e806eSAnton Vorontsov }; 94dafdb613SAnton Vorontsov 95dafdb613SAnton Vorontsov mcu_pio: mcu@a { 96dafdb613SAnton Vorontsov #gpio-cells = <2>; 97dafdb613SAnton Vorontsov compatible = "fsl,mc9s08qg8-mpc8349emitx", 98dafdb613SAnton Vorontsov "fsl,mcu-mpc8349emitx"; 99dafdb613SAnton Vorontsov reg = <0x0a>; 100dafdb613SAnton Vorontsov gpio-controller; 101dafdb613SAnton Vorontsov }; 10274c37e8cSTimur Tabi }; 10374c37e8cSTimur Tabi 10474c37e8cSTimur Tabi spi@7000 { 105f3a2b29dSAnton Vorontsov cell-index = <0>; 106f3a2b29dSAnton Vorontsov compatible = "fsl,spi"; 107cda13dd1SPaul Gortmaker reg = <0x7000 0x1000>; 108cda13dd1SPaul Gortmaker interrupts = <16 0x8>; 109d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 11033799e33SPeter Korsgaard mode = "cpu"; 11174c37e8cSTimur Tabi }; 11274c37e8cSTimur Tabi 113dee80553SKumar Gala dma@82a8 { 114dee80553SKumar Gala #address-cells = <1>; 115dee80553SKumar Gala #size-cells = <1>; 116dee80553SKumar Gala compatible = "fsl,mpc8349-dma", "fsl,elo-dma"; 117dee80553SKumar Gala reg = <0x82a8 4>; 118dee80553SKumar Gala ranges = <0 0x8100 0x1a8>; 119dee80553SKumar Gala interrupt-parent = <&ipic>; 120dee80553SKumar Gala interrupts = <71 8>; 121dee80553SKumar Gala cell-index = <0>; 122dee80553SKumar Gala dma-channel@0 { 123dee80553SKumar Gala compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel"; 124dee80553SKumar Gala reg = <0 0x80>; 125aeb42762SKumar Gala cell-index = <0>; 126dee80553SKumar Gala interrupt-parent = <&ipic>; 127dee80553SKumar Gala interrupts = <71 8>; 128dee80553SKumar Gala }; 129dee80553SKumar Gala dma-channel@80 { 130dee80553SKumar Gala compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel"; 131dee80553SKumar Gala reg = <0x80 0x80>; 132aeb42762SKumar Gala cell-index = <1>; 133dee80553SKumar Gala interrupt-parent = <&ipic>; 134dee80553SKumar Gala interrupts = <71 8>; 135dee80553SKumar Gala }; 136dee80553SKumar Gala dma-channel@100 { 137dee80553SKumar Gala compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel"; 138dee80553SKumar Gala reg = <0x100 0x80>; 139aeb42762SKumar Gala cell-index = <2>; 140dee80553SKumar Gala interrupt-parent = <&ipic>; 141dee80553SKumar Gala interrupts = <71 8>; 142dee80553SKumar Gala }; 143dee80553SKumar Gala dma-channel@180 { 144dee80553SKumar Gala compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel"; 145dee80553SKumar Gala reg = <0x180 0x28>; 146aeb42762SKumar Gala cell-index = <3>; 147dee80553SKumar Gala interrupt-parent = <&ipic>; 148dee80553SKumar Gala interrupts = <71 8>; 149dee80553SKumar Gala }; 150dee80553SKumar Gala }; 151dee80553SKumar Gala 15274c37e8cSTimur Tabi usb@22000 { 15374c37e8cSTimur Tabi compatible = "fsl-usb2-mph"; 154cda13dd1SPaul Gortmaker reg = <0x22000 0x1000>; 15574c37e8cSTimur Tabi #address-cells = <1>; 15674c37e8cSTimur Tabi #size-cells = <0>; 157d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 158cda13dd1SPaul Gortmaker interrupts = <39 0x8>; 15974c37e8cSTimur Tabi phy_type = "ulpi"; 16074c37e8cSTimur Tabi port1; 16174c37e8cSTimur Tabi }; 16274c37e8cSTimur Tabi 16374c37e8cSTimur Tabi usb@23000 { 16474c37e8cSTimur Tabi compatible = "fsl-usb2-dr"; 165cda13dd1SPaul Gortmaker reg = <0x23000 0x1000>; 16674c37e8cSTimur Tabi #address-cells = <1>; 16774c37e8cSTimur Tabi #size-cells = <0>; 168d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 169cda13dd1SPaul Gortmaker interrupts = <38 0x8>; 170f93c7c5aSjacmet@sunsite.dk dr_mode = "peripheral"; 17174c37e8cSTimur Tabi phy_type = "ulpi"; 17274c37e8cSTimur Tabi }; 17374c37e8cSTimur Tabi 17474c37e8cSTimur Tabi mdio@24520 { 17574c37e8cSTimur Tabi #address-cells = <1>; 17674c37e8cSTimur Tabi #size-cells = <0>; 177e77b28ebSKumar Gala compatible = "fsl,gianfar-mdio"; 178cda13dd1SPaul Gortmaker reg = <0x24520 0x20>; 17974c37e8cSTimur Tabi 18074c37e8cSTimur Tabi /* Vitesse 8201 */ 181d71a1dc6SKumar Gala phy1c: ethernet-phy@1c { 182d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 183cda13dd1SPaul Gortmaker interrupts = <18 0x8>; 184cda13dd1SPaul Gortmaker reg = <0x1c>; 18574c37e8cSTimur Tabi device_type = "ethernet-phy"; 18674c37e8cSTimur Tabi }; 187b31a1d8bSAndy Fleming tbi0: tbi-phy@11 { 188b31a1d8bSAndy Fleming reg = <0x11>; 189b31a1d8bSAndy Fleming device_type = "tbi-phy"; 190b31a1d8bSAndy Fleming }; 191b31a1d8bSAndy Fleming }; 192b31a1d8bSAndy Fleming 193b31a1d8bSAndy Fleming mdio@25520 { 194b31a1d8bSAndy Fleming #address-cells = <1>; 195b31a1d8bSAndy Fleming #size-cells = <0>; 196b31a1d8bSAndy Fleming compatible = "fsl,gianfar-tbi"; 197b31a1d8bSAndy Fleming reg = <0x25520 0x20>; 198b31a1d8bSAndy Fleming 199b31a1d8bSAndy Fleming tbi1: tbi-phy@11 { 200b31a1d8bSAndy Fleming reg = <0x11>; 201b31a1d8bSAndy Fleming device_type = "tbi-phy"; 202b31a1d8bSAndy Fleming }; 20374c37e8cSTimur Tabi }; 20474c37e8cSTimur Tabi 205e77b28ebSKumar Gala enet0: ethernet@24000 { 206e77b28ebSKumar Gala cell-index = <0>; 20774c37e8cSTimur Tabi device_type = "network"; 20874c37e8cSTimur Tabi model = "TSEC"; 20974c37e8cSTimur Tabi compatible = "gianfar"; 210cda13dd1SPaul Gortmaker reg = <0x24000 0x1000>; 21174c37e8cSTimur Tabi local-mac-address = [ 00 00 00 00 00 00 ]; 212cda13dd1SPaul Gortmaker interrupts = <32 0x8 33 0x8 34 0x8>; 213d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 214b31a1d8bSAndy Fleming tbi-handle = <&tbi0>; 215d71a1dc6SKumar Gala phy-handle = <&phy1c>; 216ad25a4ccSGrant Likely linux,network-index = <0>; 21774c37e8cSTimur Tabi }; 21874c37e8cSTimur Tabi 219e77b28ebSKumar Gala enet1: ethernet@25000 { 220e77b28ebSKumar Gala cell-index = <1>; 22174c37e8cSTimur Tabi device_type = "network"; 22274c37e8cSTimur Tabi model = "TSEC"; 22374c37e8cSTimur Tabi compatible = "gianfar"; 224cda13dd1SPaul Gortmaker reg = <0x25000 0x1000>; 22574c37e8cSTimur Tabi local-mac-address = [ 00 00 00 00 00 00 ]; 226cda13dd1SPaul Gortmaker interrupts = <35 0x8 36 0x8 37 0x8>; 227d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 228e3000765SVitaly Bordug /* Vitesse 7385 isn't on the MDIO bus */ 229cda13dd1SPaul Gortmaker fixed-link = <1 1 1000 0 0>; 230ad25a4ccSGrant Likely linux,network-index = <1>; 231b31a1d8bSAndy Fleming tbi-handle = <&tbi1>; 23274c37e8cSTimur Tabi }; 23374c37e8cSTimur Tabi 234ea082fa9SKumar Gala serial0: serial@4500 { 235ea082fa9SKumar Gala cell-index = <0>; 23674c37e8cSTimur Tabi device_type = "serial"; 23774c37e8cSTimur Tabi compatible = "ns16550"; 238cda13dd1SPaul Gortmaker reg = <0x4500 0x100>; 23974c37e8cSTimur Tabi clock-frequency = <0>; // from bootloader 240cda13dd1SPaul Gortmaker interrupts = <9 0x8>; 241d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 24274c37e8cSTimur Tabi }; 24374c37e8cSTimur Tabi 244ea082fa9SKumar Gala serial1: serial@4600 { 245ea082fa9SKumar Gala cell-index = <1>; 24674c37e8cSTimur Tabi device_type = "serial"; 24774c37e8cSTimur Tabi compatible = "ns16550"; 248cda13dd1SPaul Gortmaker reg = <0x4600 0x100>; 24974c37e8cSTimur Tabi clock-frequency = <0>; // from bootloader 250cda13dd1SPaul Gortmaker interrupts = <10 0x8>; 251d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 25274c37e8cSTimur Tabi }; 25374c37e8cSTimur Tabi 25474c37e8cSTimur Tabi crypto@30000 { 2553fd44736SKim Phillips compatible = "fsl,sec2.0"; 256cda13dd1SPaul Gortmaker reg = <0x30000 0x10000>; 257cda13dd1SPaul Gortmaker interrupts = <11 0x8>; 258d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 2593fd44736SKim Phillips fsl,num-channels = <4>; 2603fd44736SKim Phillips fsl,channel-fifo-len = <24>; 2613fd44736SKim Phillips fsl,exec-units-mask = <0x7e>; 2623fd44736SKim Phillips fsl,descriptor-types-mask = <0x01010ebf>; 26374c37e8cSTimur Tabi }; 26474c37e8cSTimur Tabi 265d71a1dc6SKumar Gala ipic: pic@700 { 26674c37e8cSTimur Tabi interrupt-controller; 26774c37e8cSTimur Tabi #address-cells = <0>; 26874c37e8cSTimur Tabi #interrupt-cells = <2>; 269cda13dd1SPaul Gortmaker reg = <0x700 0x100>; 27074c37e8cSTimur Tabi device_type = "ipic"; 27174c37e8cSTimur Tabi }; 27274c37e8cSTimur Tabi }; 2731b3c5cdaSKumar Gala 274ea082fa9SKumar Gala pci0: pci@e0008500 { 275ea082fa9SKumar Gala cell-index = <1>; 276cda13dd1SPaul Gortmaker interrupt-map-mask = <0xf800 0x0 0x0 0x7>; 2771b3c5cdaSKumar Gala interrupt-map = < 2781b3c5cdaSKumar Gala /* IDSEL 0x10 - SATA */ 279cda13dd1SPaul Gortmaker 0x8000 0x0 0x0 0x1 &ipic 22 0x8 /* SATA_INTA */ 2801b3c5cdaSKumar Gala >; 2811b3c5cdaSKumar Gala interrupt-parent = <&ipic>; 282cda13dd1SPaul Gortmaker interrupts = <66 0x8>; 283cda13dd1SPaul Gortmaker bus-range = <0x0 0x0>; 284cda13dd1SPaul Gortmaker ranges = <0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000 285cda13dd1SPaul Gortmaker 0x02000000 0x0 0x90000000 0x90000000 0x0 0x10000000 286cda13dd1SPaul Gortmaker 0x01000000 0x0 0x00000000 0xe2000000 0x0 0x01000000>; 287cda13dd1SPaul Gortmaker clock-frequency = <66666666>; 2881b3c5cdaSKumar Gala #interrupt-cells = <1>; 2891b3c5cdaSKumar Gala #size-cells = <2>; 2901b3c5cdaSKumar Gala #address-cells = <3>; 2915b70a097SJohn Rigby reg = <0xe0008500 0x100 /* internal registers */ 2925b70a097SJohn Rigby 0xe0008300 0x8>; /* config space access registers */ 2931b3c5cdaSKumar Gala compatible = "fsl,mpc8349-pci"; 2941b3c5cdaSKumar Gala device_type = "pci"; 2951b3c5cdaSKumar Gala }; 2961b3c5cdaSKumar Gala 297ea082fa9SKumar Gala pci1: pci@e0008600 { 298ea082fa9SKumar Gala cell-index = <2>; 299cda13dd1SPaul Gortmaker interrupt-map-mask = <0xf800 0x0 0x0 0x7>; 3001b3c5cdaSKumar Gala interrupt-map = < 3011b3c5cdaSKumar Gala /* IDSEL 0x0E - MiniPCI Slot */ 302cda13dd1SPaul Gortmaker 0x7000 0x0 0x0 0x1 &ipic 21 0x8 /* PCI_INTA */ 3031b3c5cdaSKumar Gala 3041b3c5cdaSKumar Gala /* IDSEL 0x0F - PCI Slot */ 305cda13dd1SPaul Gortmaker 0x7800 0x0 0x0 0x1 &ipic 20 0x8 /* PCI_INTA */ 306cda13dd1SPaul Gortmaker 0x7800 0x0 0x0 0x2 &ipic 21 0x8 /* PCI_INTB */ 3071b3c5cdaSKumar Gala >; 3081b3c5cdaSKumar Gala interrupt-parent = <&ipic>; 309cda13dd1SPaul Gortmaker interrupts = <67 0x8>; 310cda13dd1SPaul Gortmaker bus-range = <0x0 0x0>; 311cda13dd1SPaul Gortmaker ranges = <0x42000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000 312cda13dd1SPaul Gortmaker 0x02000000 0x0 0xb0000000 0xb0000000 0x0 0x10000000 313cda13dd1SPaul Gortmaker 0x01000000 0x0 0x00000000 0xe3000000 0x0 0x01000000>; 314cda13dd1SPaul Gortmaker clock-frequency = <66666666>; 3151b3c5cdaSKumar Gala #interrupt-cells = <1>; 3161b3c5cdaSKumar Gala #size-cells = <2>; 3171b3c5cdaSKumar Gala #address-cells = <3>; 3185b70a097SJohn Rigby reg = <0xe0008600 0x100 /* internal registers */ 3195b70a097SJohn Rigby 0xe0008380 0x8>; /* config space access registers */ 3201b3c5cdaSKumar Gala compatible = "fsl,mpc8349-pci"; 3211b3c5cdaSKumar Gala device_type = "pci"; 3221b3c5cdaSKumar Gala }; 3231b3c5cdaSKumar Gala 3249b6d19ddSAnton Vorontsov localbus@e0005000 { 3259b6d19ddSAnton Vorontsov #address-cells = <2>; 3269b6d19ddSAnton Vorontsov #size-cells = <1>; 3279b6d19ddSAnton Vorontsov compatible = "fsl,mpc8349e-localbus", 3289b6d19ddSAnton Vorontsov "fsl,pq2pro-localbus"; 329cda13dd1SPaul Gortmaker reg = <0xe0005000 0xd8>; 330cda13dd1SPaul Gortmaker ranges = <0x3 0x0 0xf0000000 0x210>; 3311b3c5cdaSKumar Gala 3329b6d19ddSAnton Vorontsov pata@3,0 { 3339b6d19ddSAnton Vorontsov compatible = "fsl,mpc8349emitx-pata", "ata-generic"; 334cda13dd1SPaul Gortmaker reg = <0x3 0x0 0x10 0x3 0x20c 0x4>; 3359b6d19ddSAnton Vorontsov reg-shift = <1>; 3369b6d19ddSAnton Vorontsov pio-mode = <6>; 337cda13dd1SPaul Gortmaker interrupts = <23 0x8>; 3389b6d19ddSAnton Vorontsov interrupt-parent = <&ipic>; 3399b6d19ddSAnton Vorontsov }; 3409b6d19ddSAnton Vorontsov }; 34174c37e8cSTimur Tabi}; 342