From patchwork Sun Oct 29 17:48:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Elad Nachman X-Patchwork-Id: 159383 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:d641:0:b0:403:3b70:6f57 with SMTP id cy1csp1792911vqb; Sun, 29 Oct 2023 10:48:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHQU6sb+K0pbe1oljQdMfP1OsssuVDirMmFDW/KB+H2NmwP9e0FaJcmeOhOpvc1J7/GLyHe X-Received: by 2002:a05:6a20:7d9e:b0:15e:bcd:57f5 with SMTP id v30-20020a056a207d9e00b0015e0bcd57f5mr7531282pzj.3.1698601739436; Sun, 29 Oct 2023 10:48:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698601739; cv=none; d=google.com; s=arc-20160816; b=PC2aae+s3CpJXk+NTlEsgovVwkaTEeZO9jBRXb908dI3CXgQfjjimtRzLPbR3ynyVv 6HUqvwU0wXEPVV6b2zYXL5FC9WqzEKEKqaTcKDDtAKb3k8zTGRCtMhKjyy/zteLtWC4o Q7G2TYEU1B3Q9xuzQ8qwZWNaVP30x6Z9fFrATogJYo5roKBXIw4pRDhGAlzE4E4UMGVQ wE9Hz2qwBKEBHFCrcvqRTtualyk9JiKRtPr6Y7z4QqfjJ24jadZ4PNJnQ8LTakOi4K/w qRn97KKdLTPw6boJWOP4v257XtHkiNkjEf4zPDr6gIVNboZnkNQh2TDO+wsdqUnIvr3v hqrA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=gwEbsiWwgUiZfVUT2+pagKAd6saNdGzKY2XsT+qXG34=; fh=k3uGFfciaNwUka3O0y703gGK16uxjHFuQYANdzJlzCQ=; b=hxaBvbR/AHPU0IU+qRT8lFsrwBYvVlkTet/4vvBGzutk3ePeTfGhy3Ww+nO3afUC1J sLQ185Ugecxig8+QD2uYdi/T7EZGXncfqeI3QRs5y2KBz+drB8h/a1Wf+giA/mGVeuBJ zDDYEIvPCsuiWHt5ocikiNOBSbXKYLQ9i/W/Vz33LU0bM3ozxmqI5TElTDaR62po7NVO HCxz0xwyNF8WuLCGva84hZhb6LFVQpyI5ebzxU1eNMwWU+6xrlmjQtjWNf/e0hFbIzez CLvHosnAbq+hbE0i/tjGNNQax9mdC6BYTaBDg33eRWDsNO78FKvldme/uk2hY/WCFQxm favw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=JfT1p8xq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=marvell.com Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id jc5-20020a17090325c500b001c9b172c35fsi3920196plb.40.2023.10.29.10.48.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Oct 2023 10:48:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=JfT1p8xq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=marvell.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 77F3480A22F5; Sun, 29 Oct 2023 10:48:58 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230259AbjJ2Rsr (ORCPT + 30 others); Sun, 29 Oct 2023 13:48:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230197AbjJ2Rsp (ORCPT ); Sun, 29 Oct 2023 13:48:45 -0400 Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 564E0B4; Sun, 29 Oct 2023 10:48:43 -0700 (PDT) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 39TArdWt026126; Sun, 29 Oct 2023 10:48:27 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=gwEbsiWwgUiZfVUT2+pagKAd6saNdGzKY2XsT+qXG34=; b=JfT1p8xqVo9ZlBPI6mjOCtGa2h+Nd3VjA36us1xF+rHwaA0jgoZzKU5JuCdZYNM8NFWm t+A/Q9I/6NRm5oBIC3iA68xb3qkZdR3rnLP2SUl0pxhYCJWHHQEfov5UwCvAJ2+KzQ4T cFVNKfDrXdw/OCh4H1wAvOTA2c00tTlAoC912khel9tHYIJzyTxqKMKVVA6t/Yni1Q8f cF0x5Yhd7/eHl/kH8/bncQxYBWppH7CJ1oU6Ye0csJrP6BkYzfvS0q4H6e+bjZMrtUuN vd6zlSr3xi0OaLXS5YHG4kDy8Q8HSGx3dIJtjGniqWa6zXVOXuwteXYbMdwJfV3CMZds vg== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3u0ynqbqkw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Sun, 29 Oct 2023 10:48:26 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Sun, 29 Oct 2023 10:48:25 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Sun, 29 Oct 2023 10:48:25 -0700 Received: from dc3lp-swdev041.marvell.com (dc3lp-swdev041.marvell.com [10.6.60.191]) by maili.marvell.com (Postfix) with ESMTP id ACFD03F70A0; Sun, 29 Oct 2023 10:48:21 -0700 (PDT) From: Elad Nachman To: , , , , , , , , , , , CC: , Subject: [PATCH v4 1/3] MAINTAINERS: add ac5 to list of maintained Marvell dts files Date: Sun, 29 Oct 2023 19:48:12 +0200 Message-ID: <20231029174814.559583-2-enachman@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231029174814.559583-1-enachman@marvell.com> References: <20231029174814.559583-1-enachman@marvell.com> MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: Q1JFkhFWKk7lyQZfXo-EUW5azMgWTAy8 X-Proofpoint-GUID: Q1JFkhFWKk7lyQZfXo-EUW5azMgWTAy8 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-29_06,2023-10-27_01,2023-05-22_02 X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Sun, 29 Oct 2023 10:48:58 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781113017606999337 X-GMAIL-MSGID: 1781113017606999337 From: Elad Nachman Add ac5 dts files to the list of maintained Marvell Armada dts files Signed-off-by: Elad Nachman Reviewed-by: Andrew Lunn --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index bdc4638b2df5..199225588567 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2323,6 +2323,7 @@ F: arch/arm/boot/dts/marvell/armada* F: arch/arm/boot/dts/marvell/kirkwood* F: arch/arm/configs/mvebu_*_defconfig F: arch/arm/mach-mvebu/ +F: arch/arm64/boot/dts/marvell/ac5* F: arch/arm64/boot/dts/marvell/armada* F: arch/arm64/boot/dts/marvell/cn913* F: drivers/clk/mvebu/ From patchwork Sun Oct 29 17:48:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Elad Nachman X-Patchwork-Id: 159384 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:d641:0:b0:403:3b70:6f57 with SMTP id cy1csp1792964vqb; Sun, 29 Oct 2023 10:49:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE6BElxiD260+rpzUNRnyRwU6GPYi9rBGT6sYNV03Kh7kwSn/Oerdcr9+R7ZDvAbosgUf2h X-Received: by 2002:a05:6870:d8cf:b0:1d6:5b09:1584 with SMTP id of15-20020a056870d8cf00b001d65b091584mr11509613oac.5.1698601749896; Sun, 29 Oct 2023 10:49:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698601749; cv=none; d=google.com; s=arc-20160816; b=fYgFLdkDzgcUqGTFJ3+QKY0RoPUHJ2O0qYe9ufSTgPyvf77d6hBb2Lp6W4T2z9lihY fmu9nHY1TvthLNHrTX1y7oZ7SC8LUcLPBCLB1NsbAijtjtlB4+BBSHid8RmXsAaQv1gE XWLghIULhMdOsyAQR/nd5fbGlG8QeDCuLtM4gNS7MJMVFhqX8Q/npd9J97BDM8Squy7E HxP7HtizqY+VyhditDs8qsi15VHvu7+R+8tQIlER/++dUaeeKZJY0SLsjhCJQD/oMsh9 1SsNkA3KC7QJsU4WOuEopjYHetzf3Q1ZWGUzteirWe98YjMARbwb3sh2tXfAdpq0XBVk y2ow== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=sbvx86w1d/4xh8rVtCB6CJhT45LBCFOcIMwsxmOtjaw=; fh=k3uGFfciaNwUka3O0y703gGK16uxjHFuQYANdzJlzCQ=; b=XmbZuTwMwdTmgZD7VmKGeJxtCi1phKw+OxK063kFHnXgJk/2IrxZAEnOPJB07uRZf6 0ttWzTdrGYYgaEtQn4bo5GsaVxHLaY6zuY2Ie6f/uqkbYsLClgUXpcA4Ocw4c+hWwgMY GFPisXGoG5upPI4WLROMa7ZdS4kc49U46JZ/88DF0Auw3NVDlO/jI3tU3rU9iSwmUU/S RfJ2D9iIBD+Uut9z1fgDPwFuVtUWbsXch/GOnP6crSe9i0T0qi3y7xHsjhjkTLL8L05B qeaNEZsTO2vf0n7zckfk9ugcIY0uwDL8WxnIMDkbbycaDDJ9Dw5Pw5IIFcjGnc3h7Ajf 3MqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=h4SFwCYF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=marvell.com Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id l6-20020a633e06000000b005b8f6936eb2si3996951pga.337.2023.10.29.10.49.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Oct 2023 10:49:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=h4SFwCYF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=marvell.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id F18468056994; Sun, 29 Oct 2023 10:49:08 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230291AbjJ2Rs5 (ORCPT + 30 others); Sun, 29 Oct 2023 13:48:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230282AbjJ2Rsw (ORCPT ); Sun, 29 Oct 2023 13:48:52 -0400 Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D8A87D6; Sun, 29 Oct 2023 10:48:46 -0700 (PDT) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 39T7D340026062; Sun, 29 Oct 2023 10:48:31 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=sbvx86w1d/4xh8rVtCB6CJhT45LBCFOcIMwsxmOtjaw=; b=h4SFwCYFsOyxOhPj4NcIutJsEr5Sk4S6FtWiHgWIl/cAIS0vSjnh7yOMeDahS2EWw/XB oY40yT8HCY4fNtzFgJdFYxOgLmQnm//pbJB62fDfvixmBra+pP+BkxJp7r0pQAMxxYZF ty4+7blItgPan82YfDEnmYAGzJTChPCp1eqCG4tyORFXs7yX90FqcqEwZsf+5utLliWo RHxSRh+74YjWZPp++XzoQMlHu6ZYsXsw41BHH8KzufaFiaFkZ45G1HL00Og+v8+hvnEo 2vah2ZQa3pv5uGeCyJVxnP8shEf2LsfzVw+vczZD74w8yZJEQEWu09mSpohRx6CmfKG5 jg== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3u0ynqbqm2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Sun, 29 Oct 2023 10:48:31 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Sun, 29 Oct 2023 10:48:29 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Sun, 29 Oct 2023 10:48:29 -0700 Received: from dc3lp-swdev041.marvell.com (dc3lp-swdev041.marvell.com [10.6.60.191]) by maili.marvell.com (Postfix) with ESMTP id 4DA0C3F70A0; Sun, 29 Oct 2023 10:48:26 -0700 (PDT) From: Elad Nachman To: , , , , , , , , , , , CC: , Subject: [PATCH v4 2/3] dt-bindings: arm64: dts: add dt-bindings for Marvell COM Express boards Date: Sun, 29 Oct 2023 19:48:13 +0200 Message-ID: <20231029174814.559583-3-enachman@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231029174814.559583-1-enachman@marvell.com> References: <20231029174814.559583-1-enachman@marvell.com> MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: R5h-RK8kAZFutVQB-Qu0HCsCwG0c6VI3 X-Proofpoint-GUID: R5h-RK8kAZFutVQB-Qu0HCsCwG0c6VI3 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-29_06,2023-10-27_01,2023-05-22_02 X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Sun, 29 Oct 2023 10:49:09 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781113028371375081 X-GMAIL-MSGID: 1781113028371375081 From: Elad Nachman Add dt bindings for: CN9130 COM Express CPU module CN9131 COM Express CPU module AC5X RD COM Express Type 7 carrier board. AC5X RD COM Express board with a CN9131 COM Express Type 7 CPU module. Signed-off-by: Elad Nachman --- .../bindings/arm/marvell/armada-7k-8k.yaml | 15 +++++++++++++++ .../bindings/arm/marvell/marvell,ac5.yaml | 14 ++++++++++++++ 2 files changed, 29 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/marvell/armada-7k-8k.yaml b/Documentation/devicetree/bindings/arm/marvell/armada-7k-8k.yaml index 52d78521e412..7e0ac5110eef 100644 --- a/Documentation/devicetree/bindings/arm/marvell/armada-7k-8k.yaml +++ b/Documentation/devicetree/bindings/arm/marvell/armada-7k-8k.yaml @@ -60,4 +60,19 @@ properties: - const: marvell,armada-ap807-quad - const: marvell,armada-ap807 + - description: Armada CN9130 SoC without external CP as COM Express CPU module + items: + - const: marvell,cn9130-cpu-module + - const: marvell,cn9130 + - const: marvell,armada-ap807-quad + - const: marvell,armada-ap807 + + - description: Armada CN9131 SoC with one external CP as COM Express CPU module + items: + - const: marvell,cn9131-cpu-module + - const: marvell,cn9131 + - const: marvell,cn9130 + - const: marvell,armada-ap807-quad + - const: marvell,armada-ap807 + additionalProperties: true diff --git a/Documentation/devicetree/bindings/arm/marvell/marvell,ac5.yaml b/Documentation/devicetree/bindings/arm/marvell/marvell,ac5.yaml index 8960fb8b2b2f..734e1716a3e9 100644 --- a/Documentation/devicetree/bindings/arm/marvell/marvell,ac5.yaml +++ b/Documentation/devicetree/bindings/arm/marvell/marvell,ac5.yaml @@ -27,6 +27,20 @@ properties: - const: marvell,ac5x - const: marvell,ac5 + - description: Alleycat5X (98DX35xx) Reference Design as COM Express Carrier + items: + - enum: + - marvell,rd-ac5x-carrier + - const: marvell,ac5x + + - description: + Alleycat5X (98DX35xx) Reference Design as COM Express Carrier plus + Armada CN9131 COM Express CPU module + items: + - enum: + - marvell,rd-ac5x-carrier-with-cn9131 + - const: marvell,ac5x + additionalProperties: true ... From patchwork Sun Oct 29 17:48:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Elad Nachman X-Patchwork-Id: 159385 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:d641:0:b0:403:3b70:6f57 with SMTP id cy1csp1793008vqb; Sun, 29 Oct 2023 10:49:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEw6dCVYMwfR6GuXcc6IWab2zTQcy41N7eP28ObqStkE5iooFqqYaBn0LwMuvBgx+D7LXTe X-Received: by 2002:a17:903:41c4:b0:1cc:4a84:27f2 with SMTP id u4-20020a17090341c400b001cc4a8427f2mr1043198ple.0.1698601758607; Sun, 29 Oct 2023 10:49:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698601758; cv=none; d=google.com; s=arc-20160816; b=Q5ZHQFZy2n9Z2/d8JpEfB6ssbuRnJc+wTElQ5T9blJCulTepLbcLDbb6p58kgBSQvq NU7r05omOFO26imejtNqPpOadjfb3fInQ2Gllo69h40vhgIYXewF39CX4fgVpFywCpL6 L76KyQcKBbIbD1gkEgNpoPzG3XjRuZzICJ/XwhlRMH/j1MISwnOICjyIOz/lOou0tcjB T0Ih9dzur7BaXu5Spx4fXZVVo+wbsCPR93lq2DcdvxA3oPlUQd7OiDIqgKesF1tUHKgj kDrzTCLegwqusLhy2oEnXW1S7JcJnsQrolh3+SADeOQVssb9Im1mVOwQB3LYuzpDsdKJ eeDg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=f3JyiWng6fSbAHQw7gWFm4sMrK5jRbikgVfdTNmBfOs=; fh=k3uGFfciaNwUka3O0y703gGK16uxjHFuQYANdzJlzCQ=; b=m2EvIvtL3jhl+yHa3LFZY5FIFeI4vTB89n9xWo5bYiC4ClyEB1288u21K4aWaWpZlc eE6P1FZ+DBhyptFwSEusWPxUuXyZtAWyjY1VnvCCrEornbYQzj2d+IOdKCSZi7MZe328 yQr1Dt69Wo5IrLR+h7Y9+VcAj4fF+XlPtaFvUbw/7/7gQZEFavUZGj9scEvCucyyYZRd MJdx2dGWJmSz68pVS/Kmjo6itX5Yl6r8mVUsfy17Laz8ZhpCtiYY/UvSeFPjs/JTt7Ab /s3XozkMcl2fa29NCy8CSKbn1opagMoEdL1s8wy22VwBFUC0KXg4a25yXnDqmGJqz/rE SbCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=fCYAeptV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=marvell.com Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id ix9-20020a170902f80900b001c9e765e151si3923698plb.116.2023.10.29.10.49.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Oct 2023 10:49:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=fCYAeptV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=marvell.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 446018065CFB; Sun, 29 Oct 2023 10:49:14 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230290AbjJ2Rsy (ORCPT + 30 others); Sun, 29 Oct 2023 13:48:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230274AbjJ2Rst (ORCPT ); Sun, 29 Oct 2023 13:48:49 -0400 Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA041B4; Sun, 29 Oct 2023 10:48:45 -0700 (PDT) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 39TFWGmu023287; Sun, 29 Oct 2023 10:48:35 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=f3JyiWng6fSbAHQw7gWFm4sMrK5jRbikgVfdTNmBfOs=; b=fCYAeptVNvARpU0RBlzJKJqf9Z6qaH1Fhu0yipitL2+hRIdlxX/i9MvpEZpPBHfzoakf RtuTLGFWpjMS8mcPYFbnUHAw9lRdAyDn26uupFZmtreNSFpEyapi0v2G4pVSlORfVIWA 1rubOe4QonTg1TtTPor7llYZ6itmPHASpkWYnNsHzLBnjfOYcFETpzqHtuWvGOkZo3Xs z+vnDck2+g83PSXtoRbbcpEr95jlnbsVFN3BhUvnhTGH/AA4zGaWcLoImOCC5aAl7aRx /z7wSvsWX4DEpW+qOld75gva0ZS4nFpg8diyhFTEuZ5b+S/UhetZpyW23lSPZt9Nt9Uo YQ== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3u0ynqbqm6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Sun, 29 Oct 2023 10:48:35 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Sun, 29 Oct 2023 10:48:34 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Sun, 29 Oct 2023 10:48:34 -0700 Received: from dc3lp-swdev041.marvell.com (dc3lp-swdev041.marvell.com [10.6.60.191]) by maili.marvell.com (Postfix) with ESMTP id A8EF43F70A0; Sun, 29 Oct 2023 10:48:30 -0700 (PDT) From: Elad Nachman To: , , , , , , , , , , , CC: , Subject: [PATCH v4 3/3] arm64: dts: cn913x: add device trees for COM Express boards Date: Sun, 29 Oct 2023 19:48:14 +0200 Message-ID: <20231029174814.559583-4-enachman@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231029174814.559583-1-enachman@marvell.com> References: <20231029174814.559583-1-enachman@marvell.com> MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: VVkDGiGjzkRIDcMOl4KsinWrNWFnd54F X-Proofpoint-GUID: VVkDGiGjzkRIDcMOl4KsinWrNWFnd54F X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-29_06,2023-10-27_01,2023-05-22_02 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Sun, 29 Oct 2023 10:49:14 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781113037740351565 X-GMAIL-MSGID: 1781113037740351565 From: Elad Nachman Add support for CN9130 and CN9131 COM Express Type 7 CPU module boards by Marvell. Define these COM Express CPU modules as dtsi and provide a dtsi file for a carrier board (Marvell AC5X RD COM Express type 7 carrier board). This Carrier board only utilizes the PCIe link, hence no special device / driver support is provided by this dtsi file. Finally, provide a dts file for the com express carrier and CPU module combination. These COM Express boards differ from the existing CN913x DB boards by the type of ethernet connection (RGMII), the type of voltage regulators (not i2c expander based) and the USB phy (not UTMI based). Note - PHY + RGMII connector is OOB on CPU module. CN9131 COM Express board is basically CN9130 COM Express board with an additional CP115 I/O co-processor, which in this case provides an additional USB host controller on the board. Signed-off-by: Elad Nachman --- arch/arm64/boot/dts/marvell/Makefile | 1 + .../marvell/ac5x-rd-carrier-with-cn9131.dts | 20 ++++ .../boot/dts/marvell/ac5x-rd-carrier.dtsi | 15 +++ .../dts/marvell/cn9130-db-comexpress.dtsi | 101 ++++++++++++++++ .../dts/marvell/cn9131-db-comexpress.dtsi | 113 ++++++++++++++++++ 5 files changed, 250 insertions(+) create mode 100644 arch/arm64/boot/dts/marvell/ac5x-rd-carrier-with-cn9131.dts create mode 100644 arch/arm64/boot/dts/marvell/ac5x-rd-carrier.dtsi create mode 100644 arch/arm64/boot/dts/marvell/cn9130-db-comexpress.dtsi create mode 100644 arch/arm64/boot/dts/marvell/cn9131-db-comexpress.dtsi diff --git a/arch/arm64/boot/dts/marvell/Makefile b/arch/arm64/boot/dts/marvell/Makefile index 79ac09b58a89..88c0f357a778 100644 --- a/arch/arm64/boot/dts/marvell/Makefile +++ b/arch/arm64/boot/dts/marvell/Makefile @@ -26,4 +26,5 @@ dtb-$(CONFIG_ARCH_MVEBU) += cn9132-db.dtb dtb-$(CONFIG_ARCH_MVEBU) += cn9132-db-B.dtb dtb-$(CONFIG_ARCH_MVEBU) += cn9130-crb-A.dtb dtb-$(CONFIG_ARCH_MVEBU) += cn9130-crb-B.dtb +dtb-$(CONFIG_ARCH_MVEBU) += ac5x-rd-carrier-with-cn9131.dtb dtb-$(CONFIG_ARCH_MVEBU) += ac5-98dx35xx-rd.dtb diff --git a/arch/arm64/boot/dts/marvell/ac5x-rd-carrier-with-cn9131.dts b/arch/arm64/boot/dts/marvell/ac5x-rd-carrier-with-cn9131.dts new file mode 100644 index 000000000000..9ca2725184e2 --- /dev/null +++ b/arch/arm64/boot/dts/marvell/ac5x-rd-carrier-with-cn9131.dts @@ -0,0 +1,20 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2023 Marvell International Ltd. + * + * Device tree for the AC5X RD Type 7 Com Express carrier board, + * Utilizing the CN913x COM Express CPU module board. + * This specific board only maintains a PCIe link with the CPU CPU module + * module, which does not require any special DTS definitions. + */ + +#include "cn9131-db-comexpress.dtsi" +#include "ac5x-rd-carrier.dtsi" + +/ { + model = "Marvell Armada AC5X RD COM EXPRESS type 7 carrier board with CN9131 CPU module"; + compatible = "marvell,rd-ac5x-carrier-with-cn9131", "marvell,rd-ac5x-carrier", + "marvell,cn9131", "marvell,cn9130", + "marvell,armada-ap807-quad", "marvell,armada-ap807"; + +}; diff --git a/arch/arm64/boot/dts/marvell/ac5x-rd-carrier.dtsi b/arch/arm64/boot/dts/marvell/ac5x-rd-carrier.dtsi new file mode 100644 index 000000000000..6d976d268deb --- /dev/null +++ b/arch/arm64/boot/dts/marvell/ac5x-rd-carrier.dtsi @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2023 Marvell International Ltd. + * + * Device tree for the AC5X RD Type 7 Com Express carrier board, + * This specific board only maintains a PCIe link with the CPU CPU module + * module, which does not require any special DTS definitions. + */ + +/ { + model = "Marvell Armada AC5X RD COM EXPRESS type 7 carrier board"; + compatible = "marvell,rd-ac5x-carrier", "marvell,cn9131", "marvell,cn9130", + "marvell,armada-ap807-quad", "marvell,armada-ap807"; + +}; diff --git a/arch/arm64/boot/dts/marvell/cn9130-db-comexpress.dtsi b/arch/arm64/boot/dts/marvell/cn9130-db-comexpress.dtsi new file mode 100644 index 000000000000..1180066a3cf2 --- /dev/null +++ b/arch/arm64/boot/dts/marvell/cn9130-db-comexpress.dtsi @@ -0,0 +1,101 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2023 Marvell International Ltd. + * + * Device tree for the CN9130-DB Com Express CPU module board. + */ + +#include "cn9130-db.dtsi" + +/ { + model = "Marvell Armada CN9130-DB COM EXPRESS type 7 CPU module board"; + compatible = "marvell,cn9130-cpu-module", "marvell,cn9130", + "marvell,armada-ap807-quad", "marvell,armada-ap807"; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x0 0x2 0x00000000>; + }; + +}; + +&ap0_reg_sd_vccq { + regulator-max-microvolt = <1800000>; + states = <1800000 0x1 1800000 0x0>; + /delete-property/ gpios; +}; + +&cp0_reg_usb3_vbus0 { + /delete-property/ gpio; +}; + +&cp0_reg_usb3_vbus1 { + /delete-property/ gpio; +}; + +&cp0_reg_sd_vcc { + status = "disabled"; +}; + +&cp0_reg_sd_vccq { + status = "disabled"; +}; + +&cp0_sdhci0 { + status = "disabled"; +}; + +&cp0_eth0 { + status = "disabled"; +}; + +&cp0_eth1 { + status = "okay"; + phy = <&phy0>; + phy-mode = "rgmii-id"; +}; + +&cp0_eth2 { + status = "disabled"; +}; + +&cp0_mdio { + status = "okay"; + pinctrl-0 = <&cp0_ge_mdio_pins>; + phy0: ethernet-phy@0 { + status = "okay"; + }; +}; + +&cp0_syscon0 { + cp0_pinctrl: pinctrl { + compatible = "marvell,cp115-standalone-pinctrl"; + + cp0_ge_mdio_pins: ge-mdio-pins { + marvell,pins = "mpp40", "mpp41"; + marvell,function = "ge"; + }; + }; +}; + +&cp0_sdhci0 { + status = "disabled"; +}; + +&cp0_spi1 { + status = "okay"; +}; + +&cp0_usb3_0 { + status = "okay"; + usb-phy = <&cp0_usb3_0_phy0>; + phy-names = "usb"; + /delete-property/ phys; +}; + +&cp0_usb3_1 { + status = "okay"; + usb-phy = <&cp0_usb3_0_phy1>; + phy-names = "usb"; + /delete-property/ phys; +}; diff --git a/arch/arm64/boot/dts/marvell/cn9131-db-comexpress.dtsi b/arch/arm64/boot/dts/marvell/cn9131-db-comexpress.dtsi new file mode 100644 index 000000000000..0d2d2a119253 --- /dev/null +++ b/arch/arm64/boot/dts/marvell/cn9131-db-comexpress.dtsi @@ -0,0 +1,113 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2023 Marvell International Ltd. + * + * Device tree for the CN9131-DB Com Express CPU module board. + */ + +#include "cn9131-db.dtsi" + +/ { + model = "Marvell Armada CN9131-DB COM EXPRESS type 7 CPU module board"; + compatible = "marvell,cn9131-cpu-module", "marvell,cn9131", "marvell,cn9130", + "marvell,armada-ap807-quad", "marvell,armada-ap807"; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x0 0x2 0x00000000>; + }; + +}; + +&ap0_reg_sd_vccq { + regulator-max-microvolt = <1800000>; + states = <1800000 0x1 1800000 0x0>; + /delete-property/ gpios; +}; + +&cp0_reg_usb3_vbus0 { + /delete-property/ gpio; +}; + +&cp0_reg_usb3_vbus1 { + /delete-property/ gpio; +}; + +&cp1_reg_usb3_vbus0 { + /delete-property/ gpio; +}; + +&cp0_reg_sd_vcc { + status = "disabled"; +}; + +&cp0_reg_sd_vccq { + status = "disabled"; +}; + +&cp0_sdhci0 { + status = "disabled"; +}; + +&cp0_eth0 { + status = "disabled"; +}; + +&cp0_eth1 { + status = "okay"; + phy = <&phy0>; + phy-mode = "rgmii-id"; +}; + +&cp0_eth2 { + status = "disabled"; +}; + +&cp0_mdio { + status = "okay"; + pinctrl-0 = <&cp0_ge_mdio_pins>; + phy0: ethernet-phy@0 { + status = "okay"; + }; +}; + +&cp0_syscon0 { + cp0_pinctrl: pinctrl { + compatible = "marvell,cp115-standalone-pinctrl"; + + cp0_ge_mdio_pins: ge-mdio-pins { + marvell,pins = "mpp40", "mpp41"; + marvell,function = "ge"; + }; + }; +}; + +&cp0_sdhci0 { + status = "disabled"; +}; + +&cp0_spi1 { + status = "okay"; +}; + +&cp0_usb3_0 { + status = "okay"; + usb-phy = <&cp0_usb3_0_phy0>; + phy-names = "usb"; + /delete-property/ phys; +}; + +&cp0_usb3_1 { + status = "okay"; + usb-phy = <&cp0_usb3_0_phy1>; + phy-names = "usb"; + /delete-property/ phys; +}; + +&cp1_usb3_1 { + status = "okay"; + usb-phy = <&cp1_usb3_0_phy0>; + /* Generic PHY, providing serdes lanes */ + phys = <&cp1_comphy3 1>; + phy-names = "usb"; +};