From patchwork Sat Apr 2 09:29:36 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 64920 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp250610lbc; Sat, 2 Apr 2016 02:31:44 -0700 (PDT) X-Received: by 10.98.13.88 with SMTP id v85mr35980843pfi.150.1459589504067; Sat, 02 Apr 2016 02:31:44 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ze7si20120198pac.34.2016.04.02.02.31.43; Sat, 02 Apr 2016 02:31:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753695AbcDBJbX (ORCPT + 7 others); Sat, 2 Apr 2016 05:31:23 -0400 Received: from mail-pa0-f46.google.com ([209.85.220.46]:36838 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753682AbcDBJbV (ORCPT ); Sat, 2 Apr 2016 05:31:21 -0400 Received: by mail-pa0-f46.google.com with SMTP id tt10so108468820pab.3 for ; Sat, 02 Apr 2016 02:31:21 -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=+e20laEinu40p491XZuZowPffDAXCxFfnByjRyIyScE=; b=XbhkE0cJ6iEXlF9oWtIU+DMQexSIdOHCSYEkrsvYlxKBnAYNYPHxH9Dj8zcLqoUsJl cQQghcZ09X/6FNtVeIv2YuG78Id3DaROS5kdKORAK5Jr5zvXbWkx2u6LpQNJbRcohO9E /1tDnsPCSoHdpvdtJzOQeb3e4kKhuNKfKK7Us= 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=+e20laEinu40p491XZuZowPffDAXCxFfnByjRyIyScE=; b=PtMcDe8lCshIsr7AWxCO2fYf6/H2IeiQHrs9fJEAfg+7R4n8Z3P+b1AzAacd/IRkQu ycUDXUUYZ9HBQ/EXcsIj1GnKixfbB9WY5Yk0VYVzeZca9HSniOVen/uOfWoqFgfQD77B Di1ROdqerS5UoB2g7M4+Mfqpiga4lLLugSsJfFvFWsobKa3tQxzSWIU41+7yLIZ8iQCD XXBYc6Y6nlWW3Vz+6SlT2PkqalvgI2QO49Y0WOjyK4Gc3nvf912tJnOMrPO299d1li5O +m4LRyyurJCePk7M6n51H3wUpBgQNsChvVA9ApZHq8jVa1/+rmMDHi2JHL70UqQFtrzp 2EnA== X-Gm-Message-State: AD7BkJKCm+2izKywd+St84Nm+dBvp9m6LwgHtsXbTUDZ8KdAPI459zAwI6fv9l2vgcf+3wI5 X-Received: by 10.66.66.234 with SMTP id i10mr38079382pat.114.1459589480627; Sat, 02 Apr 2016 02:31:20 -0700 (PDT) Received: from localhost.localdomain ([104.237.91.92]) by smtp.gmail.com with ESMTPSA id i9sm25425804pfi.95.2016.04.02.02.31.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 02 Apr 2016 02:31:19 -0700 (PDT) From: Guodong Xu To: xuwei5@hisilicon.com, mark.rutland@arm.com, robh@kernel.org, grant.likely@secretlab.ca, linus.walleij@linaro.org, arnd.bergmann@linaro.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kong.kongxinwei@hisilicon.com, Zhangfei Gao Subject: [PATCH v2 09/16] arm64: dts: add hi6220 usb node Date: Sat, 2 Apr 2016 17:29:36 +0800 Message-Id: <1459589383-16914-10-git-send-email-guodong.xu@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1459589383-16914-1-git-send-email-guodong.xu@linaro.org> References: <1459589383-16914-1-git-send-email-guodong.xu@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Zhangfei Gao Signed-off-by: Zhangfei Gao Signed-off-by: Wei Xu --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 32 +++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi index 664cc7a..2608b68 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi @@ -633,5 +633,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>; + }; }; };