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"; 53cda13dd1SPaul Gortmaker ranges = <0x0 0xe0000000 0x00100000>; 54cda13dd1SPaul Gortmaker reg = <0xe0000000 0x00000200>; 558c4a013dSTimur Tabi bus-frequency = <0>; // from bootloader 568c4a013dSTimur Tabi 578c4a013dSTimur Tabi wdt@200 { 588c4a013dSTimur Tabi device_type = "watchdog"; 598c4a013dSTimur Tabi compatible = "mpc83xx_wdt"; 60cda13dd1SPaul Gortmaker reg = <0x200 0x100>; 618c4a013dSTimur Tabi }; 628c4a013dSTimur Tabi 638c4a013dSTimur Tabi i2c@3000 { 64ec9686c4SKumar Gala #address-cells = <1>; 65ec9686c4SKumar Gala #size-cells = <0>; 66ec9686c4SKumar Gala cell-index = <0>; 678c4a013dSTimur Tabi compatible = "fsl-i2c"; 68cda13dd1SPaul Gortmaker reg = <0x3000 0x100>; 69cda13dd1SPaul Gortmaker interrupts = <14 0x8>; 70d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 718c4a013dSTimur Tabi dfsrr; 728c4a013dSTimur Tabi }; 738c4a013dSTimur Tabi 748c4a013dSTimur Tabi i2c@3100 { 75ec9686c4SKumar Gala #address-cells = <1>; 76ec9686c4SKumar Gala #size-cells = <0>; 77ec9686c4SKumar Gala cell-index = <1>; 788c4a013dSTimur Tabi compatible = "fsl-i2c"; 79cda13dd1SPaul Gortmaker reg = <0x3100 0x100>; 80cda13dd1SPaul Gortmaker interrupts = <15 0x8>; 81d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 828c4a013dSTimur Tabi dfsrr; 838c4a013dSTimur Tabi }; 848c4a013dSTimur Tabi 858c4a013dSTimur Tabi spi@7000 { 86f3a2b29dSAnton Vorontsov cell-index = <0>; 87f3a2b29dSAnton Vorontsov compatible = "fsl,spi"; 88cda13dd1SPaul Gortmaker reg = <0x7000 0x1000>; 89cda13dd1SPaul Gortmaker interrupts = <16 0x8>; 90d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 9133799e33SPeter Korsgaard mode = "cpu"; 928c4a013dSTimur Tabi }; 938c4a013dSTimur Tabi 94*dee80553SKumar Gala dma@82a8 { 95*dee80553SKumar Gala #address-cells = <1>; 96*dee80553SKumar Gala #size-cells = <1>; 97*dee80553SKumar Gala compatible = "fsl,mpc8349-dma", "fsl,elo-dma"; 98*dee80553SKumar Gala reg = <0x82a8 4>; 99*dee80553SKumar Gala ranges = <0 0x8100 0x1a8>; 100*dee80553SKumar Gala interrupt-parent = <&ipic>; 101*dee80553SKumar Gala interrupts = <71 8>; 102*dee80553SKumar Gala cell-index = <0>; 103*dee80553SKumar Gala dma-channel@0 { 104*dee80553SKumar Gala compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel"; 105*dee80553SKumar Gala reg = <0 0x80>; 106*dee80553SKumar Gala interrupt-parent = <&ipic>; 107*dee80553SKumar Gala interrupts = <71 8>; 108*dee80553SKumar Gala }; 109*dee80553SKumar Gala dma-channel@80 { 110*dee80553SKumar Gala compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel"; 111*dee80553SKumar Gala reg = <0x80 0x80>; 112*dee80553SKumar Gala interrupt-parent = <&ipic>; 113*dee80553SKumar Gala interrupts = <71 8>; 114*dee80553SKumar Gala }; 115*dee80553SKumar Gala dma-channel@100 { 116*dee80553SKumar Gala compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel"; 117*dee80553SKumar Gala reg = <0x100 0x80>; 118*dee80553SKumar Gala interrupt-parent = <&ipic>; 119*dee80553SKumar Gala interrupts = <71 8>; 120*dee80553SKumar Gala }; 121*dee80553SKumar Gala dma-channel@180 { 122*dee80553SKumar Gala compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel"; 123*dee80553SKumar Gala reg = <0x180 0x28>; 124*dee80553SKumar Gala interrupt-parent = <&ipic>; 125*dee80553SKumar Gala interrupts = <71 8>; 126*dee80553SKumar Gala }; 127*dee80553SKumar Gala }; 128*dee80553SKumar Gala 1298c4a013dSTimur Tabi usb@23000 { 1308c4a013dSTimur Tabi compatible = "fsl-usb2-dr"; 131cda13dd1SPaul Gortmaker reg = <0x23000 0x1000>; 1328c4a013dSTimur Tabi #address-cells = <1>; 1338c4a013dSTimur Tabi #size-cells = <0>; 134d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 135cda13dd1SPaul Gortmaker interrupts = <38 0x8>; 1368c4a013dSTimur Tabi dr_mode = "otg"; 1378c4a013dSTimur Tabi phy_type = "ulpi"; 1388c4a013dSTimur Tabi }; 1398c4a013dSTimur Tabi 1408c4a013dSTimur Tabi mdio@24520 { 1418c4a013dSTimur Tabi #address-cells = <1>; 1428c4a013dSTimur Tabi #size-cells = <0>; 143e77b28ebSKumar Gala compatible = "fsl,gianfar-mdio"; 144cda13dd1SPaul Gortmaker reg = <0x24520 0x20>; 1458c4a013dSTimur Tabi 1468c4a013dSTimur Tabi /* Vitesse 8201 */ 147d71a1dc6SKumar Gala phy1c: ethernet-phy@1c { 148d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 149cda13dd1SPaul Gortmaker interrupts = <18 0x8>; 150cda13dd1SPaul Gortmaker reg = <0x1c>; 1518c4a013dSTimur Tabi device_type = "ethernet-phy"; 1528c4a013dSTimur Tabi }; 1538c4a013dSTimur Tabi }; 1548c4a013dSTimur Tabi 155e77b28ebSKumar Gala enet0: ethernet@24000 { 156e77b28ebSKumar Gala cell-index = <0>; 1578c4a013dSTimur Tabi device_type = "network"; 1588c4a013dSTimur Tabi model = "TSEC"; 1598c4a013dSTimur Tabi compatible = "gianfar"; 160cda13dd1SPaul Gortmaker reg = <0x24000 0x1000>; 1618c4a013dSTimur Tabi local-mac-address = [ 00 00 00 00 00 00 ]; 162cda13dd1SPaul Gortmaker interrupts = <32 0x8 33 0x8 34 0x8>; 163d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 164d71a1dc6SKumar Gala phy-handle = <&phy1c>; 165ad25a4ccSGrant Likely linux,network-index = <0>; 1668c4a013dSTimur Tabi }; 1678c4a013dSTimur Tabi 168ea082fa9SKumar Gala serial0: serial@4500 { 169ea082fa9SKumar Gala cell-index = <0>; 1708c4a013dSTimur Tabi device_type = "serial"; 1718c4a013dSTimur Tabi compatible = "ns16550"; 172cda13dd1SPaul Gortmaker reg = <0x4500 0x100>; 1738c4a013dSTimur Tabi clock-frequency = <0>; // from bootloader 174cda13dd1SPaul Gortmaker interrupts = <9 0x8>; 175d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 1768c4a013dSTimur Tabi }; 1778c4a013dSTimur Tabi 178ea082fa9SKumar Gala serial1: serial@4600 { 179ea082fa9SKumar Gala cell-index = <1>; 1808c4a013dSTimur Tabi device_type = "serial"; 1818c4a013dSTimur Tabi compatible = "ns16550"; 182cda13dd1SPaul Gortmaker reg = <0x4600 0x100>; 1838c4a013dSTimur Tabi clock-frequency = <0>; // from bootloader 184cda13dd1SPaul Gortmaker interrupts = <10 0x8>; 185d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 1868c4a013dSTimur Tabi }; 1878c4a013dSTimur Tabi 1888c4a013dSTimur Tabi crypto@30000 { 1898c4a013dSTimur Tabi device_type = "crypto"; 1908c4a013dSTimur Tabi model = "SEC2"; 1918c4a013dSTimur Tabi compatible = "talitos"; 192cda13dd1SPaul Gortmaker reg = <0x30000 0x10000>; 193cda13dd1SPaul Gortmaker interrupts = <11 0x8>; 194d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 1958c4a013dSTimur Tabi num-channels = <4>; 196cda13dd1SPaul Gortmaker channel-fifo-len = <24>; 197cda13dd1SPaul Gortmaker exec-units-mask = <0x0000007e>; 198cda13dd1SPaul Gortmaker descriptor-types-mask = <0x01010ebf>; 1998c4a013dSTimur Tabi }; 2008c4a013dSTimur Tabi 201d71a1dc6SKumar Gala ipic: pic@700 { 2028c4a013dSTimur Tabi interrupt-controller; 2038c4a013dSTimur Tabi #address-cells = <0>; 2048c4a013dSTimur Tabi #interrupt-cells = <2>; 205cda13dd1SPaul Gortmaker reg = <0x700 0x100>; 2068c4a013dSTimur Tabi device_type = "ipic"; 2078c4a013dSTimur Tabi }; 2088c4a013dSTimur Tabi }; 2091b3c5cdaSKumar Gala 210ea082fa9SKumar Gala pci0: pci@e0008600 { 211ea082fa9SKumar Gala cell-index = <2>; 212cda13dd1SPaul Gortmaker interrupt-map-mask = <0xf800 0x0 0x0 0x7>; 2131b3c5cdaSKumar Gala interrupt-map = < 2141b3c5cdaSKumar Gala /* IDSEL 0x0F - PCI Slot */ 215cda13dd1SPaul Gortmaker 0x7800 0x0 0x0 0x1 &ipic 20 0x8 /* PCI_INTA */ 216cda13dd1SPaul Gortmaker 0x7800 0x0 0x0 0x2 &ipic 21 0x8 /* PCI_INTB */ 2171b3c5cdaSKumar Gala >; 2181b3c5cdaSKumar Gala interrupt-parent = <&ipic>; 219cda13dd1SPaul Gortmaker interrupts = <67 0x8>; 220cda13dd1SPaul Gortmaker bus-range = <0x1 0x1>; 221cda13dd1SPaul Gortmaker ranges = <0x42000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000 222cda13dd1SPaul Gortmaker 0x02000000 0x0 0xb0000000 0xb0000000 0x0 0x10000000 223cda13dd1SPaul Gortmaker 0x01000000 0x0 0x00000000 0xe3000000 0x0 0x01000000>; 224cda13dd1SPaul Gortmaker clock-frequency = <66666666>; 2251b3c5cdaSKumar Gala #interrupt-cells = <1>; 2261b3c5cdaSKumar Gala #size-cells = <2>; 2271b3c5cdaSKumar Gala #address-cells = <3>; 228cda13dd1SPaul Gortmaker reg = <0xe0008600 0x100>; 2291b3c5cdaSKumar Gala compatible = "fsl,mpc8349-pci"; 2301b3c5cdaSKumar Gala device_type = "pci"; 2311b3c5cdaSKumar Gala }; 2328c4a013dSTimur Tabi}; 233