Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp8625098rwi; Tue, 25 Oct 2022 08:54:22 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5rygRWjB/6b5ddrRgUhAIgFmkkd/EYoU8Gyq0WZTNmqQzmJhugzVMZ6RhQXkVaU88WidvA X-Received: by 2002:a17:906:9b83:b0:730:b3ae:343 with SMTP id dd3-20020a1709069b8300b00730b3ae0343mr34464877ejc.670.1666713262020; Tue, 25 Oct 2022 08:54:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666713262; cv=pass; d=google.com; s=arc-20160816; b=hPMRaaGMg+EP67yTso8WBaGsaZwAyoDjUmIAjtKWPwBccsf/Ro4Qax+Y7h6s3Zywda nLeChBKrubAzDAWVo4100j8gw90hojQGiYazSdkQtWPwXfsInzU9mOvgC52LlRyYSfLi hg0pcn80lGxsTZCBcfCOwZ9j9V7ZLN+EsCSyhw2OBCBLNvyRECJMjrF3B50obYYWkEIB enlGn9JoM+trcoFTtePTJ3BUM9kcRbPFXK8poY1jM7cjCtQ1vEkAhtdidqQsLC87hPEQ OPdkv3wFKfYMzHk3CPTmxpK2DmELqlTloDUWAcs/f1A2N7Vc42nVoikdWwN6JzgxzsEk jEgQ== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q26-20020a50aa9a000000b004593fb0c125si3010305edc.103.2022.10.25.08.53.56; Tue, 25 Oct 2022 08:54:22 -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 + 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 ); 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 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 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: =?us-ascii?Q?8s0s2J+EV4hyw3VlxZsC72y7oBuOs8EhS0BzPbEPC0mAg7v/pfz0Pc5f75XW?= =?us-ascii?Q?fl/409mxWUmgPQ/q377DOWqBrDrwIJfYckhe79dYn0HmmZkdZKp/sQUsEeVM?= =?us-ascii?Q?zL+kUK0F7HBxsz6npnnnEdv2PViF+QGGrFDnWyy8/Ri7MEvJNHk6lpByFivx?= =?us-ascii?Q?302Vc6W80lmXvNQZp+bwwsFvV7oFqSjBTnhum8rf4jhth3hmi9159GIg/dYO?= =?us-ascii?Q?5JOUS1YQdgqkyrc+5j0JODp7poufL5KvS/OQEcM4Fewu0Ne2k6lYSMRP1Dtn?= =?us-ascii?Q?CQplOp2psOE7hBu8ExNJFyZHD1GGJKd7FMoN2aAOxQIN19dOXR89Tl2ZgmW2?= =?us-ascii?Q?ww9FeGu1Sy2MCnhWTHHYt//9hhN85wzHAi130qaOVwJdxTiXpPpwxwIZs8do?= =?us-ascii?Q?vWRzHphd3fnbdY45465cs8gYRukNY8kMrbP47LJe+ZQ+YgBsWpIGIDDx5aqC?= =?us-ascii?Q?F66rae+KSY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ascii?Q?7egFV1Z7rCpSyImjMDLFQO/j2ioxAG6xvyg5bioBDW7vODsN+1MYlRdWVs55?= =?us-ascii?Q?ajPfyp8r9a0GKlmHstQ2rSu6mxEQ6iemkQpV/h51nqUVai7t6eDuNq/irupt?= =?us-ascii?Q?TqQJJefcwzKhwkS41FIg2FjnqY4xn2UsB/hzQgg7uqECyyDVgZM0PB3p9GXZ?= =?us-ascii?Q?i3rB0/UeGayWmIp0cZpxqxoCmvPx4aZzaZk2sbGtVpip6lDpX7NGlWcMQpRy?= =?us-ascii?Q?9g=3D=3D?= 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: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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"; }; -- 2.25.1