Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp563569pxu; Sun, 22 Nov 2020 19:54:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJx/jkE1YElQ+iPq+gyed86JSGVpKBDDBhGGwUxYkZpvsDRD2lFETjZIH6dDo4XFcuB5Enpm X-Received: by 2002:a05:6402:170e:: with SMTP id y14mr46327137edu.115.1606103656346; Sun, 22 Nov 2020 19:54:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606103656; cv=none; d=google.com; s=arc-20160816; b=uFlfNNrl1WqAbX4TaBOTbC/qH+sT6/9BvhWuvbBxa5Gy5stfmXJhLViDl+FXLh9hsF RNYg7cCYLujq6KTBI4jowfcsFFIHvulu+H+cJqu32u0+DCBIqVGU6tQQ2DnBJYHqh/YD O6oFRUwvJ27nnYJUV/Cq1GKinBEiBXJ2g8wnxQzieYsPZWESzAfH5VFGuP2WvZuVJb1/ i3MuGhWKvoknUre3vtBFeNGWLRPEQ/VAbbvGpsY9ECuQDOx8ysnp9lnVtI877nRhDYpn NhdA31ofpWVKE+CiBMukzDBpr51Pjsile2wMjI1tHYuCngod8QDquKUOn7GgFeRqduUF V68A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=2UlIo8j5DajpgR4TvxUOs90rl0Y78kKC5FRmCtyJRp0=; b=l4jSeMu38L834q+IEqPavcQQLDpzCRpB77rfB2CttTjheyVLmpt+8CWtk65XMkj4qO /RDhCvsWU8nm28zlmkR3wgDhq4lj/7G7AURfZmENsiW4RW/USJwQbzZWjEzFqMOKhMS+ KHqWr0S3ov5E+dfTr/1+ZwQF7tyKJ9gYHe7t+I0u1N8PBBVz9eStKqCPmqvC9/iYLcpc egVK6Zlmo2CJGd+UP0vBgJ7g0onYtXcrv5SyUrW+9pUJWa8TKgoS5SkTnw+9yUZMEe2e 0ziJWsYergjw/L19623YydLHCd+sei2O3/sSxiydEIeTwoMU9mcEs/8qXIkpR0fjc8oe 0Kew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alliedtelesis.co.nz header.s=mail181024 header.b=FUWP6ph5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alliedtelesis.co.nz Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n18si5651091ejk.69.2020.11.22.19.53.53; Sun, 22 Nov 2020 19:54:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@alliedtelesis.co.nz header.s=mail181024 header.b=FUWP6ph5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alliedtelesis.co.nz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726893AbgKWDwb (ORCPT + 99 others); Sun, 22 Nov 2020 22:52:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726925AbgKWDwb (ORCPT ); Sun, 22 Nov 2020 22:52:31 -0500 Received: from gate2.alliedtelesis.co.nz (gate2.alliedtelesis.co.nz [IPv6:2001:df5:b000:5::4]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB189C061A4C for ; Sun, 22 Nov 2020 19:52:29 -0800 (PST) Received: from mmarshal3.atlnz.lc (mmarshal3.atlnz.lc [10.32.18.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by gate2.alliedtelesis.co.nz (Postfix) with ESMTPS id 78E8A891AE; Mon, 23 Nov 2020 16:52:24 +1300 (NZDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail181024; t=1606103544; bh=2UlIo8j5DajpgR4TvxUOs90rl0Y78kKC5FRmCtyJRp0=; h=From:To:Cc:Subject:Date; b=FUWP6ph5yde2PC8iwNHB03SCpJ4OeNgw5gNubHM6kmGUFojjl3BrRBDMzXMooeD93 Lftz1WZhGEnBKmMZJBywKpSqfeRiDhha+O7Mu0cJuPC/dlyyFsOf2gTXmywV3GCinw iUHbM9OBvdyAaC6qrAcAA/zh0j32600jUCBCSw7MQidTtQDYdFAT/XY4njnd5n4pAt TJ8LCxilnwHYhF8VEeF5NzlnwpgikMGSAzKtVPxhjRJ0dRTTnJvCivmOfRS0QrbXoH Gfs1CDCXNvbYG/Eir2K4Q0Se1pDLbp3t4kfkYExkwqYtDsswPvje7t4qR9+IlTmdUd s+uW2Whk2/Acg== Received: from smtp (Not Verified[10.32.16.33]) by mmarshal3.atlnz.lc with Trustwave SEG (v7,5,8,10121) id ; Mon, 23 Nov 2020 16:52:24 +1300 Received: from aryans-dl.ws.atlnz.lc (aryans-dl.ws.atlnz.lc [10.33.21.30]) by smtp (Postfix) with ESMTP id E4A3413EE9F; Mon, 23 Nov 2020 16:52:23 +1300 (NZDT) Received: by aryans-dl.ws.atlnz.lc (Postfix, from userid 1844) id 3797B14C2841; Mon, 23 Nov 2020 16:52:24 +1300 (NZDT) From: Aryan Srivastava To: robh+dt@kernel.org, andrew@lunn.ch, gregory.clement@bootlin.com, sebastian.hesselbarth@gmail.com, chrisp@alliedtelesis.co.nz Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Aryan Srivastava Subject: [PATCH] ARM: dts: mvebu: Add device tree for RD-AC3X-48G4X2XL board Date: Mon, 23 Nov 2020 16:52:15 +1300 Message-Id: <20201123035215.2239-1-aryan.srivastava@alliedtelesis.co.nz> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable x-atlnz-ls: pat Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add device tree for RD-AC3X-48G4X2XL board. This has a Armada 382 SoC on a interposer board connected to a baseboard with a Prestera AC3X ASIC connected via PCI. Signed-off-by: Aryan Srivastava --- arch/arm/boot/dts/Makefile | 1 + .../boot/dts/armada-382-rd-ac3x-48g4x2xl.dts | 114 ++++++++++++++++++ 2 files changed, 115 insertions(+) create mode 100644 arch/arm/boot/dts/armada-382-rd-ac3x-48g4x2xl.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index ce66ffd5a1bb..a60407ad7347 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -1319,6 +1319,7 @@ dtb-$(CONFIG_MACH_ARMADA_370) +=3D \ dtb-$(CONFIG_MACH_ARMADA_375) +=3D \ armada-375-db.dtb dtb-$(CONFIG_MACH_ARMADA_38X) +=3D \ + armada-382-rd-ac3x-48g4x2xl.dtb \ armada-385-clearfog-gtr-s4.dtb \ armada-385-clearfog-gtr-l8.dtb \ armada-385-db-88f6820-amc.dtb \ diff --git a/arch/arm/boot/dts/armada-382-rd-ac3x-48g4x2xl.dts b/arch/arm= /boot/dts/armada-382-rd-ac3x-48g4x2xl.dts new file mode 100644 index 000000000000..b08d662a8519 --- /dev/null +++ b/arch/arm/boot/dts/armada-382-rd-ac3x-48g4x2xl.dts @@ -0,0 +1,114 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Device Tree file for Marvell Armada 382 reference board + * (RD-AC3X-48G4X2XL) + * + * Copyright (C) 2020 Allied Telesis Labs + */ + +/dts-v1/; +#include "armada-385.dtsi" + +#include + +/ { + model =3D "Marvell Armada 382 RD-AC3X"; + compatible =3D "marvell,rd-ac3x-48g4x2xl", "marvell,rd-ac3x", + "marvell,armada385", "marvell,armada380"; + + chosen { + stdout-path =3D "serial0:115200n8"; + }; + + aliases { + ethernet0 =3D ð1; + }; + + memory { + device_type =3D "memory"; + reg =3D <0x00000000 0x20000000>; /* 512MB */ + }; + + soc { + ranges =3D ; + }; +}; + +&i2c0 { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&i2c0_pins>; + status =3D "okay"; + + eeprom@53{ + compatible =3D "atmel,24c64"; + reg =3D <0x53>; + }; +// cpld@3c{ +// compatible =3D "marvell,ac3x-cpld"; +// reg =3D <0x3c>; +// }; +}; + +&uart0 { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&uart0_pins>; + status =3D "okay"; +}; + +ð1 { + status =3D "okay"; + phy =3D <&phy0>; + phy-mode =3D "rgmii-id"; +}; + +&mdio { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&mdio_pins>; + + phy0: ethernet-phy@0 { + reg =3D <0>; + }; +}; + +&pciec { + status =3D "okay"; +}; + +&pcie1 { + /* Port 0, Lane 0 */ + status =3D "okay"; +}; + +&nand_controller { + status =3D "okay"; + + nand@0 { + reg =3D <0>; + label =3D "pxa3xx_nand-0"; + nand-rb =3D <0>; + nand-on-flash-bbt; + + partitions { + compatible =3D "fixed-partitions"; + #address-cells =3D <1>; + #size-cells =3D <1>; + partition@0 { + reg =3D <0x00000000 0x00500000>; + label =3D "u-boot"; + }; + partition@500000{ + reg =3D <0x00500000 0x00400000>; + label =3D "u-boot env"; + }; + partition@900000{ + reg =3D <0x00900000 0x3F700000>; + label =3D "user"; + }; + }; + }; +}; + +&refclk { + clock-frequency =3D <200000000>; +}; --=20 2.29.2