From 8474aa2e7b3846410f35b08c92c29f61f15897aa Mon Sep 17 00:00:00 2001 From: Gregory CLEMENT Date: Thu, 31 Jan 2013 15:50:12 +0100 Subject: [PATCH] --- yaml --- r: 359919 b: refs/heads/master c: 568fc0a321a7f3ae1c3626a4f471d49ff005779c h: refs/heads/master i: 359917: 57a1519916c305b00e8b00ee82d3e490681dd432 359915: 1b6525236f4a62b8ed31c547bf83efc7154b89a5 359911: 3c9460d7fbb078d110ab8d16214c04fa7642b30f 359903: 531a42d0dc7b5c425aff0f2e1052a3be1b27ff46 v: v3 --- [refs] | 2 +- trunk/arch/arm/boot/dts/Makefile | 1 + trunk/arch/arm/boot/dts/armada-xp-gp.dts | 101 +++++++++++++++++++++++ 3 files changed, 103 insertions(+), 1 deletion(-) create mode 100644 trunk/arch/arm/boot/dts/armada-xp-gp.dts diff --git a/[refs] b/[refs] index 14491051a807..b8dc0fcfc796 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: cecf42c5d7a864509ee5cc6630d2414676f0b8a9 +refs/heads/master: 568fc0a321a7f3ae1c3626a4f471d49ff005779c diff --git a/trunk/arch/arm/boot/dts/Makefile b/trunk/arch/arm/boot/dts/Makefile index ebba972d774b..157fbebc9c24 100644 --- a/trunk/arch/arm/boot/dts/Makefile +++ b/trunk/arch/arm/boot/dts/Makefile @@ -80,6 +80,7 @@ dtb-$(CONFIG_ARCH_MVEBU) += armada-370-db.dtb \ armada-370-mirabox.dtb \ armada-370-rd.dtb \ armada-xp-db.dtb \ + armada-xp-gp.dtb \ armada-xp-openblocks-ax3-4.dtb dtb-$(CONFIG_ARCH_MXC) += imx51-babbage.dtb \ imx53-ard.dtb \ diff --git a/trunk/arch/arm/boot/dts/armada-xp-gp.dts b/trunk/arch/arm/boot/dts/armada-xp-gp.dts new file mode 100644 index 000000000000..3eea53106a1f --- /dev/null +++ b/trunk/arch/arm/boot/dts/armada-xp-gp.dts @@ -0,0 +1,101 @@ +/* + * Device Tree file for Marvell Armada XP development board + * (DB-MV784MP-GP) + * + * Copyright (C) 2013 Marvell + * + * Lior Amsalem + * Gregory CLEMENT + * Thomas Petazzoni + * + * This file is licensed under the terms of the GNU General Public + * License version 2. This program is licensed "as is" without any + * warranty of any kind, whether express or implied. + */ + +/dts-v1/; +/include/ "armada-xp-mv78460.dtsi" + +/ { + model = "Marvell Armada XP Development Board DB-MV784MP-GP"; + compatible = "marvell,axp-gp", "marvell,armadaxp-mv78460", "marvell,armadaxp", "marvell,armada-370-xp"; + + chosen { + bootargs = "console=ttyS0,115200 earlyprintk"; + }; + + memory { + device_type = "memory"; + + /* + * 4 GB of plug-in RAM modules by default but only 3GB + * are visible, the amount of memory available can be + * changed by the bootloader according the size of the + * module actually plugged + */ + reg = <0x00000000 0xC0000000>; + }; + + soc { + serial@d0012000 { + clock-frequency = <250000000>; + status = "okay"; + }; + serial@d0012100 { + clock-frequency = <250000000>; + status = "okay"; + }; + serial@d0012200 { + clock-frequency = <250000000>; + status = "okay"; + }; + serial@d0012300 { + clock-frequency = <250000000>; + status = "okay"; + }; + + sata@d00a0000 { + nr-ports = <2>; + status = "okay"; + }; + + mdio { + phy0: ethernet-phy@0 { + reg = <16>; + }; + + phy1: ethernet-phy@1 { + reg = <17>; + }; + + phy2: ethernet-phy@2 { + reg = <18>; + }; + + phy3: ethernet-phy@3 { + reg = <19>; + }; + }; + + ethernet@d0070000 { + status = "okay"; + phy = <&phy0>; + phy-mode = "rgmii-id"; + }; + ethernet@d0074000 { + status = "okay"; + phy = <&phy1>; + phy-mode = "rgmii-id"; + }; + ethernet@d0030000 { + status = "okay"; + phy = <&phy2>; + phy-mode = "rgmii-id"; + }; + ethernet@d0034000 { + status = "okay"; + phy = <&phy3>; + phy-mode = "rgmii-id"; + }; + }; +};