Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp911284rdd; Wed, 10 Jan 2024 03:24:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IED3piRAT9mwVbLEZ7hvsZQLCyMH2KbDLUdYrLLhbQL2fOkwCLudoSqaDQFQbaYnETvE7r/ X-Received: by 2002:a05:6808:14ce:b0:3bd:3309:a26f with SMTP id f14-20020a05680814ce00b003bd3309a26fmr1067302oiw.77.1704885854822; Wed, 10 Jan 2024 03:24:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704885854; cv=none; d=google.com; s=arc-20160816; b=B+Tl+PjJsxJR1sP8Etkm8w/iqBfL+9GS2wlllazCntYR7QyI/r6VONavXRffC7lOOq D5hbs5TI+0MSWcGMmkXoeQibHianJkFt0F2ylKf3R5n3f7SssQx5Rhfpiu8DwOTnZfGM Pw7D+XsWn5J1LzZ+pPkJSE1/OYXSFEVvXUDgLOOEKpghO/yI2Qvr6F2kNP4S9iq0/fKf X7PdfoXnIFY3TFW3qy2damB2T16C85LZD7qF0XYV/bVD8ZFolEWgX1JdW+0bqQG1HGL5 F8D6OFT7I+Ll/wzt+2Eo2OQyWe1bg6h0Rkk3O2R2pZT2raCe9tqeDq4G1VG1i+03PRla u08Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=d37+e83tZwogOPVrwPm8SdeiQJvavFXD5ROs6vq+SHY=; fh=I55x0ANvNkX2tDYcOPVTN40IQtoD9tfE/hZORnK+Rnk=; b=In9L4v+WcJxjNRhpVxgIP67LeKZot1bicS+dnIj8nL/2cRYBIHRYiLIW2j1HwAivZS tT9VNjqJWjBKkRdx8TsqkM146KsGB4SHxtkZy0JbxdU7VLbpWx8yePqDEMdUQvXNkbPL SdOHkduFfOShd8oLufxsRV2kKq80KAqdqJOQVxZA/QCyzx2/E/ovOsvHSFoPEiXnKsOK grflF4NP0w1ZPm7Xc+kpr7mb/PowSzKHFAaykqrlZxtQqXB1FcIkzF469k4ch5wSirXp b8HZrXmUjQZ9BVfee2RWLSVpxZqrDjlEp4ul7cl4dgbqd0CMFXVlX3JgXvK+oAkG4hqR yilQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=DihKeHFo; spf=pass (google.com: domain of linux-kernel+bounces-22080-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22080-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d12-20020a63360c000000b005cdf98f236esi3316979pga.795.2024.01.10.03.24.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 03:24:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-22080-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=DihKeHFo; spf=pass (google.com: domain of linux-kernel+bounces-22080-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22080-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 77048281C15 for ; Wed, 10 Jan 2024 11:24:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 02BEC495D3; Wed, 10 Jan 2024 11:21:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="DihKeHFo" Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D5B8F495CA; Wed, 10 Jan 2024 11:21:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40AAGBdw008594; Wed, 10 Jan 2024 11:21:38 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s= qcppdkim1; bh=d37+e83tZwogOPVrwPm8SdeiQJvavFXD5ROs6vq+SHY=; b=Di hKeHFodxIwRnYIVjmdcl+H9hIxLqKcwGOeVKglNQ7F0WHzU9n6nwh41kclwO27pz gSLn0z1vsGPHx34QjUfywhGCcA1I8pS3hBhy0PlAtbISlY5BRAY8wl21LP0aHUBK BUTEsYOakDDqsuZNE6fxzMfrCXQubzkNAi+67/eeXd+/S+k0f67r1fTdj9SpXVks +4lQWOvgwC+t/N2MB8oQNsXoaOeOT1ODLWmDJ4hnuPWl9a9K5XPqAguJI8VHzSId uERvfPIGbMYYqw48UbydEWvOCe54RJcCakYxCQBMEVAWPDwVUawHln1nd52zaf22 0odaI9uwlaJKdicp8Wog== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vhnbnrms5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 10 Jan 2024 11:21:38 +0000 (GMT) Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 40ABLbix020799 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 10 Jan 2024 11:21:37 GMT Received: from akronite-sh-dev02.qualcomm.com (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Wed, 10 Jan 2024 03:21:33 -0800 From: Luo Jie To: , , , , CC: , , , , , , , , , , Subject: [PATCH 5/6] arm64: dts: qcom: ipq5332: Add RDP441 board device tree Date: Wed, 10 Jan 2024 19:20:58 +0800 Message-ID: <20240110112059.2498-6-quic_luoj@quicinc.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20240110112059.2498-1-quic_luoj@quicinc.com> References: <20240110112059.2498-1-quic_luoj@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: sAbTDsgBYlvv8YlsnNYBgKDcn9gvsDMC X-Proofpoint-GUID: sAbTDsgBYlvv8YlsnNYBgKDcn9gvsDMC X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_02,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 phishscore=0 spamscore=0 clxscore=1015 priorityscore=1501 mlxlogscore=902 suspectscore=0 adultscore=0 impostorscore=0 malwarescore=0 lowpriorityscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2401100092 From: Lei Wei RDP441 board has onboard QCA8386 switch and 10G SFP port. Signed-off-by: Lei Wei Signed-off-by: Luo Jie --- arch/arm64/boot/dts/qcom/ipq5332-rdp441.dts | 51 +++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq5332-rdp441.dts b/arch/arm64/boot/dts/qcom/ipq5332-rdp441.dts index 846413817e9a..d51968e9d601 100644 --- a/arch/arm64/boot/dts/qcom/ipq5332-rdp441.dts +++ b/arch/arm64/boot/dts/qcom/ipq5332-rdp441.dts @@ -12,6 +12,15 @@ / { model = "Qualcomm Technologies, Inc. IPQ5332 MI01.2"; compatible = "qcom,ipq5332-ap-mi01.2", "qcom,ipq5332"; + + soc@0 { + sfp1: sfp-1 { + compatible = "sff,sfp"; + i2c-bus = <&blsp1_i2c1>; + los-gpios = <&tlmm 45 GPIO_ACTIVE_HIGH>; + tx-disable-gpios = <&tlmm 24 GPIO_ACTIVE_HIGH>; + }; + }; }; &blsp1_i2c1 { @@ -63,3 +72,45 @@ data-pins { }; }; }; + +&qcom_ppe { + qcom,port_phyinfo { + ppe_port0: port@0 { + port_id = <1>; + phy-mode = "2500base-x"; + fixed-link { + speed = <2500>; + full-duplex; + pause; + }; + }; + + ppe_port1: port@1 { + port_id = <2>; + phy-mode = "10gbase-r"; + sfp = <&sfp1>; + managed = "in-band-status"; + }; + }; +}; + +&mdio { + status = "okay"; + reset-gpios = <&tlmm 51 GPIO_ACTIVE_LOW>; + + phy0: ethernet-phy@0 { + reg = <1>; + }; + + phy1: ethernet-phy@1 { + reg = <2>; + }; + + phy2: ethernet-phy@2 { + reg = <3>; + }; + + phy3: ethernet-phy@3 { + reg = <4>; + }; +}; -- 2.42.0