Message ID | 20221025144117.1010488-2-ioana.ciornei@nxp.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1047226wru; Tue, 25 Oct 2022 07:44:13 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4YL38byposzba8ieT/phtDLppMRQza6BGOVtustWFjvMsD+Xd6BKcUGxNSefGAS+VsylNN X-Received: by 2002:a05:6402:d62:b0:460:42c8:fc6d with SMTP id ec34-20020a0564020d6200b0046042c8fc6dmr27323419edb.182.1666709052894; Tue, 25 Oct 2022 07:44:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666709052; cv=pass; d=google.com; s=arc-20160816; b=TFsLGsVRiSz+i7vpRb+0MwKOk6D4VEMw56D/rxD9DV1RMyWEI2fhs84PF7mOYNIVh2 59IEvS6nH1pKlkafCW2EThQTASb/Dzbk701nNbQEjadFlGu2eXI7DIlMhnn/PCVqocoe VO26RpNXk7zGNWWVsdA1lKl1EjG5VKWb9z/SmHjzc51QC3Mkz4eqWo6QHxwT8CJxYuBR j7ChWlGqpNrHmLwT8if2AK2Qdm45U15kvLL3Gqcq6YuVo36xLUYY5QGFD4PT/Moj1MCD fs/N7AB/mBN3Luw8JQLPI4mF0MWA+4TFmhmFFy03psib5T5pTKo2P6XBW53ur+K25NN/ Jk4w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=XERW+2yu1opiwNufNFi1Q4go+N00rvKoZmXzRXbGIOU=; b=STE7wMEbydGt5GXpdG/D4ryhFY5PdV4jxe1htKn0HaeXHkTR/6KghG5idvzm+inZ66 g2GVzhqIOhQv798v/ZPi+wzjew4q1Jneq4M7r6QTixCmdg+rwAcwmBCTIRIZYwloMQUj inVxAo6LDOLFycBMVQ7uyqLfwz00wSjrE33sXlBMBBhNaOvREIztMfMXyHho1hYA/093 fpvUbvs8doetFJ0h+kBuGWxqyIXL9OKHw3o2QtkN/j6en8P/1op6w4YV5S9DkMRvwZar XQxH7ROgwYQiAbdWDXE/2UE/0HFD40cscAtBscNIWyahFhNmE9PhHyM8vw4TvRbAfMAj jOEQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=ovQZqSvl; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 7-20020a170906318700b0079ed0a585c2si2683339ejy.261.2022.10.25.07.43.47; Tue, 25 Oct 2022 07:44:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=ovQZqSvl; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232482AbiJYOmE (ORCPT <rfc822;pwkd43@gmail.com> + 99 others); Tue, 25 Oct 2022 10:42:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59068 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232463AbiJYOmA (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 25 Oct 2022 10:42:00 -0400 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60048.outbound.protection.outlook.com [40.107.6.48]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF42B162509; Tue, 25 Oct 2022 07:41:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kc3MBIeXWPr64Pdgw70poQE9p/m9F4Skd6Xgh+bcXkELS6juADLwQUNxQ6lMvW5600N7T9uVvrqxJOmZluVZ4KBhzsE01fKtpzBazKoO1vPrRtfTtjGky3Y7RZH76wBm/QocbgTA/dMxS6hVH5Y0LGym8RLVvlDMkwuspSqgUulqgalig5/TeTM7F/lzZ3RhTUhcirykUopi3cjhh79n+DYgYeFIEInf+LmLvg2pwsLILycSoHG8kYtI/K/J+gVu91HhRuqvjgbHOLXk2mvr4rZ/3+p+Q9jb1g6j/OVcgSMt/ffPK9FhL5gpTxm3nnA+aiGKzNftJ7IrxCCM6QFz0g== 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=XERW+2yu1opiwNufNFi1Q4go+N00rvKoZmXzRXbGIOU=; b=cJWqD/wx2sUTjpHeaEBRlcZKd0dEHiTHXvzcFw1x7alVN3HKjfQ3acOdpFCEk5DZSQEJfOSMNGSBa62DgGRjaJqx+KBSf90qbB/nmnRdpeOvUBktqXlrMSqZEvetoIeyyl2aHBiom0OpS14Vpnsls6uwBhP9BKyzPfs/jfLe7ZvrKoq+B8Tb38XLxJJkPUaTgB+DiEaL+UJxgvGBjnx+7NB58DfXztq/xgeyWtbuL9j+3gNlBUb2JK2Z4pjVXVweLaHmFjQ0phegmSaynzWeP2CeXp+5WAezAA+5Lmr3CSQa+tgeoOwlYY9UAaEGRwTvR0v1AHVjpkdySpfuHO2wqg== 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=XERW+2yu1opiwNufNFi1Q4go+N00rvKoZmXzRXbGIOU=; b=ovQZqSvllOnwgol0aMmMw+DlsD4oVGjFeZGq8C+rZ3fp3rJcrOY8B/VjJKCwnIDv9qo6UO02zZxlIRuQ9exqo/U/Y3R0PD2H2RFjyisCCML67mJp0axrIlyKUp6GT6TQl5WBCMMo0J/523zsfqXBI8kp8d8MkwYGyqb7zeeJZSo= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from GV1PR04MB9055.eurprd04.prod.outlook.com (2603:10a6:150:1e::22) by AM9PR04MB8537.eurprd04.prod.outlook.com (2603:10a6:20b:434::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.21; Tue, 25 Oct 2022 14:41:55 +0000 Received: from GV1PR04MB9055.eurprd04.prod.outlook.com ([fe80::408d:4d9d:f80:620a]) by GV1PR04MB9055.eurprd04.prod.outlook.com ([fe80::408d:4d9d:f80:620a%7]) with mapi id 15.20.5746.021; Tue, 25 Oct 2022 14:41:55 +0000 From: Ioana Ciornei <ioana.ciornei@nxp.com> To: shawnguo@kernel.org Cc: leoyang.li@nxp.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, rmk+kernel@armlinux.org.uk, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Ioana Ciornei <ioana.ciornei@nxp.com> Subject: [PATCH 1/3] arm64: dts: lx2160a: specify clock frequencies for the MDIO controllers Date: Tue, 25 Oct 2022 17:41:15 +0300 Message-Id: <20221025144117.1010488-2-ioana.ciornei@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221025144117.1010488-1-ioana.ciornei@nxp.com> References: <20221025144117.1010488-1-ioana.ciornei@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: AS4P190CA0037.EURP190.PROD.OUTLOOK.COM (2603:10a6:20b:5d1::18) To GV1PR04MB9055.eurprd04.prod.outlook.com (2603:10a6:150:1e::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: GV1PR04MB9055:EE_|AM9PR04MB8537:EE_ X-MS-Office365-Filtering-Correlation-Id: c1c31b38-5dfd-497d-9e95-08dab6970fd6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 4visXgG8BMpAQoHyO+S0bv3/uyN2IomKjMNr2bE9jn3Pjxb3Ms557oExKy7ACsSTkJDPOOvD4yotMEXwA5wzretDT95b92+rvSmaNKWWoY43/HP9FoQXXZ18LHaMufm+BRzYoZGV3ZN4wA2Q0ummIbYtud8IAy7nXyMXeKAAMI7F3Z/RMytuHlHAz9I/GURJey27sgYXeJwTsw4jUwqnEbuy+xbVsjDaCk7qNAJm7zjtFgZ/o9ekjJeEdlO33LIeWCMZz9iIfTA4cxwj2Pd8Vh5tzM+zu6y6C+quB1+J7eOgFSicwGmvLjCvm4rbu5PPNvs/0/kYMdGFbcVRyYblDuXkKpUqizhuf1UpJGfhq5NhgSeiHd2V7ppUHp38+7pp3tAjr5YETUCgL1L5bt3SXKKHBNquVPfLJfG54KBn/XZZJXVmnKC6WIXD4h1u5mrCwf1xVUM9zwI8vFOmfMJus/H8D6DetecJD1BW8hXmXaUn8T4OTxix7vv9Y8xgple2keoZHkIQa2iau2CsYo4yOs9s8c1titPuioKtGlEAt3Wa4hC2zydZF7bbE/P3i1J0TK3PJouGcnThMVh3GekrC2DRDxj+uJ6SLlMaATKfyiFIhO/qQAVlOJsWDRf+ud1tTIFBjKuHiZTULjoPG2B9tPkp9JNHhVS7UxQRFL/XMlj3EIRW48/5so1CnqwJE0Gg1YKawaL+uvaut+9QC87CsIN+ezZzgIaBs5dz3e25+00NYCD27eojA/ilJEItPK/F7GPRBJ45ZM0wpxMzzBXjRQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:GV1PR04MB9055.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(396003)(376002)(346002)(366004)(39860400002)(136003)(451199015)(36756003)(66476007)(44832011)(2906002)(316002)(66946007)(41300700001)(4326008)(66556008)(8676002)(5660300002)(478600001)(6916009)(6486002)(8936002)(83380400001)(38350700002)(38100700002)(86362001)(6666004)(26005)(52116002)(6506007)(1076003)(186003)(2616005)(6512007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 8s0s2J+EV4hyw3VlxZsC72y7oBuOs8EhS0BzPbEPC0mAg7v/pfz0Pc5f75XWfl/409mxWUmgPQ/q377DOWqBrDrwIJfYckhe79dYn0HmmZkdZKp/sQUsEeVMzL+kUK0F7HBxsz6npnnnEdv2PViF+QGGrFDnWyy8/Ri7MEvJNHk6lpByFivx302Vc6W80lmXvNQZp+bwwsFvV7oFqSjBTnhum8rf4jhth3hmi9159GIg/dYO5JOUS1YQdgqkyrc+5j0JODp7poufL5KvS/OQEcM4Fewu0Ne2k6lYSMRP1DtnCQplOp2psOE7hBu8ExNJFyZHD1GGJKd7FMoN2aAOxQIN19dOXR89Tl2ZgmW2ww9FeGu1Sy2MCnhWTHHYt//9hhN85wzHAi130qaOVwJdxTiXpPpwxwIZs8dovWRzHphd3fnbdY45465cs8gYRukNY8kMrbP47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ZM0PB3p9GXZi3rB0/UeGayWmIp0cZpxqxoCmvPx4aZzaZk2sbGtVpip6lDpX7NGlWcMQpRy9g== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c1c31b38-5dfd-497d-9e95-08dab6970fd6 X-MS-Exchange-CrossTenant-AuthSource: GV1PR04MB9055.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Oct 2022 14:41:55.3386 (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: 5cnCMPtt5je8jEZy6JWFEWdSrcIG+HOrRU4ghKOKX5TK8kzjclro1MNk0Py6CqGc1WgA+zeQqZLPCinwbk6l2Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8537 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747671111707123501?= X-GMAIL-MSGID: =?utf-8?q?1747671111707123501?= |
Series |
arch: dts: specify the MDC frequency on Layerscape DPAA2 devices
|
|
Commit Message
Ioana Ciornei
Oct. 25, 2022, 2:41 p.m. UTC
Up until now, the external MDIO controller frequency values relied
either on the default ones out of reset or on those setup by u-boot.
Let's just properly specify the MDC frequency in the DTS so that even
without u-boot's intervention Linux can drive the MDIO bus.
Fixes: 6e1b8fae892d ("arm64: dts: lx2160a: add emdio1 node")
Fixes: 5705b9dcda57 ("arm64: dts: lx2160a: add emdio2 node")
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
---
arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi index 6680fb2a6dc9..8c76d86cb756 100644 --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi @@ -1385,6 +1385,9 @@ emdio1: mdio@8b96000 { #address-cells = <1>; #size-cells = <0>; little-endian; + clock-frequency = <2500000>; + clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL + QORIQ_CLK_PLL_DIV(2)>; status = "disabled"; }; @@ -1395,6 +1398,9 @@ emdio2: mdio@8b97000 { little-endian; #address-cells = <1>; #size-cells = <0>; + clock-frequency = <2500000>; + clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL + QORIQ_CLK_PLL_DIV(2)>; status = "disabled"; };