1*2874c5fdSThomas Gleixner// SPDX-License-Identifier: GPL-2.0-or-later 28c4a013dSTimur Tabi/* 38c4a013dSTimur Tabi * MPC8349E-mITX-GP Device Tree Source 48c4a013dSTimur Tabi * 58c4a013dSTimur Tabi * Copyright 2007 Freescale Semiconductor Inc. 68c4a013dSTimur Tabi */ 7cda13dd1SPaul Gortmaker 8cda13dd1SPaul Gortmaker/dts-v1/; 9cda13dd1SPaul Gortmaker 108c4a013dSTimur Tabi/ { 118c4a013dSTimur Tabi model = "MPC8349EMITXGP"; 12d71a1dc6SKumar Gala compatible = "MPC8349EMITXGP", "MPC834xMITX", "MPC83xxMITX"; 138c4a013dSTimur Tabi #address-cells = <1>; 148c4a013dSTimur Tabi #size-cells = <1>; 158c4a013dSTimur Tabi 16ea082fa9SKumar Gala aliases { 17ea082fa9SKumar Gala ethernet0 = &enet0; 18ea082fa9SKumar Gala serial0 = &serial0; 19ea082fa9SKumar Gala serial1 = &serial1; 20ea082fa9SKumar Gala pci0 = &pci0; 21ea082fa9SKumar Gala }; 22ea082fa9SKumar Gala 238c4a013dSTimur Tabi cpus { 248c4a013dSTimur Tabi #address-cells = <1>; 258c4a013dSTimur Tabi #size-cells = <0>; 268c4a013dSTimur Tabi 278c4a013dSTimur Tabi PowerPC,8349@0 { 288c4a013dSTimur Tabi device_type = "cpu"; 29cda13dd1SPaul Gortmaker reg = <0x0>; 30cda13dd1SPaul Gortmaker d-cache-line-size = <32>; 31cda13dd1SPaul Gortmaker i-cache-line-size = <32>; 32cda13dd1SPaul Gortmaker d-cache-size = <32768>; 33cda13dd1SPaul Gortmaker i-cache-size = <32768>; 348c4a013dSTimur Tabi timebase-frequency = <0>; // from bootloader 358c4a013dSTimur Tabi bus-frequency = <0>; // from bootloader 368c4a013dSTimur Tabi clock-frequency = <0>; // from bootloader 378c4a013dSTimur Tabi }; 388c4a013dSTimur Tabi }; 398c4a013dSTimur Tabi 408c4a013dSTimur Tabi memory { 418c4a013dSTimur Tabi device_type = "memory"; 42cda13dd1SPaul Gortmaker reg = <0x00000000 0x10000000>; 438c4a013dSTimur Tabi }; 448c4a013dSTimur Tabi 458c4a013dSTimur Tabi soc8349@e0000000 { 468c4a013dSTimur Tabi #address-cells = <1>; 478c4a013dSTimur Tabi #size-cells = <1>; 488c4a013dSTimur Tabi device_type = "soc"; 49cf0d19fbSKim Phillips compatible = "simple-bus"; 50cda13dd1SPaul Gortmaker ranges = <0x0 0xe0000000 0x00100000>; 51cda13dd1SPaul Gortmaker reg = <0xe0000000 0x00000200>; 528c4a013dSTimur Tabi bus-frequency = <0>; // from bootloader 538c4a013dSTimur Tabi 548c4a013dSTimur Tabi wdt@200 { 558c4a013dSTimur Tabi device_type = "watchdog"; 568c4a013dSTimur Tabi compatible = "mpc83xx_wdt"; 57cda13dd1SPaul Gortmaker reg = <0x200 0x100>; 588c4a013dSTimur Tabi }; 598c4a013dSTimur Tabi 608c4a013dSTimur Tabi i2c@3000 { 61ec9686c4SKumar Gala #address-cells = <1>; 62ec9686c4SKumar Gala #size-cells = <0>; 63ec9686c4SKumar Gala cell-index = <0>; 648c4a013dSTimur Tabi compatible = "fsl-i2c"; 65cda13dd1SPaul Gortmaker reg = <0x3000 0x100>; 66cda13dd1SPaul Gortmaker interrupts = <14 0x8>; 67d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 688c4a013dSTimur Tabi dfsrr; 698c4a013dSTimur Tabi }; 708c4a013dSTimur Tabi 718c4a013dSTimur Tabi i2c@3100 { 72ec9686c4SKumar Gala #address-cells = <1>; 73ec9686c4SKumar Gala #size-cells = <0>; 74ec9686c4SKumar Gala cell-index = <1>; 758c4a013dSTimur Tabi compatible = "fsl-i2c"; 76cda13dd1SPaul Gortmaker reg = <0x3100 0x100>; 77cda13dd1SPaul Gortmaker interrupts = <15 0x8>; 78d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 798c4a013dSTimur Tabi dfsrr; 80672e806eSAnton Vorontsov 81672e806eSAnton Vorontsov rtc@68 { 82672e806eSAnton Vorontsov compatible = "dallas,ds1339"; 83672e806eSAnton Vorontsov reg = <0x68>; 84672e806eSAnton Vorontsov interrupts = <18 0x8>; 85672e806eSAnton Vorontsov interrupt-parent = <&ipic>; 86672e806eSAnton Vorontsov }; 878c4a013dSTimur Tabi }; 888c4a013dSTimur Tabi 898c4a013dSTimur Tabi spi@7000 { 90f3a2b29dSAnton Vorontsov cell-index = <0>; 91f3a2b29dSAnton Vorontsov compatible = "fsl,spi"; 92cda13dd1SPaul Gortmaker reg = <0x7000 0x1000>; 93cda13dd1SPaul Gortmaker interrupts = <16 0x8>; 94d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 9533799e33SPeter Korsgaard mode = "cpu"; 968c4a013dSTimur Tabi }; 978c4a013dSTimur Tabi 98dee80553SKumar Gala dma@82a8 { 99dee80553SKumar Gala #address-cells = <1>; 100dee80553SKumar Gala #size-cells = <1>; 101dee80553SKumar Gala compatible = "fsl,mpc8349-dma", "fsl,elo-dma"; 102dee80553SKumar Gala reg = <0x82a8 4>; 103dee80553SKumar Gala ranges = <0 0x8100 0x1a8>; 104dee80553SKumar Gala interrupt-parent = <&ipic>; 105dee80553SKumar Gala interrupts = <71 8>; 106dee80553SKumar Gala cell-index = <0>; 107dee80553SKumar Gala dma-channel@0 { 108dee80553SKumar Gala compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel"; 109dee80553SKumar Gala reg = <0 0x80>; 110aeb42762SKumar Gala cell-index = <0>; 111dee80553SKumar Gala interrupt-parent = <&ipic>; 112dee80553SKumar Gala interrupts = <71 8>; 113dee80553SKumar Gala }; 114dee80553SKumar Gala dma-channel@80 { 115dee80553SKumar Gala compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel"; 116dee80553SKumar Gala reg = <0x80 0x80>; 117aeb42762SKumar Gala cell-index = <1>; 118dee80553SKumar Gala interrupt-parent = <&ipic>; 119dee80553SKumar Gala interrupts = <71 8>; 120dee80553SKumar Gala }; 121dee80553SKumar Gala dma-channel@100 { 122dee80553SKumar Gala compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel"; 123dee80553SKumar Gala reg = <0x100 0x80>; 124aeb42762SKumar Gala cell-index = <2>; 125dee80553SKumar Gala interrupt-parent = <&ipic>; 126dee80553SKumar Gala interrupts = <71 8>; 127dee80553SKumar Gala }; 128dee80553SKumar Gala dma-channel@180 { 129dee80553SKumar Gala compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel"; 130dee80553SKumar Gala reg = <0x180 0x28>; 131aeb42762SKumar Gala cell-index = <3>; 132dee80553SKumar Gala interrupt-parent = <&ipic>; 133dee80553SKumar Gala interrupts = <71 8>; 134dee80553SKumar Gala }; 135dee80553SKumar Gala }; 136dee80553SKumar Gala 1378c4a013dSTimur Tabi usb@23000 { 1388c4a013dSTimur Tabi compatible = "fsl-usb2-dr"; 139cda13dd1SPaul Gortmaker reg = <0x23000 0x1000>; 1408c4a013dSTimur Tabi #address-cells = <1>; 1418c4a013dSTimur Tabi #size-cells = <0>; 142d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 143cda13dd1SPaul Gortmaker interrupts = <38 0x8>; 1448c4a013dSTimur Tabi dr_mode = "otg"; 1458c4a013dSTimur Tabi phy_type = "ulpi"; 1468c4a013dSTimur Tabi }; 1478c4a013dSTimur Tabi 14870b3adbbSAnton Vorontsov enet0: ethernet@24000 { 14970b3adbbSAnton Vorontsov #address-cells = <1>; 15070b3adbbSAnton Vorontsov #size-cells = <1>; 15170b3adbbSAnton Vorontsov cell-index = <0>; 15270b3adbbSAnton Vorontsov device_type = "network"; 15370b3adbbSAnton Vorontsov model = "TSEC"; 15470b3adbbSAnton Vorontsov compatible = "gianfar"; 15570b3adbbSAnton Vorontsov reg = <0x24000 0x1000>; 15670b3adbbSAnton Vorontsov ranges = <0x0 0x24000 0x1000>; 15770b3adbbSAnton Vorontsov local-mac-address = [ 00 00 00 00 00 00 ]; 15870b3adbbSAnton Vorontsov interrupts = <32 0x8 33 0x8 34 0x8>; 15970b3adbbSAnton Vorontsov interrupt-parent = <&ipic>; 16070b3adbbSAnton Vorontsov tbi-handle = <&tbi0>; 16170b3adbbSAnton Vorontsov phy-handle = <&phy1c>; 16270b3adbbSAnton Vorontsov linux,network-index = <0>; 16370b3adbbSAnton Vorontsov 16470b3adbbSAnton Vorontsov mdio@520 { 1658c4a013dSTimur Tabi #address-cells = <1>; 1668c4a013dSTimur Tabi #size-cells = <0>; 167e77b28ebSKumar Gala compatible = "fsl,gianfar-mdio"; 16870b3adbbSAnton Vorontsov reg = <0x520 0x20>; 1698c4a013dSTimur Tabi 1708c4a013dSTimur Tabi /* Vitesse 8201 */ 171d71a1dc6SKumar Gala phy1c: ethernet-phy@1c { 172d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 173cda13dd1SPaul Gortmaker interrupts = <18 0x8>; 174cda13dd1SPaul Gortmaker reg = <0x1c>; 1758c4a013dSTimur Tabi }; 17670b3adbbSAnton Vorontsov 177b31a1d8bSAndy Fleming tbi0: tbi-phy@11 { 178b31a1d8bSAndy Fleming reg = <0x11>; 179b31a1d8bSAndy Fleming device_type = "tbi-phy"; 180b31a1d8bSAndy Fleming }; 1818c4a013dSTimur Tabi }; 1828c4a013dSTimur Tabi }; 1838c4a013dSTimur Tabi 184ea082fa9SKumar Gala serial0: serial@4500 { 185ea082fa9SKumar Gala cell-index = <0>; 1868c4a013dSTimur Tabi device_type = "serial"; 187f706bed1SKumar Gala compatible = "fsl,ns16550", "ns16550"; 188cda13dd1SPaul Gortmaker reg = <0x4500 0x100>; 1898c4a013dSTimur Tabi clock-frequency = <0>; // from bootloader 190cda13dd1SPaul Gortmaker interrupts = <9 0x8>; 191d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 1928c4a013dSTimur Tabi }; 1938c4a013dSTimur Tabi 194ea082fa9SKumar Gala serial1: serial@4600 { 195ea082fa9SKumar Gala cell-index = <1>; 1968c4a013dSTimur Tabi device_type = "serial"; 197f706bed1SKumar Gala compatible = "fsl,ns16550", "ns16550"; 198cda13dd1SPaul Gortmaker reg = <0x4600 0x100>; 1998c4a013dSTimur Tabi clock-frequency = <0>; // from bootloader 200cda13dd1SPaul Gortmaker interrupts = <10 0x8>; 201d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 2028c4a013dSTimur Tabi }; 2038c4a013dSTimur Tabi 2048c4a013dSTimur Tabi crypto@30000 { 2053fd44736SKim Phillips compatible = "fsl,sec2.0"; 206cda13dd1SPaul Gortmaker reg = <0x30000 0x10000>; 207cda13dd1SPaul Gortmaker interrupts = <11 0x8>; 208d71a1dc6SKumar Gala interrupt-parent = <&ipic>; 2093fd44736SKim Phillips fsl,num-channels = <4>; 2103fd44736SKim Phillips fsl,channel-fifo-len = <24>; 2113fd44736SKim Phillips fsl,exec-units-mask = <0x7e>; 2123fd44736SKim Phillips fsl,descriptor-types-mask = <0x01010ebf>; 2138c4a013dSTimur Tabi }; 2148c4a013dSTimur Tabi 215d71a1dc6SKumar Gala ipic: pic@700 { 2168c4a013dSTimur Tabi interrupt-controller; 2178c4a013dSTimur Tabi #address-cells = <0>; 2188c4a013dSTimur Tabi #interrupt-cells = <2>; 219cda13dd1SPaul Gortmaker reg = <0x700 0x100>; 2208c4a013dSTimur Tabi device_type = "ipic"; 2218c4a013dSTimur Tabi }; 2228c4a013dSTimur Tabi }; 2231b3c5cdaSKumar Gala 224ea082fa9SKumar Gala pci0: pci@e0008600 { 225cda13dd1SPaul Gortmaker interrupt-map-mask = <0xf800 0x0 0x0 0x7>; 2261b3c5cdaSKumar Gala interrupt-map = < 2271b3c5cdaSKumar Gala /* IDSEL 0x0F - PCI Slot */ 228cda13dd1SPaul Gortmaker 0x7800 0x0 0x0 0x1 &ipic 20 0x8 /* PCI_INTA */ 229cda13dd1SPaul Gortmaker 0x7800 0x0 0x0 0x2 &ipic 21 0x8 /* PCI_INTB */ 2301b3c5cdaSKumar Gala >; 2311b3c5cdaSKumar Gala interrupt-parent = <&ipic>; 232cda13dd1SPaul Gortmaker interrupts = <67 0x8>; 233cda13dd1SPaul Gortmaker bus-range = <0x1 0x1>; 234cda13dd1SPaul Gortmaker ranges = <0x42000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000 235cda13dd1SPaul Gortmaker 0x02000000 0x0 0xb0000000 0xb0000000 0x0 0x10000000 236cda13dd1SPaul Gortmaker 0x01000000 0x0 0x00000000 0xe3000000 0x0 0x01000000>; 237cda13dd1SPaul Gortmaker clock-frequency = <66666666>; 2381b3c5cdaSKumar Gala #interrupt-cells = <1>; 2391b3c5cdaSKumar Gala #size-cells = <2>; 2401b3c5cdaSKumar Gala #address-cells = <3>; 2415b70a097SJohn Rigby reg = <0xe0008600 0x100 /* internal registers */ 2425b70a097SJohn Rigby 0xe0008380 0x8>; /* config space access registers */ 2431b3c5cdaSKumar Gala compatible = "fsl,mpc8349-pci"; 2441b3c5cdaSKumar Gala device_type = "pci"; 2451b3c5cdaSKumar Gala }; 2468c4a013dSTimur Tabi}; 247