From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 13F3DC64E90 for ; Mon, 30 Nov 2020 14:29:25 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 86D82206B6 for ; Mon, 30 Nov 2020 14:29:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="sDUJQmHP" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 86D82206B6 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:References:In-Reply-To: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=9kIGyIb91LXkGnFEgsDacEtF47e1Mw7WPudm7QZGaOc=; b=sDUJQmHPUz+6T5o16J9stNf2a sJS55o8cbnz/+ugsQoMEPzZH1qVbxLPJsPQLJOV0U1aWZN6rj5TYCiQ3N5kwHGXWQN0RYDtThpBns tVLLoy0+6Ko7ckr5M0X3CNYl+M4o7vGiK/sHVIcYnl3Xj5oC6NZd9H7y/GzwzS10WcuTLAzxIpq1+ PIkQEyQH27e6L78dxT+Al+FTCWgOUgV9ReNrfiwmihBG3ti7h+fwLjA/qApjtUxXdYE+WXtJSU5Lw OpM+UPY9jpLcTRWK3yPuvBK178FYjGgQpuEGnxXqgJBAX0y0tVhsvANL/5NfPGLv8MvqFtMRMVWhx Junm/3zMQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kjk9j-0005Lo-GT; Mon, 30 Nov 2020 14:27:55 +0000 Received: from relay4-d.mail.gandi.net ([217.70.183.196]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kjk9g-0005L7-RG for linux-arm-kernel@lists.infradead.org; Mon, 30 Nov 2020 14:27:53 +0000 X-Originating-IP: 91.175.115.186 Received: from localhost (91-175-115-186.subs.proxad.net [91.175.115.186]) (Authenticated sender: gregory.clement@bootlin.com) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id A73B3E001D; Mon, 30 Nov 2020 14:27:42 +0000 (UTC) From: Gregory CLEMENT To: Aryan Srivastava , robh+dt@kernel.org, jason@lakedaemon.net, andrew@lunn.ch, sebastian.hesselbarth@gmail.com Subject: Re: [PATCH v2] ARM: dts: mvebu: Add device tree for RD-AC3X-48G4X2XL board In-Reply-To: <20201126044544.17829-1-aryan.srivastava@alliedtelesis.co.nz> References: <20201126044544.17829-1-aryan.srivastava@alliedtelesis.co.nz> Date: Mon, 30 Nov 2020 15:27:41 +0100 Message-ID: <87zh2yj4wy.fsf@BL-laptop> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201130_092753_135662_E843DBB1 X-CRM114-Status: GOOD ( 19.51 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Chris Packham , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Aryan Srivastava Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Aryan, > 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 > Reviewed-by: Chris Packham Applied on mvebu/dt Thanks, Gregory > --- > > Notes: > Changes in v2: > -Added comment for CPLD > > arch/arm/boot/dts/Makefile | 1 + > .../boot/dts/armada-382-rd-ac3x-48g4x2xl.dts | 112 ++++++++++++++++++ > 2 files changed, 113 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) += \ > dtb-$(CONFIG_MACH_ARMADA_375) += \ > armada-375-db.dtb > dtb-$(CONFIG_MACH_ARMADA_38X) += \ > + 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..584f0d0398a5 > --- /dev/null > +++ b/arch/arm/boot/dts/armada-382-rd-ac3x-48g4x2xl.dts > @@ -0,0 +1,112 @@ > +// 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 = "Marvell Armada 382 RD-AC3X"; > + compatible = "marvell,rd-ac3x-48g4x2xl", "marvell,rd-ac3x", > + "marvell,armada385", "marvell,armada380"; > + > + chosen { > + stdout-path = "serial0:115200n8"; > + }; > + > + aliases { > + ethernet0 = ð1; > + }; > + > + memory { > + device_type = "memory"; > + reg = <0x00000000 0x20000000>; /* 512MB */ > + }; > + > + soc { > + ranges = + MBUS_ID(0x01, 0x1d) 0 0xfff00000 0x100000>; > + }; > +}; > + > +&i2c0 { > + pinctrl-names = "default"; > + pinctrl-0 = <&i2c0_pins>; > + status = "okay"; > + > + eeprom@53{ > + compatible = "atmel,24c64"; > + reg = <0x53>; > + }; > + > + /* CPLD device present at 0x3c. Function unknown */ > +}; > + > +&uart0 { > + pinctrl-names = "default"; > + pinctrl-0 = <&uart0_pins>; > + status = "okay"; > +}; > + > +ð1 { > + status = "okay"; > + phy = <&phy0>; > + phy-mode = "rgmii-id"; > +}; > + > +&mdio { > + pinctrl-names = "default"; > + pinctrl-0 = <&mdio_pins>; > + > + phy0: ethernet-phy@0 { > + reg = <0>; > + }; > +}; > + > +&pciec { > + status = "okay"; > +}; > + > +&pcie1 { > + /* Port 0, Lane 0 */ > + status = "okay"; > +}; > + > +&nand_controller { > + status = "okay"; > + > + nand@0 { > + reg = <0>; > + label = "pxa3xx_nand-0"; > + nand-rb = <0>; > + nand-on-flash-bbt; > + > + partitions { > + compatible = "fixed-partitions"; > + #address-cells = <1>; > + #size-cells = <1>; > + partition@0 { > + reg = <0x00000000 0x00500000>; > + label = "u-boot"; > + }; > + partition@500000{ > + reg = <0x00500000 0x00400000>; > + label = "u-boot env"; > + }; > + partition@900000{ > + reg = <0x00900000 0x3F700000>; > + label = "user"; > + }; > + }; > + }; > +}; > + > +&refclk { > + clock-frequency = <200000000>; > +}; > -- > 2.29.2 > -- Gregory Clement, Bootlin Embedded Linux and Kernel engineering http://bootlin.com _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel