From patchwork Mon Feb 21 14:33:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baruch Siach X-Patchwork-Id: 12753689 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D869EC433FE for ; Mon, 21 Feb 2022 14:36:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377902AbiBUOg2 (ORCPT ); Mon, 21 Feb 2022 09:36:28 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:46972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377876AbiBUOfu (ORCPT ); Mon, 21 Feb 2022 09:35:50 -0500 Received: from mx.tkos.co.il (guitar.tcltek.co.il [84.110.109.230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B9061AF3E; Mon, 21 Feb 2022 06:35:26 -0800 (PST) Received: from tarshish.tkos.co.il (unknown [10.0.8.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx.tkos.co.il (Postfix) with ESMTPS id 7DDF0440EA6; Mon, 21 Feb 2022 16:34:50 +0200 (IST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tkos.co.il; s=default; t=1645454090; bh=8QoucjTTAdFFTOWehg8uhtSN4m+jDIPITf81eXI8sns=; h=From:To:Cc:Subject:Date:From; b=h8xH6lxcEdtGlrbB+/3DxAVKcLACewaP8XRtydkiUeAWc9Nt8U3I3VhSVZZWBh0d+ RVrFgX1brA2Qf+6NRzesB+PwO5JTAkbONlmy04CHbxKZzHb/PmPYJNAp8ToJIA1VDV O3jss1u7LgttzMJ9Al8O+ym9SPu7ki8tMBlUAlgkEjIrvTNRFhTPrcxfxs/FnClo4R 5mDLuvaC0QhTKMjxIZo80tKZoYma18y4HKivRwGdda1W7GYRts4v5/Z3Z83IsUI7Jh lAQNW5lcD/4IWEwOi2aPVDAdsROJUofRm74debGfmqxgoE+Euchkb6ggTd4NkfZ42N 8QNzqnUVg4n2g== From: Baruch Siach To: Andy Gross , Bjorn Andersson , Robert Marko Cc: Baruch Siach , Bryan O'Donoghue , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH 1/2] dt-bindings: net: ipq4019-mdio: Add ipq6018 compatible Date: Mon, 21 Feb 2022 16:33:21 +0200 Message-Id: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Baruch Siach The IPQ60xx MDIO bus is the same as IPQ4019. Signed-off-by: Baruch Siach --- Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml b/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml index 2af304341772..214e5270d89c 100644 --- a/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml +++ b/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml @@ -17,6 +17,7 @@ properties: enum: - qcom,ipq4019-mdio - qcom,ipq5018-mdio + - qcom,ipq6018-mdio "#address-cells": const: 1 From patchwork Mon Feb 21 14:33:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baruch Siach X-Patchwork-Id: 12753690 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 47759C43217 for ; Mon, 21 Feb 2022 14:36:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378024AbiBUOg3 (ORCPT ); Mon, 21 Feb 2022 09:36:29 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:46974 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377884AbiBUOfu (ORCPT ); Mon, 21 Feb 2022 09:35:50 -0500 Received: from mx.tkos.co.il (guitar.tcltek.co.il [84.110.109.230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C2F01C116; Mon, 21 Feb 2022 06:35:26 -0800 (PST) Received: from tarshish.tkos.co.il (unknown [10.0.8.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx.tkos.co.il (Postfix) with ESMTPS id EBA2F440F4B; Mon, 21 Feb 2022 16:34:50 +0200 (IST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tkos.co.il; s=default; t=1645454091; bh=8Yo/rDOE+4o1/9eoH/MnPevjHwozuDlo2GnwOqB7MmI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NdB14XKWAaLzWE8tbZZn3/N4aBXMUw6ftC1P0+k7dhaZv5qH3SNN6CC29N/35ZtVQ W76PKfv+3I1oup2BdznTUuC6sKh33uV/eSiV0nvoGBZNQrcvz4XhuRucRUgy/5/ob8 SrMm1XeKI5cOiSe3kXIDX6pFFuovK3omvw17Tc9NFgN48IkFIV5qkBOJfArFqSvMo0 t91MWA30Dqo7NfS+LjRR4i1RBLgOeTWxjoDslgVTj0SFb2wN9KoEam3OsmmZfXOMhw LL+tgf/uauWlJHVTOIyVvBwPhpZC8C4zk6IhMFFGAKe7Q/4le1DSNHHweji2d7ulAv QVmeqBxf95W9g== From: Baruch Siach To: Andy Gross , Bjorn Andersson , Robert Marko Cc: Baruch Siach , Bryan O'Donoghue , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH 2/2] arm64: dts: qcom: ipq6018: Add mdio bus description Date: Mon, 21 Feb 2022 16:33:22 +0200 Message-Id: <5e7e06e0cb189bab4586646470894bbda572785d.1645454002.git.baruch@tkos.co.il> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Baruch Siach The IPQ60xx has the same MDIO bug block as IPQ4019. Add IO range and clock resources description. Signed-off-by: Baruch Siach Reviewed-by: Bryan O'Donoghue --- arch/arm64/boot/dts/qcom/ipq6018.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq6018.dtsi b/arch/arm64/boot/dts/qcom/ipq6018.dtsi index 5eb7dc9cc231..093011d18ca6 100644 --- a/arch/arm64/boot/dts/qcom/ipq6018.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq6018.dtsi @@ -635,6 +635,16 @@ qrtr_requests { }; }; + mdio: mdio@90000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "qcom,ipq6018-mdio", "qcom,ipq4019-mdio"; + reg = <0x0 0x90000 0x0 0x64>; + clocks = <&gcc GCC_MDIO_AHB_CLK>; + clock-names = "gcc_mdio_ahb_clk"; + status = "disabled"; + }; + qusb_phy_1: qusb@59000 { compatible = "qcom,ipq6018-qusb2-phy"; reg = <0x0 0x059000 0x0 0x180>;