From patchwork Tue Apr 12 23:55:45 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 8817611 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 06942C0553 for ; Wed, 13 Apr 2016 00:01:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 27D4D202D1 for ; Wed, 13 Apr 2016 00:01:58 +0000 (UTC) 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.kernel.org (Postfix) with ESMTPS id F35AA20160 for ; Wed, 13 Apr 2016 00:01: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 1aq8E4-0003JE-77; Wed, 13 Apr 2016 00:00:08 +0000 Received: from mail-pa0-x22d.google.com ([2607:f8b0:400e:c03::22d]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aq8Cx-0001n1-Mo for linux-arm-kernel@lists.infradead.org; Tue, 12 Apr 2016 23:59:03 +0000 Received: by mail-pa0-x22d.google.com with SMTP id zm5so22467034pac.0 for ; Tue, 12 Apr 2016 16:58:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=aqGiwCrNxGW084xgcVPPkHU0SVawNZqXjNEgUJ3IR1k=; b=AFZuiP4h+7gWBthG40ZIjfRfP6wQGDOny9FpAeUUnDBaUk0TUQ0vhoY92AxVXGHrb8 H5HKIHyz44mVH2sDMs75Od33zNuJumllZaeQY++xjipOetkXwXADIViqJT+YiH5g+HEI qevI3eQ9fnrNpxatgXTseaD/lIH4etj5uO6rY= 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; bh=aqGiwCrNxGW084xgcVPPkHU0SVawNZqXjNEgUJ3IR1k=; b=ZDoMfOfYYFLEQB/p7guyA1rnhcvTL41pqn6cWDAwgLbtKMWsgfiiH48EUrAG2OmlM9 HtiDemmyjh0h7VIAVUDaZ8SUQtnoopc9hGpz1r8SV93bjsPo+TxZwwpA2hjPEtpdcJJK HkgpQOpe1W6cnRBRaQHpjiHuLWFkVWOk3I8Qt+IS2t58RGZZiWCMeC245aI7FJFsIMUW JV3Lcen7kqh7ASho1XTamohi5g8/KTmHfZNMeugKWFdbObOvR0/PfZCZEg82salsGVoy G7xG/fVEElAT7n3rY/nfAAdysXUYXytiGkkrBBM6vtxaBKOcm5oMzRRhGUYe8V7oN3qU A5eA== X-Gm-Message-State: AOPr4FXtZ6psXX1XshOTGJL8TiPGaD09Z9OuM6O+TNwmqB7h7tkbjluz0abQpFH/MZov1wam X-Received: by 10.66.101.67 with SMTP id fe3mr8575894pab.43.1460505518722; Tue, 12 Apr 2016 16:58:38 -0700 (PDT) Received: from localhost.localdomain ([104.237.91.226]) by smtp.gmail.com with ESMTPSA id i1sm46165795pfj.17.2016.04.12.16.58.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 12 Apr 2016 16:58:38 -0700 (PDT) From: Guodong Xu To: xuwei5@hisilicon.com, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, catalin.marinas@arm.com, will.deacon@arm.com, haojian.zhuang@linaro.org, linus.walleij@linaro.org, tony@atomide.com Subject: [PATCH v4 09/16] arm64: dts: Add hi6220 usb node Date: Wed, 13 Apr 2016 07:55:45 +0800 Message-Id: <1460505352-13157-10-git-send-email-guodong.xu@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1460505352-13157-1-git-send-email-guodong.xu@linaro.org> References: <1460505352-13157-1-git-send-email-guodong.xu@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160412_165900_177505_E377B3E5 X-CRM114-Status: GOOD ( 10.87 ) X-Spam-Score: -2.7 (--) 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: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Zhangfei Gao MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Zhangfei Gao Add USB nodes for Hi6220 Signed-off-by: Zhangfei Gao Signed-off-by: Wei Xu Acked-by: Rob Herring --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 32 +++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi index 4fc0347..4d1d31f 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi @@ -615,5 +615,37 @@ pinctrl-0 = <&i2c2_pmx_func &i2c2_cfg_func>; status = "disabled"; }; + + fixed_5v_hub: regulator@0 { + compatible = "regulator-fixed"; + regulator-name = "fixed_5v_hub"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + regulator-boot-on; + gpio = <&gpio0 7 0>; + regulator-always-on; + }; + + usb_phy: usbphy { + compatible = "hisilicon,hi6220-usb-phy"; + #phy-cells = <0>; + phy-supply = <&fixed_5v_hub>; + hisilicon,peripheral-syscon = <&sys_ctrl>; + }; + + usb: usb@f72c0000 { + compatible = "hisilicon,hi6220-usb"; + reg = <0x0 0xf72c0000 0x0 0x40000>; + phys = <&usb_phy>; + phy-names = "usb2-phy"; + clocks = <&sys_ctrl HI6220_USBOTG_HCLK>; + clock-names = "otg"; + dr_mode = "otg"; + g-use-dma; + g-rx-fifo-size = <512>; + g-np-tx-fifo-size = <128>; + g-tx-fifo-size = <128 128 128 128 128 128>; + interrupts = <0 77 0x4>; + }; }; };