197493e2eSAlessio Igor Bogani/*
297493e2eSAlessio Igor Bogani * Device tree source for the Emerson/Artesyn MVME7100
397493e2eSAlessio Igor Bogani *
497493e2eSAlessio Igor Bogani * Copyright 2016 Elettra-Sincrotrone Trieste S.C.p.A.
597493e2eSAlessio Igor Bogani *
697493e2eSAlessio Igor Bogani * Author: Alessio Igor Bogani <alessio.bogani@elettra.eu>
797493e2eSAlessio Igor Bogani *
897493e2eSAlessio Igor Bogani * This program is free software; you can redistribute  it and/or modify it
997493e2eSAlessio Igor Bogani * under  the terms of  the GNU General  Public License as published by the
1097493e2eSAlessio Igor Bogani * Free Software Foundation;  either version 2 of the  License, or (at your
1197493e2eSAlessio Igor Bogani * option) any later version.
1297493e2eSAlessio Igor Bogani *
1397493e2eSAlessio Igor Bogani */
1497493e2eSAlessio Igor Bogani
1597493e2eSAlessio Igor Bogani/include/ "mpc8641si-pre.dtsi"
1697493e2eSAlessio Igor Bogani
1797493e2eSAlessio Igor Bogani/ {
1897493e2eSAlessio Igor Bogani	model = "MVME7100";
1997493e2eSAlessio Igor Bogani	compatible = "artesyn,MVME7100";
2097493e2eSAlessio Igor Bogani
2197493e2eSAlessio Igor Bogani	memory {
2297493e2eSAlessio Igor Bogani		device_type = "memory";
2397493e2eSAlessio Igor Bogani		reg = <0x00000000 0x80000000>;
2497493e2eSAlessio Igor Bogani	};
2597493e2eSAlessio Igor Bogani
2697493e2eSAlessio Igor Bogani	soc: soc@f1000000 {
2797493e2eSAlessio Igor Bogani		ranges = <0x00000000 0xf1000000 0x00100000>;
2897493e2eSAlessio Igor Bogani
2997493e2eSAlessio Igor Bogani		i2c@3000 {
3097493e2eSAlessio Igor Bogani			hwmon@4c {
3197493e2eSAlessio Igor Bogani				compatible = "dallas,max6649";
3297493e2eSAlessio Igor Bogani				reg = <0x4c>;
3397493e2eSAlessio Igor Bogani			};
3497493e2eSAlessio Igor Bogani
3597493e2eSAlessio Igor Bogani			rtc@68 {
3697493e2eSAlessio Igor Bogani				status = "disabled";
3797493e2eSAlessio Igor Bogani			};
3897493e2eSAlessio Igor Bogani		};
3997493e2eSAlessio Igor Bogani
4097493e2eSAlessio Igor Bogani
4197493e2eSAlessio Igor Bogani		enet0: ethernet@24000 {
4297493e2eSAlessio Igor Bogani			phy-handle = <&phy0>;
4397493e2eSAlessio Igor Bogani			phy-connection-type = "rgmii-id";
4497493e2eSAlessio Igor Bogani		};
4597493e2eSAlessio Igor Bogani
4697493e2eSAlessio Igor Bogani		mdio@24520 {
4797493e2eSAlessio Igor Bogani			phy0: ethernet-phy@1 {
4897493e2eSAlessio Igor Bogani				reg = <1>;
4997493e2eSAlessio Igor Bogani			};
5097493e2eSAlessio Igor Bogani			phy1: ethernet-phy@2 {
5197493e2eSAlessio Igor Bogani				reg = <2>;
5297493e2eSAlessio Igor Bogani			};
5397493e2eSAlessio Igor Bogani			phy2: ethernet-phy@3 {
5497493e2eSAlessio Igor Bogani				reg = <3>;
5597493e2eSAlessio Igor Bogani			};
5697493e2eSAlessio Igor Bogani			phy3: ethernet-phy@4 {
5797493e2eSAlessio Igor Bogani				reg = <4>;
5897493e2eSAlessio Igor Bogani			};
5997493e2eSAlessio Igor Bogani		};
6097493e2eSAlessio Igor Bogani
6197493e2eSAlessio Igor Bogani		enet1: ethernet@25000 {
6297493e2eSAlessio Igor Bogani			phy-handle = <&phy1>;
6397493e2eSAlessio Igor Bogani			phy-connection-type = "rgmii-id";
6497493e2eSAlessio Igor Bogani		};
6597493e2eSAlessio Igor Bogani
6697493e2eSAlessio Igor Bogani		mdio@25520 {
6797493e2eSAlessio Igor Bogani			status = "disabled";
6897493e2eSAlessio Igor Bogani		};
6997493e2eSAlessio Igor Bogani
7097493e2eSAlessio Igor Bogani		enet2: ethernet@26000 {
7197493e2eSAlessio Igor Bogani			phy-handle = <&phy2>;
7297493e2eSAlessio Igor Bogani			phy-connection-type = "rgmii-id";
7397493e2eSAlessio Igor Bogani		};
7497493e2eSAlessio Igor Bogani
7597493e2eSAlessio Igor Bogani		mdio@26520 {
7697493e2eSAlessio Igor Bogani			status = "disabled";
7797493e2eSAlessio Igor Bogani		};
7897493e2eSAlessio Igor Bogani
7997493e2eSAlessio Igor Bogani		enet3: ethernet@27000 {
8097493e2eSAlessio Igor Bogani			phy-handle = <&phy3>;
8197493e2eSAlessio Igor Bogani			phy-connection-type = "rgmii-id";
8297493e2eSAlessio Igor Bogani		};
8397493e2eSAlessio Igor Bogani
8497493e2eSAlessio Igor Bogani		mdio@27520 {
8597493e2eSAlessio Igor Bogani			status = "disabled";
8697493e2eSAlessio Igor Bogani		};
8797493e2eSAlessio Igor Bogani
8897493e2eSAlessio Igor Bogani		serial1: serial@4600 {
8997493e2eSAlessio Igor Bogani			status = "disabled";
9097493e2eSAlessio Igor Bogani		};
9197493e2eSAlessio Igor Bogani	};
9297493e2eSAlessio Igor Bogani
9397493e2eSAlessio Igor Bogani	lbc: localbus@f1005000 {
9497493e2eSAlessio Igor Bogani		reg = <0xf1005000 0x1000>;
9597493e2eSAlessio Igor Bogani
9697493e2eSAlessio Igor Bogani		ranges = <0 0 0xf8000000 0x08000000	// NOR Flash (128MB)
9797493e2eSAlessio Igor Bogani			  2 0 0xf2030000 0x00010000	// NAND Flash (8GB)
9897493e2eSAlessio Igor Bogani			  3 0 0xf2400000 0x00080000	// MRAM (512KB)
9997493e2eSAlessio Igor Bogani			  4 0 0xf2000000 0x00010000	// BCSR
10097493e2eSAlessio Igor Bogani			  5 0 0xf2010000 0x00010000>;	// QUART
10197493e2eSAlessio Igor Bogani
10297493e2eSAlessio Igor Bogani		bcsr@4,0 {
10397493e2eSAlessio Igor Bogani			compatible = "artesyn,mvme7100-bcsr";
10497493e2eSAlessio Igor Bogani			reg = <4 0 0x10000>;
10597493e2eSAlessio Igor Bogani		};
10697493e2eSAlessio Igor Bogani
10797493e2eSAlessio Igor Bogani		serial@5,1000 {
10897493e2eSAlessio Igor Bogani			device_type = "serial";
10997493e2eSAlessio Igor Bogani			compatible = "ns16550";
11097493e2eSAlessio Igor Bogani			reg = <5 0x1000 0x100>;
11197493e2eSAlessio Igor Bogani			clock-frequency = <1843200>;
11297493e2eSAlessio Igor Bogani			interrupts = <11 1 0 0>;
11397493e2eSAlessio Igor Bogani		};
11497493e2eSAlessio Igor Bogani
11597493e2eSAlessio Igor Bogani		serial@5,2000 {
11697493e2eSAlessio Igor Bogani			device_type = "serial";
11797493e2eSAlessio Igor Bogani			compatible = "ns16550";
11897493e2eSAlessio Igor Bogani			reg = <5 0x2000 0x100>;
11997493e2eSAlessio Igor Bogani			clock-frequency = <1843200>;
12097493e2eSAlessio Igor Bogani			interrupts = <11 1 0 0>;
12197493e2eSAlessio Igor Bogani		};
12297493e2eSAlessio Igor Bogani
12397493e2eSAlessio Igor Bogani		serial@5,3000 {
12497493e2eSAlessio Igor Bogani			device_type = "serial";
12597493e2eSAlessio Igor Bogani			compatible = "ns16550";
12697493e2eSAlessio Igor Bogani			reg = <5 0x3000 0x100>;
12797493e2eSAlessio Igor Bogani			clock-frequency = <1843200>;
12897493e2eSAlessio Igor Bogani			interrupts = <11 1 0 0>;
12997493e2eSAlessio Igor Bogani		};
13097493e2eSAlessio Igor Bogani
13197493e2eSAlessio Igor Bogani		serial@5,4000 {
13297493e2eSAlessio Igor Bogani			device_type = "serial";
13397493e2eSAlessio Igor Bogani			compatible = "ns16550";
13497493e2eSAlessio Igor Bogani			reg = <5 0x4000 0x100>;
13597493e2eSAlessio Igor Bogani			clock-frequency = <1843200>;
13697493e2eSAlessio Igor Bogani			interrupts = <11 1 0 0>;
13797493e2eSAlessio Igor Bogani		};
13897493e2eSAlessio Igor Bogani	};
13997493e2eSAlessio Igor Bogani
14097493e2eSAlessio Igor Bogani	pci0: pcie@f1008000 {
14197493e2eSAlessio Igor Bogani		status = "disabled";
14297493e2eSAlessio Igor Bogani	};
14397493e2eSAlessio Igor Bogani
14497493e2eSAlessio Igor Bogani	pci1: pcie@f1009000 {
14597493e2eSAlessio Igor Bogani		status = "disabled";
14697493e2eSAlessio Igor Bogani	};
14797493e2eSAlessio Igor Bogani
14897493e2eSAlessio Igor Bogani	chosen {
14997493e2eSAlessio Igor Bogani		linux,stdout-path = &serial0;
15097493e2eSAlessio Igor Bogani	};
15197493e2eSAlessio Igor Bogani};
15297493e2eSAlessio Igor Bogani
15397493e2eSAlessio Igor Bogani/include/ "mpc8641si-post.dtsi"
154