From patchwork Tue Apr 5 13:27:33 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 65076 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp466644lbc; Tue, 5 Apr 2016 06:31:02 -0700 (PDT) X-Received: by 10.98.71.203 with SMTP id p72mr29676426pfi.165.1459863061081; Tue, 05 Apr 2016 06:31:01 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x2si26139497pfa.33.2016.04.05.06.31.00; Tue, 05 Apr 2016 06:31:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933181AbcDENas (ORCPT + 29 others); Tue, 5 Apr 2016 09:30:48 -0400 Received: from mail-pf0-f177.google.com ([209.85.192.177]:35040 "EHLO mail-pf0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933116AbcDENao (ORCPT ); Tue, 5 Apr 2016 09:30:44 -0400 Received: by mail-pf0-f177.google.com with SMTP id n1so11015133pfn.2 for ; Tue, 05 Apr 2016 06:30:43 -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=c/Ndlnr7jrxQpxp9o9KQG7UOq6isgGoib9NB8En83v4=; b=BEOHOTx9+rhiR1v5vDPZ5gC2kclS+aO+IITRe3mo26ox4VZU8OJ7qTnS1co+BGUT+m BLZ8i3qKTKRQWfgpmS8k6MSCT5T6Qqi49Ql2tBviO46pD8J9XaBNV4D96usze06JrzCQ IAwvqQpHUg6KxffmN0r4FbA5pV9xzDqQXotgg= 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=c/Ndlnr7jrxQpxp9o9KQG7UOq6isgGoib9NB8En83v4=; b=gwX3of6NwegzX/rBWeksM5FcF6oGRiKrezpiYR70WP32hF15C2wNI+44BA7C7g17kq TI7bzf3soxLYs2fjXC0S41kU+V6GQw0+l21wK3+TVI/hGfEO4Vgwg/dqetQQLIXxtUBv 5SEwP5Nx2UM+epR3gRKU79KgtlqRcWSPgaTwvL+rJTapmYSMcbMYOmSC7tYxtQV1pgJU hPcEqeq7YtV+gs0KVxDb5oye97bQQ2mT5dP7tCc+h9/FoBETLcNx8EKwJ0xdN+rxFcUm miIZt7mkTuKlwflh70hTHZOHjv8lee/zpSQ7b58iC5N+oNBQNQ/nnvbOf/Mr/MmS2mn0 xo/A== X-Gm-Message-State: AD7BkJKL60EEebEzDaq1wFCVgNtbSgz+uXmSczxCwQthF0ZhlSlyhZme1CAH7hkUp7qnvxiy X-Received: by 10.98.73.132 with SMTP id r4mr29701665pfi.118.1459863043395; Tue, 05 Apr 2016 06:30:43 -0700 (PDT) Received: from localhost.localdomain ([45.56.152.49]) by smtp.gmail.com with ESMTPSA id wh9sm8060481pab.8.2016.04.05.06.30.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 Apr 2016 06:30:42 -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 v3 09/16] arm64: dts: add hi6220 usb node Date: Tue, 5 Apr 2016 21:27:33 +0800 Message-Id: <1459862860-9775-10-git-send-email-guodong.xu@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1459862860-9775-1-git-send-email-guodong.xu@linaro.org> References: <1459862860-9775-1-git-send-email-guodong.xu@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Zhangfei Gao 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(+) -- 1.9.1 diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi index 53b5b25..3faa004 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi @@ -635,5 +635,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>; + }; }; };