From patchwork Tue Oct 25 14:41:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ioana Ciornei X-Patchwork-Id: 10846 Return-Path: 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 + 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> 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//9hhN85wzHAi130qaOVwJdxTiXpPpwxwIZs8dovWRzHphd3fnbdY45465cs8gYRukNY8kMrbP47LJe+ZQ+YgBsWpIGIDDx5aqCF66rae+KSY0thpIkGMW31Nvy4n8pgoyeyE23VG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NGlWcMQpRy9g== 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747671111707123501?= X-GMAIL-MSGID: =?utf-8?q?1747671111707123501?= 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"; }; From patchwork Tue Oct 25 14:41:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ioana Ciornei X-Patchwork-Id: 10848 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1047530wru; Tue, 25 Oct 2022 07:45:01 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6a2ULEu8wGl7vqGifJV5Wg6w4vN9nDmicph5DWvybI54mnBsEU/PiQGHaNryo7+rkTyU1P X-Received: by 2002:a17:907:6296:b0:787:d066:9fcf with SMTP id nd22-20020a170907629600b00787d0669fcfmr31326627ejc.692.1666709101594; Tue, 25 Oct 2022 07:45:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666709101; cv=pass; d=google.com; s=arc-20160816; b=QkoG8uytTacuqVHgGrCe7VOchx43qVDtjQ7Dwuf94iB144p78QBIWijy+nN59mE5pQ DYtLAtQQ5DkWDoxcr3lclsltJHjM5i5+vGvZPx1YrDduqY6MdqRm8GEARFMZDsAMhZRx Kis+HaHve0+grhxbUDF3vQVL29ZOnwsOrca0UBgnGh/ci6Wb1E+l42fdNl4WvW3L+OcX zm/EL/23YHNvSQ7cBebZ/8Fl9oMOVO/7gaFrWZmUxhWi5i2u9qT1cgo/SqtN5FNVHAv9 YBu1O2wGR6hu2lGEYpLY5ZuE2vS8bdcJAllfH+A6qjLwa9bX7UvKQFgv+OIot4KIR89n ayvg== 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=TLXjUErPRHjM0ZcFI8P0DubxZDqAH/cjLy4gavA5ajQ=; b=QYEmf5q7LOzfe0g2U42sbZaSnnszvtEOpqtHakFmgFVexXTCEhNm39RLynF2o7r6nV 7pBCRLQPTShD1yR8TGNJMeUpcVY6lyFOiyn/SUdC1u+w3qt1pEbBds0NnwfEGO1BIFNH RgipZKrG5taaNMBWDzzWAYgGGH0VcAYDVInwlyBnfYAh8q5Jl2X9JQ5xjlPBu4y1MHm+ LJNCLif/inyhNAR7FRpMslzfOgirhzUuMlfw8GuRT9eHn2KSHSWvD8ArMYXutFK5WRXI XfqEl45rmgTRgeGLe6K3aonNCvjaAfX+app6C1uqj0nFqxeaLdEpAv8ZE+dlFJ4mOJTJ K+Hw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=osmmiPUB; 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 z16-20020a05640240d000b0045d57af9fd3si3566533edb.593.2022.10.25.07.44.37; Tue, 25 Oct 2022 07:45:01 -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=osmmiPUB; 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 S232437AbiJYOmH (ORCPT + 99 others); Tue, 25 Oct 2022 10:42:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232536AbiJYOmB (ORCPT ); Tue, 25 Oct 2022 10:42:01 -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 683A4166994; Tue, 25 Oct 2022 07:42:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mLsAwnoiM9JkZOZaWVKCazH33QK00I7Iboy/7UIN15lYTpOSx1ia50LrbxccokNGqLyGAyoOHTkdHurXfd8ctNUfShz1/TyvCi+9cIF71AexNnjlUDoqMqpc8jxCQMgHaAJEzCgbb2r2dOH7bSpxMGSuitJkclt7zkyVlR8PWQBcvdtBYtw54BLKo/R82dCm/vvvAAL4njefPzUsL/PFFmLk4M5mS3J9UKonEfQ7YXJ1biLXW5g+jI+EKfc/oGAe0ulNuZp19xcu5kTZrX2hPoQ6n5FyQUV+LsAKULI796WcEDRn0G8/rUI2MavEyVqdJNNu2E7CBz9QAouzn5WiWQ== 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=TLXjUErPRHjM0ZcFI8P0DubxZDqAH/cjLy4gavA5ajQ=; b=G0+JzqE3i0qRCn7Xcq+19kmLCpxRqt+GZ/O+MpEOcdd9DLhCGf7CSX6JDxsUAFeMgHylFkekhrLdRH49GwNuWOknyYN2Hp++hhGZGwtAN8gUgjXS0KiUTsb2t9eebEuf3RLcs+spVRSb99KxOpjmOUC+IF8GGvZkYFu9EU7ZSLxE6gFXyULPV03cQBN4/gdOqZt51nO0Inn+fkd6xqWfcyqb6/OBKouIXsmXxPPIumiQ4kLbvQPutqJnHDfuvTLD4OT6p7cjaYVW4gIbLpdQylNsKSH3N5Y3rqnBb3ESVIUKHNQ5KA4wtX7mY8gZH/qLvvp4RKS+Sbe5+XSOVnak5A== 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=TLXjUErPRHjM0ZcFI8P0DubxZDqAH/cjLy4gavA5ajQ=; b=osmmiPUBO0FEnrp15Mfw5grUv7TAgncmFaLuZJ8PUUB0EN0gOkelnrhUE5Gldq88W/KZGvgL8GVPz9TnvPIDX/4ke+yUJzWQunj2UdJd7kt7txeCvHd0irCPvbyH7aea3UAoo4M6sO4e9jOsagJYoW+LJjX3MMkfqu1QtDE6Deg= 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:57 +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:57 +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 2/3] arm64: dts: ls1088a: specify clock frequencies for the MDIO controllers Date: Tue, 25 Oct 2022 17:41:16 +0300 Message-Id: <20221025144117.1010488-3-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> 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: 89fe0d7d-99d2-43fa-63c9-08dab69710a8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /jHsRwQqxF2rIBS853IiAo2k2nIeR7d5cG20HwUXY+y2VzZul+41cQdE7NIiGzellb5Q0yCi/C4eJvCDndmHCOVgnakeyiBcZyUVZxMtrlWtdgNrXyRKiz1SfHxwDEZhpbKClVgUebsY4PUtOfWH5eFhMSW6kjljltFwUPUKNkALnWDYTv4yoGMqJVZTY3EIXlp3lObw39ebnGMjuGsGG77Y1Cx6q2egmqPpSaHsTWrI5QhbIEQtp/8m6sm4NjU3WBtM8d9WtvcIt7CklOWTgloTZvCemkIU0XmOEFu2F0hyQlYbP13Kox7iGlKc7Qd5S20B62xjrFYBGzOGux35ie9xfM+C0LyUZchdqYiyfENDU6UKLLcZOhPkdvw1Kf4f7H5McUTvjrQKFJ2mKEeWtexDe7CoYfv3jCnSF3vJzijaXfR+XkXKO1K2nsnsZShDsE9c3LDC19HN+u7r2eOhWH6h75WBxNEq8GvjIX2v4nFL05kLXSi5ZSFY4UIhBwKC56UGrXbimUhG7EYeXVYJwme3sv9vy1Q0cfASeVHQn5E6grQFjZ6PmPQTLLVBNR53X1YxiQmVq3sES9bX1Mmm5gdQAkuZioAWFXmU/uh7bByqVA9wxL28vY7qyPaxGm7Hgz5CkGjXLaZcHov7EXnixPQ5ZsVpTUUkQfvdJlJFHBIW7y5LKu9oIfRKFSrNf9D7gJDwTca+Aj9IbD+foik8iVoA+YDkAfF3EZMreyktPfryHOPTmYDdpew+lX3uypJSZ65PCIogRcrJjt11LIzriQ== 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: uEHwJ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tcHK7PxU/0q8Y9vSsQv5aIKH4vKPPcLYVUALd7f3PQjE+1f/cNB7QtDabCNlcxNoxOXjKgdoz1OZfMkXryOqNb9U13jBhwWtsAFM2KIzf+cd2AfklLKfYSgooVRY95fMbqW9zJHN2KcaWzEJBD1/9EipSyXKuhOLNVuuuuUk+UOtk432LkoA81EFV3GM4DKUQTBBfxPzmvh9DL2589QlnCqILTDUzR12m/26QR8TRI2etTElkE7yrGnfd4NZ+cARlFDCwj92T3JgCPcUzgK2EZn2Gm2vxYsK4ttwu5rOa6k5EeYWRrno+QORuMEYdu6Zjw0aDVZpKPUOPuDJPz56O1EgHD7PkEo9OOTk8VCpBQxMWrD+T9JitjGk0xhUg9SW96V0RpTnvR/Vhxq1hQjShj/d3akrTK63lTIY/rTAk2tAGwx5iLOhN3hgy3mZI/0y1QD79uUjuzvIqWgtONs2ydbnJ8/X30LAkQOjyan+sQOKL4YOMgf1IpGLDMgrFN1YTlek9w3uOdgWxPnbg/8O15+4QPrrf8nTaONYQETAFw== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 89fe0d7d-99d2-43fa-63c9-08dab69710a8 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:57.1366 (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: uLNsotBIv6fJRqveXbtSZpF1gvlN+7A4nu6iyyhlGdo93dq9elpaEmjUHLJ0m1JikwYhNPZwwa8eLO4IFj9lBw== 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747671163214224005?= X-GMAIL-MSGID: =?utf-8?q?1747671163214224005?= 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: bbe75af7b092 ("arm64: dts: ls1088a: add external MDIO device nodes") Signed-off-by: Ioana Ciornei --- arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi index 421d879013d7..260d045dbd9a 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi @@ -779,6 +779,9 @@ emdio1: mdio@8b96000 { little-endian; #address-cells = <1>; #size-cells = <0>; + clock-frequency = <2500000>; + clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL + QORIQ_CLK_PLL_DIV(1)>; status = "disabled"; }; @@ -788,6 +791,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(1)>; status = "disabled"; }; From patchwork Tue Oct 25 14:41:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ioana Ciornei X-Patchwork-Id: 10847 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1047370wru; Tue, 25 Oct 2022 07:44:36 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6mahxSj3il8zVcAgJuyFVdFjJgJVGQVUw4cktwGGPygNXuHPFiaZGVBvzCa8LtHaUpCCoj X-Received: by 2002:a17:906:8a52:b0:78d:b6db:149d with SMTP id gx18-20020a1709068a5200b0078db6db149dmr32795746ejc.733.1666709076564; Tue, 25 Oct 2022 07:44:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666709076; cv=pass; d=google.com; s=arc-20160816; b=LO4EUwFG+1NLw6Ej+o94jyteVz8DNPIDDB/bckJeoQfmyciRperSW1a0CyscBd3iC4 1fTgVtwjvaTUuePkzvxRGr52wxZjaFws1TdIcpVvOyW9UwZnzztPIiFtwdQZHdEd65G1 2z0ZtZ/uK0tq3ienN5xSlAeQXu13RTkTKoPreyCBP81A2jn7FKPglNXyNtjrm1k0VmV3 mJbJvbc8d8SmODIA0Ys1FIBTvsHzwHwDoWECBr6aDcE2r8trdL4GXTrShfgY5tVSDhMR Q5aOkvmjaCreGjP+Su9iz364VKSE3QKt2yUUuF8Ch1aBFV0w0cSE0neLFVryxDiDa5+H 5Fpg== 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=iU60gVLQqnkvNQrBmIncIn21iTCInA34mB5HJc3zexw=; b=cmGEOlds7ApvKeBcWViTcmu6A4w6lr9qQDBvQf6xybqUg+MiBIr2GmCbBJxoRX8o2K F7aU/kC2SYFZDXJCHcOgVr6xLifq0/FOFIeECq+BnKPAPGpmm2aK/lWsAhlHrxcTdOy4 Pw17h1AKv7sViU1rUjqz+oGb8x8LfGbJC4kC60qy5b9kLVfD6DumnT7szV4JCTBv17vI vkElhy0trgDVvFdVI7zxRMbDMkgxTvUBSstw2auO0VFn1SfJ4faMGl5NTd8uE8qLsaZW 23S/65GqxWMsCj6ncIV0GFpYp/EOenZO5LOv97JnLFoofoc2DPjh23kkl/i5QMA8qOIe J2hQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=OvFbcutC; 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 g5-20020a50d5c5000000b0045c98bb5359si2972047edj.590.2022.10.25.07.44.11; Tue, 25 Oct 2022 07:44:36 -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=OvFbcutC; 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 S232553AbiJYOmK (ORCPT + 99 others); Tue, 25 Oct 2022 10:42:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232332AbiJYOmC (ORCPT ); Tue, 25 Oct 2022 10:42:02 -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 6A3D25B9E3; Tue, 25 Oct 2022 07:42:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Xf7AiOLJ8jYjO7iV1P1hQUK1u0ie2SCt8ZEQo0Ai9wusfvjC7LY7pxjibsR2P0xcf05C6DLin/WlZKnepBWSI0BMkdC6Dyo8/QPovkI5UvzPwjH4hZL7UWOMKrrfacBPwE7z9ncynDkYIH8bjZSkTYbiVpKcNucMzihmLOkCJXYuL5LPyBdLNDFy/VikaNOv0L5RcsIHK27itoFuhqZ2t/Ipr1Y4b89BiC4TbCpAAHDEs47q8X2IIm9KIFLpAXHcHUeuYaJzWM6tvvQMdzPYF6fMcg4Y0MC+e+4E51nyYYRLaehXAUVQpyEUjS9oyabpsO+YOSH4v9HA9QwMP7TD+g== 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=iU60gVLQqnkvNQrBmIncIn21iTCInA34mB5HJc3zexw=; b=UDXjOLik+c+QAZfJQEPmJS9teJ6WzvXsflAaCHSiE7DvIxi+rOSOujjBPgrxlVRbuah7pu+9OdTe0q9+eMRnCEoCd5J6fd7HGqaJy4weGV/71Qn0S4CVr9xerY6p4YTaBT6vrZC9n6IjVOQ3rNZh3gjEblC2EMfdfUEJEm/qJGqVQkTMES6hCBjDwr4xjLBCSZdrWqlogKZsKCYgQkFGXDjHfoszxVqSPMC2hwRlrf9iEZ67L3g+1S01K7asy7rGBTnHrMnBY9bSWuvx9c618+bGU+gfedPggFsralIqVPc9EfdE5DeR8p8cr1dlMpnw1gAiKrWI2nNSw0qzNlAIzQ== 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=iU60gVLQqnkvNQrBmIncIn21iTCInA34mB5HJc3zexw=; b=OvFbcutCj28jR0sRT3bQPNu65pkgLG5L1a5RFBScS6/aqfKzZwx+9H4vsvn/U/xmiNus96wL8zWHS+KMBBakY99umCRAQF4KxREpbRW2dhObh6SUw23RvwLY13zIDJtBScobG2zelrJ2f+LN9YWlBqqLV+spWX15jkn8fLjdFBM= 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:59 +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:59 +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 3/3] arm64: dts: ls208xa: specify clock frequencies for the MDIO controllers Date: Tue, 25 Oct 2022 17:41:17 +0300 Message-Id: <20221025144117.1010488-4-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> 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: 6c0f7845-e00d-45be-ffac-08dab69711e7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: nU04mfAT2Gplw4h3TsBW9dV14tAWk6xFmxh1gvyVG10TZA7WqEyuABKj+xZU4JQlbKdyGn0Gk6w/t2f1RGMo8deWBdAvCjBYWA9AbD5pAEjPcqk6LdN6gp40r8gSuJppt8/rDtVU9mo2vDwb1iEjde6z4rrsXECizDcyAw+c0X2C7Et+6orjLszfDt4H+34jMGXQtaM7wTdnQx+6zCo9ElGxJUATFoGHN027dC2ZvaxsF4K45Wm1kR0DZvsZZWrXjvDpdcoRDnbfWIEsLyNvt8mu3pKHpcB+kIxroK3awgPpUziaVucwDnF+wGCbHFPLsiECOQ1u4CeHMc7yZFyD+Y1+v3PzLQepTK43mKSlBlROkQ70EMAAzGTqB2KPmOgVgHfErh0UDkd4ZK3HctE8/kF/VJyrOhmzltOY5hMtS84FVbf+W/edCdFnjP+I+Cbp1WgVhJ9m96rh93Dajkh1s1KHuf1bGBp5mcL2je+itrtZtoVi2z1M/C542O1XgeCSxa4LHyCAIIwNKGyWbU6gsX/udVlKWMbW8vzj/06PdlbH0lPk63aJ+GeQKmFBflrRoxUFxOBEqSYMqcK0jrM7OIQ0EpREro3E+9mvVDpnwe9XHq4CtOqZwohlYzxENuPuUsUemgcSdrD0mjF70ng1K2/9mWi4y6QY8P8PnleJOLMykoolPfrb2MprwP1XdPbUCTnY+qfG29UeVoZME8jqfhG6rzKRwE90gLYknKeXhvG2UyhRhjNBDpqAOnHB3vIq+HMyzN1O360imSQSemgKxw== 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: luoDm3ULxydKJ0O/3OdJXe1PsKj0P5/uCbDwYV4OpUVkS3HcqUmIB04E895wS2xSGC4FIjYSKIEnSn4kk3Lfwaobv8ZTJ3Md0pokE6YlsDT+EiHCKTbyvdSgiu0VOF6HVhpACwRVyvP6aNFnYwmqn+TPkaIz+6E5PyX6SIRledgAAINUMv6sj42Tntn6BLG99ynZ0CCS3yhTN6Bi8akuQ5klHqP0kmJkohRi22rwaKioLiU04Jt96S9aDnHY4BjneDfKkL6adw5n7nO95KOo1Dfg79spS6VDhmwUxSdgWDkizUwszsDFSjYhQ/gO/A1bvSLClkuLxdnjGKtKXBbclO3Ts4jqGnNCOlOwfL8lJn2K4PgYn42Oes7ItCmSZVzNZ2ghnGxvvSIkbnFJbGeT5otd2trtbSHzZRSf+QpUl1X6h4pJ5rgZz1+QWQjGN4SY6QYF1WA4BsUarNRKb0tONwlv7zOIO9u0Sev3/YiJ9psU/ls2XpfMa+lf+1QmKhi6TmcauhtYZF+rOcf44OgXpb4Nc47uwtT+LSx9FvEHruscjWv4NXwgfvYjtfhM4RJ5dTTjAE2Ursm/Zj3hYjhTZTwmllSyLohBgdn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-08dab69711e7 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:59.0437 (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: xCbDutDjJZD9JcMeBPZ3iwcpjfiLPSln8wvrjOyLzt90j462/ubY/2wTvHkYz+Qo1XvexE6tSQyYgGeM8p7XCA== 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747671136704881100?= X-GMAIL-MSGID: =?utf-8?q?1747671136704881100?= 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: 0420dde30a90 ("arm64: dts: ls208xa: add the external MDIO nodes") Signed-off-by: Ioana Ciornei --- arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi index f1b9cc8714dc..348d9e3a9125 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi @@ -532,6 +532,9 @@ emdio1: mdio@8b96000 { little-endian; #address-cells = <1>; #size-cells = <0>; + clock-frequency = <2500000>; + clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL + QORIQ_CLK_PLL_DIV(2)>; status = "disabled"; }; @@ -541,6 +544,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"; };