From patchwork Thu Sep 22 20:24:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauri Sandberg X-Patchwork-Id: 12985779 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 09FA6C54EE9 for ; Thu, 22 Sep 2022 20:27:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Subject:MIME-Version:References: In-Reply-To:Message-Id:Date:Cc:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=S+9hPUldGy0t/uhJh+CFhMWcJt0Gekej/d9T/UQ6r5U=; b=Pt/Atd9ldkc3xFctArxM3ymHoB RpqXPO+N9tc4F5csqXbkuAuitiYdxTMoYLjTTsZUkVbXoMTMTvukPLsANW1pCJtMC+2DQWQn33GDh eS69W7J6xoFvNKY+9RWqt/U+AuZTu9oa2BmQxpC9/2/GkGDiM+PfYFCLqbf/VZRLSOABoOccp1LJ2 cfHkNi+FDreQ0/2Gi+QEbKAyP1GnZZ+aKaECHjB8r2TnLyQQArzoAw5LIGPxVZzRtHXUcROIBDbwt DDKeL0+o76Yo9oMxE1WXSM5xT5HLQkhHVqmjxDQuM0C1Y7kSRz1sMkQS8tiOZJBNSlSlpG21SRic/ XHYHGA6w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1obSmA-0005jr-Aa; Thu, 22 Sep 2022 20:26:26 +0000 Received: from mailserv1.kapsi.fi ([2001:67c:1be8::25:1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1obSly-0005hI-Ed for linux-arm-kernel@lists.infradead.org; Thu, 22 Sep 2022 20:26:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ext.kapsi.fi; s=20161220; h=Subject:Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=yVy+nR6iXhD6u+bbxJixDExEhHFsLTq2CFI0hZ7hb5w=; b=cpPjoiN8iUl4ZISRGpUPapQbYb Ti2jVM3R0mM8YAPGi1PIx7TL80RAkQvuhnSGSYcHcJ8G3VQZp+oXAbFHdoQ0keFWKnMek5QtZAjyi 4ihtse90ir/SPzHlzkq7Eh2kgyo7iBxZyY+0rQtpnudYk7JufE3HzUHXFiDeMAnfewNZLCCS0OXUX lTFMB5JL7+sWu3cZNHdmi5NvL3BqVuahSSAdn4xAsoChegJGVHuQiraP9V09Y+6oqCZxGkv4Dg3of NERZHzsQNFosHYyLSi4TFiUNls/oN3e30slne0nAI4zSFZyAlMuhNDQ6XnByjmLGW0s93W/GYSyOn kQuDDusQ==; Received: from a88-85-156-139.mpynet.fi ([88.85.156.139]:50261 helo=localhost) by mailserv1.kapsi.fi with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1obSlS-008pZ9-OO; Thu, 22 Sep 2022 23:25:44 +0300 Received: by localhost (sSMTP sendmail emulation); Thu, 22 Sep 2022 23:25:39 +0300 From: Mauri Sandberg To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, arnd@arndb.de, olof@lixom.net, andrew@lunn.ch, sebastian.hesselbarth@gmail.com, gregory.clement@bootlin.com, linux@armlinux.org.uk Cc: pali@kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Mauri Sandberg Date: Thu, 22 Sep 2022 23:24:55 +0300 Message-Id: <20220922202458.7592-1-maukka@ext.kapsi.fi> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220427162123.110458-1-maukka@ext.kapsi.fi> References: <20220427162123.110458-1-maukka@ext.kapsi.fi> MIME-Version: 1.0 X-SA-Exim-Connect-IP: 88.85.156.139 X-SA-Exim-Mail-From: maukka@ext.kapsi.fi Subject: [PATCH v2 0/3] ARM: orion5x: add D-Link DNS323 based on device treee X-SA-Exim-Version: 4.2.1 (built Sat, 13 Feb 2021 17:57:42 +0000) X-SA-Exim-Scanned: Yes (on mailserv1.kapsi.fi) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220922_132614_972298_E8C5ED06 X-CRM114-Status: GOOD ( 17.60 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello all, This is the second iteration of my series to add D-Link DNS323 devices, which are based on a device tree. It adds the bindings, the device tree source files and a new board file to take care of initialising what little remains that cannot be done via device tree. The initialisation of MAC address will be neater once method for passing ASCII string based address is agreed on. Functionally this series has a dependency to Pali's mvebu pci series, which adds support for Orion PCIe and which should be scheduled for a merge window any time soon: https://lore.kernel.org/linux-pci/20220905192310.22786-1-pali@kernel.org/ What currently is tested and works in rev A1 - leds - keys - fan - temperature sensor - shutdown - reboot - mtd partitions - ethernet - PCIe and with that sata_mv And the variants B1 and C1 need testing still. Thanks, Mauri Mauri Sandberg (3): dt-bindings: arm: add DT binding for D-Link DNS-323 ARM: dts: orion5x: Add D-Link DNS-323 Device Tree ARM: orion5x: Add D-Link DNS-323 based on Device Tree .../bindings/arm/marvell/marvell,orion5x.txt | 12 + arch/arm/boot/dts/Makefile | 3 + arch/arm/boot/dts/orion5x-dlink-dns323.dtsi | 215 ++++++++++++++++++ arch/arm/boot/dts/orion5x-dlink-dns323a1.dts | 44 ++++ arch/arm/boot/dts/orion5x-dlink-dns323b1.dts | 39 ++++ arch/arm/boot/dts/orion5x-dlink-dns323c1.dts | 81 +++++++ arch/arm/mach-orion5x/Kconfig | 7 + arch/arm/mach-orion5x/Makefile | 1 + arch/arm/mach-orion5x/board-dns323.c | 208 +++++++++++++++++ arch/arm/mach-orion5x/board-dt.c | 3 + arch/arm/mach-orion5x/common.h | 6 + 11 files changed, 619 insertions(+) create mode 100644 arch/arm/boot/dts/orion5x-dlink-dns323.dtsi create mode 100644 arch/arm/boot/dts/orion5x-dlink-dns323a1.dts create mode 100644 arch/arm/boot/dts/orion5x-dlink-dns323b1.dts create mode 100644 arch/arm/boot/dts/orion5x-dlink-dns323c1.dts create mode 100644 arch/arm/mach-orion5x/board-dns323.c base-commit: c69cf88cda5faca0e411babb67ac0d8bfd8b4646 --- 2.25.1