18c4a013dSTimur Tabi/* 28c4a013dSTimur Tabi * MPC8349E-mITX-GP Device Tree Source 38c4a013dSTimur Tabi * 48c4a013dSTimur Tabi * Copyright 2007 Freescale Semiconductor Inc. 58c4a013dSTimur Tabi * 68c4a013dSTimur Tabi * This program is free software; you can redistribute it and/or modify it 78c4a013dSTimur Tabi * under the terms of the GNU General Public License as published by the 88c4a013dSTimur Tabi * Free Software Foundation; either version 2 of the License, or (at your 98c4a013dSTimur Tabi * option) any later version. 108c4a013dSTimur Tabi */ 11cda13dd1SPaul Gortmaker 12cda13dd1SPaul Gortmaker/dts-v1/; 13cda13dd1SPaul Gortmaker 148c4a013dSTimur Tabi/ { 158c4a013dSTimur Tabi model = "MPC8349EMITXGP"; 16d71a1dc6SKumar Gala compatible = "MPC8349EMITXGP", "MPC834xMITX", "MPC83xxMITX"; 178c4a013dSTimur Tabi #address-cells = <1>; 188c4a013dSTimur Tabi #size-cells = <1>; 198c4a013dSTimur Tabi 20ea082fa9SKumar Gala aliases { 21ea082fa9SKumar Gala ethernet0 = &enet0; 22ea082fa9SKumar Gala serial0 = &serial0; 23ea082fa9SKumar Gala serial1 = &serial1; 24ea082fa9SKumar Gala pci0 = &pci0; 25ea082fa9SKumar Gala }; 26ea082fa9SKumar Gala 278c4a013dSTimur Tabi cpus { 288c4a013dSTimur Tabi #address-cells = <1>; 298c4a013dSTimur Tabi #size-cells = <0>; 308c4a013dSTimur Tabi 318c4a013dSTimur Tabi PowerPC,8349@0 { 328c4a013dSTimur Tabi device_type = "cpu"; 33cda13dd1SPaul Gortmaker reg = <0x0>; 34cda13dd1SPaul Gortmaker d-cache-line-size = <32>; 35cda13dd1SPaul Gortmaker i-cache-line-size = <32>; 36cda13dd1SPaul Gortmaker d-cache-size = <32768>; 37cda13dd1SPaul Gortmaker i-cache-size = <32768>; 388c4a013dSTimur Tabi timebase-frequency = <0>; // from bootloader 398c4a013dSTimur Tabi bus-frequency = <0>; // from bootloader 408c4a013dSTimur Tabi clock-frequency = <0>; // from bootloader 418c4a013dSTimur Tabi }; 428c4a013dSTimur Tabi }; 438c4a013dSTimur Tabi 448c4a013dSTimur Tabi memory { 458c4a013dSTimur Tabi device_type = "memory"; 46cda13dd1SPaul Gortmaker reg = <0x00000000 0x10000000>; 478c4a013dSTimur Tabi }; 488c4a013dSTimur Tabi 498c4a013dSTimur Tabi soc8349@e0000000 { 508c4a013dSTimur Tabi #address-cells = <1>; 518c4a013dSTimur Tabi #size-cells = <1>; 528c4a013dSTimur Tabi device_type = "soc"; 53cf0d19fbSKim Phillips compatible = "simple-bus"; 54cda13dd1SPaul Gortmaker ranges = <0x0 0xe0000000 0x00100000>; 55cda13dd1SPaul Gortmaker reg = <0xe0000000 0x00000200>; 568c4a013dSTimur Tabi bus-frequency = <0>; // from bootloader 578c4a013dSTimur Tabi 588c4a013dSTimur Tabi wdt@200 { 598c4a013dSTimur Tabi device_type = "watchdog"; 608c4a013dSTimur Tabi compatible = "mpc83xx_wdt"; 61cda13dd1SPaul Gortmaker reg = <0x200 0x100>; 628c4a013dSTimur Tabi }; 638c4a013dSTimur Tabi 648c4a013dSTimur Tabi i2c@3000 { 65ec9686c4SKumar Gala #address-cells = <1>; 66ec9686c4SKumar Gala #size-cells = <0>; 67ec9686c4SKumar Gala cell-index = <0>; 688c4a013dSTimur Tabi compatible = "fsl-i2c"; 69cda13dd1SPaul Gortmaker reg = <0x3000 0x100>; 70cda13dd1SPaul Gortmaker interrupts = <14 0x8>; 71d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 728c4a013dSTimur Tabi dfsrr; 738c4a013dSTimur Tabi }; 748c4a013dSTimur Tabi 758c4a013dSTimur Tabi i2c@3100 { 76ec9686c4SKumar Gala #address-cells = <1>; 77ec9686c4SKumar Gala #size-cells = <0>; 78ec9686c4SKumar Gala cell-index = <1>; 798c4a013dSTimur Tabi compatible = "fsl-i2c"; 80cda13dd1SPaul Gortmaker reg = <0x3100 0x100>; 81cda13dd1SPaul Gortmaker interrupts = <15 0x8>; 82d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 838c4a013dSTimur Tabi dfsrr; 84672e806eSAnton Vorontsov 85672e806eSAnton Vorontsov rtc@68 { 86672e806eSAnton Vorontsov device_type = "rtc"; 87672e806eSAnton Vorontsov compatible = "dallas,ds1339"; 88672e806eSAnton Vorontsov reg = <0x68>; 89672e806eSAnton Vorontsov interrupts = <18 0x8>; 90672e806eSAnton Vorontsov interrupt-parent = <&ipic>; 91672e806eSAnton Vorontsov }; 928c4a013dSTimur Tabi }; 938c4a013dSTimur Tabi 948c4a013dSTimur Tabi spi@7000 { 95f3a2b29dSAnton Vorontsov cell-index = <0>; 96f3a2b29dSAnton Vorontsov compatible = "fsl,spi"; 97cda13dd1SPaul Gortmaker reg = <0x7000 0x1000>; 98cda13dd1SPaul Gortmaker interrupts = <16 0x8>; 99d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 10033799e33SPeter Korsgaard mode = "cpu"; 1018c4a013dSTimur Tabi }; 1028c4a013dSTimur Tabi 103dee80553SKumar Gala dma@82a8 { 104dee80553SKumar Gala #address-cells = <1>; 105dee80553SKumar Gala #size-cells = <1>; 106dee80553SKumar Gala compatible = "fsl,mpc8349-dma", "fsl,elo-dma"; 107dee80553SKumar Gala reg = <0x82a8 4>; 108dee80553SKumar Gala ranges = <0 0x8100 0x1a8>; 109dee80553SKumar Gala interrupt-parent = <&ipic>; 110dee80553SKumar Gala interrupts = <71 8>; 111dee80553SKumar Gala cell-index = <0>; 112dee80553SKumar Gala dma-channel@0 { 113dee80553SKumar Gala compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel"; 114dee80553SKumar Gala reg = <0 0x80>; 115aeb42762SKumar Gala cell-index = <0>; 116dee80553SKumar Gala interrupt-parent = <&ipic>; 117dee80553SKumar Gala interrupts = <71 8>; 118dee80553SKumar Gala }; 119dee80553SKumar Gala dma-channel@80 { 120dee80553SKumar Gala compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel"; 121dee80553SKumar Gala reg = <0x80 0x80>; 122aeb42762SKumar Gala cell-index = <1>; 123dee80553SKumar Gala interrupt-parent = <&ipic>; 124dee80553SKumar Gala interrupts = <71 8>; 125dee80553SKumar Gala }; 126dee80553SKumar Gala dma-channel@100 { 127dee80553SKumar Gala compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel"; 128dee80553SKumar Gala reg = <0x100 0x80>; 129aeb42762SKumar Gala cell-index = <2>; 130dee80553SKumar Gala interrupt-parent = <&ipic>; 131dee80553SKumar Gala interrupts = <71 8>; 132dee80553SKumar Gala }; 133dee80553SKumar Gala dma-channel@180 { 134dee80553SKumar Gala compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel"; 135dee80553SKumar Gala reg = <0x180 0x28>; 136aeb42762SKumar Gala cell-index = <3>; 137dee80553SKumar Gala interrupt-parent = <&ipic>; 138dee80553SKumar Gala interrupts = <71 8>; 139dee80553SKumar Gala }; 140dee80553SKumar Gala }; 141dee80553SKumar Gala 1428c4a013dSTimur Tabi usb@23000 { 1438c4a013dSTimur Tabi compatible = "fsl-usb2-dr"; 144cda13dd1SPaul Gortmaker reg = <0x23000 0x1000>; 1458c4a013dSTimur Tabi #address-cells = <1>; 1468c4a013dSTimur Tabi #size-cells = <0>; 147d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 148cda13dd1SPaul Gortmaker interrupts = <38 0x8>; 1498c4a013dSTimur Tabi dr_mode = "otg"; 1508c4a013dSTimur Tabi phy_type = "ulpi"; 1518c4a013dSTimur Tabi }; 1528c4a013dSTimur Tabi 1538c4a013dSTimur Tabi mdio@24520 { 1548c4a013dSTimur Tabi #address-cells = <1>; 1558c4a013dSTimur Tabi #size-cells = <0>; 156e77b28ebSKumar Gala compatible = "fsl,gianfar-mdio"; 157cda13dd1SPaul Gortmaker reg = <0x24520 0x20>; 1588c4a013dSTimur Tabi 1598c4a013dSTimur Tabi /* Vitesse 8201 */ 160d71a1dc6SKumar Gala phy1c: ethernet-phy@1c { 161d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 162cda13dd1SPaul Gortmaker interrupts = <18 0x8>; 163cda13dd1SPaul Gortmaker reg = <0x1c>; 1648c4a013dSTimur Tabi device_type = "ethernet-phy"; 1658c4a013dSTimur Tabi }; 166*b31a1d8bSAndy Fleming tbi0: tbi-phy@11 { 167*b31a1d8bSAndy Fleming reg = <0x11>; 168*b31a1d8bSAndy Fleming device_type = "tbi-phy"; 169*b31a1d8bSAndy Fleming }; 1708c4a013dSTimur Tabi }; 1718c4a013dSTimur Tabi 172e77b28ebSKumar Gala enet0: ethernet@24000 { 173e77b28ebSKumar Gala cell-index = <0>; 1748c4a013dSTimur Tabi device_type = "network"; 1758c4a013dSTimur Tabi model = "TSEC"; 1768c4a013dSTimur Tabi compatible = "gianfar"; 177cda13dd1SPaul Gortmaker reg = <0x24000 0x1000>; 1788c4a013dSTimur Tabi local-mac-address = [ 00 00 00 00 00 00 ]; 179cda13dd1SPaul Gortmaker interrupts = <32 0x8 33 0x8 34 0x8>; 180d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 181*b31a1d8bSAndy Fleming tbi-handle = <&tbi0>; 182d71a1dc6SKumar Gala phy-handle = <&phy1c>; 183ad25a4ccSGrant Likely linux,network-index = <0>; 1848c4a013dSTimur Tabi }; 1858c4a013dSTimur Tabi 186ea082fa9SKumar Gala serial0: serial@4500 { 187ea082fa9SKumar Gala cell-index = <0>; 1888c4a013dSTimur Tabi device_type = "serial"; 1898c4a013dSTimur Tabi compatible = "ns16550"; 190cda13dd1SPaul Gortmaker reg = <0x4500 0x100>; 1918c4a013dSTimur Tabi clock-frequency = <0>; // from bootloader 192cda13dd1SPaul Gortmaker interrupts = <9 0x8>; 193d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 1948c4a013dSTimur Tabi }; 1958c4a013dSTimur Tabi 196ea082fa9SKumar Gala serial1: serial@4600 { 197ea082fa9SKumar Gala cell-index = <1>; 1988c4a013dSTimur Tabi device_type = "serial"; 1998c4a013dSTimur Tabi compatible = "ns16550"; 200cda13dd1SPaul Gortmaker reg = <0x4600 0x100>; 2018c4a013dSTimur Tabi clock-frequency = <0>; // from bootloader 202cda13dd1SPaul Gortmaker interrupts = <10 0x8>; 203d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 2048c4a013dSTimur Tabi }; 2058c4a013dSTimur Tabi 2068c4a013dSTimur Tabi crypto@30000 { 2073fd44736SKim Phillips compatible = "fsl,sec2.0"; 208cda13dd1SPaul Gortmaker reg = <0x30000 0x10000>; 209cda13dd1SPaul Gortmaker interrupts = <11 0x8>; 210d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 2113fd44736SKim Phillips fsl,num-channels = <4>; 2123fd44736SKim Phillips fsl,channel-fifo-len = <24>; 2133fd44736SKim Phillips fsl,exec-units-mask = <0x7e>; 2143fd44736SKim Phillips fsl,descriptor-types-mask = <0x01010ebf>; 2158c4a013dSTimur Tabi }; 2168c4a013dSTimur Tabi 217d71a1dc6SKumar Gala ipic: pic@700 { 2188c4a013dSTimur Tabi interrupt-controller; 2198c4a013dSTimur Tabi #address-cells = <0>; 2208c4a013dSTimur Tabi #interrupt-cells = <2>; 221cda13dd1SPaul Gortmaker reg = <0x700 0x100>; 2228c4a013dSTimur Tabi device_type = "ipic"; 2238c4a013dSTimur Tabi }; 2248c4a013dSTimur Tabi }; 2251b3c5cdaSKumar Gala 226ea082fa9SKumar Gala pci0: pci@e0008600 { 227ea082fa9SKumar Gala cell-index = <2>; 228cda13dd1SPaul Gortmaker interrupt-map-mask = <0xf800 0x0 0x0 0x7>; 2291b3c5cdaSKumar Gala interrupt-map = < 2301b3c5cdaSKumar Gala /* IDSEL 0x0F - PCI Slot */ 231cda13dd1SPaul Gortmaker 0x7800 0x0 0x0 0x1 &ipic 20 0x8 /* PCI_INTA */ 232cda13dd1SPaul Gortmaker 0x7800 0x0 0x0 0x2 &ipic 21 0x8 /* PCI_INTB */ 2331b3c5cdaSKumar Gala >; 2341b3c5cdaSKumar Gala interrupt-parent = <&ipic>; 235cda13dd1SPaul Gortmaker interrupts = <67 0x8>; 236cda13dd1SPaul Gortmaker bus-range = <0x1 0x1>; 237cda13dd1SPaul Gortmaker ranges = <0x42000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000 238cda13dd1SPaul Gortmaker 0x02000000 0x0 0xb0000000 0xb0000000 0x0 0x10000000 239cda13dd1SPaul Gortmaker 0x01000000 0x0 0x00000000 0xe3000000 0x0 0x01000000>; 240cda13dd1SPaul Gortmaker clock-frequency = <66666666>; 2411b3c5cdaSKumar Gala #interrupt-cells = <1>; 2421b3c5cdaSKumar Gala #size-cells = <2>; 2431b3c5cdaSKumar Gala #address-cells = <3>; 2445b70a097SJohn Rigby reg = <0xe0008600 0x100 /* internal registers */ 2455b70a097SJohn Rigby 0xe0008380 0x8>; /* config space access registers */ 2461b3c5cdaSKumar Gala compatible = "fsl,mpc8349-pci"; 2471b3c5cdaSKumar Gala device_type = "pci"; 2481b3c5cdaSKumar Gala }; 2498c4a013dSTimur Tabi}; 250