From nobody Fri Sep 6 18:03:39 2024 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4X0kcZ4V2yz5VNpC for ; Fri, 06 Sep 2024 18:03:42 +0000 (UTC) (envelope-from mibelanger@blackberry.com) Received: from smtp-p01.blackberry.com (smtp-p01.blackberry.com [208.65.78.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4X0kcZ0JhTz4JCb for ; Fri, 6 Sep 2024 18:03:42 +0000 (UTC) (envelope-from mibelanger@blackberry.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=blackberry.com header.s=corp19 header.b=nCYrN15W; dkim=fail ("body hash did not verify") header.d=blackberryltd.onmicrosoft.com header.s=selector2-blackberryltd-onmicrosoft-com header.b=rdB0WEWL; dmarc=pass (policy=none) header.from=blackberry.com; spf=pass (mx1.freebsd.org: domain of mibelanger@blackberry.com designates 208.65.78.88 as permitted sender) smtp.mailfrom=mibelanger@blackberry.com; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}") Received: from pps.filterd (mhs402ykf.rim.net [127.0.0.1]) by mhs402ykf.rim.net (8.18.1.2/8.18.1.2) with ESMTP id 486GpFtp008967 for ; Fri, 6 Sep 2024 14:03:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=blackberry.com; h=content-type : date : from : message-id : mime-version : subject : to; s=corp19; bh=AKgn/SMDim4ANSn+ExY1VCbfq54tAEM43r8a+J3knxc=; b=nCYrN15WOJxsoDGQA6Bjna3TuNRMX3HcZDJvW/Zyu3UMKnE+1pGMH+0XR0vvxCs10hFL F2T656F7pJmy4Gf5rvfgpiOKZIrkfnH1Ud5Cj4P5zMZYKKYhJtXq6Rtm0X5mFQUVQ6Zc KVUYfWymu9zM5JSWXaa6SuZPSNAe27q41EshUWk7JpwYSaUBTlvGWaZJSGSwMZKL/uPo ByX4Kg+R6qKHtasoZYxOBfLAQB2dT1GR7v+hhLJi6d3e9CRiYaB5K27wi6cPXgGWyVw3 v5OdiMusyfi/FH/qfpv05xA4UYSSLDa4CmKDAzTid6RXMn8XhUS9DCDkDgCYwvKBoTt6 Xg== Received: from xch210cnc.rim.net (xch210cnc.rim.net [10.3.27.115]) by mhs402ykf.rim.net (PPS) with ESMTPS id 41fjb01xhp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Fri, 06 Sep 2024 14:03:41 -0400 Received: from XCH212YKF.rim.net (10.12.114.212) by XCH210CNC.rim.net (10.3.27.115) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Fri, 6 Sep 2024 14:03:41 -0400 Received: from xce211cnc.rim.net (10.4.225.59) by XCH212YKF.rim.net (10.12.114.212) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34 via Frontend Transport; Fri, 6 Sep 2024 14:03:41 -0400 Received: from YT6PR01CU002.outbound.protection.outlook.com (40.93.18.26) by hybrid-smtp.blackberry.com (10.4.225.59) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.34; Fri, 6 Sep 2024 14:03:41 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ZqwuO3TlzZKZSNLLWA7nxMBE54hQew1vATViqcPXvWzAW0OYZUzI1J6ReEEzZbkx55amA/reLEjv3/VhU4hYeFNIssdjZ14cx73R7JG71wxyHmzlBrphG1iyPaIgTzF+syDKwA4b0oJ2cCVUDARwzK6rDoJS2iFZj88iaXY2JxLU6c5rGBIIGaeexsgm+h42CCUX/1746AXJYzI0/2jhir6dXbw78dyZKssI50xryTznNukXhq4+BSgvcv1QvYWtn/ExwdOkvtbxwi+yYApyoy8fhmpIP/A6URawofNgd011SAwJAAf7/Le2jM1ZbU28ev0ofzSjLwRrDubOePcgag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=ufASBq5yeyLI+qrIPRk44QcM2TISWXN0rLO8JBZNeII=; b=IrYeg7hA+N39RJ9kSieeIUs8z0YYXCTS9CVXa34bgJFJnAg3CUJfVGo7xD+Vq+vUjSRwvAO4RjBd+HDxuhMIjVt20SlR//IWnNnjZnB+uf7Ccuvcb74C3aURhAN7gSZo44Wpyou+fibkED5mUhBQlwZQKPQg/TPdqLbGzNFuD8UHIhZM6jGNC2avAHZZBEQDtp0mg/y8bqsr+z1aPAJ8LZxdmdRqP2SrCCXEf7I3x/ubUQ/ZVSNSsycexmqbnAEBkrC6A0NdvpI7/KOlQCkPFbI2BEmevB2SLXwTDIxi9cgStKKjHsyi+0Thefhwxla1HsDyOJLcafZXaUxsrZt5ow== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=blackberry.com; dmarc=pass action=none header.from=blackberry.com; dkim=pass header.d=blackberry.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=blackberryltd.onmicrosoft.com; s=selector2-blackberryltd-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ufASBq5yeyLI+qrIPRk44QcM2TISWXN0rLO8JBZNeII=; b=rdB0WEWLBGC3m6enPH40J6MI9WsBGFbDefcZ6lD8cj03zx6OlaEUl1iQrdqaz/Fak7tbTOALdZocgUYDfswK6szfkhLZAOldJf1fAulxKjAWGyRHkJqxnJyYC9i+nyHtC+K11VXQ295Bban6g1nyh2zmXVoDoNuwfQeK/VJuvBM= Received: from YQXPR01MB4198.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c01:11::8) by YT2PR01MB6175.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:5b::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.17; Fri, 6 Sep 2024 18:03:39 +0000 Received: from YQXPR01MB4198.CANPRD01.PROD.OUTLOOK.COM ([fe80::3789:7f3:7258:6f2a]) by YQXPR01MB4198.CANPRD01.PROD.OUTLOOK.COM ([fe80::3789:7f3:7258:6f2a%7]) with mapi id 15.20.7939.017; Fri, 6 Sep 2024 18:03:39 +0000 From: Mike Belanger To: "freebsd-net@freebsd.org" Subject: Ethernet device with shared mdio Thread-Topic: Ethernet device with shared mdio Thread-Index: AQHbAIbfN21ZAF2/J0iYsO7DV1Iqvg== Date: Fri, 6 Sep 2024 18:03:39 +0000 Message-ID: Accept-Language: en-US Content-Language: en-CA X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: YQXPR01MB4198:EE_|YT2PR01MB6175:EE_ x-ms-office365-filtering-correlation-id: 7ec7fcd2-8342-4767-1608-08dcce9e3c9b x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230040|366016|1800799024|376014|38070700018; x-microsoft-antispam-message-info: =?us-ascii?Q?7okZGZ7pynuGltVgLsuHAmO4YyxEXkcaRuCmYwkI02BkzbMoR7xORsnDl67L?= =?us-ascii?Q?sQsHmzG9QalexNqmUTdwmbq1pxHPmpJvXt4t/YpmOnr4G99lzwOBXavmAEzY?= =?us-ascii?Q?ekgSHU+YT6EMWEc2hgeF1J9gGbDoh3WtrPAyIzrJ3OxFlUe3sT4P5PhqFKdW?= =?us-ascii?Q?B9fusbB2OHFhTP2Fg9zASmPrhglVkN4Am5HzSbLPPkhhrft3+O/YAyAig5Am?= =?us-ascii?Q?0SZpOOILphDRbDPji0RWuBEJ/YuItyGzigemwuI22ipl+8Bwm9VYhxM8WtO3?= =?us-ascii?Q?Je7ZgtYpIJDBpeB4BWBY+A9vGj7cMufRS68EUAdWakj4GsmkTzjfy945GL0W?= =?us-ascii?Q?AJK/EdfMF6fIcQsU2xn9Wu3/m38B23m4Z1qLiLsoo0cV6pET6590P/P7tfEz?= =?us-ascii?Q?s0rCxFv5aFOuvbNlWWK1Rxvp+5xk7T4TWjjAlK2ip3noFTQqrYrqo5oJeI8W?= =?us-ascii?Q?5kfH0gnpvPj2T5YcCOuIkEeySiFJazyhcBndUZW3Ak7abYa+cN1Nb+lXVPAW?= =?us-ascii?Q?BblpIJUDOuP453jPvPkyKKkfXxVn80Kc1YnWHO5K3NSBxFFdcgzeEt88IYNh?= =?us-ascii?Q?Xs2vDg6+zPtzKJLRxMVdN5tiUzBke3lx1Wtl9SKsz5q1Y/PbUuEgxji1wUz9?= =?us-ascii?Q?j63bCyZsbqB9uAONY2fmeCtyvnPVV3T1k86ux7feoKbRf8SQQd1XeowV44vq?= =?us-ascii?Q?Ds3xNbdxkHdib0RcLoUql317TvLw+jYCAYRSCCH/eqInzX2JbYUtdtv16DLN?= =?us-ascii?Q?+CzgIvnqlN/FjhOnScuZRYZnkUTCE/4AIQM3k5eZ3iAvUhS6dghsX7aLRJ/Y?= =?us-ascii?Q?3RkxHFTjC1hVAVXuXFZfmZW5ffh26Ks7DSxmODltDgXzZgGyU6wxvfZS2vL8?= =?us-ascii?Q?H3BS8EQ9G3cEafhcVrQdsqpiHB2KwT//iVzzd/3PHVkO+qkmknevUbxIVisn?= =?us-ascii?Q?kOjuoWvYwbFLfWqKNJrgqsUbfB9v4eNhPQemfiswQDHHWCAEep4C10BR0Sp7?= =?us-ascii?Q?HS+iUkapTn3eZODHTAQcsv+GqSJMTBCK2oiR0TdkuNvmnCTMVobD0k5xTDQt?= =?us-ascii?Q?rGmqvWOE+/4vWmZ4g2iHfTaq1O7MLm//wIsTfwDg+JmwEzU4bjnUKFvSFJ5r?= =?us-ascii?Q?wKk6OHqOz76aVz73XfqVXRwuV62BS6OC67VwFAvqdEBRXsaLAekZP4cgwL1Z?= =?us-ascii?Q?hfvcRcPWRbrqLP8ecKTjAC9LRTezC34RL/v0Z9sRYohmrdxPbsVYXxWqpS9N?= =?us-ascii?Q?J6o8KoDAw4+kyTFuVfT46LLf+6Vs/cHiffXKe1AwCpCwqWOMjkSVz8hxQ7NY?= =?us-ascii?Q?0ScQmFvkOSc+03oK9t0+q0v3d5imyf3yucz81gwuCAcLGqtVwbzVwo5gXHOS?= =?us-ascii?Q?VOFv4wG/EWtOWBGI2uSSYjs6YtY6+nhzSdFFvZ0F1mCODQo4Jg=3D=3D?= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:YQXPR01MB4198.CANPRD01.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230040)(366016)(1800799024)(376014)(38070700018);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Fsbr0BTjKK5PURgxtYiA3hy4MxD2biUi+DwFjxHFDG3lVaQbOiN8GoQVMeWC?= =?us-ascii?Q?AL+GkGM7/srIVoDlRq8Ad+MdMUc7xpQsZnDUr7hS8O8yjkaoraMeBNIg2356?= =?us-ascii?Q?S3XAg3vOS0Xn9MlmayDoOC5HqDP4iZ/kq07/PiI55Dzc0varzpASfDLDN3Ht?= =?us-ascii?Q?WNWaI+SCc4McohbDDGH7VkBXLwvnus/Pt4HO2wvhC8SOjgJPUHPIWQLzuhJ/?= =?us-ascii?Q?41ki4cvbaLlgniogc+HHVQnGcljh0eFpqCaM7OmdTxqxNMnKROK3XTRQnJU4?= =?us-ascii?Q?rvhTNhSJDXkrSCAS6gU+PbojAhtcC3zRSJuZYdHe4eRgmqinEoVnkFstRJED?= =?us-ascii?Q?kg/o0xLrhBfWSWTbMDBFFVp4XLrKLig0DF3FoJyZsJEjVfbTt5Q5TkWPek/i?= =?us-ascii?Q?h59vfhAoccTqkGU/q35OtX+9VJ8Yg6/bjBJx2k6+FEzxuce06QC+TFERiW4Y?= =?us-ascii?Q?t60f7ZPALC1fyM3CgSd3HW6jVk0aRbPgDIzClH9HkAnlnZgyDOOOXINnn6nC?= =?us-ascii?Q?f/04upMQT4UGTx93G7AulVcCyKphUcaQOtBMCd3W6ZByyenIH5XlH2ybn9Gw?= =?us-ascii?Q?7np08u7SJB80z6U1xhIAndgfsXPNg4/evbtcWwGLpcoQtbKTlCC/fHG5+iAU?= =?us-ascii?Q?9l01ylSGYsIGAS4+Vcgjlo6VQYPt9Zr2G9tz1sfT49WRhnUnPPGdbx4wESK8?= =?us-ascii?Q?UC00IP4AhzFw7GIG6NhERzYgFR5awsWleweBlf0mZRcbYigfjIwX3ZL9uCN6?= =?us-ascii?Q?fxamzj/jXngZ7/AhoDG5CWDD6W4jrOmrffwU4CEud6peoWbCB92bDHvs279P?= =?us-ascii?Q?reXsyidqaD6xhZneTAQfE20/E+CaLxEcMO6Zo8TwwlRL34t3DK/DJ3ggmiDk?= =?us-ascii?Q?NQNGj4LywiW23y5yp9303xnhwGguUDdrOnbvjCVmrNnSibNFOjncZspyjSfx?= =?us-ascii?Q?EVlSdrURu8REhBXS3akMlmpCV8//40wK/tG8TU3l2FNDfENB1u1MxJJy3lGU?= =?us-ascii?Q?fdp6pxQw6SanPkGg1Tglto133bBgTqjKNZYVGtyS0UAyYAc0CoXa1CW6Skzm?= =?us-ascii?Q?AkSvw/VBOeSmymMo6V0vavMPEnuPhFxgubt/RseuNakzkDTnuQyk3JbPoDUe?= =?us-ascii?Q?W09KZ9siImL859G31SCikKi3D58w27KgB2fBvQINFrdw/4vkUNvFNYK4jiLy?= =?us-ascii?Q?uM8s0Lx42jcSetrEaJXPNIdBBJP75uYWge3yegf8XUsWeMGwwOR9KpYzsxNQ?= =?us-ascii?Q?RKLwwH+zR0RrlXwkscHMrTNsLpmMt8Oi8ZDggdaEHaI0HkZ4W/dkcG83pBMK?= =?us-ascii?Q?TjjsXH8e7h1ubWisxm6BEKS4yHvNa0Eob9vsf9jKFF0Up/To0vvjC90YpOju?= =?us-ascii?Q?c4gwoV/SSIrNwLBHLM4W7jF+8ElRMl3GeGVtrOYsknJVd9b/KQ5xWr4eUyun?= =?us-ascii?Q?lMsMDPgwZI2f1B8hcC/i0m770y37DQmWicX4Mv3UtpgzPhLzleUD/5zuYnvQ?= =?us-ascii?Q?Xwlfoi17munkJYcewZo2C80TTKO9NEzG2iexwggdA4EAOW9CYNAprxHkdidg?= =?us-ascii?Q?6UPX9AlKrkALxgH1BEwCeCbvCUU3pcyJ1SCqRc/OEaiLSQQbwyjeqUZ6FNXv?= =?us-ascii?Q?54ddv8qz/GWJHQYEhcaG4sE=3D?= Content-Type: multipart/alternative; boundary="_000_YQXPR01MB4198A8ED40891B0B51B5A4F6BC9E2YQXPR01MB4198CANP_" List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: YQXPR01MB4198.CANPRD01.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 7ec7fcd2-8342-4767-1608-08dcce9e3c9b X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Sep 2024 18:03:39.6558 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 7fe064f1-1f82-4006-b05f-62ea659f38b0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: vAk+lCngBoJCQl5WkG7VoAi/zKt67k/K8YzJNzDmzy+GX8uF+UsX/Wv1ACdAcz6mr1D6aLoJc3ck0t7ZxlEfwS8ug2veXucRlSz+FCpkKyk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: YT2PR01MB6175 X-OriginatorOrg: blackberry.com X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_03,2024-09-06_01,2024-09-02_01 X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; ARC_REJECT(1.00)[signature check failed: fail, {[1] = sig:microsoft.com:reject}]; DWL_DNSWL_LOW(-1.00)[blackberry.com:dkim]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW_WITH_FAILURES(-0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:208.65.78.88/30:c]; R_DKIM_ALLOW(-0.20)[blackberry.com:s=corp19]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; ASN(0.00)[asn:18705, ipnet:208.65.76.0/22, country:CA]; MISSING_XM_UA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DMARC_POLICY_ALLOW(0.00)[blackberry.com,none]; RCVD_COUNT_SEVEN(0.00)[7]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_REJECT(0.00)[blackberryltd.onmicrosoft.com:s=selector2-blackberryltd-onmicrosoft-com]; FROM_HAS_DN(0.00)[]; DKIM_MIXED(0.00)[]; TO_DN_EQ_ADDR_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[blackberry.com:+,blackberryltd.onmicrosoft.com:-] X-Rspamd-Queue-Id: 4X0kcZ0JhTz4JCb --_000_YQXPR01MB4198A8ED40891B0B51B5A4F6BC9E2YQXPR01MB4198CANP_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable The following device tree specifies a shared mdio. The ffec driver uses miibus. When there is a shared mdio, one of the device instances will not be able t= o properly configure the PHY, as it needs to use the other devices resource= to read/write the PHY. &fec1 { pinctrl-names =3D "default"; pinctrl-0 =3D <&pinctrl_fec1>; phy-mode =3D "rgmii-id"; phy-handle =3D <ðphy0>; fsl,magic-packet; status =3D "okay"; mdio { #address-cells =3D <1>; #size-cells =3D <0>; ethphy0: ethernet-phy@0 { compatible =3D "ethernet-ph= y-ieee802.3-c22"; reg =3D <0>; }; ethphy1: ethernet-phy@1 { compatible =3D "ethernet-ph= y-ieee802.3-c22"; reg =3D <1>; }; }; }; &fec2 { pinctrl-names =3D "default"; pinctrl-0 =3D <&pinctrl_fec2>; phy-mode =3D "rgmii-txid"; phy-handle =3D <ðphy1>; phy-supply =3D <®_fec2_supply>; nvmem-cells =3D <&fec_mac1>; nvmem-cell-names =3D "mac-address"; rx-internal-delay-ps =3D <2000>; fsl,magic-packet; status =3D "okay"; }; Does FreeBSD have any plans for supporting hardware that specifies a shared= mdio in the dtb? Just knowing the general approach being considered would be helpful. ---------------------------------------------------------------------- This transmission (including any attachments) may contain confidential info= rmation, privileged material (including material protected by the solicitor= -client or other applicable privileges), or constitute non-public informati= on. Any use of this information by anyone other than the intended recipient= is prohibited. If you have received this transmission in error, please imm= ediately reply to the sender and delete this information from your system. = Use, dissemination, distribution, or reproduction of this transmission by u= nintended recipients is not authorized and may be unlawful. --_000_YQXPR01MB4198A8ED40891B0B51B5A4F6BC9E2YQXPR01MB4198CANP_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

The following devic= e tree specifies a shared mdio.

The ffec driver use= s miibus.

When there is a sha= red mdio, one of the device instances will not be able to properly configur= e the PHY, as it needs to use the other devices resource to read/write the = PHY.

 

&fec1 {

   &= nbsp;            pin= ctrl-names =3D "default";

   &= nbsp;            pin= ctrl-0 =3D <&pinctrl_fec1>;

   &= nbsp;            phy= -mode =3D "rgmii-id";

   &= nbsp;            phy= -handle =3D <&ethphy0>;

   &= nbsp;            fsl= ,magic-packet;

   &= nbsp;            sta= tus =3D "okay";

 

   &= nbsp;            mdi= o {

   &= nbsp;           &nbs= p;            &= nbsp;   #address-cells =3D <1>;

   &= nbsp;           &nbs= p;            &= nbsp;   #size-cells =3D <0>;

 

   &= nbsp;           &nbs= p;            &= nbsp;   ethphy0: ethernet-phy@0 {

   &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;       compatible =3D "ethernet-phy-ie= ee802.3-c22";

   &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;       reg =3D <0>;=

   &= nbsp;           &nbs= p;            &= nbsp;   };

 

   &= nbsp;           &nbs= p;            &= nbsp;   ethphy1: ethernet-phy@1 {

   &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;       compatible =3D "ethernet-phy-ie= ee802.3-c22";

   &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;       reg =3D <1>;=

   &= nbsp;           &nbs= p;            &= nbsp;   };

   &= nbsp;            };<= o:p>

};

 

&fec2 {

   &= nbsp;            pin= ctrl-names =3D "default";

   &= nbsp;            pin= ctrl-0 =3D <&pinctrl_fec2>;

   &= nbsp;            phy= -mode =3D "rgmii-txid";

   &= nbsp;            phy= -handle =3D <&ethphy1>;

   &= nbsp;            phy= -supply =3D <&reg_fec2_supply>;

   &= nbsp;            nvm= em-cells =3D <&fec_mac1>;

   &= nbsp;            nvm= em-cell-names =3D "mac-address";

   &= nbsp;            rx-= internal-delay-ps =3D <2000>;

   &= nbsp;            fsl= ,magic-packet;

   &= nbsp;            sta= tus =3D "okay";

};

 

Does FreeBSD have a= ny plans for supporting hardware that specifies a shared mdio in the dtb?

Just knowing the ge= neral approach being considered would be helpful.

 


This transmission (including any attachments) may contain confidential = information, privileged material (including material protected by the solic= itor-client or other applicable privileges), or constitute non-public infor= mation. Any use of this information by anyone other than the intended recip= ient is prohibited. If you have received this transmission in error, please= immediately reply to the sender and delete this information from your syst= em. Use, dissemination, distribution, or reproduction of this transmission = by unintended recipients is not authorized and may be unlawful.
--_000_YQXPR01MB4198A8ED40891B0B51B5A4F6BC9E2YQXPR01MB4198CANP_--