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 */ 1174c37e8cSTimur Tabi/ { 1274c37e8cSTimur Tabi model = "MPC8349EMITX"; 13d71a1dc6SKumar Gala compatible = "MPC8349EMITX", "MPC834xMITX", "MPC83xxMITX"; 1474c37e8cSTimur Tabi #address-cells = <1>; 1574c37e8cSTimur Tabi #size-cells = <1>; 1674c37e8cSTimur Tabi 17ea082fa9SKumar Gala aliases { 18ea082fa9SKumar Gala ethernet0 = &enet0; 19ea082fa9SKumar Gala ethernet1 = &enet1; 20ea082fa9SKumar Gala serial0 = &serial0; 21ea082fa9SKumar Gala serial1 = &serial1; 22ea082fa9SKumar Gala pci0 = &pci0; 23ea082fa9SKumar Gala pci1 = &pci1; 24ea082fa9SKumar Gala }; 25ea082fa9SKumar Gala 2674c37e8cSTimur Tabi cpus { 2774c37e8cSTimur Tabi #address-cells = <1>; 2874c37e8cSTimur Tabi #size-cells = <0>; 2974c37e8cSTimur Tabi 3074c37e8cSTimur Tabi PowerPC,8349@0 { 3174c37e8cSTimur Tabi device_type = "cpu"; 3274c37e8cSTimur Tabi reg = <0>; 3374c37e8cSTimur Tabi d-cache-line-size = <20>; 3474c37e8cSTimur Tabi i-cache-line-size = <20>; 3574c37e8cSTimur Tabi d-cache-size = <8000>; 3674c37e8cSTimur Tabi i-cache-size = <8000>; 3774c37e8cSTimur Tabi timebase-frequency = <0>; // from bootloader 3874c37e8cSTimur Tabi bus-frequency = <0>; // from bootloader 3974c37e8cSTimur Tabi clock-frequency = <0>; // from bootloader 4074c37e8cSTimur Tabi }; 4174c37e8cSTimur Tabi }; 4274c37e8cSTimur Tabi 4374c37e8cSTimur Tabi memory { 4474c37e8cSTimur Tabi device_type = "memory"; 4574c37e8cSTimur Tabi reg = <00000000 10000000>; 4674c37e8cSTimur Tabi }; 4774c37e8cSTimur Tabi 4874c37e8cSTimur Tabi soc8349@e0000000 { 4974c37e8cSTimur Tabi #address-cells = <1>; 5074c37e8cSTimur Tabi #size-cells = <1>; 5174c37e8cSTimur Tabi device_type = "soc"; 5274c37e8cSTimur Tabi ranges = <0 e0000000 00100000>; 5374c37e8cSTimur Tabi reg = <e0000000 00000200>; 5474c37e8cSTimur Tabi bus-frequency = <0>; // from bootloader 5574c37e8cSTimur Tabi 5674c37e8cSTimur Tabi wdt@200 { 5774c37e8cSTimur Tabi device_type = "watchdog"; 5874c37e8cSTimur Tabi compatible = "mpc83xx_wdt"; 5974c37e8cSTimur Tabi reg = <200 100>; 6074c37e8cSTimur Tabi }; 6174c37e8cSTimur Tabi 6274c37e8cSTimur Tabi i2c@3000 { 63ec9686c4SKumar Gala #address-cells = <1>; 64ec9686c4SKumar Gala #size-cells = <0>; 65ec9686c4SKumar Gala cell-index = <0>; 6674c37e8cSTimur Tabi compatible = "fsl-i2c"; 6774c37e8cSTimur Tabi reg = <3000 100>; 6874c37e8cSTimur Tabi interrupts = <e 8>; 69d71a1dc6SKumar Gala interrupt-parent = < &ipic >; 7074c37e8cSTimur Tabi dfsrr; 7174c37e8cSTimur Tabi }; 7274c37e8cSTimur Tabi 7374c37e8cSTimur Tabi i2c@3100 { 74ec9686c4SKumar Gala #address-cells = <1>; 75ec9686c4SKumar Gala #size-cells = <0>; 76ec9686c4SKumar Gala cell-index = <1>; 7774c37e8cSTimur Tabi compatible = "fsl-i2c"; 7874c37e8cSTimur Tabi reg = <3100 100>; 7974c37e8cSTimur Tabi interrupts = <f 8>; 80d71a1dc6SKumar Gala interrupt-parent = < &ipic >; 8174c37e8cSTimur Tabi dfsrr; 8274c37e8cSTimur Tabi }; 8374c37e8cSTimur Tabi 8474c37e8cSTimur Tabi spi@7000 { 8574c37e8cSTimur Tabi device_type = "spi"; 8633799e33SPeter Korsgaard compatible = "fsl_spi"; 8774c37e8cSTimur Tabi reg = <7000 1000>; 8874c37e8cSTimur Tabi interrupts = <10 8>; 89d71a1dc6SKumar Gala interrupt-parent = < &ipic >; 9033799e33SPeter Korsgaard mode = "cpu"; 9174c37e8cSTimur Tabi }; 9274c37e8cSTimur Tabi 9374c37e8cSTimur Tabi usb@22000 { 9474c37e8cSTimur Tabi compatible = "fsl-usb2-mph"; 9574c37e8cSTimur Tabi reg = <22000 1000>; 9674c37e8cSTimur Tabi #address-cells = <1>; 9774c37e8cSTimur Tabi #size-cells = <0>; 98d71a1dc6SKumar Gala interrupt-parent = < &ipic >; 99d71a1dc6SKumar Gala interrupts = <27 8>; 10074c37e8cSTimur Tabi phy_type = "ulpi"; 10174c37e8cSTimur Tabi port1; 10274c37e8cSTimur Tabi }; 10374c37e8cSTimur Tabi 10474c37e8cSTimur Tabi usb@23000 { 10574c37e8cSTimur Tabi compatible = "fsl-usb2-dr"; 10674c37e8cSTimur Tabi reg = <23000 1000>; 10774c37e8cSTimur Tabi #address-cells = <1>; 10874c37e8cSTimur Tabi #size-cells = <0>; 109d71a1dc6SKumar Gala interrupt-parent = < &ipic >; 110d71a1dc6SKumar Gala interrupts = <26 8>; 111f93c7c5aSjacmet@sunsite.dk dr_mode = "peripheral"; 11274c37e8cSTimur Tabi phy_type = "ulpi"; 11374c37e8cSTimur Tabi }; 11474c37e8cSTimur Tabi 11574c37e8cSTimur Tabi mdio@24520 { 11674c37e8cSTimur Tabi #address-cells = <1>; 11774c37e8cSTimur Tabi #size-cells = <0>; 118e77b28ebSKumar Gala compatible = "fsl,gianfar-mdio"; 119e77b28ebSKumar Gala reg = <24520 20>; 12074c37e8cSTimur Tabi 12174c37e8cSTimur Tabi /* Vitesse 8201 */ 122d71a1dc6SKumar Gala phy1c: ethernet-phy@1c { 123d71a1dc6SKumar Gala interrupt-parent = < &ipic >; 124d71a1dc6SKumar Gala interrupts = <12 8>; 12574c37e8cSTimur Tabi reg = <1c>; 12674c37e8cSTimur Tabi device_type = "ethernet-phy"; 12774c37e8cSTimur Tabi }; 12874c37e8cSTimur Tabi }; 12974c37e8cSTimur Tabi 130e77b28ebSKumar Gala enet0: ethernet@24000 { 131e77b28ebSKumar Gala cell-index = <0>; 13274c37e8cSTimur Tabi device_type = "network"; 13374c37e8cSTimur Tabi model = "TSEC"; 13474c37e8cSTimur Tabi compatible = "gianfar"; 13574c37e8cSTimur Tabi reg = <24000 1000>; 13674c37e8cSTimur Tabi local-mac-address = [ 00 00 00 00 00 00 ]; 13774c37e8cSTimur Tabi interrupts = <20 8 21 8 22 8>; 138d71a1dc6SKumar Gala interrupt-parent = < &ipic >; 139d71a1dc6SKumar Gala phy-handle = < &phy1c >; 140ad25a4ccSGrant Likely linux,network-index = <0>; 14174c37e8cSTimur Tabi }; 14274c37e8cSTimur Tabi 143e77b28ebSKumar Gala enet1: ethernet@25000 { 144e77b28ebSKumar Gala cell-index = <1>; 14574c37e8cSTimur Tabi device_type = "network"; 14674c37e8cSTimur Tabi model = "TSEC"; 14774c37e8cSTimur Tabi compatible = "gianfar"; 14874c37e8cSTimur Tabi reg = <25000 1000>; 14974c37e8cSTimur Tabi local-mac-address = [ 00 00 00 00 00 00 ]; 15074c37e8cSTimur Tabi interrupts = <23 8 24 8 25 8>; 151d71a1dc6SKumar Gala interrupt-parent = < &ipic >; 152*e3000765SVitaly Bordug /* Vitesse 7385 isn't on the MDIO bus */ 153*e3000765SVitaly Bordug fixed-link = <1 1 d#1000 0 0>; 154ad25a4ccSGrant Likely linux,network-index = <1>; 15574c37e8cSTimur Tabi }; 15674c37e8cSTimur Tabi 157ea082fa9SKumar Gala serial0: serial@4500 { 158ea082fa9SKumar Gala cell-index = <0>; 15974c37e8cSTimur Tabi device_type = "serial"; 16074c37e8cSTimur Tabi compatible = "ns16550"; 16174c37e8cSTimur Tabi reg = <4500 100>; 16274c37e8cSTimur Tabi clock-frequency = <0>; // from bootloader 16374c37e8cSTimur Tabi interrupts = <9 8>; 164d71a1dc6SKumar Gala interrupt-parent = < &ipic >; 16574c37e8cSTimur Tabi }; 16674c37e8cSTimur Tabi 167ea082fa9SKumar Gala serial1: serial@4600 { 168ea082fa9SKumar Gala cell-index = <1>; 16974c37e8cSTimur Tabi device_type = "serial"; 17074c37e8cSTimur Tabi compatible = "ns16550"; 17174c37e8cSTimur Tabi reg = <4600 100>; 17274c37e8cSTimur Tabi clock-frequency = <0>; // from bootloader 17374c37e8cSTimur Tabi interrupts = <a 8>; 174d71a1dc6SKumar Gala interrupt-parent = < &ipic >; 17574c37e8cSTimur Tabi }; 17674c37e8cSTimur Tabi 17774c37e8cSTimur Tabi crypto@30000 { 17874c37e8cSTimur Tabi device_type = "crypto"; 17974c37e8cSTimur Tabi model = "SEC2"; 18074c37e8cSTimur Tabi compatible = "talitos"; 18174c37e8cSTimur Tabi reg = <30000 10000>; 18274c37e8cSTimur Tabi interrupts = <b 8>; 183d71a1dc6SKumar Gala interrupt-parent = < &ipic >; 18474c37e8cSTimur Tabi num-channels = <4>; 18574c37e8cSTimur Tabi channel-fifo-len = <18>; 18674c37e8cSTimur Tabi exec-units-mask = <0000007e>; 18774c37e8cSTimur Tabi descriptor-types-mask = <01010ebf>; 18874c37e8cSTimur Tabi }; 18974c37e8cSTimur Tabi 190d71a1dc6SKumar Gala ipic: pic@700 { 19174c37e8cSTimur Tabi interrupt-controller; 19274c37e8cSTimur Tabi #address-cells = <0>; 19374c37e8cSTimur Tabi #interrupt-cells = <2>; 19474c37e8cSTimur Tabi reg = <700 100>; 19574c37e8cSTimur Tabi device_type = "ipic"; 19674c37e8cSTimur Tabi }; 19774c37e8cSTimur Tabi }; 1981b3c5cdaSKumar Gala 199ea082fa9SKumar Gala pci0: pci@e0008500 { 200ea082fa9SKumar Gala cell-index = <1>; 2011b3c5cdaSKumar Gala interrupt-map-mask = <f800 0 0 7>; 2021b3c5cdaSKumar Gala interrupt-map = < 2031b3c5cdaSKumar Gala /* IDSEL 0x10 - SATA */ 2041b3c5cdaSKumar Gala 8000 0 0 1 &ipic 16 8 /* SATA_INTA */ 2051b3c5cdaSKumar Gala >; 2061b3c5cdaSKumar Gala interrupt-parent = < &ipic >; 2071b3c5cdaSKumar Gala interrupts = <42 8>; 2081b3c5cdaSKumar Gala bus-range = <0 0>; 2091b3c5cdaSKumar Gala ranges = <42000000 0 80000000 80000000 0 10000000 2101b3c5cdaSKumar Gala 02000000 0 90000000 90000000 0 10000000 2111b3c5cdaSKumar Gala 01000000 0 00000000 e2000000 0 01000000>; 2121b3c5cdaSKumar Gala clock-frequency = <3f940aa>; 2131b3c5cdaSKumar Gala #interrupt-cells = <1>; 2141b3c5cdaSKumar Gala #size-cells = <2>; 2151b3c5cdaSKumar Gala #address-cells = <3>; 2161b3c5cdaSKumar Gala reg = <e0008500 100>; 2171b3c5cdaSKumar Gala compatible = "fsl,mpc8349-pci"; 2181b3c5cdaSKumar Gala device_type = "pci"; 2191b3c5cdaSKumar Gala }; 2201b3c5cdaSKumar Gala 221ea082fa9SKumar Gala pci1: pci@e0008600 { 222ea082fa9SKumar Gala cell-index = <2>; 2231b3c5cdaSKumar Gala interrupt-map-mask = <f800 0 0 7>; 2241b3c5cdaSKumar Gala interrupt-map = < 2251b3c5cdaSKumar Gala /* IDSEL 0x0E - MiniPCI Slot */ 2261b3c5cdaSKumar Gala 7000 0 0 1 &ipic 15 8 /* PCI_INTA */ 2271b3c5cdaSKumar Gala 2281b3c5cdaSKumar Gala /* IDSEL 0x0F - PCI Slot */ 2291b3c5cdaSKumar Gala 7800 0 0 1 &ipic 14 8 /* PCI_INTA */ 2301b3c5cdaSKumar Gala 7800 0 0 2 &ipic 15 8 /* PCI_INTB */ 2311b3c5cdaSKumar Gala >; 2321b3c5cdaSKumar Gala interrupt-parent = < &ipic >; 2331b3c5cdaSKumar Gala interrupts = <43 8>; 2341b3c5cdaSKumar Gala bus-range = <0 0>; 2351b3c5cdaSKumar Gala ranges = <42000000 0 a0000000 a0000000 0 10000000 2361b3c5cdaSKumar Gala 02000000 0 b0000000 b0000000 0 10000000 2371b3c5cdaSKumar Gala 01000000 0 00000000 e3000000 0 01000000>; 2381b3c5cdaSKumar Gala clock-frequency = <3f940aa>; 2391b3c5cdaSKumar Gala #interrupt-cells = <1>; 2401b3c5cdaSKumar Gala #size-cells = <2>; 2411b3c5cdaSKumar Gala #address-cells = <3>; 2421b3c5cdaSKumar Gala reg = <e0008600 100>; 2431b3c5cdaSKumar Gala compatible = "fsl,mpc8349-pci"; 2441b3c5cdaSKumar Gala device_type = "pci"; 2451b3c5cdaSKumar Gala }; 2461b3c5cdaSKumar Gala 2479b6d19ddSAnton Vorontsov localbus@e0005000 { 2489b6d19ddSAnton Vorontsov #address-cells = <2>; 2499b6d19ddSAnton Vorontsov #size-cells = <1>; 2509b6d19ddSAnton Vorontsov compatible = "fsl,mpc8349e-localbus", 2519b6d19ddSAnton Vorontsov "fsl,pq2pro-localbus"; 2529b6d19ddSAnton Vorontsov reg = <e0005000 d8>; 2539b6d19ddSAnton Vorontsov ranges = <3 0 f0000000 210>; 2541b3c5cdaSKumar Gala 2559b6d19ddSAnton Vorontsov pata@3,0 { 2569b6d19ddSAnton Vorontsov compatible = "fsl,mpc8349emitx-pata", "ata-generic"; 2579b6d19ddSAnton Vorontsov reg = <3 0 10 3 20c 4>; 2589b6d19ddSAnton Vorontsov reg-shift = <1>; 2599b6d19ddSAnton Vorontsov pio-mode = <6>; 2609b6d19ddSAnton Vorontsov interrupts = <17 8>; 2619b6d19ddSAnton Vorontsov interrupt-parent = <&ipic>; 2629b6d19ddSAnton Vorontsov }; 2639b6d19ddSAnton Vorontsov }; 26474c37e8cSTimur Tabi}; 265