Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3802126imw; Mon, 18 Jul 2022 14:58:05 -0700 (PDT) X-Google-Smtp-Source: AGRyM1ttQrviXeEuGaEF6QzhsW/13G+AltPzNw6v9JWQdhj1+DbYZSgUv9MLxT1RiNP9HMhBMErZ X-Received: by 2002:a05:6a00:855:b0:52b:213d:fc03 with SMTP id q21-20020a056a00085500b0052b213dfc03mr24257392pfk.31.1658181484824; Mon, 18 Jul 2022 14:58:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658181484; cv=none; d=google.com; s=arc-20160816; b=p4dgD95MynP0j/y2h7C+3oAWse/uY8DnCIbYAiqKXw8+pFz5q/yzlwPRrwr6C67yR1 tDgh7nKuGM5Pw7Cx5bQdadP5o2qF44cJ+NTIGWq3Y+vB0kr+wH+mMl0gJYJxP5jlvyV0 Xvn/HpRmE3o1EAS2SnywYbL+Hu1bltFYhcuioe+YEdJl5V2G+mKgUF47IWnmIHaqPPw5 8erflyADSX2b2Gx/phgILZlmeCTmuw8APcalJmP7lkXsAjlxnSrrWIBIT4mQACa7E+Y+ ySRtgOiDcJjsTt/u7WoldEOHCGxe8Ear6Kd+M2J4Unhm90Rxd5AquwkB8ZPWc1ZTEoLO bz+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=OOrOYrckxwLFuv0HSsX6WItLbhW1G3ZoR2Ar6VKpB08=; b=FVe8ciQHwY6iVvV6W1SY/ZppuZzCNFBUqv9SZRhkUsppw/1DetvKhY/QOOkNv0MtST 5Bps74hNbyW3iT2OYRcqe/g4CIiNuFsc7+Iw1+wDtSafbs2TMqWoaaQ5VWddsPruv/+j G47jTAZgfTL+puiV7P9aCPnNZXOdifld/ZV/aMS6bCC8xGCA1+pF80RHF06X1jOmaI+Y bu7tBenVl01k3cj1no6W1LIzmaXMv1CixebbCp/gL7MP0uyx4JPiHHgsZ9CtK8vwXr0Q yRx5JKznwGidCgj9Yo38+OzKu1DjN1IP7iFzdYPaqIwm10Q48NS6lfR3w6lEWWi/tAxi Y26g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=UVQ62QVo; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 200-20020a6214d1000000b00525562ecbf7si9392886pfu.198.2022.07.18.14.57.50; Mon, 18 Jul 2022 14:58:04 -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=@microchip.com header.s=mchp header.b=UVQ62QVo; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233849AbiGRV0V (ORCPT + 99 others); Mon, 18 Jul 2022 17:26:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233216AbiGRV0T (ORCPT ); Mon, 18 Jul 2022 17:26:19 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E47442F011; Mon, 18 Jul 2022 14:26:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1658179578; x=1689715578; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=4RlVufiXTHzC4WPLNtwom5sZQqrDoICj4LD/vo1jP8Y=; b=UVQ62QVowMISA1vuuJe3dy8L+yymAzL65HSpvrSoX6LpPcOCo6Lcn3gw 2Lg4KlV/7gJKIhPP8BCHjguTzsFOcNKyfAE3NB1QxpSJq/qUPAm6Kpish NNR+E1W81FSRX6jhYrpacsF/AsdU3d5qNetQcayenNa3a4eAyLxZGdS7M zJ00khBmHAgC+pQUsCfAVRvv1+TAfBFpb5rRUE0Dzdlp9oQDp0h2mo1EP k3blxkRyUn2V9gEMX7nPuoIP6umTLRMDIuiH+1laHLxplScY/0rYm1+kJ s8Io1ZGnWRAXkP5MnAp1OHleYldsCRBdbE1hv/l2RGILqlKXUYaXaYftc w==; X-IronPort-AV: E=Sophos;i="5.92,282,1650956400"; d="scan'208";a="105020709" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 18 Jul 2022 14:26:17 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Mon, 18 Jul 2022 14:26:13 -0700 Received: from soft-dev3-1.microsemi.net (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Mon, 18 Jul 2022 14:26:11 -0700 From: Horatiu Vultur To: , CC: , , , , , , "Horatiu Vultur" Subject: [PATCH 3/3] ARM: dts: lan966x: Enable network driver on pcb8291 Date: Mon, 18 Jul 2022 23:29:21 +0200 Message-ID: <20220718212921.1506984-4-horatiu.vultur@microchip.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20220718212921.1506984-1-horatiu.vultur@microchip.com> References: <20220718212921.1506984-1-horatiu.vultur@microchip.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS 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 The pcb8291 has 2 ports that are connected to the internal ports of the switch. Enable them in DT. Signed-off-by: Horatiu Vultur --- arch/arm/boot/dts/lan966x-pcb8291.dts | 35 +++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/arch/arm/boot/dts/lan966x-pcb8291.dts b/arch/arm/boot/dts/lan966x-pcb8291.dts index 2cb532aa33f0..d890e6fcdbae 100644 --- a/arch/arm/boot/dts/lan966x-pcb8291.dts +++ b/arch/arm/boot/dts/lan966x-pcb8291.dts @@ -4,6 +4,7 @@ */ /dts-v1/; #include "lan966x.dtsi" +#include "dt-bindings/phy/phy-lan966x-serdes.h" / { model = "Microchip EVB - LAN9662"; @@ -32,6 +33,40 @@ fc3_b_pins: fc3-b-pins { }; }; +&mdio1 { + status = "okay"; +}; + +&phy0 { + status = "okay"; +}; + +&phy1 { + status = "okay"; +}; + +&switch { + status = "okay"; +}; + +&serdes { + status = "okay"; +}; + +&port0 { + status = "okay"; + phy-handle = <&phy0>; + phy-mode = "gmii"; + phys = <&serdes 0 CU(0)>; +}; + +&port1 { + status = "okay"; + phy-handle = <&phy1>; + phy-mode = "gmii"; + phys = <&serdes 1 CU(1)>; +}; + &flx3 { atmel,flexcom-mode = ; status = "okay"; -- 2.33.0