146f26ec7SAlessio Igor Bogani/*
246f26ec7SAlessio Igor Bogani * GE SBC310 Device Tree Source
346f26ec7SAlessio Igor Bogani *
446f26ec7SAlessio Igor Bogani * Copyright 2008 GE Intelligent Platforms Embedded Systems, Inc.
546f26ec7SAlessio Igor Bogani *
646f26ec7SAlessio Igor Bogani * This program is free software; you can redistribute  it and/or modify it
746f26ec7SAlessio Igor Bogani * under  the terms of  the GNU General  Public License as published by the
846f26ec7SAlessio Igor Bogani * Free Software Foundation;  either version 2 of the  License, or (at your
946f26ec7SAlessio Igor Bogani * option) any later version.
1046f26ec7SAlessio Igor Bogani *
1146f26ec7SAlessio Igor Bogani * Based on: SBS CM6 Device Tree Source
1246f26ec7SAlessio Igor Bogani * Copyright 2007 SBS Technologies GmbH & Co. KG
1346f26ec7SAlessio Igor Bogani * And: mpc8641_hpcn.dts (MPC8641 HPCN Device Tree Source)
1446f26ec7SAlessio Igor Bogani * Copyright 2006 Freescale Semiconductor Inc.
1546f26ec7SAlessio Igor Bogani */
1646f26ec7SAlessio Igor Bogani
1746f26ec7SAlessio Igor Bogani/*
1846f26ec7SAlessio Igor Bogani * Compiled with dtc -I dts -O dtb -o gef_sbc310.dtb gef_sbc310.dts
1946f26ec7SAlessio Igor Bogani */
2046f26ec7SAlessio Igor Bogani
2146f26ec7SAlessio Igor Bogani/dts-v1/;
2246f26ec7SAlessio Igor Bogani
2346f26ec7SAlessio Igor Bogani/ {
2446f26ec7SAlessio Igor Bogani	model = "GEF_SBC310";
2546f26ec7SAlessio Igor Bogani	compatible = "gef,sbc310";
2646f26ec7SAlessio Igor Bogani	#address-cells = <1>;
2746f26ec7SAlessio Igor Bogani	#size-cells = <1>;
28595207b9SAlessio Igor Bogani	interrupt-parent = <&mpic>;
2946f26ec7SAlessio Igor Bogani
3046f26ec7SAlessio Igor Bogani	aliases {
3146f26ec7SAlessio Igor Bogani		ethernet0 = &enet0;
3246f26ec7SAlessio Igor Bogani		ethernet1 = &enet1;
3346f26ec7SAlessio Igor Bogani		serial0 = &serial0;
3446f26ec7SAlessio Igor Bogani		serial1 = &serial1;
3546f26ec7SAlessio Igor Bogani		pci0 = &pci0;
3646f26ec7SAlessio Igor Bogani		pci1 = &pci1;
3746f26ec7SAlessio Igor Bogani	};
3846f26ec7SAlessio Igor Bogani
3946f26ec7SAlessio Igor Bogani	cpus {
4046f26ec7SAlessio Igor Bogani		#address-cells = <1>;
4146f26ec7SAlessio Igor Bogani		#size-cells = <0>;
4246f26ec7SAlessio Igor Bogani
4346f26ec7SAlessio Igor Bogani		PowerPC,8641@0 {
4446f26ec7SAlessio Igor Bogani			device_type = "cpu";
4546f26ec7SAlessio Igor Bogani			reg = <0>;
4646f26ec7SAlessio Igor Bogani			d-cache-line-size = <32>;	// 32 bytes
4746f26ec7SAlessio Igor Bogani			i-cache-line-size = <32>;	// 32 bytes
4846f26ec7SAlessio Igor Bogani			d-cache-size = <32768>;		// L1, 32K
4946f26ec7SAlessio Igor Bogani			i-cache-size = <32768>;		// L1, 32K
5046f26ec7SAlessio Igor Bogani			timebase-frequency = <0>;	// From uboot
5146f26ec7SAlessio Igor Bogani			bus-frequency = <0>;		// From uboot
5246f26ec7SAlessio Igor Bogani			clock-frequency = <0>;		// From uboot
5346f26ec7SAlessio Igor Bogani		};
5446f26ec7SAlessio Igor Bogani		PowerPC,8641@1 {
5546f26ec7SAlessio Igor Bogani			device_type = "cpu";
5646f26ec7SAlessio Igor Bogani			reg = <1>;
5746f26ec7SAlessio Igor Bogani			d-cache-line-size = <32>;	// 32 bytes
5846f26ec7SAlessio Igor Bogani			i-cache-line-size = <32>;	// 32 bytes
5946f26ec7SAlessio Igor Bogani			d-cache-size = <32768>;		// L1, 32K
6046f26ec7SAlessio Igor Bogani			i-cache-size = <32768>;		// L1, 32K
6146f26ec7SAlessio Igor Bogani			timebase-frequency = <0>;	// From uboot
6246f26ec7SAlessio Igor Bogani			bus-frequency = <0>;		// From uboot
6346f26ec7SAlessio Igor Bogani			clock-frequency = <0>;		// From uboot
6446f26ec7SAlessio Igor Bogani		};
6546f26ec7SAlessio Igor Bogani	};
6646f26ec7SAlessio Igor Bogani
6746f26ec7SAlessio Igor Bogani	memory {
6846f26ec7SAlessio Igor Bogani		device_type = "memory";
6946f26ec7SAlessio Igor Bogani		reg = <0x0 0x40000000>;	// set by uboot
7046f26ec7SAlessio Igor Bogani	};
7146f26ec7SAlessio Igor Bogani
7246f26ec7SAlessio Igor Bogani	localbus@fef05000 {
7346f26ec7SAlessio Igor Bogani		#address-cells = <2>;
7446f26ec7SAlessio Igor Bogani		#size-cells = <1>;
7546f26ec7SAlessio Igor Bogani		compatible = "fsl,mpc8641-localbus", "simple-bus";
7646f26ec7SAlessio Igor Bogani		reg = <0xfef05000 0x1000>;
77595207b9SAlessio Igor Bogani		interrupts = <19 2 0 0>;
7846f26ec7SAlessio Igor Bogani
7946f26ec7SAlessio Igor Bogani		ranges = <0 0 0xff000000 0x01000000	// 16MB Boot flash
8046f26ec7SAlessio Igor Bogani			  1 0 0xe0000000 0x08000000	// Paged Flash 0
8146f26ec7SAlessio Igor Bogani			  2 0 0xe8000000 0x08000000	// Paged Flash 1
8246f26ec7SAlessio Igor Bogani			  3 0 0xfc100000 0x00020000	// NVRAM
8346f26ec7SAlessio Igor Bogani			  4 0 0xfc000000 0x00010000>;	// FPGA
8446f26ec7SAlessio Igor Bogani
8546f26ec7SAlessio Igor Bogani		/* flash@0,0 is a mirror of part of the memory in flash@1,0
8646f26ec7SAlessio Igor Bogani		flash@0,0 {
8746f26ec7SAlessio Igor Bogani			compatible = "gef,sbc310-firmware-mirror", "cfi-flash";
8846f26ec7SAlessio Igor Bogani			reg = <0x0 0x0 0x01000000>;
8946f26ec7SAlessio Igor Bogani			bank-width = <2>;
9046f26ec7SAlessio Igor Bogani			device-width = <2>;
9146f26ec7SAlessio Igor Bogani			#address-cells = <1>;
9246f26ec7SAlessio Igor Bogani			#size-cells = <1>;
9346f26ec7SAlessio Igor Bogani			partition@0 {
9446f26ec7SAlessio Igor Bogani				label = "firmware";
9546f26ec7SAlessio Igor Bogani				reg = <0x0 0x01000000>;
9646f26ec7SAlessio Igor Bogani				read-only;
9746f26ec7SAlessio Igor Bogani			};
9846f26ec7SAlessio Igor Bogani		};
9946f26ec7SAlessio Igor Bogani		*/
10046f26ec7SAlessio Igor Bogani
10146f26ec7SAlessio Igor Bogani		flash@1,0 {
10246f26ec7SAlessio Igor Bogani			compatible = "gef,sbc310-paged-flash", "cfi-flash";
10346f26ec7SAlessio Igor Bogani			reg = <0x1 0x0 0x8000000>;
10446f26ec7SAlessio Igor Bogani			bank-width = <2>;
10546f26ec7SAlessio Igor Bogani			device-width = <2>;
10646f26ec7SAlessio Igor Bogani			#address-cells = <1>;
10746f26ec7SAlessio Igor Bogani			#size-cells = <1>;
10846f26ec7SAlessio Igor Bogani			partition@0 {
10946f26ec7SAlessio Igor Bogani				label = "user";
11046f26ec7SAlessio Igor Bogani				reg = <0x0 0x7800000>;
11146f26ec7SAlessio Igor Bogani			};
11246f26ec7SAlessio Igor Bogani			partition@7800000 {
11346f26ec7SAlessio Igor Bogani				label = "firmware";
11446f26ec7SAlessio Igor Bogani				reg = <0x7800000 0x800000>;
11546f26ec7SAlessio Igor Bogani				read-only;
11646f26ec7SAlessio Igor Bogani			};
11746f26ec7SAlessio Igor Bogani		};
11846f26ec7SAlessio Igor Bogani
11946f26ec7SAlessio Igor Bogani		nvram@3,0 {
12046f26ec7SAlessio Igor Bogani			device_type = "nvram";
12146f26ec7SAlessio Igor Bogani			compatible = "simtek,stk14ca8";
12246f26ec7SAlessio Igor Bogani			reg = <0x3 0x0 0x20000>;
12346f26ec7SAlessio Igor Bogani		};
12446f26ec7SAlessio Igor Bogani
12546f26ec7SAlessio Igor Bogani		fpga@4,0 {
12646f26ec7SAlessio Igor Bogani			compatible = "gef,fpga-regs";
12746f26ec7SAlessio Igor Bogani			reg = <0x4 0x0 0x40>;
12846f26ec7SAlessio Igor Bogani		};
12946f26ec7SAlessio Igor Bogani
13046f26ec7SAlessio Igor Bogani		wdt@4,2000 {
13146f26ec7SAlessio Igor Bogani			compatible = "gef,sbc310-fpga-wdt", "gef,fpga-wdt-1.00",
13246f26ec7SAlessio Igor Bogani				"gef,fpga-wdt";
13346f26ec7SAlessio Igor Bogani			reg = <0x4 0x2000 0x8>;
13446f26ec7SAlessio Igor Bogani			interrupts = <0x1a 0x4>;
13546f26ec7SAlessio Igor Bogani			interrupt-parent = <&gef_pic>;
13646f26ec7SAlessio Igor Bogani		};
13746f26ec7SAlessio Igor Bogani/*
13846f26ec7SAlessio Igor Bogani		wdt@4,2010 {
13946f26ec7SAlessio Igor Bogani			compatible = "gef,sbc310-fpga-wdt", "gef,fpga-wdt-1.00",
14046f26ec7SAlessio Igor Bogani				"gef,fpga-wdt";
14146f26ec7SAlessio Igor Bogani			reg = <0x4 0x2010 0x8>;
14246f26ec7SAlessio Igor Bogani			interrupts = <0x1b 0x4>;
14346f26ec7SAlessio Igor Bogani			interrupt-parent = <&gef_pic>;
14446f26ec7SAlessio Igor Bogani		};
14546f26ec7SAlessio Igor Bogani*/
14646f26ec7SAlessio Igor Bogani		gef_pic: pic@4,4000 {
14746f26ec7SAlessio Igor Bogani			#interrupt-cells = <1>;
14846f26ec7SAlessio Igor Bogani			interrupt-controller;
14946f26ec7SAlessio Igor Bogani			compatible = "gef,sbc310-fpga-pic", "gef,fpga-pic";
15046f26ec7SAlessio Igor Bogani			reg = <0x4 0x4000 0x20>;
151595207b9SAlessio Igor Bogani			interrupts = <0x8 0x9 0 0>;
15246f26ec7SAlessio Igor Bogani
15346f26ec7SAlessio Igor Bogani		};
15446f26ec7SAlessio Igor Bogani		gef_gpio: gpio@4,8000 {
15546f26ec7SAlessio Igor Bogani			#gpio-cells = <2>;
15646f26ec7SAlessio Igor Bogani			compatible = "gef,sbc310-gpio";
15746f26ec7SAlessio Igor Bogani			reg = <0x4 0x8000 0x24>;
15846f26ec7SAlessio Igor Bogani			gpio-controller;
15946f26ec7SAlessio Igor Bogani		};
16046f26ec7SAlessio Igor Bogani	};
16146f26ec7SAlessio Igor Bogani
16246f26ec7SAlessio Igor Bogani	soc@fef00000 {
16346f26ec7SAlessio Igor Bogani		#address-cells = <1>;
16446f26ec7SAlessio Igor Bogani		#size-cells = <1>;
16546f26ec7SAlessio Igor Bogani		device_type = "soc";
16646f26ec7SAlessio Igor Bogani		compatible = "fsl,mpc8641-soc", "simple-bus";
16746f26ec7SAlessio Igor Bogani		ranges = <0x0 0xfef00000 0x00100000>;
16846f26ec7SAlessio Igor Bogani		bus-frequency = <33333333>;
16946f26ec7SAlessio Igor Bogani
17046f26ec7SAlessio Igor Bogani		mcm-law@0 {
17146f26ec7SAlessio Igor Bogani			compatible = "fsl,mcm-law";
17246f26ec7SAlessio Igor Bogani			reg = <0x0 0x1000>;
17346f26ec7SAlessio Igor Bogani			fsl,num-laws = <10>;
17446f26ec7SAlessio Igor Bogani		};
17546f26ec7SAlessio Igor Bogani
17646f26ec7SAlessio Igor Bogani		mcm@1000 {
17746f26ec7SAlessio Igor Bogani			compatible = "fsl,mpc8641-mcm", "fsl,mcm";
17846f26ec7SAlessio Igor Bogani			reg = <0x1000 0x1000>;
179595207b9SAlessio Igor Bogani			interrupts = <17 2 0 0>;
18046f26ec7SAlessio Igor Bogani		};
18146f26ec7SAlessio Igor Bogani
182595207b9SAlessio Igor Bogani		i2c@3000 {
18346f26ec7SAlessio Igor Bogani			#address-cells = <1>;
18446f26ec7SAlessio Igor Bogani			#size-cells = <0>;
18546f26ec7SAlessio Igor Bogani			compatible = "fsl-i2c";
18646f26ec7SAlessio Igor Bogani			reg = <0x3000 0x100>;
187595207b9SAlessio Igor Bogani			interrupts = <0x2b 0x2 0 0>;
18846f26ec7SAlessio Igor Bogani			dfsrr;
18946f26ec7SAlessio Igor Bogani
19046f26ec7SAlessio Igor Bogani			rtc@51 {
19146f26ec7SAlessio Igor Bogani				compatible = "epson,rx8581";
19246f26ec7SAlessio Igor Bogani				reg = <0x00000051>;
19346f26ec7SAlessio Igor Bogani			};
19446f26ec7SAlessio Igor Bogani		};
19546f26ec7SAlessio Igor Bogani
196595207b9SAlessio Igor Bogani		i2c@3100 {
19746f26ec7SAlessio Igor Bogani			#address-cells = <1>;
19846f26ec7SAlessio Igor Bogani			#size-cells = <0>;
19946f26ec7SAlessio Igor Bogani			compatible = "fsl-i2c";
20046f26ec7SAlessio Igor Bogani			reg = <0x3100 0x100>;
201595207b9SAlessio Igor Bogani			interrupts = <0x2b 0x2 0 0>;
20246f26ec7SAlessio Igor Bogani			dfsrr;
20346f26ec7SAlessio Igor Bogani
20446f26ec7SAlessio Igor Bogani			hwmon@48 {
20546f26ec7SAlessio Igor Bogani				compatible = "national,lm92";
20646f26ec7SAlessio Igor Bogani				reg = <0x48>;
20746f26ec7SAlessio Igor Bogani			};
20846f26ec7SAlessio Igor Bogani
20946f26ec7SAlessio Igor Bogani			hwmon@4c {
21046f26ec7SAlessio Igor Bogani				compatible = "adi,adt7461";
21146f26ec7SAlessio Igor Bogani				reg = <0x4c>;
21246f26ec7SAlessio Igor Bogani			};
21346f26ec7SAlessio Igor Bogani
21446f26ec7SAlessio Igor Bogani			eti@6b {
21546f26ec7SAlessio Igor Bogani				compatible = "dallas,ds1682";
21646f26ec7SAlessio Igor Bogani				reg = <0x6b>;
21746f26ec7SAlessio Igor Bogani			};
21846f26ec7SAlessio Igor Bogani		};
21946f26ec7SAlessio Igor Bogani
22046f26ec7SAlessio Igor Bogani		dma@21300 {
22146f26ec7SAlessio Igor Bogani			#address-cells = <1>;
22246f26ec7SAlessio Igor Bogani			#size-cells = <1>;
22346f26ec7SAlessio Igor Bogani			compatible = "fsl,mpc8641-dma", "fsl,eloplus-dma";
22446f26ec7SAlessio Igor Bogani			reg = <0x21300 0x4>;
22546f26ec7SAlessio Igor Bogani			ranges = <0x0 0x21100 0x200>;
22646f26ec7SAlessio Igor Bogani			cell-index = <0>;
22746f26ec7SAlessio Igor Bogani			dma-channel@0 {
22846f26ec7SAlessio Igor Bogani				compatible = "fsl,mpc8641-dma-channel",
22946f26ec7SAlessio Igor Bogani					   "fsl,eloplus-dma-channel";
23046f26ec7SAlessio Igor Bogani				reg = <0x0 0x80>;
23146f26ec7SAlessio Igor Bogani				cell-index = <0>;
232595207b9SAlessio Igor Bogani				interrupts = <20 2 0 0>;
23346f26ec7SAlessio Igor Bogani			};
23446f26ec7SAlessio Igor Bogani			dma-channel@80 {
23546f26ec7SAlessio Igor Bogani				compatible = "fsl,mpc8641-dma-channel",
23646f26ec7SAlessio Igor Bogani					   "fsl,eloplus-dma-channel";
23746f26ec7SAlessio Igor Bogani				reg = <0x80 0x80>;
23846f26ec7SAlessio Igor Bogani				cell-index = <1>;
239595207b9SAlessio Igor Bogani				interrupts = <21 2 0 0>;
24046f26ec7SAlessio Igor Bogani			};
24146f26ec7SAlessio Igor Bogani			dma-channel@100 {
24246f26ec7SAlessio Igor Bogani				compatible = "fsl,mpc8641-dma-channel",
24346f26ec7SAlessio Igor Bogani					   "fsl,eloplus-dma-channel";
24446f26ec7SAlessio Igor Bogani				reg = <0x100 0x80>;
24546f26ec7SAlessio Igor Bogani				cell-index = <2>;
246595207b9SAlessio Igor Bogani				interrupts = <22 2 0 0>;
24746f26ec7SAlessio Igor Bogani			};
24846f26ec7SAlessio Igor Bogani			dma-channel@180 {
24946f26ec7SAlessio Igor Bogani				compatible = "fsl,mpc8641-dma-channel",
25046f26ec7SAlessio Igor Bogani					   "fsl,eloplus-dma-channel";
25146f26ec7SAlessio Igor Bogani				reg = <0x180 0x80>;
25246f26ec7SAlessio Igor Bogani				cell-index = <3>;
253595207b9SAlessio Igor Bogani				interrupts = <23 2 0 0>;
25446f26ec7SAlessio Igor Bogani			};
25546f26ec7SAlessio Igor Bogani		};
25646f26ec7SAlessio Igor Bogani
25746f26ec7SAlessio Igor Bogani		enet0: ethernet@24000 {
25846f26ec7SAlessio Igor Bogani			#address-cells = <1>;
25946f26ec7SAlessio Igor Bogani			#size-cells = <1>;
26046f26ec7SAlessio Igor Bogani			cell-index = <0>;
26146f26ec7SAlessio Igor Bogani			device_type = "network";
26246f26ec7SAlessio Igor Bogani			model = "TSEC";
26346f26ec7SAlessio Igor Bogani			compatible = "gianfar";
26446f26ec7SAlessio Igor Bogani			reg = <0x24000 0x1000>;
26546f26ec7SAlessio Igor Bogani			ranges = <0x0 0x24000 0x1000>;
26646f26ec7SAlessio Igor Bogani			local-mac-address = [ 00 00 00 00 00 00 ];
267595207b9SAlessio Igor Bogani			interrupts = <29 2 0 0 30  2 0 0 34 2 0 0>;
26846f26ec7SAlessio Igor Bogani			tbi-handle = <&tbi0>;
26946f26ec7SAlessio Igor Bogani			phy-handle = <&phy0>;
27046f26ec7SAlessio Igor Bogani			phy-connection-type = "gmii";
27146f26ec7SAlessio Igor Bogani
27246f26ec7SAlessio Igor Bogani			mdio@520 {
27346f26ec7SAlessio Igor Bogani				#address-cells = <1>;
27446f26ec7SAlessio Igor Bogani				#size-cells = <0>;
27546f26ec7SAlessio Igor Bogani				compatible = "fsl,gianfar-mdio";
27646f26ec7SAlessio Igor Bogani				reg = <0x520 0x20>;
27746f26ec7SAlessio Igor Bogani
27846f26ec7SAlessio Igor Bogani				phy0: ethernet-phy@0 {
27946f26ec7SAlessio Igor Bogani					interrupt-parent = <&gef_pic>;
28046f26ec7SAlessio Igor Bogani					interrupts = <0x9 0x4>;
28146f26ec7SAlessio Igor Bogani					reg = <1>;
28246f26ec7SAlessio Igor Bogani				};
28346f26ec7SAlessio Igor Bogani				phy2: ethernet-phy@2 {
28446f26ec7SAlessio Igor Bogani					interrupt-parent = <&gef_pic>;
28546f26ec7SAlessio Igor Bogani					interrupts = <0x8 0x4>;
28646f26ec7SAlessio Igor Bogani					reg = <3>;
28746f26ec7SAlessio Igor Bogani				};
28846f26ec7SAlessio Igor Bogani				tbi0: tbi-phy@11 {
28946f26ec7SAlessio Igor Bogani					reg = <0x11>;
29046f26ec7SAlessio Igor Bogani					device_type = "tbi-phy";
29146f26ec7SAlessio Igor Bogani				};
29246f26ec7SAlessio Igor Bogani			};
29346f26ec7SAlessio Igor Bogani		};
29446f26ec7SAlessio Igor Bogani
29546f26ec7SAlessio Igor Bogani		enet1: ethernet@26000 {
29646f26ec7SAlessio Igor Bogani			#address-cells = <1>;
29746f26ec7SAlessio Igor Bogani			#size-cells = <1>;
29846f26ec7SAlessio Igor Bogani			cell-index = <2>;
29946f26ec7SAlessio Igor Bogani			device_type = "network";
30046f26ec7SAlessio Igor Bogani			model = "TSEC";
30146f26ec7SAlessio Igor Bogani			compatible = "gianfar";
30246f26ec7SAlessio Igor Bogani			reg = <0x26000 0x1000>;
30346f26ec7SAlessio Igor Bogani			ranges = <0x0 0x26000 0x1000>;
30446f26ec7SAlessio Igor Bogani			local-mac-address = [ 00 00 00 00 00 00 ];
305595207b9SAlessio Igor Bogani			interrupts = <31 2 0 0 32 2 0 0 33 2 0 0>;
30646f26ec7SAlessio Igor Bogani			tbi-handle = <&tbi2>;
30746f26ec7SAlessio Igor Bogani			phy-handle = <&phy2>;
30846f26ec7SAlessio Igor Bogani			phy-connection-type = "gmii";
30946f26ec7SAlessio Igor Bogani
31046f26ec7SAlessio Igor Bogani			mdio@520 {
31146f26ec7SAlessio Igor Bogani				#address-cells = <1>;
31246f26ec7SAlessio Igor Bogani				#size-cells = <0>;
31346f26ec7SAlessio Igor Bogani				compatible = "fsl,gianfar-tbi";
31446f26ec7SAlessio Igor Bogani				reg = <0x520 0x20>;
31546f26ec7SAlessio Igor Bogani
31646f26ec7SAlessio Igor Bogani				tbi2: tbi-phy@11 {
31746f26ec7SAlessio Igor Bogani					reg = <0x11>;
31846f26ec7SAlessio Igor Bogani					device_type = "tbi-phy";
31946f26ec7SAlessio Igor Bogani				};
32046f26ec7SAlessio Igor Bogani			};
32146f26ec7SAlessio Igor Bogani		};
32246f26ec7SAlessio Igor Bogani
32346f26ec7SAlessio Igor Bogani		serial0: serial@4500 {
32446f26ec7SAlessio Igor Bogani			cell-index = <0>;
32546f26ec7SAlessio Igor Bogani			device_type = "serial";
32646f26ec7SAlessio Igor Bogani			compatible = "fsl,ns16550", "ns16550";
32746f26ec7SAlessio Igor Bogani			reg = <0x4500 0x100>;
32846f26ec7SAlessio Igor Bogani			clock-frequency = <0>;
329595207b9SAlessio Igor Bogani			interrupts = <0x2a 0x2 0 0>;
33046f26ec7SAlessio Igor Bogani		};
33146f26ec7SAlessio Igor Bogani
33246f26ec7SAlessio Igor Bogani		serial1: serial@4600 {
33346f26ec7SAlessio Igor Bogani			cell-index = <1>;
33446f26ec7SAlessio Igor Bogani			device_type = "serial";
33546f26ec7SAlessio Igor Bogani			compatible = "fsl,ns16550", "ns16550";
33646f26ec7SAlessio Igor Bogani			reg = <0x4600 0x100>;
33746f26ec7SAlessio Igor Bogani			clock-frequency = <0>;
338595207b9SAlessio Igor Bogani			interrupts = <0x1c 0x2 0 0>;
33946f26ec7SAlessio Igor Bogani		};
34046f26ec7SAlessio Igor Bogani
34146f26ec7SAlessio Igor Bogani		mpic: pic@40000 {
34246f26ec7SAlessio Igor Bogani			clock-frequency = <0>;
34346f26ec7SAlessio Igor Bogani			interrupt-controller;
34446f26ec7SAlessio Igor Bogani			#address-cells = <0>;
345595207b9SAlessio Igor Bogani			#interrupt-cells = <4>;
34646f26ec7SAlessio Igor Bogani			reg = <0x40000 0x40000>;
347595207b9SAlessio Igor Bogani			compatible = "fsl,mpic", "chrp,open-pic";
34846f26ec7SAlessio Igor Bogani			device_type = "open-pic";
34946f26ec7SAlessio Igor Bogani		};
35046f26ec7SAlessio Igor Bogani
35146f26ec7SAlessio Igor Bogani		msi@41600 {
35246f26ec7SAlessio Igor Bogani			compatible = "fsl,mpc8641-msi", "fsl,mpic-msi";
35346f26ec7SAlessio Igor Bogani			reg = <0x41600 0x80>;
35446f26ec7SAlessio Igor Bogani			msi-available-ranges = <0 0x100>;
35546f26ec7SAlessio Igor Bogani			interrupts = <
356595207b9SAlessio Igor Bogani				0xe0 0 0 0
357595207b9SAlessio Igor Bogani				0xe1 0 0 0
358595207b9SAlessio Igor Bogani				0xe2 0 0 0
359595207b9SAlessio Igor Bogani				0xe3 0 0 0
360595207b9SAlessio Igor Bogani				0xe4 0 0 0
361595207b9SAlessio Igor Bogani				0xe5 0 0 0
362595207b9SAlessio Igor Bogani				0xe6 0 0 0
363595207b9SAlessio Igor Bogani				0xe7 0 0 0>;
36446f26ec7SAlessio Igor Bogani		};
36546f26ec7SAlessio Igor Bogani
36646f26ec7SAlessio Igor Bogani		global-utilities@e0000 {
36746f26ec7SAlessio Igor Bogani			compatible = "fsl,mpc8641-guts";
36846f26ec7SAlessio Igor Bogani			reg = <0xe0000 0x1000>;
36946f26ec7SAlessio Igor Bogani			fsl,has-rstcr;
37046f26ec7SAlessio Igor Bogani		};
37146f26ec7SAlessio Igor Bogani	};
37246f26ec7SAlessio Igor Bogani
37346f26ec7SAlessio Igor Bogani	pci0: pcie@fef08000 {
37446f26ec7SAlessio Igor Bogani		compatible = "fsl,mpc8641-pcie";
37546f26ec7SAlessio Igor Bogani		device_type = "pci";
37646f26ec7SAlessio Igor Bogani		#size-cells = <2>;
37746f26ec7SAlessio Igor Bogani		#address-cells = <3>;
37846f26ec7SAlessio Igor Bogani		reg = <0xfef08000 0x1000>;
37946f26ec7SAlessio Igor Bogani		bus-range = <0x0 0xff>;
38046f26ec7SAlessio Igor Bogani		ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x40000000
38146f26ec7SAlessio Igor Bogani			  0x01000000 0x0 0x00000000 0xfe000000 0x0 0x00400000>;
382595207b9SAlessio Igor Bogani		clock-frequency = <100000000>;
383595207b9SAlessio Igor Bogani		interrupts = <0x18 0x2 0 0>;
38446f26ec7SAlessio Igor Bogani		interrupt-map-mask = <0xff00 0x0 0x0 0x7>;
38546f26ec7SAlessio Igor Bogani		interrupt-map = <
38646f26ec7SAlessio Igor Bogani			0x0000 0x0 0x0 0x1 &mpic 0x0 0x2
38746f26ec7SAlessio Igor Bogani			0x0000 0x0 0x0 0x2 &mpic 0x1 0x2
38846f26ec7SAlessio Igor Bogani			0x0000 0x0 0x0 0x3 &mpic 0x2 0x2
38946f26ec7SAlessio Igor Bogani			0x0000 0x0 0x0 0x4 &mpic 0x3 0x2
39046f26ec7SAlessio Igor Bogani		>;
39146f26ec7SAlessio Igor Bogani
39246f26ec7SAlessio Igor Bogani		pcie@0 {
39346f26ec7SAlessio Igor Bogani			reg = <0 0 0 0 0>;
39446f26ec7SAlessio Igor Bogani			#size-cells = <2>;
39546f26ec7SAlessio Igor Bogani			#address-cells = <3>;
39646f26ec7SAlessio Igor Bogani			device_type = "pci";
39746f26ec7SAlessio Igor Bogani			ranges = <0x02000000 0x0 0x80000000
39846f26ec7SAlessio Igor Bogani				  0x02000000 0x0 0x80000000
39946f26ec7SAlessio Igor Bogani				  0x0 0x40000000
40046f26ec7SAlessio Igor Bogani
40146f26ec7SAlessio Igor Bogani				  0x01000000 0x0 0x00000000
40246f26ec7SAlessio Igor Bogani				  0x01000000 0x0 0x00000000
40346f26ec7SAlessio Igor Bogani				  0x0 0x00400000>;
40446f26ec7SAlessio Igor Bogani		};
40546f26ec7SAlessio Igor Bogani	};
40646f26ec7SAlessio Igor Bogani
40746f26ec7SAlessio Igor Bogani	pci1: pcie@fef09000 {
40846f26ec7SAlessio Igor Bogani		compatible = "fsl,mpc8641-pcie";
40946f26ec7SAlessio Igor Bogani		device_type = "pci";
41046f26ec7SAlessio Igor Bogani		#size-cells = <2>;
41146f26ec7SAlessio Igor Bogani		#address-cells = <3>;
41246f26ec7SAlessio Igor Bogani		reg = <0xfef09000 0x1000>;
41346f26ec7SAlessio Igor Bogani		bus-range = <0x0 0xff>;
41446f26ec7SAlessio Igor Bogani		ranges = <0x02000000 0x0 0xc0000000 0xc0000000 0x0 0x20000000
41546f26ec7SAlessio Igor Bogani			  0x01000000 0x0 0x00000000 0xfe400000 0x0 0x00400000>;
416595207b9SAlessio Igor Bogani		clock-frequency = <100000000>;
417595207b9SAlessio Igor Bogani		interrupts = <0x19 0x2 0 0>;
41846f26ec7SAlessio Igor Bogani		interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
41946f26ec7SAlessio Igor Bogani		interrupt-map = <
42046f26ec7SAlessio Igor Bogani			0x0000 0x0 0x0 0x1 &mpic 0x4 0x2
42146f26ec7SAlessio Igor Bogani			0x0000 0x0 0x0 0x2 &mpic 0x5 0x2
42246f26ec7SAlessio Igor Bogani			0x0000 0x0 0x0 0x3 &mpic 0x6 0x2
42346f26ec7SAlessio Igor Bogani			0x0000 0x0 0x0 0x4 &mpic 0x7 0x2
42446f26ec7SAlessio Igor Bogani			>;
42546f26ec7SAlessio Igor Bogani
42646f26ec7SAlessio Igor Bogani		pcie@0 {
42746f26ec7SAlessio Igor Bogani			reg = <0 0 0 0 0>;
42846f26ec7SAlessio Igor Bogani			#size-cells = <2>;
42946f26ec7SAlessio Igor Bogani			#address-cells = <3>;
43046f26ec7SAlessio Igor Bogani			device_type = "pci";
43146f26ec7SAlessio Igor Bogani			ranges = <0x02000000 0x0 0xc0000000
43246f26ec7SAlessio Igor Bogani				  0x02000000 0x0 0xc0000000
43346f26ec7SAlessio Igor Bogani				  0x0 0x20000000
43446f26ec7SAlessio Igor Bogani
43546f26ec7SAlessio Igor Bogani				  0x01000000 0x0 0x00000000
43646f26ec7SAlessio Igor Bogani				  0x01000000 0x0 0x00000000
43746f26ec7SAlessio Igor Bogani				  0x0 0x00400000>;
43846f26ec7SAlessio Igor Bogani		};
43946f26ec7SAlessio Igor Bogani	};
44046f26ec7SAlessio Igor Bogani};
441