From patchwork Tue Dec 26 18:11:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 183334 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp1028367dyb; Tue, 26 Dec 2023 10:22:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IF7ISaAYNpl1estkZCvL2G6GioQxEL6fWyS2IM/WBBiVjL2p+CQ5+y+OFBjgxQTXvIf8YyH X-Received: by 2002:a05:6a20:7a22:b0:190:921b:89c4 with SMTP id t34-20020a056a207a2200b00190921b89c4mr8493551pzh.18.1703614924262; Tue, 26 Dec 2023 10:22:04 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1703614924; cv=pass; d=google.com; s=arc-20160816; b=WDlqysWypPd6BA3Mb19vefwZoxe725iIkibao0WXo6k3aRiT+G/xRNEPLP4BADnKQP pojOatixOCyyz9nTwHwFoEr9evyezkk81+JrlC5g4dbN6pavuYI5twZ+sejDyuW5qjck haQSc+gV2xxyWmXeDMGJTQC8E47eqp839HOgp2XrWbVSNKqSTTs9rvhy4iG8CIYSkO1r yxD75gu0oAfsaDe3EtDnfDJLXCNjSc0J65GMoDZx5PK4DNXJKl49mNITyyD797WyzjTh OkjEHEaSzX+SPCH/oCKc/Y1lbQWfOgNZBxLkve0dWc6s8kU2MTUuqh6C5HY01x1r5OHh CQNw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence:cc :to:in-reply-to:references:message-id:content-transfer-encoding :subject:date:from:dkim-signature; bh=xr6Vk83GmnL+VkJ2sRAU6nYvmN34VDs9J2G1/cdoA74=; fh=LZ3+8MPuo3SMsa6OKaa4nXkr9HAal1HR+rgsxxjlDOA=; b=mTZGT6jVP9qdapGAqPv330mr2I8+OwrH2XrfT8uO+5NJY6vGB2S4zWuAOT0l1adWBI CnsztvO8Qzac0u+tOK/XxwMTarDbiWa2URJHZLQGEcMTFzDbqWD3MdTjUT2ssb68mVkI ZeQiZyZ6y5qtwKH/c2hv5iCpVIl+Ddym7mZoN2SZqTlvkE34Y+K/yZp+ZEiIW9qLKzZb 3zuPgXPvN0x5wq2QS/4grHaHFcgJNN9/dr3eakyHDWBsjyJL/R/SkD9i0aXmvpu3lvdT vkXhN8S+FFosVQjvm8KqPHZOGulOWDHAH7+sxaURh2u8kJy6p/euVBgEOVxDHgVZFTMc N/ug== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@solidrn.onmicrosoft.com header.s=selector1-solidrn-onmicrosoft-com header.b=WlZHB7vP; arc=pass (i=1 spf=pass spfdomain=solid-run.com dkim=pass dkdomain=solid-run.com dmarc=pass fromdomain=solid-run.com); spf=pass (google.com: domain of linux-kernel+bounces-11607-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11607-ouuuleilei=gmail.com@vger.kernel.org" Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id e3-20020a636903000000b005cdde899923si4130694pgc.758.2023.12.26.10.22.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 10:22:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-11607-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@solidrn.onmicrosoft.com header.s=selector1-solidrn-onmicrosoft-com header.b=WlZHB7vP; arc=pass (i=1 spf=pass spfdomain=solid-run.com dkim=pass dkdomain=solid-run.com dmarc=pass fromdomain=solid-run.com); spf=pass (google.com: domain of linux-kernel+bounces-11607-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11607-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 0DE11283C8C for ; Tue, 26 Dec 2023 18:12:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 52B3553808; Tue, 26 Dec 2023 18:11:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=solidrn.onmicrosoft.com header.i=@solidrn.onmicrosoft.com header.b="WlZHB7vP" X-Original-To: linux-kernel@vger.kernel.org Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2068.outbound.protection.outlook.com [40.107.20.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C808F51C27; Tue, 26 Dec 2023 18:11:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=solid-run.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=solid-run.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bekqBRIJlOp0wXqUUM+IkuuxxJQJWUvJfzt+Knrna2mHQJgIlxEYoc/kaZzoP+TCYUv56inyTKf6JgHV2nmIvHk6HPB/r19Wi4tkt6feBOfspLJ1QPlDT+bOsKLv89BB5jVGzFex1tFigYpc2LHfwBYex8nqnUKRUDpPnQXoWjSgeV8xkKpY4lCJdYgdilvgvXIGD8CgoBPMLLbYoRtIqUuo2CJueyP90vpu0cxUf1vKfuosdF1EkM+KF3OItTyjfG4N3/SN8FfSKBHOvCJuwn1AdNOiSuu+OXqzIQ0nW7PaQ98Dxoi1lG94AiGveYLZVtnQnkpGU8msYvFk330p7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=xr6Vk83GmnL+VkJ2sRAU6nYvmN34VDs9J2G1/cdoA74=; b=A1t4L+pruR6EMhFWHxFAaLupkmt1RVwcacGZE6D+pZu1Y62jZoiYT9buFtzHC0yaxLa67073tSr46+aD/Zpbb13jANSwUUX+5pgW3HxUNCmy76WW5VtrBK91nv7Ln3fhrJR5yGdbbWS2lkGSqMAX0dWU8Md2icrrDGdoJP9bA4vIwdYbEc0O0YUnrOsHk49jLsBNm+zWnLOYRv/PLVFpnQqoROf6/R18ot1hlDebd+32QsROm91aJ6vmeeDdIQ7rKO/r1ymO+GAnocNuAL60CTLsl/yLcAGRKawfPBbS6eOLmFoYdLuzzFGMM6px7zOwJIznfAsowJSwRP/03olx6Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=solid-run.com; dmarc=pass action=none header.from=solid-run.com; dkim=pass header.d=solid-run.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=solidrn.onmicrosoft.com; s=selector1-solidrn-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=xr6Vk83GmnL+VkJ2sRAU6nYvmN34VDs9J2G1/cdoA74=; b=WlZHB7vPI8+w1MoY4IcsJ6+/gONwDzTNrAP7Tcyn2t2gQV57oY0hw/3dn8ct1fg598OHozenpLzRwsaGRjOms04tgp0YjVjjQ1XtIFqMrDbaAl98l0ybr6TxnDiYubBQVV/DfJmeBcL/sgr82UHTP+ZzXLA82VVYw9Ej2cjVtKg= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=solid-run.com; Received: from AS8PR04MB8963.eurprd04.prod.outlook.com (2603:10a6:20b:42e::18) by DB9PR04MB9868.eurprd04.prod.outlook.com (2603:10a6:10:4c3::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7113.27; Tue, 26 Dec 2023 18:11:52 +0000 Received: from AS8PR04MB8963.eurprd04.prod.outlook.com ([fe80::4db1:aae8:c643:2e73]) by AS8PR04MB8963.eurprd04.prod.outlook.com ([fe80::4db1:aae8:c643:2e73%6]) with mapi id 15.20.7113.027; Tue, 26 Dec 2023 18:11:52 +0000 From: Josua Mayer Date: Tue, 26 Dec 2023 19:11:32 +0100 Subject: [PATCH v3 1/8] dt-bindings: marvell: a38x: convert the soc compatibles description to yaml Message-Id: <20231226-support-clearfog-gtr-l8-sfp-v3-1-fd1ac2d6bf2e@solid-run.com> References: <20231226-support-clearfog-gtr-l8-sfp-v3-0-fd1ac2d6bf2e@solid-run.com> In-Reply-To: <20231226-support-clearfog-gtr-l8-sfp-v3-0-fd1ac2d6bf2e@solid-run.com> To: Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Josua Mayer X-Mailer: b4 0.12.4 X-ClientProxiedBy: FR0P281CA0038.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:48::21) To AS8PR04MB8963.eurprd04.prod.outlook.com (2603:10a6:20b:42e::18) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8963:EE_|DB9PR04MB9868:EE_ X-MS-Office365-Filtering-Correlation-Id: 9d16dbc3-cc47-496d-16d2-08dc063e227e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: lpLZrrEJWmu+109troNnY2elx+8m22MlhFEFKe9SHkIH6z3HpxoK46u7fF9SQp5e78befoo4t86jfx4FjqZK6sa1BTxDRFhAjlkWtB0gGwcVVozzLqG99Pi89LSCA6pfX5dRCEKcJSqGrN86fadtmt9QM+Dkz7YDkke60oSnLyZQ5fTsXEu+OQjMEeyReLu1x9OPGptRJdUyWCTtxJJfUgwWQYqcYA4m3AnKH8ESnRNvDRSrRT9qZpa4XBFnHuCJujjzqi1NKk18ODnUuwVKc/WVOxJukpkTf6kz8dtZFE4keExgCxicSo/nDW5HB896HuM7MEM/jDJHmHLEb0nQXz3kEd2JdzvlCA+Q87bCn3gg07BMlXcZzUM8YA8JVB9lieIkvrMQcpD+3iirWErZ7haqekLbFvKyCA95bBxuii+cGnqyJL/od6D9DVFh1jOQM4ody4Bms2cAnRScnj/Bsd2UlbKVRADxToz1A9faqaq7pGW4SBtJk71q5DK3btMI3h7OP9f+3QkomgbxaMqYd6bLTH3V0S5F5/XcRn0lXYdGUYDPJfaxF9RWAYW/v7JDNhjKidpkMe8BU6F3qWB6bgniENZrh/LKQruTDJxV4ds= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS8PR04MB8963.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(136003)(366004)(376002)(346002)(39840400004)(396003)(230922051799003)(186009)(1800799012)(451199024)(64100799003)(26005)(6512007)(2616005)(4326008)(8676002)(110136005)(66946007)(66476007)(66556008)(316002)(83380400001)(52116002)(6506007)(107886003)(6666004)(38100700002)(86362001)(8936002)(478600001)(966005)(6486002)(5660300002)(2906002)(36756003)(41300700001)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-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5Q4INMt/j8ap+5hrxld2RGhqOy9xm6a9dR5+?= =?utf-8?q?oYU5sgbqsWJwmDwuLM+Ud73jumtbErSWW8OQWwyh5EQgztsUeT8P9YglhJwHtobnM?= =?utf-8?q?wUT/KVTbN/sK/AmdAj4wSFDL83i1QpRCaWt5Vh3RlWHIFCO4jgifCCQnKOa+qeCnL?= =?utf-8?q?ecJGSAezztgvGGS8eE2bMFXNLtmP/dqpo+8S8M0UaKeDidWytbL7KdhUIaSTosUnv?= =?utf-8?q?fL8g0DHRN6xngenmSWDO7aLz2wHudQkDmy670a4bOHfvTyHDuwE1MZ2fSr1fHuIPn?= =?utf-8?q?fqiPX89IzP9Uto7JYfjwhWRinOc7j86J1NYOBc1r7OC3YCRgXreVo7hM5T2weddaH?= =?utf-8?q?OaEPcvrY6UWEpASYB6zGpm7Ed6jePO7ja/yUudlxqs7l54G9Eh0uOgnS4xF9nARlN?= =?utf-8?q?e+DrDgz7byQHqn7uhi1fz97BubMY+pB93OkXzMRypescIxTRSc+T2rRRZ+5bveXKe?= =?utf-8?q?xjkCa3HzNqQCg11nyXhwZhuJFLP31Q0XBgHCQMolV4QbpCq3Ujna8ENyVsKG7uWnv?= =?utf-8?q?COHpIfdI25f2YWvzAdW/qSk0svF+EW+fuhHas2Sjcy4KNTzSDMHcrBq/DNOvVleJS?= =?utf-8?q?I1OSMDOoLLEaDL1R9uY6xtpbD1NIVDbOYHBP4+OKu4nFXf49s54O7AxbijajzBLTf?= =?utf-8?q?UtW3UqKbnjqe?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9d16dbc3-cc47-496d-16d2-08dc063e227e X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8963.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Dec 2023 18:11:51.7248 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a4a8aaf3-fd27-4e27-add2-604707ce5b82 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: /MP41SN52GfrVADvkwPTruAKbLWU2dB2rZ/lzOacmvQr5kofGB7y/Q3lAF/eIUGvVGDal/OOsC20vrhhvObSgA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB9868 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1786369722330266088 X-GMAIL-MSGID: 1786369722330266088 Convert the existing txt binding for armada-38x socs to DT schema format. Note that the current bindings only document the SoC (armada380, armada385, armada388). This is undesirable, instead there should be entries for actual boards. For now only convert to yaml, the content can be corrected separately. Signed-off-by: Josua Mayer --- .../devicetree/bindings/arm/marvell/armada-38x.txt | 27 ------------------ .../bindings/arm/marvell/armada-38x.yaml | 33 ++++++++++++++++++++++ 2 files changed, 33 insertions(+), 27 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/marvell/armada-38x.txt b/Documentation/devicetree/bindings/arm/marvell/armada-38x.txt deleted file mode 100644 index 202953f1887e..000000000000 --- a/Documentation/devicetree/bindings/arm/marvell/armada-38x.txt +++ /dev/null @@ -1,27 +0,0 @@ -Marvell Armada 38x Platforms Device Tree Bindings -------------------------------------------------- - -Boards with a SoC of the Marvell Armada 38x family shall have the -following property: - -Required root node property: - - - compatible: must contain "marvell,armada380" - -In addition, boards using the Marvell Armada 385 SoC shall have the -following property before the previous one: - -Required root node property: - -compatible: must contain "marvell,armada385" - -In addition, boards using the Marvell Armada 388 SoC shall have the -following property before the previous one: - -Required root node property: - -compatible: must contain "marvell,armada388" - -Example: - -compatible = "marvell,a385-rd", "marvell,armada385", "marvell,armada380"; diff --git a/Documentation/devicetree/bindings/arm/marvell/armada-38x.yaml b/Documentation/devicetree/bindings/arm/marvell/armada-38x.yaml new file mode 100644 index 000000000000..5af222e6db18 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/marvell/armada-38x.yaml @@ -0,0 +1,33 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/marvell/armada-38x.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Marvell Armada 38x Platforms + +maintainers: + - Gregory CLEMENT + +properties: + $nodename: + const: '/' + compatible: + oneOf: + + - description: Armada 380 SoC + items: + - const: marvell,armada380 + + - description: Armada 385 SoC + items: + - const: marvell,armada385 + - const: marvell,armada380 + + - description: Armada 388 SoC + items: + - const: marvell,armada388 + - const: marvell,armada385 + - const: marvell,armada380 + +additionalProperties: true From patchwork Tue Dec 26 18:11:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 183332 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp1023149dyb; Tue, 26 Dec 2023 10:13:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IG4kTiXialKUJPLnnVX08IJbtxUr1gD64h9KHJl5UiuseA5+cvKcW2J5OEF4JdsQBq4j4i/ X-Received: by 2002:a17:902:cec6:b0:1d4:2f07:4fb4 with SMTP id d6-20020a170902cec600b001d42f074fb4mr2373647plg.7.1703614431194; Tue, 26 Dec 2023 10:13:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1703614431; cv=pass; d=google.com; s=arc-20160816; b=r8aVZGI3FLXiMmB2nSbvt2zOqogV5fOJSU7olCK/HmX398bRHEQv0hCei1c0rB9HXR XuMsUQShky92IRKS809+P/R8oTHKyjbyibtot1idGPHYCHXQweOqRcD0VMR5WP/jyEay N/pAwbVNzaDnOw/EThWHl5Ts41PdgbfQiYovEOs+NmTlwFJS6Wllilr0I1CVy4rlpVIa A+evDlQ2ZoKk00iBBt/VVtP9Kyt2yIGXylNgGpa4L81YDrBzmpA5HsesI8B0UZ0kOdvw k0KEZa+4eR0YuvghyV7oIVwJQaBjOhyCiwGfdsvBPuBf1aiZFSe1OpjIIk4sZiPIT9+B 2q0A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence:cc :to:in-reply-to:references:message-id:content-transfer-encoding :subject:date:from:dkim-signature; bh=xgihidoIwllAJimqo2qK13Sh2/qR4xr8ivY0OFkGmzw=; fh=LZ3+8MPuo3SMsa6OKaa4nXkr9HAal1HR+rgsxxjlDOA=; b=ikiOJ3c20ITuaHVRgw9b+Fxe8rgwhtKUsl2V49r9EugjpUhfz8gW/fO40IHURPLKP/ 5YkICZ7Rsdqq1xVrT2J600brjYWA4ZMvXUdQT+7hrohMl1Em2ndJ0i2wak9qqHubAgeT JpSsWj0CZ0Q5FJMqBiIAib3qOA2XuJDFsifCEi4r1fsaPZiyfTCdL4D39QxHm85eaN4K ap0Qmjr3KETUJxpxWBmzW/kMh6LUKJi47bQ/nuCg/Zb+E9OorYl9GHhgxRVtdzoYOvN7 ICOsVi7FH8slKUV5VALXMi8kF3rCT5TTRy9zIPYuThmPWHNE3jw1mt50Z1ZKIW9+mMgJ EGFA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@solidrn.onmicrosoft.com header.s=selector1-solidrn-onmicrosoft-com header.b=Rya8mZ8E; arc=pass (i=1 spf=pass spfdomain=solid-run.com dkim=pass dkdomain=solid-run.com dmarc=pass fromdomain=solid-run.com); spf=pass (google.com: domain of linux-kernel+bounces-11610-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11610-ouuuleilei=gmail.com@vger.kernel.org" Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id jg13-20020a17090326cd00b001d35645fbdesi9746781plb.309.2023.12.26.10.13.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 10:13:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-11610-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@solidrn.onmicrosoft.com header.s=selector1-solidrn-onmicrosoft-com header.b=Rya8mZ8E; arc=pass (i=1 spf=pass spfdomain=solid-run.com dkim=pass dkdomain=solid-run.com dmarc=pass fromdomain=solid-run.com); spf=pass (google.com: domain of linux-kernel+bounces-11610-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11610-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 59B80B21F7B for ; Tue, 26 Dec 2023 18:13:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E40BD54BD7; Tue, 26 Dec 2023 18:12:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=solidrn.onmicrosoft.com header.i=@solidrn.onmicrosoft.com header.b="Rya8mZ8E" X-Original-To: linux-kernel@vger.kernel.org Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2084.outbound.protection.outlook.com [40.107.20.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F26A1539E6; Tue, 26 Dec 2023 18:11:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=solid-run.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=solid-run.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=c94ZS86juuvQekjn0TIiV6gQjrolYRCfnEB4AZElGHhRZgImHDJI5Bm6rSMueA7oosvvxVRz4ZPE1X6VeMShOZ2KOKgTUgBRJUQhghBTHRSzl+hM25ZmCDbktfMs21tlbstWPJhA0cgUje7Xxzb5UZYMYvLmb2p3FZiLD+dJ/q3JGGPuTgKwpk2hyYc3+Dpah/hHvwla4xjiNWNtDwkMh/LO9UYBNRrV4Dp2nmd3j0tDVv0CFpy+ufp5YkARt2WcuVhLifusnfHxV9sq9vxNeQT7uiDDCta58unNSQ0jF8GTdckTpC1B0GYlKtw3Q1899P3ErZ64uGzwlJKTOTrKCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=xgihidoIwllAJimqo2qK13Sh2/qR4xr8ivY0OFkGmzw=; b=bWzFGXR1OOl9JHJAo/liLQd9RN9mwm6jK3KCon5zYuhVTdUIvY1t4bsKuBAHu0rT+gXyV1YKGgmXOpcKmojjvblNVjTANm23PAr9BVhZxB3dnC9ZVaeF0mZkjZPZHRvWNZSAWW+LgIoBYCVcONHjWBeaHG0aZ0d491RCFpQvTSNPUhgZaKXhj+NUBB52XPQujM6ZERdRtmgjBehPBlBGZ4XnrEEwAVazYZ8McxOIY/2Ui+OUx6OkRBu7cplxdlmi1dEzW5pd0ZiZpmq5/WzkV6URCv7t23vWHgL20QZRcMHd4UBlcV37WEwvxk+K7QJ4+hjWA8FwoIogTvdNe75dsw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=solid-run.com; dmarc=pass action=none header.from=solid-run.com; dkim=pass header.d=solid-run.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=solidrn.onmicrosoft.com; s=selector1-solidrn-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=xgihidoIwllAJimqo2qK13Sh2/qR4xr8ivY0OFkGmzw=; b=Rya8mZ8EiE5Hvm7BRaPOW9vI5Kh0Kmydh0JUua4U5P6avkoPKQmG2yE1wPOa8RW0WNmrcuGrIZsIyOP07BG2Ak7pZTZIC15+1PfCxt0Dlu58ANYfPO6god8HVulsFEg2Tp2YGAyI1cWEHl1m9b7Mc89Up61gC3fqIzJmk2cBWbU= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=solid-run.com; Received: from AS8PR04MB8963.eurprd04.prod.outlook.com (2603:10a6:20b:42e::18) by DB9PR04MB9868.eurprd04.prod.outlook.com (2603:10a6:10:4c3::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7113.27; Tue, 26 Dec 2023 18:11:52 +0000 Received: from AS8PR04MB8963.eurprd04.prod.outlook.com ([fe80::4db1:aae8:c643:2e73]) by AS8PR04MB8963.eurprd04.prod.outlook.com ([fe80::4db1:aae8:c643:2e73%6]) with mapi id 15.20.7113.027; Tue, 26 Dec 2023 18:11:52 +0000 From: Josua Mayer Date: Tue, 26 Dec 2023 19:11:33 +0100 Subject: [PATCH v3 2/8] dt-bindings: marvell: a38x: add solidrun armada 385 clearfog gtr boards Message-Id: <20231226-support-clearfog-gtr-l8-sfp-v3-2-fd1ac2d6bf2e@solid-run.com> References: <20231226-support-clearfog-gtr-l8-sfp-v3-0-fd1ac2d6bf2e@solid-run.com> In-Reply-To: <20231226-support-clearfog-gtr-l8-sfp-v3-0-fd1ac2d6bf2e@solid-run.com> To: Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Josua Mayer X-Mailer: b4 0.12.4 X-ClientProxiedBy: FR0P281CA0038.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:48::21) To AS8PR04MB8963.eurprd04.prod.outlook.com (2603:10a6:20b:42e::18) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8963:EE_|DB9PR04MB9868:EE_ X-MS-Office365-Filtering-Correlation-Id: 2d7b62dc-0a5c-4ce6-9e3e-08dc063e22c5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: jiTagE62nsXGerFQP4EtpgEqtP+tFuQv59vpcfzwH+MfVXwtzeA4hmCE5GGHYlVb7rlxMMmr2SSAH324CjrwZiZaAo5Jfz3YcPkyW71c82E3GDgU/EgeP5c+ozlgakaFM5wO1EQRNDgbegOC2//MeUsW0mEzWNdrkf2u5ZfAuSj+q6QxY3ZTyefNPsI1lD6iE+oPHBJAjO00uc+k965YKUA3mo2lVwcYOo/BnFyrsuw9P2IeXcaBt72ArFOWvGXxjhq2G1BHdpgjaKKojEUQyuP+F59JiXScfMLiumgfQKx2ZEyjAWvmRLgCbBcSCVLuSxMaZlmjt7Grd+P9CtsOWOSnRMSjBOp0PHUbjOzkRdfgkovYcEUlgDnnMeTDphkxZGI21YPLou5wSyz4rd46I2UpJmZ32jvb+2di6BLT0VYilFoZUFdw1peknk3hZ3p+nW88jgU6pGIZzSSU2CcE3gA7dB2UcvsofaX/wkg6tp8cVgXQEfXxmeNGLqqb8EVyjVV52fnwozmmHAOd+jOdpsTrToER8MSKlKTVihzHLpfnyTOf+PwahNbwEEDLMjIyMmnNLwmlktIK0u3OBShSKW7ozZx1zcchTZJge8fazzPCKBz10PDi33vIxj5SAWax X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS8PR04MB8963.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(136003)(366004)(376002)(346002)(39840400004)(396003)(230922051799003)(186009)(1800799012)(451199024)(64100799003)(26005)(6512007)(2616005)(4326008)(8676002)(110136005)(66946007)(66476007)(66556008)(316002)(52116002)(6506007)(107886003)(6666004)(38100700002)(86362001)(8936002)(478600001)(6486002)(5660300002)(2906002)(36756003)(41300700001)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?hSJQyaolNC3KUNolrqHDqh/Rmv2A?= =?utf-8?q?7TdgOemMbUS4Z0MmfZSXNG4n0Gy44EdXcePh0hf513Ue7TDD25XQqKizMS5vuy1qg?= =?utf-8?q?UJ8+W903M1KpF0Ak2IdWtHqcqqqkDOUWwoXkbgjEAioxDLsUsPxFUNC+6CyNwfPx/?= =?utf-8?q?K9EltgpbfHT1ZXwKybqpJcJlUEOaRsHYT+sekpe/WpQgAUHJB6PyScXYpllroGb/m?= =?utf-8?q?iHDytGb6kFBUkzrrDHaomkYIpdOBKtk7luYqyOg1UdgbjGkRi+0JrDtsGcTmSDBkM?= =?utf-8?q?O7Z1X2xI4pCVSP9y26gnosVjrm9Od3GAnq40cIr17q3GmVTa9MI/rqdhniKj3TYbq?= =?utf-8?q?83SW5aSDGIAsplKZJHFtW5NDdAl/W0uDldcC//N4pNTU1vvmZpVUcD5jzfmjbYgP8?= =?utf-8?q?PhAJob4WzalIhaPZE1u+XKEmot1ugmGOxKNmPhFpx/v8aVc/rp3WLSKEBgRmKYsrv?= =?utf-8?q?ivvdQFNBMMpXU3YBZMwjCv2x5BPdGTU+cP40K5Gt8Dn0HuXVG4BwTjWqEwCjWCXhj?= =?utf-8?q?oWamgipvQ19o2yTE96LN5tjj3uucHYCrP1A2X5UfCQGrV2Y5h+yd6gXv79t2ZJq5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?utf-8?q?IFp5UurhHP6NHa27Vf+PN2RbYME6qNB/cIESf1Z4VJkIHyYqMGhOL7qg99wguBmGe?= =?utf-8?q?aQYzfUQtxXmr?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2d7b62dc-0a5c-4ce6-9e3e-08dc063e22c5 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8963.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Dec 2023 18:11:52.1847 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a4a8aaf3-fd27-4e27-add2-604707ce5b82 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: BwsIlK/YoXC4PSMf0iuRtuc4x587Wv0sy7UERpdl9wD7AHWA9GuoE9GY05UvvCOYk+fQvBdGC0SvoQaqcYP/ug== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB9868 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1786369205378050416 X-GMAIL-MSGID: 1786369205378050416 Add DT compatible for SolidRun Armada-385 based Clearfog GTR L8 and S4 boards. Despite similar name these two boards are designed differently from the armada 388 clearfog base and pro, they only share a name and general use case. Signed-off-by: Josua Mayer --- Documentation/devicetree/bindings/arm/marvell/armada-38x.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/marvell/armada-38x.yaml b/Documentation/devicetree/bindings/arm/marvell/armada-38x.yaml index 5af222e6db18..5bc69c4fe34d 100644 --- a/Documentation/devicetree/bindings/arm/marvell/armada-38x.yaml +++ b/Documentation/devicetree/bindings/arm/marvell/armada-38x.yaml @@ -30,4 +30,12 @@ properties: - const: marvell,armada385 - const: marvell,armada380 + - description: SolidRun Armada 385 based single-board computers + items: + - enum: + - solidrun,clearfog-gtr-l8 + - solidrun,clearfog-gtr-s4 + - const: marvell,armada385 + - const: marvell,armada380 + additionalProperties: true From patchwork Tue Dec 26 18:11:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 183331 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp1022807dyb; Tue, 26 Dec 2023 10:13:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IGF6IfZPFRSLyw1KjXDiDySfV4ui62365r7Oy5OAeCRu1blxY3NNbAbFxCcRi96q0lUE3+s X-Received: by 2002:a17:903:2288:b0:1d4:4144:1699 with SMTP id b8-20020a170903228800b001d441441699mr1780088plh.53.1703614395074; Tue, 26 Dec 2023 10:13:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1703614395; cv=pass; d=google.com; s=arc-20160816; b=fz4jUEVwKHtlA0XCNiUatAquqLxqceJRaQFN6auAgp8xG5dWTsKauAdolFhoavhHc3 9d3RQqBQyrPqPB3TBrROOm9ke7QtZFK7rb/ncV421AQVgcEB7tE0CTpnWFKDDYoMQO6k ivSdJmDHV8cDC4AdugV7Hk4t5tZmEe3c4zbuIGgOMF+Kw/+xEV+YWdXfCji1WImA5FUL CF1VK7mezV6NqXSDLjpLpH2y/1C1GWIRySUqvD1LP7o+01hKhdtY8b/X/KUKZDYNNJVs dZ1m7b7J/ezBbp/ZFRtKN+7Jt7KbGrz8VCLgPxqbfrcuqnShEIWpQ59hcOWqXr1LBWYT QWGg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence:cc :to:in-reply-to:references:message-id:content-transfer-encoding :subject:date:from:dkim-signature; bh=XhDSuGG9G9tKZc8hTeA5QnvBqci/AaN0HvDnH18r3ME=; fh=LZ3+8MPuo3SMsa6OKaa4nXkr9HAal1HR+rgsxxjlDOA=; b=dvJ7vZYfx6BSkv2rxizZtSMXa36Cr0KGo5acEU31UPHtkYSTSAtNoygJXbZp3CzJiK XKsUhXjsWjlV6QNqCqcUZ0tydOrXcI82SIRoKZdkJA2hszGfY0JVwTmUk6O2LWoYC45l B+sgjdo/v66LGCFb4UPqVXhNxDO2JgVlicCmOaBcNCuEe581I2VHPXAgn13jovjC28t3 YQ8oiqldElwm2e0bIkqU7NNFM9jmQGAUxG9PL+EoVMqkpo88RDhsPireqajABpu6ec0N 92dswe8QlwNsBi5xWgYOWIbgEef3iG58LmJEqAYdI7xges8N4fJaBtA/nhxJ6vh8VjS4 J1xg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@solidrn.onmicrosoft.com header.s=selector1-solidrn-onmicrosoft-com header.b=rAocvrpa; arc=pass (i=1 spf=pass spfdomain=solid-run.com dkim=pass dkdomain=solid-run.com dmarc=pass fromdomain=solid-run.com); spf=pass (google.com: domain of linux-kernel+bounces-11609-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11609-ouuuleilei=gmail.com@vger.kernel.org" Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id ix17-20020a170902f81100b001cf68d3e90csi9710324plb.98.2023.12.26.10.13.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 10:13:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-11609-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@solidrn.onmicrosoft.com header.s=selector1-solidrn-onmicrosoft-com header.b=rAocvrpa; arc=pass (i=1 spf=pass spfdomain=solid-run.com dkim=pass dkdomain=solid-run.com dmarc=pass fromdomain=solid-run.com); spf=pass (google.com: domain of linux-kernel+bounces-11609-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11609-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 4601FB21784 for ; Tue, 26 Dec 2023 18:13:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A5B6054672; Tue, 26 Dec 2023 18:12:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=solidrn.onmicrosoft.com header.i=@solidrn.onmicrosoft.com header.b="rAocvrpa" X-Original-To: linux-kernel@vger.kernel.org Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2068.outbound.protection.outlook.com [40.107.20.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8C14752F70; Tue, 26 Dec 2023 18:11:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=solid-run.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=solid-run.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dgt6e9DkXO4h/ufQEfKrUXZ1FWFmXsVAQdIykupdQHDnqDzpHyvCsrz18VQsjNmKmpTRbMSDcdqURfAu4EOdN8YHT4h+jmPlKclLfSSwlfC9u0jTVluLTpzBQthJ06DDYzBxsRS/HMAlJ47Jlv5GpiiOJQXQ1YujMThZkNnoWx5v30Ks1oOaV5H7qqev4+42pRb97sllMH82pMEplSs6uSacb7mefX6uBiJqxnu67xySFQ2/wrTCjl5ygVSkwN2lzqIp3QBs950DcHrY0g/+9IkoZrpSppN1poJKvkMN9HP84l7SZ1Crls7vAxp3ZPBwYAdRU/2Mkn8U1nQlgjYi2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=XhDSuGG9G9tKZc8hTeA5QnvBqci/AaN0HvDnH18r3ME=; b=iqPykhXFo3aKGbMWUjScTmCN+qLwVCgXbyJaYW49A1fsCDpgRkOI3a5OPGBmzIJCGLFwEh8Z69ob3TbAr+XyOjqe2IyKVbB+hZKTJkkfVXSRSMRZ7TC1mcryRzY9vPW2V5CGu33fVk1GmHOqB6V2JFLr8wSUt9Isbq0Wsm9WDAUm/QmUmqRXavr11HoKPcNjY/BJr8Zr1PNd/oVhaaav8Bpzr2sQ/WKbhA/OnJstjbpJ9y0bIfG4OPrbEO9Tqkxsfb9KJpcBctER8CXBbGVjI9xhLy2s/oCimg+eLFXuQNJ0zuRgQp+8uwMYySDgsizfyJHN2YZlN/K4rMukE/Yg2w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=solid-run.com; dmarc=pass action=none header.from=solid-run.com; dkim=pass header.d=solid-run.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=solidrn.onmicrosoft.com; s=selector1-solidrn-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XhDSuGG9G9tKZc8hTeA5QnvBqci/AaN0HvDnH18r3ME=; b=rAocvrpaN40uJCf+lVMhDtw8L2Ad49+jlu6P0Yy4zseSyNimXJdsERu6cy6nsEt95jqssgnsjL4WdQOmjQXDsfSKerdh9JU6uHwmqHDv8eA7PKkVLBRLrkdqWY8cPREIAjHTALnJYzfaSCPeLLhfIcN372nwWcEvIWhg1Ilwb/s= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=solid-run.com; Received: from AS8PR04MB8963.eurprd04.prod.outlook.com (2603:10a6:20b:42e::18) by DB9PR04MB9868.eurprd04.prod.outlook.com (2603:10a6:10:4c3::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7113.27; Tue, 26 Dec 2023 18:11:52 +0000 Received: from AS8PR04MB8963.eurprd04.prod.outlook.com ([fe80::4db1:aae8:c643:2e73]) by AS8PR04MB8963.eurprd04.prod.outlook.com ([fe80::4db1:aae8:c643:2e73%6]) with mapi id 15.20.7113.027; Tue, 26 Dec 2023 18:11:52 +0000 From: Josua Mayer Date: Tue, 26 Dec 2023 19:11:34 +0100 Subject: [PATCH v3 3/8] dt-bindings: marvell: a38x: add solidrun armada 388 clearfog boards Message-Id: <20231226-support-clearfog-gtr-l8-sfp-v3-3-fd1ac2d6bf2e@solid-run.com> References: <20231226-support-clearfog-gtr-l8-sfp-v3-0-fd1ac2d6bf2e@solid-run.com> In-Reply-To: <20231226-support-clearfog-gtr-l8-sfp-v3-0-fd1ac2d6bf2e@solid-run.com> To: Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Josua Mayer X-Mailer: b4 0.12.4 X-ClientProxiedBy: FR0P281CA0038.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:48::21) To AS8PR04MB8963.eurprd04.prod.outlook.com (2603:10a6:20b:42e::18) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8963:EE_|DB9PR04MB9868:EE_ X-MS-Office365-Filtering-Correlation-Id: 26ea4e74-ebc0-4306-fd87-08dc063e2305 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: aQXLsQ7QYC14fYmXThADW765w9o0JUGixGkY5wRhPQDBob4ICP3KGVl+r7j3eq5qP1m92dOy9karjOVft9VUJuLHbIrzitdr6WvR3qpYNblFgEDrFT4/nnbIyw17vABcqn9zCAOQAdWwS0lUeNob1u5Op+uW4tb/W7AXxlQkB3yVQCXqghSY7yLv6SJzGk3LnuSAkfPJ+xEjUEIyPR9CXQAQSJejw6jlTDnj3M2ny2nevTXBndoXGAo5+HDeN3Lb5cWKAdtypMECutRPEK8t0/YXtOgQmLUW4UCM8ZJXSjhY25+J1vJqlY7UChORwXQgMpgrZWjBLYQyLllsm2xVzW1GseeTy+sbGYontrElDQiCLVrAHEZFSE7ndRV4Q/nkl7jOHapjlHR2rmYOxkGBsCbxf1zY9YUfbmHbrRE9+XUcuUWdtyS6e0igaxozf0ntBvsHzIaAyzlaCzGT5k9DJSrAEpBC2Q/NmKKQBp40ykfvGoynF3usKmdz2k240BZv+z6iEwa7+ziOZ/wVmij4SgyABoLXQoW+BxhMpqXAmkKCJvmnhAMWDKS5up3vk9HJU8U/Hth+uaw/3v93EddKPCzlnbM4h5XQbzQshB7n+YgZGHqvvYdjpTJ7DkktEDyy X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS8PR04MB8963.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(136003)(366004)(376002)(346002)(39840400004)(396003)(230922051799003)(186009)(1800799012)(451199024)(64100799003)(26005)(6512007)(2616005)(4326008)(8676002)(110136005)(66946007)(66476007)(66556008)(316002)(52116002)(6506007)(107886003)(6666004)(38100700002)(86362001)(8936002)(478600001)(6486002)(5660300002)(2906002)(36756003)(41300700001)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-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?utf-8?q?ZSPuDm7XZmSQnL1BMDln/ysCS1o2pBl1HNWcAi1xKcnzgzRsHwuZuzRa2aClXWJ8H?= =?utf-8?q?Pl2zK8vambJE+UdPHZI2rqoT/85oaKucQvD4tOnSl+wRKA/jChaCdg5m5Bf6CAcvD?= =?utf-8?q?2LTnEKxbMuqgJbBmPMYHr7oQ/DjFhG9Hgg5eKTbBoml6fEi4xbMJjVSt960gyKmRA?= =?utf-8?q?2m72Q7VAkXfSvRFZJpI14RFBZAA6sku4uHsKgBtLBPiTZ5cHgxpkjkwpJZ7daOYsI?= =?utf-8?q?mnVdr3WiY1oZmIZDUJb3zoKixiUEL+rP81Lv9S60dtU28xAIR6+Er47BJv93sQe0C?= =?utf-8?q?gu2qbU8zQNffpd5X0cRTa9yvX7Dqx9eEWWX2Z8Kso6rb/1B8FpTjKio3TWVR2T4cO?= =?utf-8?q?VkZABX+DlNjW4syjWvzNT2HQhNQ4HOa0G1NBD4vtWbOYISzJUw4OGEzqhvhRbcHGr?= =?utf-8?q?Ler0PDNviyNp4KX9fKE3DGy5sSZb/6vnN5vZZuE/VkbiYegWbZ7C09gn7kjMlWulb?= =?utf-8?q?mooddet6P2ae3XfPAez1MObVOkKODfvTfq3F+vt/6HycLnB0zT6BytZIBeYLCFyKT?= =?utf-8?q?GmjTp+h/F+mH14BAkzD3+NWDJBmtoT8YAQYZQhb2nuE26ux8api/z/KvIR6lr7mGw?= =?utf-8?q?YmmlD7xlZCFeJoK7pv5KQP9w4BBae3Al0MDvfY4qQ1mTfBqQmqGQROfPT5pIF8w6+?= =?utf-8?q?4DNB1d0vkvry?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: 26ea4e74-ebc0-4306-fd87-08dc063e2305 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8963.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Dec 2023 18:11:52.6066 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a4a8aaf3-fd27-4e27-add2-604707ce5b82 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: fOeYbQBpHlXIQcMxAbnAb5Dw10FXFLwiITLiQgLKTYhsTPbbQfUdcizAiP2QmAPqlx4WInnakIx8hcV4u3PJrQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB9868 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1786369127901562498 X-GMAIL-MSGID: 1786369168050509781 Add DT compatible for SolidRun Armada-388 based Clearfog Base and Pro boards, which are already in place in-tree. There are already 3 distinct dts in tree for these *two* boards, declaring particular compatible strings: - armada-388-clearfog.dts: compatible = "solidrun,clearfog-a1", "marvell,armada388", "marvell,armada385, "marvell,armada380"; - armada-388-clearfog-base.dts: compatible = "solidrun,clearfog-base-a1", "solidrun,clearfog-a1", "marvell,armada388", "marvell,armada385, "marvell,armada380"; - armada-388-clearfog-pro.dts: compatible = "solidrun,clearfog-base-a1", "solidrun,clearfog-a1", "marvell,armada388", "marvell,armada385, "marvell,armada380"; This has historic reasons, the first entry is a legacy name for the "pro" version, old versions of u-boot built when only one variant existed explicitly boot by this name. Note that both compatibles and model field include the string "A1". At least up to revision 2.0 of the board, this had been printed on the pcb. However in marketing material and conversations it is usually omitted. "Clearfog Pro" and "Clearfog Pro A1" always mean exactly the same product. Technically Base and Pro variants are similar enough that they can successfully boot with each other's dts. Hence it makes (some) sense for them to share the "clearfog-a1" compatible. Add bindings for the explicit variants including base / pro suffix. The legacy "armada-388-clearfog.dts" is not supported by these bindings" as it does not make sense having two bindings for one board. Signed-off-by: Josua Mayer --- .../devicetree/bindings/arm/marvell/armada-38x.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/marvell/armada-38x.yaml b/Documentation/devicetree/bindings/arm/marvell/armada-38x.yaml index 5bc69c4fe34d..f77976138bb3 100644 --- a/Documentation/devicetree/bindings/arm/marvell/armada-38x.yaml +++ b/Documentation/devicetree/bindings/arm/marvell/armada-38x.yaml @@ -38,4 +38,16 @@ properties: - const: marvell,armada385 - const: marvell,armada380 + - description: + SolidRun Armada 388 based single-board computers + + items: + - enum: + - solidrun,clearfog-base-a1 + - solidrun,clearfog-pro-a1 + - const: solidrun,clearfog-a1 + - const: marvell,armada388 + - const: marvell,armada385 + - const: marvell,armada380 + additionalProperties: true From patchwork Tue Dec 26 18:11:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 183337 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp1032675dyb; Tue, 26 Dec 2023 10:30:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IHF3R8ZRTcrs0tUrjYSFDI2k8wDS9gNNYo/KX1qTL7Sc/Z7/f6FTLrLOi6pK+8ySYV4rHOm X-Received: by 2002:a17:906:1045:b0:a23:46a6:d86b with SMTP id j5-20020a170906104500b00a2346a6d86bmr2709226ejj.11.1703615458544; Tue, 26 Dec 2023 10:30:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1703615458; cv=pass; d=google.com; s=arc-20160816; b=hfE43zdkY1vveBoMzYWZ7qP5eOUyapWmhFklfdXQGWkD0OnV/37py6d+b1l6VrPAkT 562qAyIVIUU6mhD5cgsxApDoKnJoagu9LHLzyxshhkn7owWrhNz41e9IQ+v0LXDMAgLP dfiM76bWVP9FwRYeP3x4kfXe/SZHNE5bajG+k0jBIO4LZpQ2O/65aX0vOAua/jUIoZzO 3ZMjEOYInJAhrJ2AtYLefjzRvVUzAsOjrXxR39HBd4N+ivourtHJXsex/Pg34pv0QAvZ JmzSe56USQdEopte+cSft9Y+J4FbSgdcZtl/Yf94/TaA+RQbyK6u9qBHY9sZbxuezyOG oc0g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence:cc :to:in-reply-to:references:message-id:content-transfer-encoding :subject:date:from:dkim-signature; bh=lVv2+HWSJb/Bvvy/FVIMBCe6S2QDYRd1TZN8Ua4xMS4=; fh=LZ3+8MPuo3SMsa6OKaa4nXkr9HAal1HR+rgsxxjlDOA=; b=vVuLXcup8BOVKbgd2H6ZFryNe1Ph/rCRSYX8Sk0dgwwt00qD6S59g5sPfZsWapUdtZ JKGsa08ZCCTTJyUgeUtyDtNjvFgfdvm+Ers77teuiMRdYP4CMqrrP/DBX6r6D5YG/G/8 r/dyFGyRSpKxNLe8FYnnUQQwf9rB5f9v8Qdn702t8TDSiTE/DPMlETXbzmnpjVfo48ze EHwHb5MGfCYANOQ6c1EUsqqHfHo1FhLdceU7RZ78SCb2pRxEx4Wv7TodGz7tv2s0LgiR jSHcmhoyT6TAg6es31JMmQBKkKQmsVFKy/bc+sMlUDV6cOXJcdPSBAPb1TuCx3u30P0R h5qA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@solidrn.onmicrosoft.com header.s=selector1-solidrn-onmicrosoft-com header.b=ThSq8Daf; arc=pass (i=1 spf=pass spfdomain=solid-run.com dkim=pass dkdomain=solid-run.com dmarc=pass fromdomain=solid-run.com); spf=pass (google.com: domain of linux-kernel+bounces-11612-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11612-ouuuleilei=gmail.com@vger.kernel.org" Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id h26-20020a1709062dda00b00a26f5e27e88si1716146eji.1002.2023.12.26.10.30.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 10:30:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-11612-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@solidrn.onmicrosoft.com header.s=selector1-solidrn-onmicrosoft-com header.b=ThSq8Daf; arc=pass (i=1 spf=pass spfdomain=solid-run.com dkim=pass dkdomain=solid-run.com dmarc=pass fromdomain=solid-run.com); spf=pass (google.com: domain of linux-kernel+bounces-11612-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11612-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 7176B1F22A8F for ; Tue, 26 Dec 2023 18:13:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B1C4154F99; Tue, 26 Dec 2023 18:12:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=solidrn.onmicrosoft.com header.i=@solidrn.onmicrosoft.com header.b="ThSq8Daf" X-Original-To: linux-kernel@vger.kernel.org Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2084.outbound.protection.outlook.com [40.107.20.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8CF5D53E36; Tue, 26 Dec 2023 18:12:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=solid-run.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=solid-run.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=K2WOU/fGFs52kjccNSDrhvGN2X4R/WtTzHn8Qq0NSKgNXcUz603Zp/wMjY5v4akp5wvLFLT5y/De4NAYL7xlaY0GZHNPRRiCnN6Dv0AuJnw+JTAJDTAauxSKEdTfmK3ffA6eORdcJFvgfb2SA84/1fUDmvsxPE0mCsGM9p5Xta2bfXxpCA9RbT+OF52qXSLWn3ZQVo6nv3b0eGdF5JIbzCPyku9ihAnShaqivdBJt+h/qt2LZvYtY1u6uAATxHQ3r7RmyC8ccgumK1En9pL+exozGEDFUBhJ1Ypk2MDfo5x+Cb8hu/U+x6Omngl299g7gJBIt1cwtsVXjftzeC9GGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=lVv2+HWSJb/Bvvy/FVIMBCe6S2QDYRd1TZN8Ua4xMS4=; b=FogAmwdD8GVw97JWjOecgPDyncLWsAB1SGJCRvoetPQBqFnFQ5Ij3v5edORPC3w71exzVDcDz7A6VNFcimAR/OVLP7Cz0P9fEwP73v7QaN4DXChRmY93EykreM7umLhD0fAXCZ9mJRYjV6EpWG+ip6XXZA/avCxCF780u3SqcJDZG5+o3dTdgTnrhNl9jfXdgI5TTh/RxFUdKK16PBFOsn3LT5MH1HyPOEybI2EvqrZydyo9Cyg2ZrALdoQFam6pEQ+5PKAhG/8z+v0pJmzryAGd9AN7VjFVg9WrATIjZIIp6A3nDHyKnHOuISUkGMDopB/SbWc25cdfqxO8XKzMGg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=solid-run.com; dmarc=pass action=none header.from=solid-run.com; dkim=pass header.d=solid-run.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=solidrn.onmicrosoft.com; s=selector1-solidrn-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lVv2+HWSJb/Bvvy/FVIMBCe6S2QDYRd1TZN8Ua4xMS4=; b=ThSq8DafzJu8vmO8tqVwu5I15ZNXkJd/XGw2AMgifTbPGU8RUAPdfIyFLRFOSWjtbN1d4NKr+454SVwmhgDgSlfWF+MaTjjlAHtje4UaBWIADSaf/ZecKJrhJHXPZQK97L3dkAJ2Ivtit/Nnx1hdJvz/+7zgk7QiLVIOE0/2mW8= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=solid-run.com; Received: from AS8PR04MB8963.eurprd04.prod.outlook.com (2603:10a6:20b:42e::18) by DB9PR04MB9868.eurprd04.prod.outlook.com (2603:10a6:10:4c3::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7113.27; Tue, 26 Dec 2023 18:11:53 +0000 Received: from AS8PR04MB8963.eurprd04.prod.outlook.com ([fe80::4db1:aae8:c643:2e73]) by AS8PR04MB8963.eurprd04.prod.outlook.com ([fe80::4db1:aae8:c643:2e73%6]) with mapi id 15.20.7113.027; Tue, 26 Dec 2023 18:11:53 +0000 From: Josua Mayer Date: Tue, 26 Dec 2023 19:11:36 +0100 Subject: [PATCH v3 5/8] arm: dts: marvell: clearfog-gtr: sort pinctrl nodes alphabetically Message-Id: <20231226-support-clearfog-gtr-l8-sfp-v3-5-fd1ac2d6bf2e@solid-run.com> References: <20231226-support-clearfog-gtr-l8-sfp-v3-0-fd1ac2d6bf2e@solid-run.com> In-Reply-To: <20231226-support-clearfog-gtr-l8-sfp-v3-0-fd1ac2d6bf2e@solid-run.com> To: Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Josua Mayer X-Mailer: b4 0.12.4 X-ClientProxiedBy: FR0P281CA0038.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:48::21) To AS8PR04MB8963.eurprd04.prod.outlook.com (2603:10a6:20b:42e::18) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8963:EE_|DB9PR04MB9868:EE_ X-MS-Office365-Filtering-Correlation-Id: 8451224b-a79e-47f6-a92d-08dc063e2392 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: JApoHpAaMEeX4XuvEZIIrFYNdD8DjlfDfChLHLL+rVp0rNaRyeaimF+el1uPJ74ggsIFXSlwYMyNrsvL8RJC8sAGOQz+/Wbd8KyWGXNjOvyhGMhmvbQ7iVRAPWm4FCIGvmmajepVbUZdIZlZyrcvdsQ05fSBmqQtO4yhI71NStq0bY2JYangOOOwt5Rfk+BFRBzU0XJIxMo3gSXCHxJtJXXz5oOYWczjcukAiNPUHu/jPHwgDJMVdVfOBgQsxUk2MojBAC2owlXoOimYU0KejTBRDgKQ161GWI1aCT2+H37oOm3S3O8rUOEmW44A28dsQXl5qelN/kVDTVBmCZL6JaHjRtzTsO7G6o25F9j+XqBMVBIyEkrKkV70w6igHXCkz/GFLKC4fdXW4D8Z8y3Q4RkjQ5TYRlRQ+iMKbPdFVjnsalXxEb+BiQlNaPAxYcFmJHefSnDR9f7+1Lf3YgpPVMMkiF/9rEZNxnXDCZNmAx/Wr2WUaEiU/HjnzLqOQAaEJBTXExrVPyeb0liT7oaKKGAEgUUw0G2L41T447QWbPkbH7DFuItKVtFOJlv3r1gyrJjnZtWk8gfUzjrU8NImKIZvdUWj6ibSA0eRCmhhT5ZZrwBACjomcpuzbwG1Qx/g X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS8PR04MB8963.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(136003)(366004)(376002)(346002)(39840400004)(396003)(230922051799003)(186009)(1800799012)(451199024)(64100799003)(26005)(6512007)(2616005)(4326008)(8676002)(110136005)(66946007)(66476007)(66556008)(316002)(83380400001)(52116002)(6506007)(107886003)(6666004)(38100700002)(86362001)(8936002)(478600001)(6486002)(5660300002)(2906002)(36756003)(41300700001)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?UHfud8gAuuJQCq5hOXP87rdee5D/?= =?utf-8?q?CiCaOBS9ZQ/oEZFVmlKIgumAgYaCzIwMgZGaGjEe+RtVT1VOwDZH7DBzaexKMh/J0?= =?utf-8?q?P/VuvrQfSm6eEDKaoK7FVvrvWVSRwmVvtEKl3SIATUJ4eR9xNQl1P8L+GaKGpEPWc?= =?utf-8?q?/WnF3O/GY1ph0y1UsjpsLn4oL0L7JbmBz6E6oRHSTARYI1Hh8ks/vQmSgeKBVJa0k?= =?utf-8?q?d/cKoJYcRnfQWmUi8wKAunRVnJvdCXbww+s0yMxky3kjWK2X4MQ95YPVUpccSjL0Z?= =?utf-8?q?BaYtiv+LQSFmU6bVtSWWxrpnmz2e0AFNDBTMEtd4sno9GF7Me9AVcW+JVgso6/9fI?= =?utf-8?q?94oEkLaZuuomD5DTu1QZTqRunTbuv84zaXY+0lrm5K2Q3LG6ahQeZpRFGeKCRdu1W?= =?utf-8?q?AM+ncvGxiTkaFFPk/rSvFNDHpMLsUzxtA/8+xGJWmBj1jz80fNy6uftWa2Co1VYMD?= =?utf-8?q?lkhRUrOrdZcEEip6aIZZ7vYyNlKqgdNz6ZP+WfreY6cM1N2r6Du2cYC+3EyrYTgKO?= =?utf-8?q?LvssJLwSPwsS78MNJynNP1JI7rrSmuoCAgz3PbFv0iVb/g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GbC?= =?utf-8?q?aekTGVEVG8esl1/nWTRT8WeDmNlWKqp2Y68KqK+DiCkDRVQxMBkqXDG4C/EOmdVKJ?= =?utf-8?q?+N8U2SWOliRS?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8451224b-a79e-47f6-a92d-08dc063e2392 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8963.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Dec 2023 18:11:53.5398 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a4a8aaf3-fd27-4e27-add2-604707ce5b82 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: YTZznWzuIkmVCUG2CVMSq/2qJdq7niHB/lYaQnzuehdqyR5fcNbJPOCAOCdXOd61A2oKlkBg2weHgPhgjOa38A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB9868 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1786370282968517766 X-GMAIL-MSGID: 1786370282968517766 Cosmetic change to increase future patches readability when adding new pinctrl nodes. Signed-off-by: Josua Mayer --- .../boot/dts/marvell/armada-385-clearfog-gtr.dtsi | 40 +++++++++++----------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/arch/arm/boot/dts/marvell/armada-385-clearfog-gtr.dtsi b/arch/arm/boot/dts/marvell/armada-385-clearfog-gtr.dtsi index d1452a04e904..8eabb60765b0 100644 --- a/arch/arm/boot/dts/marvell/armada-385-clearfog-gtr.dtsi +++ b/arch/arm/boot/dts/marvell/armada-385-clearfog-gtr.dtsi @@ -141,18 +141,13 @@ i2c@11100 { /* SFP (CON5/CON6) */ }; pinctrl@18000 { - cf_gtr_switch_reset_pins: cf-gtr-switch-reset-pins { - marvell,pins = "mpp18"; - marvell,function = "gpio"; - }; - - cf_gtr_usb3_con_vbus: cf-gtr-usb3-con-vbus { - marvell,pins = "mpp22"; + cf_gtr_fan_pwm: cf-gtr-fan-pwm { + marvell,pins = "mpp23"; marvell,function = "gpio"; }; - cf_gtr_fan_pwm: cf-gtr-fan-pwm { - marvell,pins = "mpp23"; + cf_gtr_front_button_pins: cf-gtr-front-button-pins { + marvell,pins = "mpp53"; marvell,function = "gpio"; }; @@ -162,13 +157,6 @@ cf_gtr_i2c1_pins: i2c1-pins { marvell,function = "i2c1"; }; - cf_gtr_sdhci_pins: cf-gtr-sdhci-pins { - marvell,pins = "mpp21", "mpp28", - "mpp37", "mpp38", - "mpp39", "mpp40"; - marvell,function = "sd0"; - }; - cf_gtr_isolation_pins: cf-gtr-isolation-pins { marvell,pins = "mpp47"; marvell,function = "gpio"; @@ -179,18 +167,30 @@ cf_gtr_poe_reset_pins: cf-gtr-poe-reset-pins { marvell,function = "gpio"; }; + cf_gtr_rear_button_pins: cf-gtr-rear-button-pins { + marvell,pins = "mpp36"; + marvell,function = "gpio"; + }; + + cf_gtr_sdhci_pins: cf-gtr-sdhci-pins { + marvell,pins = "mpp21", "mpp28", + "mpp37", "mpp38", + "mpp39", "mpp40"; + marvell,function = "sd0"; + }; + cf_gtr_spi1_cs_pins: spi1-cs-pins { marvell,pins = "mpp59"; marvell,function = "spi1"; }; - cf_gtr_front_button_pins: cf-gtr-front-button-pins { - marvell,pins = "mpp53"; + cf_gtr_switch_reset_pins: cf-gtr-switch-reset-pins { + marvell,pins = "mpp18"; marvell,function = "gpio"; }; - cf_gtr_rear_button_pins: cf-gtr-rear-button-pins { - marvell,pins = "mpp36"; + cf_gtr_usb3_con_vbus: cf-gtr-usb3-con-vbus { + marvell,pins = "mpp22"; marvell,function = "gpio"; }; }; From patchwork Tue Dec 26 18:11:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 183336 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp1032631dyb; Tue, 26 Dec 2023 10:30:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IEoE6aLSNTkM8+EPWgOnYU4Cyo2GG5n2z4R0o8Rr9j0WxGf3VMpIbGbFPuQAuJOPDln2/eg X-Received: by 2002:ac2:57c1:0:b0:50d:4a39:388d with SMTP id k1-20020ac257c1000000b0050d4a39388dmr1043675lfo.38.1703615453928; Tue, 26 Dec 2023 10:30:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1703615453; cv=pass; d=google.com; s=arc-20160816; b=gwyJvk9nI8svxeczXJwYdzAPbIbHDRTcl+MMqJ3iCLlThCUvXTfYcdC3Tr/aVCsK4X XwFOKpB+ySPIZIxPVrTXVUUVwYo/jozKrhzksB4nBNy9jF+SQ0JhBBsyeeR+KIIlJYZ2 ZoVcuq+s/2sBjav/383tWY0jVS+vzsYtr4+Khc1jwLOcJhVK9R4FXP9aPI9Fd8l43KMw 14viEHW7t3fhc9FNdLophMfK13907GMQES840aSaY3AnUlhr9NvpxBFoxupoC/Cd/A6A GKFreyqDITAD2WRmPBdPWzlFa9CcoDUg+peld+Y5bWgpsfhxGHzdLh5TkdOJg+us9XRg pO8Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence:cc :to:in-reply-to:references:message-id:content-transfer-encoding :subject:date:from:dkim-signature; bh=MglBJUqaxruQGh0ZPAoTMXRHGmU/vvywi3A7VAP5PSs=; fh=LZ3+8MPuo3SMsa6OKaa4nXkr9HAal1HR+rgsxxjlDOA=; b=c4DMqygDTnuq6IJ8t1NWIgxRZnQY/Ta3wWlBjMJtA2r1i5o7g/U6WvvTFsdMMpKTD5 FJqF1u97z8aGN9DThBLLQhJYugZA1fFG9CBfVJU7u4YR4NffRYAcg/PmOty5GtLi/1lV 3++P0u/unSksXXuXDT4XCb2QvFVdTr4mMfHHXnjtwdNo+XT7q/xvjJO32PcAaRJxSyXL Nx1/nZ21XVEao1Jf9VXKKDFwXsMe25iCaYFppUawIyrSDBx7tsNxHiyC5fON47YbC0DR eVQjw1W5DraPvoOkYjh5uKR3mQq46T5BctH/1uWexRX0eAmRvM8WX41TwS3BOtumtDBa twEA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@solidrn.onmicrosoft.com header.s=selector1-solidrn-onmicrosoft-com header.b=Ouu+LjdQ; arc=pass (i=1 spf=pass spfdomain=solid-run.com dkim=pass dkdomain=solid-run.com dmarc=pass fromdomain=solid-run.com); spf=pass (google.com: domain of linux-kernel+bounces-11613-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11613-ouuuleilei=gmail.com@vger.kernel.org" Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id kq23-20020a170906abd700b00a26dc8a3416si2968813ejb.807.2023.12.26.10.30.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 10:30:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-11613-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@solidrn.onmicrosoft.com header.s=selector1-solidrn-onmicrosoft-com header.b=Ouu+LjdQ; arc=pass (i=1 spf=pass spfdomain=solid-run.com dkim=pass dkdomain=solid-run.com dmarc=pass fromdomain=solid-run.com); spf=pass (google.com: domain of linux-kernel+bounces-11613-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11613-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id AA03D1F22B40 for ; Tue, 26 Dec 2023 18:14:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2B6D954FA7; Tue, 26 Dec 2023 18:12:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=solidrn.onmicrosoft.com header.i=@solidrn.onmicrosoft.com header.b="Ouu+LjdQ" X-Original-To: linux-kernel@vger.kernel.org Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2068.outbound.protection.outlook.com [40.107.20.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E926B54656; Tue, 26 Dec 2023 18:12:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=solid-run.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=solid-run.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jm9Ioo8GShkRZpuDM9Vhk6ovwsqX/rarbStxxc9OHtbyutLR0y3gqDMtx3KTjXKj03j49bsX8zzmEH+Wp29lqWRLaJclMaH8RUD7HZYZMZEUowss51dcoex7FXBniK/Va6xlfdEsDsyQG/bItsrj2CzPa8q49eN8OhUKQmkp6l+fFDpiJWrXM3Mdtx8GMbgBGX3TFnoq1jqgZdiXFx9XXV1Kl4//IClcVr9muD19i4TZCZ970RCgP14WLuXaMwRo6eF4VM/Rrd8IBQCSvjaZKHlvbomFl2jhI2Y5URonnO78Hfgdl5G/HVaQNylf9bLRqtleBhgNI2Rl2J+8mlbl/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=MglBJUqaxruQGh0ZPAoTMXRHGmU/vvywi3A7VAP5PSs=; b=Ni2aONBVX95cMmANR6uRFYO2QbedTKEsItfFpoZAWbTKTT7B6ptogcg/Y/kKl2o+BGxU8zzYZcZK29Hfy3XNCnOu6EJbhalkjVazpJnXZbQocsb7J4+MnQSIBZcx2JuPRwIVbnYLdymSe5la+AU50TfM8XmJ4TCW7PQzYImJO/TwF4TNU7cIieETsduLU4TYu7d9Zkad71zUL5b6sL4SW3sWLFXxrexG0GaSAksyyR9AZ3WwGheg4WlBXrtpfqcgodm26S/OkSY5dwFN/Vo2mELjPl0Xjttv8B8kmGMrHSbMVs/6GrPL5EeU3nIbyNWyUI3A+y1bAcOrGKgii86NWw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=solid-run.com; dmarc=pass action=none header.from=solid-run.com; dkim=pass header.d=solid-run.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=solidrn.onmicrosoft.com; s=selector1-solidrn-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=MglBJUqaxruQGh0ZPAoTMXRHGmU/vvywi3A7VAP5PSs=; b=Ouu+LjdQ486D9RQPaS6iPSywLlEPHjTec0ikxDZ7uYY64MIj+HviAklUtcGrKDp9lCp+ZIIfwSWyzNpAA84g/rquDnkK4Cd2OdJ762nRuyyjyA0igIMA32N/Ulpbf14eOjKTs08Z7X873W2jMHF5F9vTIPAPHutVAvHGzqZeftk= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=solid-run.com; Received: from AS8PR04MB8963.eurprd04.prod.outlook.com (2603:10a6:20b:42e::18) by DB9PR04MB9868.eurprd04.prod.outlook.com (2603:10a6:10:4c3::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7113.27; Tue, 26 Dec 2023 18:11:54 +0000 Received: from AS8PR04MB8963.eurprd04.prod.outlook.com ([fe80::4db1:aae8:c643:2e73]) by AS8PR04MB8963.eurprd04.prod.outlook.com ([fe80::4db1:aae8:c643:2e73%6]) with mapi id 15.20.7113.027; Tue, 26 Dec 2023 18:11:54 +0000 From: Josua Mayer Date: Tue, 26 Dec 2023 19:11:37 +0100 Subject: [PATCH v3 6/8] arm: dts: marvell: clearfog-gtr: add missing pinctrl for all used gpios Message-Id: <20231226-support-clearfog-gtr-l8-sfp-v3-6-fd1ac2d6bf2e@solid-run.com> References: <20231226-support-clearfog-gtr-l8-sfp-v3-0-fd1ac2d6bf2e@solid-run.com> In-Reply-To: <20231226-support-clearfog-gtr-l8-sfp-v3-0-fd1ac2d6bf2e@solid-run.com> To: Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Josua Mayer X-Mailer: b4 0.12.4 X-ClientProxiedBy: FR0P281CA0038.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:48::21) To AS8PR04MB8963.eurprd04.prod.outlook.com (2603:10a6:20b:42e::18) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8963:EE_|DB9PR04MB9868:EE_ X-MS-Office365-Filtering-Correlation-Id: fe6979a2-87a2-4160-2ffb-08dc063e23da X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: PAHM+8ThhZHIZrgKvHpoeBkISxKyK9msTlTIeWKmV6yKKVxwpXytjFRpk3ktYgTRE/arMxKMAL6fnk8k3bAP0l4lZixJIKkgOmOEvWLEmW4GEn9mvfMZWekE6eh5fIHBhQISDtlJ5j+zz4TJ6ufmVWVgoe4D3+LRDQvMp5QXzDJOwd8AJHZlbVAhdSxOtOV4wLbUVi8E8Cpfn8KG8U/j1L7UApfJ6rujivymh+FpRQdwaUF+Nom1IoOimLjwpZTWFyVQHabKHZv+zlw+1QtsQr02S79Eft0EeVBrYn9a6Foda6fIv2iWCt23N/nW6vxkedkgmrSiU0I44wyk3a54xzJ0oXYAmliC2Iui8ZSP7Hm0JLwxH3dsfpYrLBX/JRh6l62AauYMwn+cqoDAHrMljHm+VMiu1QAIHc9FD95jewdIXCiaOsIMIwPIwTDgJCV4Ul01jvWWK0fMn43kBlBm9IaudUEItu2HEsFU2G85WsxJB0KmS0yp7WUntn/BqoylXhJQ+jICLl3U4eaHRlxkpxP5SUuDvz3yV6sh5E5bFWGyP6nO36SPDm0bIKk3j0fdhF27cmiPqsf6ezVrHeUO8owybYAMRqG6FjSLmtUCZTxzEx6XDT6rubhbxS+1DwFm X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS8PR04MB8963.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(136003)(366004)(376002)(346002)(39840400004)(396003)(230922051799003)(186009)(1800799012)(451199024)(64100799003)(26005)(6512007)(2616005)(4326008)(8676002)(110136005)(66946007)(66476007)(66556008)(316002)(83380400001)(52116002)(6506007)(107886003)(6666004)(38100700002)(86362001)(8936002)(478600001)(6486002)(5660300002)(2906002)(36756003)(41300700001)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?E+tJXU20f8+JKxiAeqaLr9jsYInx?= =?utf-8?q?65xkqG9+OmYiCSKDcknXcyCbZjgYrRdFGrxIJDE4t/qZKJLj4SIouGyVFg3gxYxR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?= =?utf-8?q?GqqT4JzoQeOawtWdRXlDXOesAfr7WFUUBCaRMZtCJkjVfLBcn9X3lo7qh1jg/6ie1?= =?utf-8?q?DAeg7PQjF2Ri3Ib41gs2X5A/oOKS8cZAw7r8eg8runFTP2z74b8CRwr+ZldBpGkH7?= =?utf-8?q?Y6oR45Cj4Bx5vngZuMwGsKL/0FRJg2llciJM/Kxvf4WmhSRDDHg1z5ueOXOwIYvLJ?= =?utf-8?q?uW/8zFvAuBH09I8sTV293PuCGxq5QlDJ5zBpIgcIM0gkFeDiEIfgIwPjRMd9TKXbp?= =?utf-8?q?2EIN3TDM+7b0/1z32i1vbo0rcvYLrFAR8vfIAzu9iR+MJueaIOhP1viMi3zvcOPbN?= =?utf-8?q?0m+LRvhJlBC/xtl0WFcqmpHDHR+TjYrzoerBC20SfKDZFoAvRTNvN35wOn9q/4ns7?= =?utf-8?q?rbaLdfzz651sTkMpBgqfQLLtFxsW6cjk8+RYsbQVHae7uMDTAOEFVIJ+XZyLTKcZR?= =?utf-8?q?i0aEPWUNcdjnkLkVvLpcJGOOQFd8IyNE3hxMKd0kS71sOCCxRV4tJ3JR5ANxZvq3A?= =?utf-8?q?ry8Imn5a6j+EcnT7wwZ11fzI2AsC465R24QP3xOM833aAkbM7cuWoC+O7bOMn1ZEH?= =?utf-8?q?uaxBKD51O78e?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: fe6979a2-87a2-4160-2ffb-08dc063e23da X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8963.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Dec 2023 18:11:53.9963 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a4a8aaf3-fd27-4e27-add2-604707ce5b82 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: MW4d7YHfeyPoSsnc8MuM0Ci/1tEUnQax0lHvbTp9exHqKrucIVR1UyPGyPOWnSGHlaSy4etzFFb8P/gx+F9vQQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB9868 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1786370278068934428 X-GMAIL-MSGID: 1786370278068934428 Various control signals such as sfp module-absence, pci-e reset or led gpios were missing pinctrl nodes, leaving any u-boot choices in place. Since U-Boot is shared between multiple board variants, i.e. a388 clearfog pro / base, clearfog gtr l8 / s4, it is better to explicitly configure functions. Add explicit pinctrl entries for all gpios currently in use. Additionally the loss-of-signal gpio specified is invalid, in fact los only has a pull-up on the board but no gpio connection to the cpu. Remove this stray reference. Signed-off-by: Josua Mayer --- .../boot/dts/marvell/armada-385-clearfog-gtr.dtsi | 42 ++++++++++++++++++++-- 1 file changed, 39 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/marvell/armada-385-clearfog-gtr.dtsi b/arch/arm/boot/dts/marvell/armada-385-clearfog-gtr.dtsi index 8eabb60765b0..39ac97edb463 100644 --- a/arch/arm/boot/dts/marvell/armada-385-clearfog-gtr.dtsi +++ b/arch/arm/boot/dts/marvell/armada-385-clearfog-gtr.dtsi @@ -162,6 +162,22 @@ cf_gtr_isolation_pins: cf-gtr-isolation-pins { marvell,function = "gpio"; }; + cf_gtr_led_pins: led-pins { + marvell,pins = "mpp42", "mpp52"; + marvell,function = "gpio"; + }; + + cf_gtr_lte_disable_pins: lte-disable-pins { + marvell,pins = "mpp34"; + marvell,function = "gpio"; + }; + + cf_gtr_pci_pins: pci-pins { + // pci reset + marvell,pins = "mpp33", "mpp35", "mpp44"; + marvell,function = "gpio"; + }; + cf_gtr_poe_reset_pins: cf-gtr-poe-reset-pins { marvell,pins = "mpp48"; marvell,function = "gpio"; @@ -179,6 +195,12 @@ cf_gtr_sdhci_pins: cf-gtr-sdhci-pins { marvell,function = "sd0"; }; + cf_gtr_sfp0_pins: sfp0-pins { + /* sfp modabs, txdisable */ + marvell,pins = "mpp25", "mpp46"; + marvell,function = "gpio"; + }; + cf_gtr_spi1_cs_pins: spi1-cs-pins { marvell,pins = "mpp59"; marvell,function = "spi1"; @@ -193,6 +215,11 @@ cf_gtr_usb3_con_vbus: cf-gtr-usb3-con-vbus { marvell,pins = "mpp22"; marvell,function = "gpio"; }; + + cf_gtr_wifi_disable_pins: wifi-disable-pins { + marvell,pins = "mpp30", "mpp31"; + marvell,function = "gpio"; + }; }; sdhci@d8000 { @@ -221,21 +248,26 @@ usb3@f8000 { }; pcie { + pinctrl-0 = <&cf_gtr_pci_pins>; + pinctrl-names = "default"; status = "okay"; /* * The PCIe units are accessible through * the mini-PCIe connectors on the board. */ + /* CON3 - serdes 0 */ pcie@1,0 { reset-gpios = <&gpio1 3 GPIO_ACTIVE_LOW>; status = "okay"; }; + /* CON4 - serdes 2 */ pcie@2,0 { reset-gpios = <&gpio1 1 GPIO_ACTIVE_LOW>; status = "okay"; }; + /* CON2 - serdes 4 */ pcie@3,0 { reset-gpios = <&gpio1 12 GPIO_ACTIVE_LOW>; status = "okay"; @@ -243,10 +275,12 @@ pcie@3,0 { }; }; + /* CON5 */ sfp0: sfp { compatible = "sff,sfp"; + pinctrl-0 = <&cf_gtr_sfp0_pins>; + pinctrl-names = "default"; i2c-bus = <&i2c1>; - los-gpio = <&gpio1 22 GPIO_ACTIVE_HIGH>; mod-def0-gpio = <&gpio0 25 GPIO_ACTIVE_LOW>; tx-disable-gpio = <&gpio1 14 GPIO_ACTIVE_HIGH>; }; @@ -273,6 +307,8 @@ button-1 { gpio-leds { compatible = "gpio-leds"; + pinctrl-0 = <&cf_gtr_led_pins>; + pinctrl-names = "default"; led1 { function = LED_FUNCTION_CPU; @@ -408,7 +444,7 @@ &ahci1 { }; &gpio0 { - pinctrl-0 = <&cf_gtr_fan_pwm>; + pinctrl-0 = <&cf_gtr_fan_pwm &cf_gtr_wifi_disable_pins>; pinctrl-names = "default"; wifi-disable { @@ -420,7 +456,7 @@ wifi-disable { }; &gpio1 { - pinctrl-0 = <&cf_gtr_isolation_pins &cf_gtr_poe_reset_pins>; + pinctrl-0 = <&cf_gtr_isolation_pins &cf_gtr_poe_reset_pins &cf_gtr_lte_disable_pins>; pinctrl-names = "default"; lte-disable { From patchwork Tue Dec 26 18:11:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 183333 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp1023579dyb; Tue, 26 Dec 2023 10:14:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IEmGYyVaYO1K57G1LhVOHw7jYSIOtyNAqe4a4GyNb18XMT8LEfEpPxJ7oA+eRkyvjsK0LAb X-Received: by 2002:a2e:a279:0:b0:2cc:5572:1849 with SMTP id k25-20020a2ea279000000b002cc55721849mr1286993ljm.87.1703614461978; Tue, 26 Dec 2023 10:14:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1703614461; cv=pass; d=google.com; s=arc-20160816; b=kyykaR02Q0OB5a8hVScczVkpLAA7oNwtwa0af0er1TWiA4Zw8pZM3+xpbfrMGm15+2 uPi7iSUrcaQ0Ec3x9tU6+8t8DjK0SipasQB4kAzj5FQ39HBNM/fju5/Jnkw9nUIUQEdC i+Gb2vODvBtCYcGVcVtEF0I8IlObKsqRcH/eTxk+CZExWaejPPOUQZ1x5hE22kBnfZCB MAbqggJt02+w+DirYVkScysSreHPbdDKs1YRXGmJk0U/yxmZiB/Zr8imNsOM0otB9wfQ 4JfaMKHBQzcHGLjRgae9Qbr0vSfY9qUN+8qu6h/r2pfgHysbcl9g/b5xWYmycHzePJmj fLJQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence:cc :to:in-reply-to:references:message-id:content-transfer-encoding :subject:date:from:dkim-signature; bh=P40i+6AVm8IdTbDuAqwbFqY4jH9ZruaP6Q9zKpBfGZ4=; fh=LZ3+8MPuo3SMsa6OKaa4nXkr9HAal1HR+rgsxxjlDOA=; b=WdhjpBPWQxF2OEHTwj7rExTI/poa5wfxYGyMunB97rEF7sMZff80v2EptoJNBh+h1m M+EUYr8PLzETFY/5DJ6DJtYH68uNKn+y0zG3NXnRBRZz+ljoEtkLeObMM1COUUKAbCig jtnqGFDITEkrCoO9x2VBCMf4+KZuujtKW3D671vsHzuw7MsROLoZ7iS3H5uK8n7m/jUl 0+C27g/gP2N6b2nsYZiq0ENtAzeMBFgi/Oz4b7ZpVHvQIYzke+gT2I+w8p4kzNK7wDdR 2siL962WMRXAK2OC/t7E0eaP/GNKFn2x1UtPXzsN1/CY3NcK18vEGa3dZqo2dn4lD/QG 3FGw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@solidrn.onmicrosoft.com header.s=selector1-solidrn-onmicrosoft-com header.b=haH4f9pw; arc=pass (i=1 spf=pass spfdomain=solid-run.com dkim=pass dkdomain=solid-run.com dmarc=pass fromdomain=solid-run.com); spf=pass (google.com: domain of linux-kernel+bounces-11614-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11614-ouuuleilei=gmail.com@vger.kernel.org" Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id s21-20020a056402521500b00554f791ce11si1466679edd.484.2023.12.26.10.14.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 10:14:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-11614-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@solidrn.onmicrosoft.com header.s=selector1-solidrn-onmicrosoft-com header.b=haH4f9pw; arc=pass (i=1 spf=pass spfdomain=solid-run.com dkim=pass dkdomain=solid-run.com dmarc=pass fromdomain=solid-run.com); spf=pass (google.com: domain of linux-kernel+bounces-11614-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11614-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 6107C1F22C7A for ; Tue, 26 Dec 2023 18:14:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4B99655764; Tue, 26 Dec 2023 18:12:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=solidrn.onmicrosoft.com header.i=@solidrn.onmicrosoft.com header.b="haH4f9pw" X-Original-To: linux-kernel@vger.kernel.org Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2084.outbound.protection.outlook.com [40.107.20.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5428554789; Tue, 26 Dec 2023 18:12:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=solid-run.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=solid-run.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=S1f0pSbCfqkSCRSCNW1u+SGLLda/Ljw6KsmDsA7fSkTLc++FlvzLWV7vBSi5CiHFgAKCDvTQ3j2A2szKWbPYCnlY8af/boYW7jsy4Y6jFca4CaEiasWYSW738O1sfxljnl531NBS6Z7ljFY7IjJbazhlHYIevnCSvjonR3LCfyajHmvj6XpwamsVwpo9PhEpXAqGCWJ133fD7vumu51TaZkdVQZzCF9vSiShXX3p9llUH7pdhJ7xPzEWLkPD0MtHhdff/5n52TiG1YOzk3tg4v9/dMxX/T74FB09102CX65CeCmOA4jCfhvrWCftDgoV5gAH7fGayKsCY1uo6FJMBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=P40i+6AVm8IdTbDuAqwbFqY4jH9ZruaP6Q9zKpBfGZ4=; b=ZQNpoNyl3OeKkYg0AbdEWBD/YbXlRocB4dXnY/uzBRTCy3vfhRkFndBNmIrP4TqJPjDufC13mB8kiR1ni4R0StLUf0uTCnkOkHhIl8wuFovrEHO5PTNLCHkI8CgvRb2hYQsrfre+S8iId99qS1VH1KMDOEUKXQEGfsMdac0EZMCZFHewSqzmMY8NLxie3U049gY/1vZvRWWMkSEyfUukgaeXjIxGLJSTOjuxx39PzEE3q4f3YaIEVbscrjtmhthaIycJwy684J1T6fQP7NlLx8AU69OUSrMzoyKaan1u/GFaqc19W6B9dYr5OXvoBp1IIdfq7s9ELzfwQcBBcQvQhA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=solid-run.com; dmarc=pass action=none header.from=solid-run.com; dkim=pass header.d=solid-run.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=solidrn.onmicrosoft.com; s=selector1-solidrn-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=P40i+6AVm8IdTbDuAqwbFqY4jH9ZruaP6Q9zKpBfGZ4=; b=haH4f9pwoawMpz64fqKuL4hyVtaAFo/gu4pIpO+/VfzLxKawd/PwujjOrCW8LYHQ/y/BIOHd0u0EZ5dRNK6yeDS2I4XD6Zv5ZjNo+E8690bE15kci5HAKp486a19e/ephL9nxfwPTHhDH634NTzbRv3t+YFvebVPbxt4DAo+Eic= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=solid-run.com; Received: from AS8PR04MB8963.eurprd04.prod.outlook.com (2603:10a6:20b:42e::18) by DB9PR04MB9868.eurprd04.prod.outlook.com (2603:10a6:10:4c3::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7113.27; Tue, 26 Dec 2023 18:11:54 +0000 Received: from AS8PR04MB8963.eurprd04.prod.outlook.com ([fe80::4db1:aae8:c643:2e73]) by AS8PR04MB8963.eurprd04.prod.outlook.com ([fe80::4db1:aae8:c643:2e73%6]) with mapi id 15.20.7113.027; Tue, 26 Dec 2023 18:11:54 +0000 From: Josua Mayer Date: Tue, 26 Dec 2023 19:11:38 +0100 Subject: [PATCH v3 7/8] arm: dts: marvell: clearfog-gtr-l8: add support for second sfp connector Message-Id: <20231226-support-clearfog-gtr-l8-sfp-v3-7-fd1ac2d6bf2e@solid-run.com> References: <20231226-support-clearfog-gtr-l8-sfp-v3-0-fd1ac2d6bf2e@solid-run.com> In-Reply-To: <20231226-support-clearfog-gtr-l8-sfp-v3-0-fd1ac2d6bf2e@solid-run.com> To: Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Josua Mayer X-Mailer: b4 0.12.4 X-ClientProxiedBy: FR0P281CA0038.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:48::21) To AS8PR04MB8963.eurprd04.prod.outlook.com (2603:10a6:20b:42e::18) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8963:EE_|DB9PR04MB9868:EE_ X-MS-Office365-Filtering-Correlation-Id: 6098bdfb-6c62-477e-8fad-08dc063e241a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: TnrqY9GbIBYirlaMOqRxcgaHauHcPGW+Jqc1uD0CdLaXdEoPwR1c9pcd1j3llMgKH6IO1L0K2YlgsUfGfSk4JuxlSnr1Ghh9sjbfXV14mDdKF9FAtqMp2+VLNe+b29NEz8QMa6F1r2X+w6gq6fyKOCSkaajpLaBe77pdEOs7TWl2YxCXmXd8IpU906eXVbWQDjvutEk4nId0bjPry4GvAICVjQ8jsYvV2PK+4pHUc7SmWElFWIT2Og24B1Y23Qw1dKHZo7rE9ch5o9LqSjxAsvkwOXfMMn975Ia2oYDBcoUrGkdNcqJjiFVtMsOOYja4723OxVp/GPlTU5Z/qMUOEX4KGnV+iD9sx+TINfvWiXNipYfiUEJMhn+KdKWx3rteaQU7qkfNhCTGfj++1QEzF9kNriW8vau73yo8Z1Xrp8EATevn5QH+F1G7CXC/sbDL2OH4tYCaKLlTn5Ph0KkkabicfoZ3vBhhX7utF6bEmmi3fxMrQG52v/VNqbeBKbxzx6HXSA90GO8+cb/NZzWiMfBctUb+aTtoHQ90QCS5VoyIE8Li8uPEjCrlrWiEadYK1mdtONFm1nwsgMqNpGtf4P7q0dOwbkJMkQVJSJ1bxWDQbo+T7RoMb5sl4htKuYBb X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS8PR04MB8963.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(136003)(366004)(376002)(346002)(39840400004)(396003)(230922051799003)(186009)(1800799012)(451199024)(64100799003)(26005)(6512007)(2616005)(4326008)(8676002)(110136005)(66946007)(66476007)(66556008)(316002)(83380400001)(52116002)(6506007)(107886003)(6666004)(38100700002)(86362001)(8936002)(478600001)(6486002)(5660300002)(2906002)(36756003)(41300700001)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?QOH7oN8EajJt7LYtxP1bbFUPNah4?= =?utf-8?q?kwaRGfjOfGCpfjo0q6F4XPApmYUDj/4aFFdW9CyUiT2TWWzgJZcmzrLtusvDKpsgZ?= =?utf-8?q?KxTJu83o61pKQapW+0jan+PbClw6oK2JvkzFGGFSF4rxYcrnAAsIW0yl80O6hN6Vj?= =?utf-8?q?dn9E+2k7zyTeO1v8sk+0VBAZ69nq/qCk5hgBgf9te0xheYNdGlndXR8buWUb4pVKD?= =?utf-8?q?dJ5hiGaNFgY2TUtbhSKoX2nlJck44hP37KMNO/ehxt0Z3Oyjs8xPGItg1vVA6E6Hw?= =?utf-8?q?+CNOPAR1v3MOI01LMzeUvrmQ7GiXH5Bd6apQK8Rva06MCHdY7vq1/++LVf52vzaui?= =?utf-8?q?3vQKuNpl/5oBEz8KzMgz+Y/QAZpLvPbP4mlE3/aGR2uWLFWzvSPe++Sevp2fo93nL?= =?utf-8?q?LaFibYkB1WuhRhUkbALRCEMS1D3QfTj4pWGG0VTxCtSHS4pXkwz1dpveIsMQqMa/w?= =?utf-8?q?aVh3/vWxoLncLc2GD4HU+8CyTTNlCK+dtjZNQwS3BE+Sw7Y+1rhhPUyfE/YAujPTu?= =?utf-8?q?J7X9ufKT38o2W3M/UNBl0U7wY0fQKbhNywpItsb3oti7huN8WiZbnhlSbcopA18ZN?= =?utf-8?q?zC/Mu17PrfIIZ5Vg0+Sxoe8VNWDHQ7n4yn1zAWaQnf6wNDoZcr0/AgDtVF5g4RCJi?= =?utf-8?q?sY7NUlm+gOrUXN1iwLG5m+nzeNGmbU11sgcbxwmjAs4AOAmy0Tk2861D/8QoFBXz/?= =?utf-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62-477e-8fad-08dc063e241a X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8963.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Dec 2023 18:11:54.4659 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a4a8aaf3-fd27-4e27-add2-604707ce5b82 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: G9jcW4pJf8T15xmSNNOv4c9K3aJ1Bp6CqWXZ7SVbQGi0Pqx6qCctcaLtDiQCElDMxUKw/UIcfBoPyTsw4LxbBA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB9868 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1786369237657978377 X-GMAIL-MSGID: 1786369237657978377 Clearfog GTR L8 has an extra SFP connector on the managed switch port 9. Add descriptions for both entities along with pinctrl. Signed-off-by: Josua Mayer --- .../boot/dts/marvell/armada-385-clearfog-gtr-l8.dts | 20 +++++++++++++++++++- .../boot/dts/marvell/armada-385-clearfog-gtr.dtsi | 8 +++++++- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/marvell/armada-385-clearfog-gtr-l8.dts b/arch/arm/boot/dts/marvell/armada-385-clearfog-gtr-l8.dts index cd5b070f1218..2df388f222ec 100644 --- a/arch/arm/boot/dts/marvell/armada-385-clearfog-gtr-l8.dts +++ b/arch/arm/boot/dts/marvell/armada-385-clearfog-gtr-l8.dts @@ -6,6 +6,16 @@ / { model = "SolidRun Clearfog GTR L8"; compatible = "solidrun,clearfog-gtr-l8", "marvell,armada385", "marvell,armada380"; + + /* CON25 */ + sfp1: sfp-1 { + compatible = "sff,sfp"; + pinctrl-0 = <&cf_gtr_sfp1_pins>; + pinctrl-names = "default"; + i2c-bus = <&i2c0>; + mod-def0-gpio = <&gpio0 24 GPIO_ACTIVE_LOW>; + tx-disable-gpio = <&gpio1 22 GPIO_ACTIVE_HIGH>; + }; }; &mdio { @@ -68,11 +78,19 @@ port@8 { phy-handle = <&switch0phy7>; }; + port@9 { + reg = <9>; + label = "lan-sfp"; + phy-mode = "sgmii"; + sfp = <&sfp1>; + managed = "in-band-status"; + }; + port@10 { reg = <10>; phy-mode = "2500base-x"; - ethernet = <ð1>; + fixed-link { speed = <2500>; full-duplex; diff --git a/arch/arm/boot/dts/marvell/armada-385-clearfog-gtr.dtsi b/arch/arm/boot/dts/marvell/armada-385-clearfog-gtr.dtsi index 39ac97edb463..f3a3cb6ac311 100644 --- a/arch/arm/boot/dts/marvell/armada-385-clearfog-gtr.dtsi +++ b/arch/arm/boot/dts/marvell/armada-385-clearfog-gtr.dtsi @@ -201,6 +201,12 @@ cf_gtr_sfp0_pins: sfp0-pins { marvell,function = "gpio"; }; + cf_gtr_sfp1_pins: sfp1-pins { + /* sfp modabs, txdisable */ + marvell,pins = "mpp24", "mpp54"; + marvell,function = "gpio"; + }; + cf_gtr_spi1_cs_pins: spi1-cs-pins { marvell,pins = "mpp59"; marvell,function = "spi1"; @@ -276,7 +282,7 @@ pcie@3,0 { }; /* CON5 */ - sfp0: sfp { + sfp0: sfp-0 { compatible = "sff,sfp"; pinctrl-0 = <&cf_gtr_sfp0_pins>; pinctrl-names = "default";