From patchwork Wed Jun 1 20:07:07 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: 9148097 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 5890D60757 for ; Wed, 1 Jun 2016 20:08:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4E47922473 for ; Wed, 1 Jun 2016 20:08:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 420BB26C9B; Wed, 1 Jun 2016 20:08:57 +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 D97C722473 for ; Wed, 1 Jun 2016 20:08:56 +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 1b8CQd-0004fc-98; Wed, 01 Jun 2016 20:07:47 +0000 Received: from mail-lf0-x244.google.com ([2a00:1450:4010:c07::244]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1b8CQb-0004b1-AT for linux-arm-kernel@lists.infradead.org; Wed, 01 Jun 2016 20:07:45 +0000 Received: by mail-lf0-x244.google.com with SMTP id 65so3075556lfq.1 for ; Wed, 01 Jun 2016 13:07:24 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=aIcZkyYuPyZ9eFjvyd1m0jpZQK4WDo2Qc9pIQEaza2g=; b=jU79SCS6HitbKfyYYnq/ptkQNDPNYuz31PkzfYK4JoHeF2moQYGRYWwTroJni0Elec BGjSMADDh8UDTgHknPql6n2/AKLVrvlLnhA8DjYAd+f/T554j5xU//yfSAAXe+MebJyM v8Np+nOyvxq46QWY/iGyqJDd0Wq7vr89IM+fCckoibSAqrRut5ib/ia97N3a+mXaAXwf CLFwuF0GZQKmCiNIqyQJFQYQpvnGwm2dAv8OZ1KhbRnII04wq98UMHta1DIwxJePaGXk KQz2ogVOy3ivVmQv7f5tjf7+yh8y9OKqGrRWQHseuO7oPd8uVsaHHm3hNbwAaQphUje8 SEdw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=aIcZkyYuPyZ9eFjvyd1m0jpZQK4WDo2Qc9pIQEaza2g=; b=lBaOF7e61VWmpoB1tXW4eKxiXEz1R+R9B0erRfJKYLIFVa9ALvnJRn0GxqUNLJptd6 RPUeSCazO+1WPevLN3zaz2/DgFhtIieNG1AvKtLqrZERU0n26BifZV17WTbNL4j3LVit 0aqkNwddAn51+g+Jzm2taSMsp4PWFBCHt2CV4fCCGYc/72cnpP2cEWhczfAoP2Qns3tC 0eIMjp417vJuwMXdcrBafUMgp4zdNxZgZk50/2+9gnDY7BgoRdMZgzbzp6m0yqQ1l1Qd TM5lwBu+Zzn6yxdiybRMzS6yIh3mSjgnTXQPhg7CWZfDEOhh5Ct4R81Ou4GhkirafyLJ xCNA== X-Gm-Message-State: ALyK8tJTaC2cpU61b/7qmF4TrpZwNFmUiBA+dikzVEgvIbsBePFZLS7wkoskgkIBrDEuZw== X-Received: by 10.25.138.7 with SMTP id m7mr2886527lfd.16.1464811643394; Wed, 01 Jun 2016 13:07:23 -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 l5sm6063953lbk.1.2016.06.01.13.07.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Jun 2016 13:07:22 -0700 (PDT) From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= To: Florian Fainelli Subject: [PATCH V2] ARM: BCM5301X: Specify PHY of USB 2.0 in DT Date: Wed, 1 Jun 2016 22:07:07 +0200 Message-Id: <1464811627-12218-1-git-send-email-zajec5@gmail.com> X-Mailer: git-send-email 1.8.4.5 In-Reply-To: <1464808585-14996-1-git-send-email-zajec5@gmail.com> References: <1464808585-14996-1-git-send-email-zajec5@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160601_130745_554274_C207837B X-CRM114-Status: GOOD ( 12.81 ) 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 , "open list:BROADCOM BCM5301X ARM ARCHITECTURE" , 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 --- V2: Add usb2_phy as child of root node instead of adding separated phys "simple-bus". --- arch/arm/boot/dts/bcm5301x.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/bcm5301x.dtsi b/arch/arm/boot/dts/bcm5301x.dtsi index 7d4d29b..142811d 100644 --- a/arch/arm/boot/dts/bcm5301x.dtsi +++ b/arch/arm/boot/dts/bcm5301x.dtsi @@ -140,6 +140,15 @@ }; }; + usb2_phy: usb2-phy { + 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>; @@ -217,6 +226,8 @@ #address-cells = <1>; #size-cells = <1>; + + phys = <&usb2_phy>; }; usb3: usb3@23000 {