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"; 1374c37e8cSTimur Tabi compatible = "MPC834xMITX"; 1474c37e8cSTimur Tabi #address-cells = <1>; 1574c37e8cSTimur Tabi #size-cells = <1>; 1674c37e8cSTimur Tabi 1774c37e8cSTimur Tabi cpus { 1874c37e8cSTimur Tabi #cpus = <1>; 1974c37e8cSTimur Tabi #address-cells = <1>; 2074c37e8cSTimur Tabi #size-cells = <0>; 2174c37e8cSTimur Tabi 2274c37e8cSTimur Tabi PowerPC,8349@0 { 2374c37e8cSTimur Tabi device_type = "cpu"; 2474c37e8cSTimur Tabi reg = <0>; 2574c37e8cSTimur Tabi d-cache-line-size = <20>; 2674c37e8cSTimur Tabi i-cache-line-size = <20>; 2774c37e8cSTimur Tabi d-cache-size = <8000>; 2874c37e8cSTimur Tabi i-cache-size = <8000>; 2974c37e8cSTimur Tabi timebase-frequency = <0>; // from bootloader 3074c37e8cSTimur Tabi bus-frequency = <0>; // from bootloader 3174c37e8cSTimur Tabi clock-frequency = <0>; // from bootloader 3274c37e8cSTimur Tabi 32-bit; 3374c37e8cSTimur Tabi }; 3474c37e8cSTimur Tabi }; 3574c37e8cSTimur Tabi 3674c37e8cSTimur Tabi memory { 3774c37e8cSTimur Tabi device_type = "memory"; 3874c37e8cSTimur Tabi reg = <00000000 10000000>; 3974c37e8cSTimur Tabi }; 4074c37e8cSTimur Tabi 4174c37e8cSTimur Tabi soc8349@e0000000 { 4274c37e8cSTimur Tabi #address-cells = <1>; 4374c37e8cSTimur Tabi #size-cells = <1>; 4474c37e8cSTimur Tabi #interrupt-cells = <2>; 4574c37e8cSTimur Tabi device_type = "soc"; 4674c37e8cSTimur Tabi ranges = <0 e0000000 00100000>; 4774c37e8cSTimur Tabi reg = <e0000000 00000200>; 4874c37e8cSTimur Tabi bus-frequency = <0>; // from bootloader 4974c37e8cSTimur Tabi 5074c37e8cSTimur Tabi wdt@200 { 5174c37e8cSTimur Tabi device_type = "watchdog"; 5274c37e8cSTimur Tabi compatible = "mpc83xx_wdt"; 5374c37e8cSTimur Tabi reg = <200 100>; 5474c37e8cSTimur Tabi }; 5574c37e8cSTimur Tabi 5674c37e8cSTimur Tabi i2c@3000 { 5774c37e8cSTimur Tabi device_type = "i2c"; 5874c37e8cSTimur Tabi compatible = "fsl-i2c"; 5974c37e8cSTimur Tabi reg = <3000 100>; 6074c37e8cSTimur Tabi interrupts = <e 8>; 6174c37e8cSTimur Tabi interrupt-parent = <700>; 6274c37e8cSTimur Tabi dfsrr; 6374c37e8cSTimur Tabi }; 6474c37e8cSTimur Tabi 6574c37e8cSTimur Tabi i2c@3100 { 6674c37e8cSTimur Tabi device_type = "i2c"; 6774c37e8cSTimur Tabi compatible = "fsl-i2c"; 6874c37e8cSTimur Tabi reg = <3100 100>; 6974c37e8cSTimur Tabi interrupts = <f 8>; 7074c37e8cSTimur Tabi interrupt-parent = <700>; 7174c37e8cSTimur Tabi dfsrr; 7274c37e8cSTimur Tabi }; 7374c37e8cSTimur Tabi 7474c37e8cSTimur Tabi spi@7000 { 7574c37e8cSTimur Tabi device_type = "spi"; 7674c37e8cSTimur Tabi compatible = "mpc83xx_spi"; 7774c37e8cSTimur Tabi reg = <7000 1000>; 7874c37e8cSTimur Tabi interrupts = <10 8>; 7974c37e8cSTimur Tabi interrupt-parent = <700>; 8074c37e8cSTimur Tabi mode = <0>; 8174c37e8cSTimur Tabi }; 8274c37e8cSTimur Tabi 8374c37e8cSTimur Tabi usb@22000 { 8474c37e8cSTimur Tabi device_type = "usb"; 8574c37e8cSTimur Tabi compatible = "fsl-usb2-mph"; 8674c37e8cSTimur Tabi reg = <22000 1000>; 8774c37e8cSTimur Tabi #address-cells = <1>; 8874c37e8cSTimur Tabi #size-cells = <0>; 8974c37e8cSTimur Tabi interrupt-parent = <700>; 9074c37e8cSTimur Tabi interrupts = <27 2>; 9174c37e8cSTimur Tabi phy_type = "ulpi"; 9274c37e8cSTimur Tabi port1; 9374c37e8cSTimur Tabi }; 9474c37e8cSTimur Tabi 9574c37e8cSTimur Tabi usb@23000 { 9674c37e8cSTimur Tabi device_type = "usb"; 9774c37e8cSTimur Tabi compatible = "fsl-usb2-dr"; 9874c37e8cSTimur Tabi reg = <23000 1000>; 9974c37e8cSTimur Tabi #address-cells = <1>; 10074c37e8cSTimur Tabi #size-cells = <0>; 10174c37e8cSTimur Tabi interrupt-parent = <700>; 10274c37e8cSTimur Tabi interrupts = <26 2>; 10374c37e8cSTimur Tabi phy_type = "ulpi"; 10474c37e8cSTimur Tabi }; 10574c37e8cSTimur Tabi 10674c37e8cSTimur Tabi mdio@24520 { 10774c37e8cSTimur Tabi device_type = "mdio"; 10874c37e8cSTimur Tabi compatible = "gianfar"; 10974c37e8cSTimur Tabi reg = <24520 20>; 11074c37e8cSTimur Tabi #address-cells = <1>; 11174c37e8cSTimur Tabi #size-cells = <0>; 11274c37e8cSTimur Tabi linux,phandle = <24520>; 11374c37e8cSTimur Tabi 11474c37e8cSTimur Tabi /* Vitesse 8201 */ 11574c37e8cSTimur Tabi ethernet-phy@1c { 11674c37e8cSTimur Tabi linux,phandle = <245201c>; 11774c37e8cSTimur Tabi interrupt-parent = <700>; 11874c37e8cSTimur Tabi interrupts = <12 2>; 11974c37e8cSTimur Tabi reg = <1c>; 12074c37e8cSTimur Tabi device_type = "ethernet-phy"; 12174c37e8cSTimur Tabi }; 12274c37e8cSTimur Tabi 12374c37e8cSTimur Tabi /* Vitesse 7385 */ 12474c37e8cSTimur Tabi ethernet-phy@1f { 12574c37e8cSTimur Tabi linux,phandle = <245201f>; 12674c37e8cSTimur Tabi interrupt-parent = <700>; 12774c37e8cSTimur Tabi interrupts = <12 2>; 12874c37e8cSTimur Tabi reg = <1f>; 12974c37e8cSTimur Tabi device_type = "ethernet-phy"; 13074c37e8cSTimur Tabi }; 13174c37e8cSTimur Tabi }; 13274c37e8cSTimur Tabi 13374c37e8cSTimur Tabi ethernet@24000 { 13474c37e8cSTimur Tabi device_type = "network"; 13574c37e8cSTimur Tabi model = "TSEC"; 13674c37e8cSTimur Tabi compatible = "gianfar"; 13774c37e8cSTimur Tabi reg = <24000 1000>; 13874c37e8cSTimur Tabi address = [ 00 00 00 00 00 00 ]; 13974c37e8cSTimur Tabi local-mac-address = [ 00 00 00 00 00 00 ]; 14074c37e8cSTimur Tabi interrupts = <20 8 21 8 22 8>; 14174c37e8cSTimur Tabi interrupt-parent = <700>; 14274c37e8cSTimur Tabi phy-handle = <245201c>; 14374c37e8cSTimur Tabi }; 14474c37e8cSTimur Tabi 14574c37e8cSTimur Tabi ethernet@25000 { 14674c37e8cSTimur Tabi #address-cells = <1>; 14774c37e8cSTimur Tabi #size-cells = <0>; 14874c37e8cSTimur Tabi device_type = "network"; 14974c37e8cSTimur Tabi model = "TSEC"; 15074c37e8cSTimur Tabi compatible = "gianfar"; 15174c37e8cSTimur Tabi reg = <25000 1000>; 15274c37e8cSTimur Tabi address = [ 00 00 00 00 00 00 ]; 15374c37e8cSTimur Tabi local-mac-address = [ 00 00 00 00 00 00 ]; 15474c37e8cSTimur Tabi interrupts = <23 8 24 8 25 8>; 15574c37e8cSTimur Tabi interrupt-parent = <700>; 15674c37e8cSTimur Tabi phy-handle = <245201f>; 15774c37e8cSTimur Tabi }; 15874c37e8cSTimur Tabi 15974c37e8cSTimur Tabi serial@4500 { 16074c37e8cSTimur Tabi device_type = "serial"; 16174c37e8cSTimur Tabi compatible = "ns16550"; 16274c37e8cSTimur Tabi reg = <4500 100>; 16374c37e8cSTimur Tabi clock-frequency = <0>; // from bootloader 16474c37e8cSTimur Tabi interrupts = <9 8>; 16574c37e8cSTimur Tabi interrupt-parent = <700>; 16674c37e8cSTimur Tabi }; 16774c37e8cSTimur Tabi 16874c37e8cSTimur Tabi serial@4600 { 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>; 17474c37e8cSTimur Tabi interrupt-parent = <700>; 17574c37e8cSTimur Tabi }; 17674c37e8cSTimur Tabi 17774c37e8cSTimur Tabi pci@8500 { 17874c37e8cSTimur Tabi interrupt-map-mask = <f800 0 0 7>; 17974c37e8cSTimur Tabi interrupt-map = < 18074c37e8cSTimur Tabi /* IDSEL 0x10 - SATA */ 18174c37e8cSTimur Tabi 8000 0 0 1 700 16 8 /* SATA_INTA */ 18274c37e8cSTimur Tabi >; 18374c37e8cSTimur Tabi interrupt-parent = <700>; 18474c37e8cSTimur Tabi interrupts = <42 8>; 18574c37e8cSTimur Tabi bus-range = <0 0>; 18674c37e8cSTimur Tabi ranges = <42000000 0 80000000 80000000 0 10000000 18774c37e8cSTimur Tabi 02000000 0 90000000 90000000 0 10000000 18874c37e8cSTimur Tabi 01000000 0 00000000 e2000000 0 01000000>; 18974c37e8cSTimur Tabi clock-frequency = <3f940aa>; 19074c37e8cSTimur Tabi #interrupt-cells = <1>; 19174c37e8cSTimur Tabi #size-cells = <2>; 19274c37e8cSTimur Tabi #address-cells = <3>; 19374c37e8cSTimur Tabi reg = <8500 100>; 19474c37e8cSTimur Tabi compatible = "83xx"; 19574c37e8cSTimur Tabi device_type = "pci"; 19674c37e8cSTimur Tabi }; 19774c37e8cSTimur Tabi 19874c37e8cSTimur Tabi pci@8600 { 19974c37e8cSTimur Tabi interrupt-map-mask = <f800 0 0 7>; 20074c37e8cSTimur Tabi interrupt-map = < 20174c37e8cSTimur Tabi /* IDSEL 0x0E - MiniPCI Slot */ 20274c37e8cSTimur Tabi 7000 0 0 1 700 15 8 /* PCI_INTA */ 20374c37e8cSTimur Tabi 20474c37e8cSTimur Tabi /* IDSEL 0x0F - PCI Slot */ 20574c37e8cSTimur Tabi 7800 0 0 1 700 14 8 /* PCI_INTA */ 20674c37e8cSTimur Tabi 7800 0 0 2 700 15 8 /* PCI_INTB */ 20774c37e8cSTimur Tabi >; 20874c37e8cSTimur Tabi interrupt-parent = <700>; 20974c37e8cSTimur Tabi interrupts = <43 8>; 21074c37e8cSTimur Tabi bus-range = <1 1>; 21174c37e8cSTimur Tabi ranges = <42000000 0 a0000000 a0000000 0 10000000 21274c37e8cSTimur Tabi 02000000 0 b0000000 b0000000 0 10000000 21374c37e8cSTimur Tabi 01000000 0 00000000 e3000000 0 01000000>; 21474c37e8cSTimur Tabi clock-frequency = <3f940aa>; 21574c37e8cSTimur Tabi #interrupt-cells = <1>; 21674c37e8cSTimur Tabi #size-cells = <2>; 21774c37e8cSTimur Tabi #address-cells = <3>; 21874c37e8cSTimur Tabi reg = <8600 100>; 21974c37e8cSTimur Tabi compatible = "83xx"; 22074c37e8cSTimur Tabi device_type = "pci"; 22174c37e8cSTimur Tabi }; 22274c37e8cSTimur Tabi 22374c37e8cSTimur Tabi crypto@30000 { 22474c37e8cSTimur Tabi device_type = "crypto"; 22574c37e8cSTimur Tabi model = "SEC2"; 22674c37e8cSTimur Tabi compatible = "talitos"; 22774c37e8cSTimur Tabi reg = <30000 10000>; 22874c37e8cSTimur Tabi interrupts = <b 8>; 22974c37e8cSTimur Tabi interrupt-parent = <700>; 23074c37e8cSTimur Tabi num-channels = <4>; 23174c37e8cSTimur Tabi channel-fifo-len = <18>; 23274c37e8cSTimur Tabi exec-units-mask = <0000007e>; 23374c37e8cSTimur Tabi descriptor-types-mask = <01010ebf>; 23474c37e8cSTimur Tabi }; 23574c37e8cSTimur Tabi 23674c37e8cSTimur Tabi pic@700 { 23774c37e8cSTimur Tabi linux,phandle = <700>; 23874c37e8cSTimur Tabi interrupt-controller; 23974c37e8cSTimur Tabi #address-cells = <0>; 24074c37e8cSTimur Tabi #interrupt-cells = <2>; 24174c37e8cSTimur Tabi reg = <700 100>; 24274c37e8cSTimur Tabi built-in; 24374c37e8cSTimur Tabi device_type = "ipic"; 24474c37e8cSTimur Tabi }; 24574c37e8cSTimur Tabi }; 24674c37e8cSTimur Tabi}; 247