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"; 55cda13dd1SPaul Gortmaker ranges = <0x0 0xe0000000 0x00100000>; 56cda13dd1SPaul Gortmaker reg = <0xe0000000 0x00000200>; 5774c37e8cSTimur Tabi bus-frequency = <0>; // from bootloader 5874c37e8cSTimur Tabi 5974c37e8cSTimur Tabi wdt@200 { 6074c37e8cSTimur Tabi device_type = "watchdog"; 6174c37e8cSTimur Tabi compatible = "mpc83xx_wdt"; 62cda13dd1SPaul Gortmaker reg = <0x200 0x100>; 6374c37e8cSTimur Tabi }; 6474c37e8cSTimur Tabi 6574c37e8cSTimur Tabi i2c@3000 { 66ec9686c4SKumar Gala #address-cells = <1>; 67ec9686c4SKumar Gala #size-cells = <0>; 68ec9686c4SKumar Gala cell-index = <0>; 6974c37e8cSTimur Tabi compatible = "fsl-i2c"; 70cda13dd1SPaul Gortmaker reg = <0x3000 0x100>; 71cda13dd1SPaul Gortmaker interrupts = <14 0x8>; 72d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 7374c37e8cSTimur Tabi dfsrr; 7474c37e8cSTimur Tabi }; 7574c37e8cSTimur Tabi 7674c37e8cSTimur Tabi i2c@3100 { 77ec9686c4SKumar Gala #address-cells = <1>; 78ec9686c4SKumar Gala #size-cells = <0>; 79ec9686c4SKumar Gala cell-index = <1>; 8074c37e8cSTimur Tabi compatible = "fsl-i2c"; 81cda13dd1SPaul Gortmaker reg = <0x3100 0x100>; 82cda13dd1SPaul Gortmaker interrupts = <15 0x8>; 83d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 8474c37e8cSTimur Tabi dfsrr; 8574c37e8cSTimur Tabi }; 8674c37e8cSTimur Tabi 8774c37e8cSTimur Tabi spi@7000 { 88f3a2b29dSAnton Vorontsov cell-index = <0>; 89f3a2b29dSAnton Vorontsov compatible = "fsl,spi"; 90cda13dd1SPaul Gortmaker reg = <0x7000 0x1000>; 91cda13dd1SPaul Gortmaker interrupts = <16 0x8>; 92d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 9333799e33SPeter Korsgaard mode = "cpu"; 9474c37e8cSTimur Tabi }; 9574c37e8cSTimur Tabi 96dee80553SKumar Gala dma@82a8 { 97dee80553SKumar Gala #address-cells = <1>; 98dee80553SKumar Gala #size-cells = <1>; 99dee80553SKumar Gala compatible = "fsl,mpc8349-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,mpc8349-dma-channel", "fsl,elo-dma-channel"; 107dee80553SKumar Gala reg = <0 0x80>; 108dee80553SKumar Gala interrupt-parent = <&ipic>; 109dee80553SKumar Gala interrupts = <71 8>; 110dee80553SKumar Gala }; 111dee80553SKumar Gala dma-channel@80 { 112dee80553SKumar Gala compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel"; 113dee80553SKumar Gala reg = <0x80 0x80>; 114dee80553SKumar Gala interrupt-parent = <&ipic>; 115dee80553SKumar Gala interrupts = <71 8>; 116dee80553SKumar Gala }; 117dee80553SKumar Gala dma-channel@100 { 118dee80553SKumar Gala compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel"; 119dee80553SKumar Gala reg = <0x100 0x80>; 120dee80553SKumar Gala interrupt-parent = <&ipic>; 121dee80553SKumar Gala interrupts = <71 8>; 122dee80553SKumar Gala }; 123dee80553SKumar Gala dma-channel@180 { 124dee80553SKumar Gala compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel"; 125dee80553SKumar Gala reg = <0x180 0x28>; 126dee80553SKumar Gala interrupt-parent = <&ipic>; 127dee80553SKumar Gala interrupts = <71 8>; 128dee80553SKumar Gala }; 129dee80553SKumar Gala }; 130dee80553SKumar Gala 13174c37e8cSTimur Tabi usb@22000 { 13274c37e8cSTimur Tabi compatible = "fsl-usb2-mph"; 133cda13dd1SPaul Gortmaker reg = <0x22000 0x1000>; 13474c37e8cSTimur Tabi #address-cells = <1>; 13574c37e8cSTimur Tabi #size-cells = <0>; 136d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 137cda13dd1SPaul Gortmaker interrupts = <39 0x8>; 13874c37e8cSTimur Tabi phy_type = "ulpi"; 13974c37e8cSTimur Tabi port1; 14074c37e8cSTimur Tabi }; 14174c37e8cSTimur Tabi 14274c37e8cSTimur Tabi usb@23000 { 14374c37e8cSTimur Tabi compatible = "fsl-usb2-dr"; 144cda13dd1SPaul Gortmaker reg = <0x23000 0x1000>; 14574c37e8cSTimur Tabi #address-cells = <1>; 14674c37e8cSTimur Tabi #size-cells = <0>; 147d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 148cda13dd1SPaul Gortmaker interrupts = <38 0x8>; 149f93c7c5aSjacmet@sunsite.dk dr_mode = "peripheral"; 15074c37e8cSTimur Tabi phy_type = "ulpi"; 15174c37e8cSTimur Tabi }; 15274c37e8cSTimur Tabi 15374c37e8cSTimur Tabi mdio@24520 { 15474c37e8cSTimur Tabi #address-cells = <1>; 15574c37e8cSTimur Tabi #size-cells = <0>; 156e77b28ebSKumar Gala compatible = "fsl,gianfar-mdio"; 157cda13dd1SPaul Gortmaker reg = <0x24520 0x20>; 15874c37e8cSTimur Tabi 15974c37e8cSTimur Tabi /* Vitesse 8201 */ 160d71a1dc6SKumar Gala phy1c: ethernet-phy@1c { 161d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 162cda13dd1SPaul Gortmaker interrupts = <18 0x8>; 163cda13dd1SPaul Gortmaker reg = <0x1c>; 16474c37e8cSTimur Tabi device_type = "ethernet-phy"; 16574c37e8cSTimur Tabi }; 16674c37e8cSTimur Tabi }; 16774c37e8cSTimur Tabi 168e77b28ebSKumar Gala enet0: ethernet@24000 { 169e77b28ebSKumar Gala cell-index = <0>; 17074c37e8cSTimur Tabi device_type = "network"; 17174c37e8cSTimur Tabi model = "TSEC"; 17274c37e8cSTimur Tabi compatible = "gianfar"; 173cda13dd1SPaul Gortmaker reg = <0x24000 0x1000>; 17474c37e8cSTimur 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>; 17974c37e8cSTimur Tabi }; 18074c37e8cSTimur Tabi 181e77b28ebSKumar Gala enet1: ethernet@25000 { 182e77b28ebSKumar Gala cell-index = <1>; 18374c37e8cSTimur Tabi device_type = "network"; 18474c37e8cSTimur Tabi model = "TSEC"; 18574c37e8cSTimur Tabi compatible = "gianfar"; 186cda13dd1SPaul Gortmaker reg = <0x25000 0x1000>; 18774c37e8cSTimur Tabi local-mac-address = [ 00 00 00 00 00 00 ]; 188cda13dd1SPaul Gortmaker interrupts = <35 0x8 36 0x8 37 0x8>; 189d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 190e3000765SVitaly Bordug /* Vitesse 7385 isn't on the MDIO bus */ 191cda13dd1SPaul Gortmaker fixed-link = <1 1 1000 0 0>; 192ad25a4ccSGrant Likely linux,network-index = <1>; 19374c37e8cSTimur Tabi }; 19474c37e8cSTimur Tabi 195ea082fa9SKumar Gala serial0: serial@4500 { 196ea082fa9SKumar Gala cell-index = <0>; 19774c37e8cSTimur Tabi device_type = "serial"; 19874c37e8cSTimur Tabi compatible = "ns16550"; 199cda13dd1SPaul Gortmaker reg = <0x4500 0x100>; 20074c37e8cSTimur Tabi clock-frequency = <0>; // from bootloader 201cda13dd1SPaul Gortmaker interrupts = <9 0x8>; 202d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 20374c37e8cSTimur Tabi }; 20474c37e8cSTimur Tabi 205ea082fa9SKumar Gala serial1: serial@4600 { 206ea082fa9SKumar Gala cell-index = <1>; 20774c37e8cSTimur Tabi device_type = "serial"; 20874c37e8cSTimur Tabi compatible = "ns16550"; 209cda13dd1SPaul Gortmaker reg = <0x4600 0x100>; 21074c37e8cSTimur Tabi clock-frequency = <0>; // from bootloader 211cda13dd1SPaul Gortmaker interrupts = <10 0x8>; 212d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 21374c37e8cSTimur Tabi }; 21474c37e8cSTimur Tabi 21574c37e8cSTimur Tabi crypto@30000 { 21674c37e8cSTimur Tabi device_type = "crypto"; 21774c37e8cSTimur Tabi model = "SEC2"; 21874c37e8cSTimur Tabi compatible = "talitos"; 219cda13dd1SPaul Gortmaker reg = <0x30000 0x10000>; 220cda13dd1SPaul Gortmaker interrupts = <11 0x8>; 221d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 22274c37e8cSTimur Tabi num-channels = <4>; 223cda13dd1SPaul Gortmaker channel-fifo-len = <24>; 224cda13dd1SPaul Gortmaker exec-units-mask = <0x0000007e>; 225cda13dd1SPaul Gortmaker descriptor-types-mask = <0x01010ebf>; 22674c37e8cSTimur Tabi }; 22774c37e8cSTimur Tabi 228d71a1dc6SKumar Gala ipic: pic@700 { 22974c37e8cSTimur Tabi interrupt-controller; 23074c37e8cSTimur Tabi #address-cells = <0>; 23174c37e8cSTimur Tabi #interrupt-cells = <2>; 232cda13dd1SPaul Gortmaker reg = <0x700 0x100>; 23374c37e8cSTimur Tabi device_type = "ipic"; 23474c37e8cSTimur Tabi }; 23574c37e8cSTimur Tabi }; 2361b3c5cdaSKumar Gala 237ea082fa9SKumar Gala pci0: pci@e0008500 { 238ea082fa9SKumar Gala cell-index = <1>; 239cda13dd1SPaul Gortmaker interrupt-map-mask = <0xf800 0x0 0x0 0x7>; 2401b3c5cdaSKumar Gala interrupt-map = < 2411b3c5cdaSKumar Gala /* IDSEL 0x10 - SATA */ 242cda13dd1SPaul Gortmaker 0x8000 0x0 0x0 0x1 &ipic 22 0x8 /* SATA_INTA */ 2431b3c5cdaSKumar Gala >; 2441b3c5cdaSKumar Gala interrupt-parent = <&ipic>; 245cda13dd1SPaul Gortmaker interrupts = <66 0x8>; 246cda13dd1SPaul Gortmaker bus-range = <0x0 0x0>; 247cda13dd1SPaul Gortmaker ranges = <0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000 248cda13dd1SPaul Gortmaker 0x02000000 0x0 0x90000000 0x90000000 0x0 0x10000000 249cda13dd1SPaul Gortmaker 0x01000000 0x0 0x00000000 0xe2000000 0x0 0x01000000>; 250cda13dd1SPaul Gortmaker clock-frequency = <66666666>; 2511b3c5cdaSKumar Gala #interrupt-cells = <1>; 2521b3c5cdaSKumar Gala #size-cells = <2>; 2531b3c5cdaSKumar Gala #address-cells = <3>; 254cda13dd1SPaul Gortmaker reg = <0xe0008500 0x100>; 2551b3c5cdaSKumar Gala compatible = "fsl,mpc8349-pci"; 2561b3c5cdaSKumar Gala device_type = "pci"; 2571b3c5cdaSKumar Gala }; 2581b3c5cdaSKumar Gala 259ea082fa9SKumar Gala pci1: pci@e0008600 { 260ea082fa9SKumar Gala cell-index = <2>; 261cda13dd1SPaul Gortmaker interrupt-map-mask = <0xf800 0x0 0x0 0x7>; 2621b3c5cdaSKumar Gala interrupt-map = < 2631b3c5cdaSKumar Gala /* IDSEL 0x0E - MiniPCI Slot */ 264cda13dd1SPaul Gortmaker 0x7000 0x0 0x0 0x1 &ipic 21 0x8 /* PCI_INTA */ 2651b3c5cdaSKumar Gala 2661b3c5cdaSKumar Gala /* IDSEL 0x0F - PCI Slot */ 267cda13dd1SPaul Gortmaker 0x7800 0x0 0x0 0x1 &ipic 20 0x8 /* PCI_INTA */ 268cda13dd1SPaul Gortmaker 0x7800 0x0 0x0 0x2 &ipic 21 0x8 /* PCI_INTB */ 2691b3c5cdaSKumar Gala >; 2701b3c5cdaSKumar Gala interrupt-parent = <&ipic>; 271cda13dd1SPaul Gortmaker interrupts = <67 0x8>; 272cda13dd1SPaul Gortmaker bus-range = <0x0 0x0>; 273cda13dd1SPaul Gortmaker ranges = <0x42000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000 274cda13dd1SPaul Gortmaker 0x02000000 0x0 0xb0000000 0xb0000000 0x0 0x10000000 275cda13dd1SPaul Gortmaker 0x01000000 0x0 0x00000000 0xe3000000 0x0 0x01000000>; 276cda13dd1SPaul Gortmaker clock-frequency = <66666666>; 2771b3c5cdaSKumar Gala #interrupt-cells = <1>; 2781b3c5cdaSKumar Gala #size-cells = <2>; 2791b3c5cdaSKumar Gala #address-cells = <3>; 280cda13dd1SPaul Gortmaker reg = <0xe0008600 0x100>; 2811b3c5cdaSKumar Gala compatible = "fsl,mpc8349-pci"; 2821b3c5cdaSKumar Gala device_type = "pci"; 2831b3c5cdaSKumar Gala }; 2841b3c5cdaSKumar Gala 2859b6d19ddSAnton Vorontsov localbus@e0005000 { 2869b6d19ddSAnton Vorontsov #address-cells = <2>; 2879b6d19ddSAnton Vorontsov #size-cells = <1>; 2889b6d19ddSAnton Vorontsov compatible = "fsl,mpc8349e-localbus", 2899b6d19ddSAnton Vorontsov "fsl,pq2pro-localbus"; 290cda13dd1SPaul Gortmaker reg = <0xe0005000 0xd8>; 291cda13dd1SPaul Gortmaker ranges = <0x3 0x0 0xf0000000 0x210>; 2921b3c5cdaSKumar Gala 2939b6d19ddSAnton Vorontsov pata@3,0 { 2949b6d19ddSAnton Vorontsov compatible = "fsl,mpc8349emitx-pata", "ata-generic"; 295cda13dd1SPaul Gortmaker reg = <0x3 0x0 0x10 0x3 0x20c 0x4>; 2969b6d19ddSAnton Vorontsov reg-shift = <1>; 2979b6d19ddSAnton Vorontsov pio-mode = <6>; 298cda13dd1SPaul Gortmaker interrupts = <23 0x8>; 2999b6d19ddSAnton Vorontsov interrupt-parent = <&ipic>; 3009b6d19ddSAnton Vorontsov }; 3019b6d19ddSAnton Vorontsov }; 30274c37e8cSTimur Tabi}; 303