From patchwork Thu Aug 10 08:09:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 133758 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b824:0:b0:3f2:4152:657d with SMTP id z4csp269199vqi; Thu, 10 Aug 2023 01:29:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGnW2+FFI2gnnvAWY2ysxaqMVmiL5BsBweuUa7XEaCdtv5CuC5GiV2DPDZ9+pYFOdzEAcYL X-Received: by 2002:a17:907:2c6b:b0:993:d5bd:a757 with SMTP id ib11-20020a1709072c6b00b00993d5bda757mr1185805ejc.19.1691656166898; Thu, 10 Aug 2023 01:29:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691656166; cv=none; d=google.com; s=arc-20160816; b=vTArA0yezpd7uYXkHCAG4TSW0jn5SoNwtxfKh0zSw6mZv/BK+PhErUDW2T8z7QVjiV m0Lj8CKbSkkpP990F5MYOxaYU/zHO5tbZRFzuxJ6OFd/+1WG3dM6pA1Ufdkf4JBA/Fxh EqwHigYT0qVcB/nuCw00TA3BD89yn4gIEhWPwo3ZiOx6RPHon8+X3Msh61ImY64jAB1d 1RTWNyXtfrAf7qYH6/uN28tDUnAh8Ia1TYDrhlq62Jsuv9UAZKQNQDwTg0/HRzr4TdV7 28xBZuoBt0aixoxCAEkA7LYad1IfNHOtuD8gXRmgHNHovklTb4+hHAG+69B4yCu4PHD3 YCxQ== 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=4Ie4XHfXmLN17VpRpXqW8hX803ADkU00/SZ+VLSEgXo=; fh=v6UDtM1LG1pNigs7Y52IFg78NWSS5jq/R3uih93pXmc=; b=jFwiQO7Ycgay4y/7QEbkFk3Xa9AxJsLPDo65HmHPQ4BQbYNScL94p6JCOwNnc/+ERb sFXh3JmQqr1+xuBuY8DNkj3BVPAE7+0JsKboEllFFSl9pS9VrxA7qmlK19T0G+MkLPXL zP8gXO5yQlrGuMen3+lRZaETna9dyx+4lqjAnsF5PyIC5rCX6/IBEvYce99TLetNhrmF 6ZIbY3V4oDLS7IoByYDkvDORBQfRq2NEsAHhGFGwDoSzqUCg1usQvsKAzNjLAbs2vzGw EoAKfNhmVP6Bdv2L6E7dwWtFF3OuQMPRFPQfIcwBC7iPKCb+Au4/4ti0wBkG2lsl1Bg5 8OjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20221208.gappssmtp.com header.s=20221208 header.b="Hq+/takm"; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o17-20020a170906861100b009920f18a5ebsi1039859ejx.729.2023.08.10.01.29.01; Thu, 10 Aug 2023 01:29:26 -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=@bgdev-pl.20221208.gappssmtp.com header.s=20221208 header.b="Hq+/takm"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233647AbjHJIJR (ORCPT + 99 others); Thu, 10 Aug 2023 04:09:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38798 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233362AbjHJIJR (ORCPT ); Thu, 10 Aug 2023 04:09:17 -0400 Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9715610F5 for ; Thu, 10 Aug 2023 01:09:16 -0700 (PDT) Received: by mail-lj1-x235.google.com with SMTP id 38308e7fff4ca-2b9e6cc93d8so10202681fa.0 for ; Thu, 10 Aug 2023 01:09:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20221208.gappssmtp.com; s=20221208; t=1691654955; x=1692259755; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=4Ie4XHfXmLN17VpRpXqW8hX803ADkU00/SZ+VLSEgXo=; b=Hq+/takm7mG/JzYZdoPMLRzMncOo+pJwi3qya1XAGOY5caiL0xscmhVnPwNc1RPtVv dIhPLCCsYug4tXukVatgw4215Q3ijgiblxlRe93XGG1Qhyk036Vu4lRjkEdprhaLDt7X WQA7EMBaSQXV7M2owB3Cof4mO4BLSXfAVfu40Rj/VOnECqzDPsDuzITlxvd8tqwDCfch Q4P69/Az4N1BXhxdk004RIQfZALbKmKDyKVVJERWyCV563GqaaMWnU8f4Ql1VbIzZsRo 4i4lL1wluHcQZSORRUoTDcwu3CG7D8qVJ8RQ79le1hx7MZ+h7S638SOs3GO+Mo7NBDjO Sj2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691654955; x=1692259755; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4Ie4XHfXmLN17VpRpXqW8hX803ADkU00/SZ+VLSEgXo=; b=QfQ94qfB42tTLYGRRzaSCB89KL6+f5KHUH4GbgHnQxV0AjqPtfSCQKB0DtoYdZVJuL IP6wJMok7PrgPfACYK9WG9rcbqAWFZfZZlPJdoAGV8ZC9h+qcO4VRxr2EZFIOt2I3gHc M/r3jcAGcVkXk7FL3MkbaUW5mYErfO6IzWnsVsLgtaB+WdxQ/pyCIqSIJmsIoay1iw86 ktzTuJRvTZ7DbEOovnbxE2dKhdk0IQwxqrB+R1ZyWcREvmklslP3DKTdcD2S6DrfQfBu hgJb4jYEZDaB1z928x1k+KmMHnqTej5vDTocU6L0jIo/TdDPtXyReu/TsmIoBSmVpZn5 j8tg== X-Gm-Message-State: AOJu0YwqGQ7I342GIxAU3nMnocumEyu2lb6abXz9j2+Hh/IyEKUDcH6c DmVMf5JVDuqtkxCGGzBMKPr12g== X-Received: by 2002:a2e:998c:0:b0:2b6:9f5d:e758 with SMTP id w12-20020a2e998c000000b002b69f5de758mr1333858lji.9.1691654954704; Thu, 10 Aug 2023 01:09:14 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:74d3:226a:31b3:454c]) by smtp.gmail.com with ESMTPSA id y10-20020a1c4b0a000000b003fe2f3a89d4sm1321790wma.7.2023.08.10.01.09.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Aug 2023 01:09:14 -0700 (PDT) From: Bartosz Golaszewski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alex Elder , Srini Kandagatla , Andrew Halaney Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH v3 1/9] arm64: dts: qcom: sa8775p: add a node for the second serdes PHY Date: Thu, 10 Aug 2023 10:09:01 +0200 Message-Id: <20230810080909.6259-2-brgl@bgdev.pl> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230810080909.6259-1-brgl@bgdev.pl> References: <20230810080909.6259-1-brgl@bgdev.pl> MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE 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: INBOX X-GMAIL-THRID: 1773830056865007139 X-GMAIL-MSGID: 1773830056865007139 From: Bartosz Golaszewski Add a node for the SerDes PHY used by EMAC1 on sa8775p-ride. Signed-off-by: Bartosz Golaszewski Reviewed-by: Andrew Halaney Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sa8775p.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qcom/sa8775p.dtsi index 7b55cb701472..38d10af37ab0 100644 --- a/arch/arm64/boot/dts/qcom/sa8775p.dtsi +++ b/arch/arm64/boot/dts/qcom/sa8775p.dtsi @@ -1846,6 +1846,15 @@ serdes0: phy@8901000 { status = "disabled"; }; + serdes1: phy@8902000 { + compatible = "qcom,sa8775p-dwmac-sgmii-phy"; + reg = <0x0 0x08902000 0x0 0xe10>; + clocks = <&gcc GCC_SGMI_CLKREF_EN>; + clock-names = "sgmi_ref"; + #phy-cells = <0>; + status = "disabled"; + }; + pdc: interrupt-controller@b220000 { compatible = "qcom,sa8775p-pdc", "qcom,pdc"; reg = <0x0 0x0b220000 0x0 0x30000>,