From patchwork Sun Dec 5 22:56:17 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Packham X-Patchwork-Id: 12694841 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 90046C433F5 for ; Sun, 5 Dec 2021 22:58:21 +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:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject: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=JnGAnGM/ndTf15Ve7mYisItlgd61sKiKX+YO2WUAcMo=; b=op5l/NgVxaGsiA uJj0LcvL1fkdNRg/YFEMk7Tt1C7xQXi3H1XqI2PgrSWFrxe4z6QJmwH7jG8CVD/EPGb2pCeQne/BP erLSf1Fhq/4Pnl25LXIcVDPBVvsP/ikGST/rnyUZDLiDZwqDCyXAL6KzevKyEr4MxjshQtBXqG9ZD ViKSch5O3GWMn4SdZCnhAv+ddiD4F+hfkXejV//4Cb42iTvya+ostOL0TbuMHGeTOStuYxVtW/W0w ekd7IzVVbOkrZ008fq3pXx14tWY3xLlDBmdhXzzULIBc72nYyDbMX7TixBKhKgU9ZbuRt+XDuSxBj Eus7JjBLJ8gHOFqb+Mxg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mu0RA-0026S6-5p; Sun, 05 Dec 2021 22:56:52 +0000 Received: from gate2.alliedtelesis.co.nz ([2001:df5:b000:5::4]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mu0Qw-0026ON-K9 for linux-arm-kernel@lists.infradead.org; Sun, 05 Dec 2021 22:56:40 +0000 Received: from svr-chch-seg1.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 3A687891AF; Mon, 6 Dec 2021 11:56:29 +1300 (NZDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail181024; t=1638744989; bh=MVisqBM5OMHeZcS9nt8ypOu3pIyl4x3UFULfFDc//8g=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=RxQRd69gZ9vPnFwzpNPdjsOyaNzEG2KXRMq2Xk1sRysPCLeBI9dLl7K9ILnqh+vbj VTCPAqdedAA/adZz3PYR8lkIL74Y8L31ssC+ttytJbQaSwBR6215d2U81obIeSmC9z IxOex93xJ5xUgPy/XHd4B14/yv+5kXkPNYPfTn0YVKkYSDer+ntS1wYb6BefYAK1P6 ZMHcIiGQSw4Nn8xCUlzlmkJfMrwp7xYTrT78xjBso+p4bJwySuVobN0Y/Zx0JDQpuM Av+pQc1XhaiCsxnlYO9ZW3MHrvx0hgEMTkUeDzmIXueZdRZrfpq3AHQvDarOlxkyQ9 yXNfDyuP5xlvw== Received: from pat.atlnz.lc (Not Verified[10.32.16.33]) by svr-chch-seg1.atlnz.lc with Trustwave SEG (v8, 2, 6, 11305) id ; Mon, 06 Dec 2021 11:56:29 +1300 Received: from chrisp-dl.ws.atlnz.lc (chrisp-dl.ws.atlnz.lc [10.33.22.30]) by pat.atlnz.lc (Postfix) with ESMTP id EBB5C13ECA6; Mon, 6 Dec 2021 11:56:28 +1300 (NZDT) Received: by chrisp-dl.ws.atlnz.lc (Postfix, from userid 1030) id E83FB2A02A6; Mon, 6 Dec 2021 11:56:28 +1300 (NZDT) From: Chris Packham To: andrew@lunn.ch, gregory.clement@bootlin.com, sebastian.hesselbarth@gmail.com, robh+dt@kernel.org, kabel@kernel.org, linux@armlinux.org.uk Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Chris Packham Subject: [PATCH v3 1/2] arm/arm64: dts: Enable CP0 GPIOs for CN9130-CRB Date: Mon, 6 Dec 2021 11:56:17 +1300 Message-Id: <20211205225618.1565909-2-chris.packham@alliedtelesis.co.nz> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20211205225618.1565909-1-chris.packham@alliedtelesis.co.nz> References: <20211205225618.1565909-1-chris.packham@alliedtelesis.co.nz> MIME-Version: 1.0 X-SEG-SpamProfiler-Analysis: v=2.3 cv=XOZOtjpE c=1 sm=1 tr=0 a=KLBiSEs5mFS1a/PbTCJxuA==:117 a=IOMw9HtfNCkA:10 a=6oF1C17gH3cd1FedgN0A:9 X-SEG-SpamProfiler-Score: 0 x-atlnz-ls: pat X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211205_145638_870158_7F431D38 X-CRM114-Status: UNSURE ( 9.86 ) X-CRM114-Notice: Please train this message. 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 Enable the CP0 GPIO devices for the CN9130-CRB. This is needed for a number of the peripheral devices to function. Signed-off-by: Chris Packham Reviewed-by: Andrew Lunn --- Changes in v3: - None Changes in v2: - New arch/arm64/boot/dts/marvell/cn9130-crb.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/marvell/cn9130-crb.dtsi b/arch/arm64/boot/dts/marvell/cn9130-crb.dtsi index e7918f325646..0885c6339d1b 100644 --- a/arch/arm64/boot/dts/marvell/cn9130-crb.dtsi +++ b/arch/arm64/boot/dts/marvell/cn9130-crb.dtsi @@ -17,6 +17,8 @@ aliases { ethernet0 = &cp0_eth0; ethernet1 = &cp0_eth1; ethernet2 = &cp0_eth2; + gpio1 = &cp0_gpio1; + gpio2 = &cp0_gpio2; }; memory@0 { @@ -114,6 +116,14 @@ cp0_spi0_pins: cp0-spi-pins-0 { }; }; +&cp0_gpio1 { + status = "okay"; +}; + +&cp0_gpio2 { + status = "okay"; +}; + &cp0_i2c0 { pinctrl-names = "default"; pinctrl-0 = <&cp0_i2c0_pins>;