From patchwork Tue Nov 23 09:03:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 12693426 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 34ECDC433F5 for ; Tue, 23 Nov 2021 09:05:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=r6P3uhf9laADqSSgaJEByyirzX1DQmLQ4cCUgv//v4c=; b=VHcgPD9TrIW7xB xZsf2yLgAgspvvc7uTMuzCONW15R4M0cIBSSLLMDqqiC6zJMrEaI6JqUNlZgSOB59x7C/eN9GM1b5 URCNNNy3DsQB57fV1R2QivTCBoERE1NpY3zDNFGlEPTZfAt9zNA5/oZz+2meNOn9BX8siMcCnGE4E axA7c32C1qO5dMFlAhp4PENTiqtCIQVk5ybTSN55sjk6uj8ooPeWhMpwjofPnvcH78rnIy37pUmgy zLpxbT0cREwRFQMeDEm8pQqZOQMV1ypQxqVkkoeQG9vF/o9Y+5cVSgACB9bEoF5cMfWEjav0hKMy3 /xgHYMWz76Mbon+sIKUA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mpRib-001PZi-Gd; Tue, 23 Nov 2021 09:04:01 +0000 Received: from mail-lj1-x22b.google.com ([2a00:1450:4864:20::22b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mpRiU-001PYc-Ul for linux-arm-kernel@lists.infradead.org; Tue, 23 Nov 2021 09:03:56 +0000 Received: by mail-lj1-x22b.google.com with SMTP id 207so9669220ljf.10 for ; Tue, 23 Nov 2021 01:03:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=M/z5Vz69s5nr1kpYYcK91ofPakub5omF5cpfR8mSR/M=; b=B1ecVDUzzaXMXC6qlS5eBs47/M+Cc6LxYBLeiU+jckbbZJu/dHNydItqweNvjvH/Iz QUF6CIRCny9AnO2FYfKVrJ+gOJ6I4iExcL7B+Gju5HRdBfAkGR2Y1AzKe6enj+oCxBan sHvhYYHhF9I3ofCOJbWTpZnEBRwxZWs/RBlg+ePH8ePQ0cyDGWpQZDjBAQQvd5ZAgz9J AXK11L3eg3HpL+PaEouA/PC1znwEUOUAUylu5PzsJRfdWVwiPqgNnxQCkFBdNBV5Otcv UttmpdgIH6hmd2k+QdXNsvQ7h2tIqffVgfV853aJSOH8/01Zwb7Ay+orZfUV4Nkm+a1+ 5thQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=M/z5Vz69s5nr1kpYYcK91ofPakub5omF5cpfR8mSR/M=; b=eypMiw/gTp/8rVsbGLAzM/O+7F0OCYYTGG0joA2ObqrHLLN1byUOY0wM7pkbaH7M1a P6SZE8Rd2lFT/QyRWDotlj3Oo0ShrZY6YoMWWax0qyEc5iHv9tyocpvnwEuL+B2Trk3K nssMSsCufqPMHFc3navdxlan6kNfHXfc3ZKD3BF4Z0dr5BTdYlVTVv6IxgBpX3zJUrbt D9LQIKauqOJ4LLMSlBHZSgeRpOvWCapudtVGcr4flRujpOqeeR6JaRx7geCPDHZ7YSHp NO495orQQanaFHBw7ql89Xqs7qDOB4ZWqHAder6m71jW9wsrA8CF7jodaLzlGwGDGA2c 3Caw== X-Gm-Message-State: AOAM5334fUFx1TXPMD6peP+koMhZKFPuFVLtv6SNOBWC07+0XCuPBgqZ LGtkGto2SxbAWZGDwi2zbrc= X-Google-Smtp-Source: ABdhPJybeK1dsDyG/9wDTJHXWMYUeeycpQJ1ks0+W5ygyb5bT4N5ITQobpofdxvOpg/dv0Zrvi03Jg== X-Received: by 2002:a2e:3012:: with SMTP id w18mr3136484ljw.217.1637658232863; Tue, 23 Nov 2021 01:03:52 -0800 (PST) Received: from localhost.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.gmail.com with ESMTPSA id e29sm1226060lfb.111.2021.11.23.01.03.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Nov 2021 01:03:52 -0800 (PST) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= To: Florian Fainelli Cc: Hauke Mehrtens , Rob Herring , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= Subject: [PATCH] ARM: dts: BCM5301X: use non-deprecated USB 2.0 PHY binding Date: Tue, 23 Nov 2021 10:03:33 +0100 Message-Id: <20211123090333.11597-1-zajec5@gmail.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211123_010355_039186_570C7195 X-CRM114-Status: GOOD ( 12.14 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Rafał Miłecki The new binding covers a single reg and uses syscon to reference shared register. References: 55b9b741712d ("dt-bindings: phy: brcm,ns-usb2-phy: bind just a PHY block") Signed-off-by: Rafał Miłecki --- arch/arm/boot/dts/bcm5301x.dtsi | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/arm/boot/dts/bcm5301x.dtsi b/arch/arm/boot/dts/bcm5301x.dtsi index e1cffef4935a..588e57db6859 100644 --- a/arch/arm/boot/dts/bcm5301x.dtsi +++ b/arch/arm/boot/dts/bcm5301x.dtsi @@ -148,15 +148,6 @@ periph_clk: periph_clk { }; }; - usb2_phy: usb2-phy@1800c000 { - compatible = "brcm,ns-usb2-phy"; - reg = <0x1800c000 0x1000>; - reg-names = "dmu"; - #phy-cells = <0>; - clocks = <&genpll BCM_NSP_GENPLL_USB_PHY_REF_CLK>; - clock-names = "phy-ref-clk"; - }; - axi@18000000 { compatible = "brcm,bus-axi"; reg = <0x18000000 0x1000>; @@ -448,7 +439,16 @@ genpll: clock-controller@140 { "sata1", "sata2"; }; - syscon@180 { + usb2_phy: phy@164 { + compatible = "brcm,ns-usb2-phy"; + reg = <0x164 0x4>; + brcm,syscon-clkset = <&cru_clkset>; + clocks = <&genpll BCM_NSP_GENPLL_USB_PHY_REF_CLK>; + clock-names = "phy-ref-clk"; + #phy-cells = <0>; + }; + + cru_clkset: syscon@180 { compatible = "brcm,cru-clkset", "syscon"; reg = <0x180 0x4>; };