From patchwork Wed Jun 1 19:16:25 2016 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: 9148013 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C66A960467 for ; Wed, 1 Jun 2016 19:19:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B3EA41FFBD for ; Wed, 1 Jun 2016 19:19:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A6EAA268AE; Wed, 1 Jun 2016 19:19:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 45BCA1FFBD for ; Wed, 1 Jun 2016 19:19:33 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1b8BeZ-0001Cm-66; Wed, 01 Jun 2016 19:18:07 +0000 Received: from mail-lf0-x241.google.com ([2a00:1450:4010:c07::241]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1b8BeW-0001A9-96 for linux-arm-kernel@lists.infradead.org; Wed, 01 Jun 2016 19:18:05 +0000 Received: by mail-lf0-x241.google.com with SMTP id 65so2955385lfq.1 for ; Wed, 01 Jun 2016 12:17:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=zjiGPO0ZKg5p5F9u8jsp7a+m2KN0kLQG02Ov7cEZc/I=; b=qfi/bZK16b9czyQDlJBq1G099lkq98Y0bAW8yBr2W01aHUgm9m93ARHdbF2OAhsRwx E0GNyn481tvLBIW8p4aOQvODd+a4i6PxNOa1SX94pXqRjxycHUYtWCrO997y3mK931U4 ZG1xje7DDDfMIPYUXVWTpuoJTS6g6+H0DSWjK7u5Jac10gxF8Ym7iyVfTESxqDDAVIPA as5dgawC751jCvBNeovnjcXaMjuzZ90o23KHvXjds6ETPULMI2vheP4qros8iImBa+1z dLlOtP5z10TGN2fyPCu9TKQlVOOEcHDkgEiEcktwYyTaLTVZkTySbBgGQO2EFEN5tDQK PXnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=zjiGPO0ZKg5p5F9u8jsp7a+m2KN0kLQG02Ov7cEZc/I=; b=CuvPG6pJbjYrzhSRSOdg34HKWRBbZ17FXCZyMQr2uOtKvC9IPmK5TNnow1x4WuwalW zYab+eoha1U+8Gl3Qq74sPD0N6WMYKJ5rUebJ2OZ7rIUhFgHYq9gkGm7zN7p+raL5kyp gvHdVZGtrc2dRiYNetz7xFXZqldlixr+//DNQTiXuuH+Xdt7UmhbXH8jm2Yfeff6mCw2 /eAp+WTUVQALJWjLd4yQwfSGfPr7zDcI0ej+EzlcarhPxktsgFSRuQbBKyMMRKWbcORe PM9o2uGnVveian9U56PaQOP7V1EHS8WaxdXsS9fvIuw0Wg4pJ2jY0bNCnneMvC4svSA+ 2mhw== X-Gm-Message-State: ALyK8tLS4uDR3aVNVOaU6R95hWPV6ALPTQ7labJ+AtiUr4uvRXhlv5bDWyGXZkgANquA2w== X-Received: by 10.25.31.9 with SMTP id f9mr2712401lff.127.1464808660997; Wed, 01 Jun 2016 12:17:40 -0700 (PDT) Received: from linux-samsung.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.gmail.com with ESMTPSA id 72sm3617930lja.32.2016.06.01.12.17.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Jun 2016 12:17:40 -0700 (PDT) From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= To: Florian Fainelli Subject: [PATCH] ARM: BCM5301X: Specify PHY of USB 2.0 in DT Date: Wed, 1 Jun 2016 21:16:25 +0200 Message-Id: <1464808585-14996-1-git-send-email-zajec5@gmail.com> X-Mailer: git-send-email 1.8.4.5 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160601_121804_522604_7E55C76E X-CRM114-Status: GOOD ( 12.23 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Pawel Moll , Ian Campbell , Hauke Mehrtens , =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= , Russell King , open list , Rob Herring , Kumar Gala , "open list:BROADCOM BCM5301X ARM ARCHITECTURE" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Driver for Northstar USB 2.0 PHY was added in 4.7-rc1 by: commit d3feb4067335 ("phy: bcm-ns-usb2: new driver for USB 2.0 PHY on Northstar"). It should be used to let EHCI platform driver init PHY. Signed-off-by: Rafał Miłecki --- arch/arm/boot/dts/bcm5301x.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/bcm5301x.dtsi b/arch/arm/boot/dts/bcm5301x.dtsi index 7d4d29b..9300e19 100644 --- a/arch/arm/boot/dts/bcm5301x.dtsi +++ b/arch/arm/boot/dts/bcm5301x.dtsi @@ -140,6 +140,22 @@ }; }; + phys { + compatible = "simple-bus"; + ranges = <0x00000000 0x18000000 0x00100000>; + #address-cells = <1>; + #size-cells = <1>; + + usb2_phy2: usb2-phy { + compatible = "brcm,ns-usb2-phy"; + reg = <0x0000c000 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>; @@ -217,6 +233,8 @@ #address-cells = <1>; #size-cells = <1>; + + phys = <&usb2_phy2>; }; usb3: usb3@23000 {