From patchwork Mon Apr 11 09:11:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Changming Huang X-Patchwork-Id: 559763 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 075D5C433EF for ; Mon, 11 Apr 2022 09:12:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232869AbiDKJOu (ORCPT ); Mon, 11 Apr 2022 05:14:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344279AbiDKJOs (ORCPT ); Mon, 11 Apr 2022 05:14:48 -0400 Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-eopbgr130080.outbound.protection.outlook.com [40.107.13.80]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7DCF73FBC3; Mon, 11 Apr 2022 02:12:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eEujw2/xhGm15bVNMH6VpxaWFHWJtHrVi9npBzQtVXfbpjUc0DJBYdyNMaVyBgpFfLA6QBTNmpRJyFnRLc21YVAK9CHjvE3SHHnPzryBPB0xLZD/vbxaw9oWGgNPExfhpSe77HB3E7+e12sK5Giy7dybfx5xq2t0TWQlC0ZqBHVNDrL6ZJVl/nPqRi4l0T/K32g5bN3xUdFu9UK2+IEYL9plAt/nMcdYCZ3DIkkebCXbTuE4c/6OX71SgwYAa6PzDd2kfZFPVVaPSAcV69k3QsYkP7hf5bn8QZu5+ULHgHSxI1P9ULuQ2PMlxdCfF6PtBBTOjM4Lz5pdTeTN0ebacQ== 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=ayU00ONamsuGVWob2lfQB9U52TnoxaA1a3+zCH7oqHc=; b=Dzs3wDFclazgb7Z/FIiAByKmxQb2zFWzoau+uVq9Lmu4vYjFYcaBI5q2IifIc68jOwFr0Nha6fWLX7X0VsqTix9GUDmrTbEk8TDyfWJYxc23ULcfJbJbLmJDksqwVt76/WrUv0QGgcg7GgOz86+37cjlFP64difd48h6voZ0UyvR1sELdyTfNUtPPxbOugTyspr9L4MOfa4OolurZsZgpUtkkW/F3cz7fTX0HvBtrWUbcBvE0VV87+O3ROdCOTP6v1Mc7GYv/XHZWm8YO606M74UVqJkGbL/YzwNv0qX+N0AYbXcx+CEekX1Z3ybPb0XBTptGUe2SjkXtCzSkIDOfw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ayU00ONamsuGVWob2lfQB9U52TnoxaA1a3+zCH7oqHc=; b=P9WBNJ7G1KU8D8XJDbavQX2QW9wY9rSIxf/xK/qMRCLzW8ua4X/lciGLaoDvFC/vGwdWuLkpboqs1g/awGY+skI0S0KBHP/l2NXQ31Lq9VDnzSsv1TeMc3xAND22fpQ0Yuv25+MwmALGlZN37jlLJOfi0unN7xRniqXEmH6HOSM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from VE1PR04MB6477.eurprd04.prod.outlook.com (2603:10a6:803:11e::14) by DB7PR04MB3962.eurprd04.prod.outlook.com (2603:10a6:5:1a::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5144.29; Mon, 11 Apr 2022 09:12:32 +0000 Received: from VE1PR04MB6477.eurprd04.prod.outlook.com ([fe80::60ad:e5ec:cdfd:1b01]) by VE1PR04MB6477.eurprd04.prod.outlook.com ([fe80::60ad:e5ec:cdfd:1b01%3]) with mapi id 15.20.5144.029; Mon, 11 Apr 2022 09:12:32 +0000 From: Changming Huang To: shawnguo@kernel.org, leoyang.li@nxp.com, robh+dt@kernel.org, krzk+dt@kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Changming Huang , Jianchao Wang Subject: [PATCH v2] arm64: dts: fsl-ls1028a: add dspi2 support Date: Mon, 11 Apr 2022 17:11:57 +0800 Message-Id: <20220411091157.1965623-1-jerry.huang@nxp.com> X-Mailer: git-send-email 2.25.1 X-ClientProxiedBy: AM4PR0302CA0033.eurprd03.prod.outlook.com (2603:10a6:205:2::46) To VE1PR04MB6477.eurprd04.prod.outlook.com (2603:10a6:803:11e::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 47e089f4-a1bc-4e5f-9a5a-08da1b9b68be X-MS-TrafficTypeDiagnostic: DB7PR04MB3962:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Cxg5L0KwM7HvrcWoUCXbscp+ds1qyyKMyBVVbqSnur/nlnUGTr4npEKofgHf6pqZkpiEkGC/ryE+ZAnkhXs8a0y9zT9W55aUMHW4Cy13TG64ZVeHdGRS97TNdzzvAWen+3Hjm+JYNbGmlTl4Lwstahp9cjGy2bgXD3qFXjQjFZU28NXxQIdITcCy+I5h4wXMhuKr3j0UdJ9utdPAZ0NhIFuRPYvq2iGOMPFmRmuuf0eN7O6zNpAAZogNlvoC9mLbXR87cRXo5QUkW1OowKZVY2doNX0QGvlc9n8uD4xu9B/7OMsvf/GdPfaZqz8tqVIuoqx6CT4oSZTLdGI7FnhPBXoZg6qnE+2l5TOw0rOt/X7KygN4+8aYbPScGnsYJFnQzaRAc21LkhrHs0Utyvnhjb2Gn/r8FIaqRjDAro4ntmhzyaZIrcPLVMsAgHE0tD+xm9Z7A+Adbq3Fye4tNF6ZfD46rGQtSJ1bXjTSBPK8mA8BdN84AQRkPUM6IKnUDcOkrXUDss2PmFjoMSwJt2wFcQVtL86xJ0zu7DpCsKRvQ07w+ZPz/f6Yawlxsky/iq3+62NRSj9V/mR7RWjFq4SJDmO0u1uR2rUbQp4XjJWMtCmAJqM154ciz44P405Y6IUFpq7C0lUytgWD8FN9EGRVBSwv5UsjbXB9IdQ2arvFi7GKNLZlCAIx7T4/B0CQkSGVHded8BeN6dFwfzPrndWevA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VE1PR04MB6477.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(508600001)(6486002)(6666004)(54906003)(2616005)(36756003)(4744005)(4326008)(8676002)(66556008)(66946007)(38350700002)(186003)(38100700002)(8936002)(86362001)(66476007)(5660300002)(316002)(6512007)(26005)(52116002)(6506007)(1076003)(2906002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: tvo26X5k8fpkn57PBfPczKSX/oy0EW686uE1ZIA3kFKfKkCEnxtFMLmMvBH4X4b8I4azGkS5s3IQXO/P6m80C8rlyn8DUlWVjWM2YtBcAJVtVKImG61zVj/qSo4iDG9yGEyJUXn4SoHhJMvLfexjmfkkA5RIvcL+xXpwzDUuSJ19YLpDLOcyRjo0dZa2gcTFscZu1xl64qVi5GYMJEUUbs2DeKi1HpzG8zUcplLjmQjXIe2DehLE2f/cOAe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dRd90hrWs9ePRve7atidBKGMgShoasllc0pAyYz1lIWlX8a5mutOk1XNTidygQAvuYLtuO1qUE5EW9j0fHKjC2NjewF89sIxakhl6Qg1vzQhcsa1Egwm9MR0Ymfk4cZEJ6K03xhO2cer6B9AmVgRbs7gJ1hjemkWq+NUnqTDMjUFzIvF96Qn8MKRTqJ/wzMYYDaaEscU/gz5ZTjVIApJvWUj9W/ecUksyKWAnEi/74VEsaAsaACVJDFS6mWLeh78yfHi+ncAk5ePgDvHjAxofLj7NfP9OiaJlw8iEJpqFuz3sdqhkrjSdtHUFx5zJ6kgiASm0IUwONI1eHBhcGmeSz/RSBpJezpHdWB/x7XKnLeuRFvQ0VDE8kTtITtYZ9z5SoQT0d27ufJvBRg== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 47e089f4-a1bc-4e5f-9a5a-08da1b9b68be X-MS-Exchange-CrossTenant-AuthSource: VE1PR04MB6477.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Apr 2022 09:12:32.1142 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: u4JK2X+M02UoJnQ9hRQuWsEIkH9FQyV1UP2x5eYAH0BhqM605zhCBnBD/q6Li1hHZKU6voXjFQrSo1OR1PB/kw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB3962 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Enable MikroBUS SPI port. Signed-off-by: Jianchao Wang Signed-off-by: Changming Huang --- arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts index 68c31cb8eead..6d0508d5abd0 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts @@ -117,6 +117,19 @@ &duart1 { status = "okay"; }; +&dspi2 { + bus-num = <2>; + status = "okay"; + + mikrobus@0 { + compatible = "semtech,sx1301"; + reg = <0>; + spi-max-frequency = <2000000>; + fsl,spi-cs-sck-delay = <1000000>; + fsl,spi-sck-cs-delay = <50>; + }; +}; + &enetc_mdio_pf3 { sgmii_phy0: ethernet-phy@2 { reg = <0x2>;