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 }; 1668c4a013dSTimur Tabi }; 1678c4a013dSTimur Tabi 168e77b28ebSKumar Gala enet0: ethernet@24000 { 169e77b28ebSKumar Gala cell-index = <0>; 1708c4a013dSTimur Tabi device_type = "network"; 1718c4a013dSTimur Tabi model = "TSEC"; 1728c4a013dSTimur Tabi compatible = "gianfar"; 173cda13dd1SPaul Gortmaker reg = <0x24000 0x1000>; 1748c4a013dSTimur Tabi local-mac-address = [ 00 00 00 00 00 00 ]; 175cda13dd1SPaul Gortmaker interrupts = <32 0x8 33 0x8 34 0x8>; 176d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 177d71a1dc6SKumar Gala phy-handle = <&phy1c>; 178ad25a4ccSGrant Likely linux,network-index = <0>; 1798c4a013dSTimur Tabi }; 1808c4a013dSTimur Tabi 181ea082fa9SKumar Gala serial0: serial@4500 { 182ea082fa9SKumar Gala cell-index = <0>; 1838c4a013dSTimur Tabi device_type = "serial"; 1848c4a013dSTimur Tabi compatible = "ns16550"; 185cda13dd1SPaul Gortmaker reg = <0x4500 0x100>; 1868c4a013dSTimur Tabi clock-frequency = <0>; // from bootloader 187cda13dd1SPaul Gortmaker interrupts = <9 0x8>; 188d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 1898c4a013dSTimur Tabi }; 1908c4a013dSTimur Tabi 191ea082fa9SKumar Gala serial1: serial@4600 { 192ea082fa9SKumar Gala cell-index = <1>; 1938c4a013dSTimur Tabi device_type = "serial"; 1948c4a013dSTimur Tabi compatible = "ns16550"; 195cda13dd1SPaul Gortmaker reg = <0x4600 0x100>; 1968c4a013dSTimur Tabi clock-frequency = <0>; // from bootloader 197cda13dd1SPaul Gortmaker interrupts = <10 0x8>; 198d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 1998c4a013dSTimur Tabi }; 2008c4a013dSTimur Tabi 2018c4a013dSTimur Tabi crypto@30000 { 2023fd44736SKim Phillips compatible = "fsl,sec2.0"; 203cda13dd1SPaul Gortmaker reg = <0x30000 0x10000>; 204cda13dd1SPaul Gortmaker interrupts = <11 0x8>; 205d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 2063fd44736SKim Phillips fsl,num-channels = <4>; 2073fd44736SKim Phillips fsl,channel-fifo-len = <24>; 2083fd44736SKim Phillips fsl,exec-units-mask = <0x7e>; 2093fd44736SKim Phillips fsl,descriptor-types-mask = <0x01010ebf>; 2108c4a013dSTimur Tabi }; 2118c4a013dSTimur Tabi 212d71a1dc6SKumar Gala ipic: pic@700 { 2138c4a013dSTimur Tabi interrupt-controller; 2148c4a013dSTimur Tabi #address-cells = <0>; 2158c4a013dSTimur Tabi #interrupt-cells = <2>; 216cda13dd1SPaul Gortmaker reg = <0x700 0x100>; 2178c4a013dSTimur Tabi device_type = "ipic"; 2188c4a013dSTimur Tabi }; 2198c4a013dSTimur Tabi }; 2201b3c5cdaSKumar Gala 221ea082fa9SKumar Gala pci0: pci@e0008600 { 222ea082fa9SKumar Gala cell-index = <2>; 223cda13dd1SPaul Gortmaker interrupt-map-mask = <0xf800 0x0 0x0 0x7>; 2241b3c5cdaSKumar Gala interrupt-map = < 2251b3c5cdaSKumar Gala /* IDSEL 0x0F - PCI Slot */ 226cda13dd1SPaul Gortmaker 0x7800 0x0 0x0 0x1 &ipic 20 0x8 /* PCI_INTA */ 227cda13dd1SPaul Gortmaker 0x7800 0x0 0x0 0x2 &ipic 21 0x8 /* PCI_INTB */ 2281b3c5cdaSKumar Gala >; 2291b3c5cdaSKumar Gala interrupt-parent = <&ipic>; 230cda13dd1SPaul Gortmaker interrupts = <67 0x8>; 231cda13dd1SPaul Gortmaker bus-range = <0x1 0x1>; 232cda13dd1SPaul Gortmaker ranges = <0x42000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000 233cda13dd1SPaul Gortmaker 0x02000000 0x0 0xb0000000 0xb0000000 0x0 0x10000000 234cda13dd1SPaul Gortmaker 0x01000000 0x0 0x00000000 0xe3000000 0x0 0x01000000>; 235cda13dd1SPaul Gortmaker clock-frequency = <66666666>; 2361b3c5cdaSKumar Gala #interrupt-cells = <1>; 2371b3c5cdaSKumar Gala #size-cells = <2>; 2381b3c5cdaSKumar Gala #address-cells = <3>; 2395b70a097SJohn Rigby reg = <0xe0008600 0x100 /* internal registers */ 2405b70a097SJohn Rigby 0xe0008380 0x8>; /* config space access registers */ 2411b3c5cdaSKumar Gala compatible = "fsl,mpc8349-pci"; 2421b3c5cdaSKumar Gala device_type = "pci"; 2431b3c5cdaSKumar Gala }; 2448c4a013dSTimur Tabi}; 245