Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp304622imm; Fri, 6 Jul 2018 20:34:35 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcatVqVrOQQi4VbowgPduXRaBMDA3Addf1Fc1czwaZ87rpbPotfTjBAdemwEDwfhIczJ302 X-Received: by 2002:aa7:808f:: with SMTP id v15-v6mr12989685pff.38.1530934474941; Fri, 06 Jul 2018 20:34:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530934474; cv=none; d=google.com; s=arc-20160816; b=FBPvRbPzf1WLgvs69bUhP5/8QXHOq48ATSeho0xiefTlsM3cAtK/LvvMLWo8iu07jd +OzSCafKL7MW1j7dsFk2zFjrGLuSOy3VurPGam7v+Fut878J30zIodFj4exeDK0106vx CkIYGBloheMT+a7FrohI4MiV1joTNp2tqQUCLDP1Muz0ls+KTUIOKzMSZouqehsHsgks 00tx6h2BCVtx3Tt6jVHE7EhXF0NoYtC6LMU3N6eEWdmXNyuqKSP8BcqUecLaSyz5ZlAC wZcM0tdXiBusSMH2l4PW1corpWrxzAc1DJJtgYiGP0IV9I+0TeZvNlRa6bUPe+ig3Riz cHSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:from:cc:to:subject :content-transfer-encoding:mime-version:references:in-reply-to:date :arc-authentication-results; bh=KDlGDmvoRHw1Amaks7dtPNWqC1J7V2rGplJA4pjr5P4=; b=MA9yN3TlZtNzPEt8d1iC6ssmlAfduOL8SuZ4XhiqiDbDQ4cKW7hMicS90g4zTzZZol ZqaLqW4Fnc02U0qYbMyTaxsB/saB5/44Pr9KDQtZrqfWsHYrVAIMHYun7YIZuQMHdL4u nlAGiALASCi75s0ZtnDZh/fgttxuBcr1QeYMb5iVlSOHtmv5yTE6WofzjCsjhmbwvo7Y cU70IdTCmEt6agbWzaxhbYmvEZ0skU6M/UR7eEAhE5YcxURrxcVsI25Sh7XPksODaxD4 hXG3FzfPd1i+0XwHJM4tg5ELh1T+43vYlq8LAFdMaY6QY37HLKESJj6FolsTffUg2+7P pP3g== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t10-v6si6275339plr.361.2018.07.06.20.34.20; Fri, 06 Jul 2018 20:34:34 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932812AbeGGDdk convert rfc822-to-8bit (ORCPT + 99 others); Fri, 6 Jul 2018 23:33:40 -0400 Received: from hermes.aosc.io ([199.195.250.187]:45145 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932635AbeGGDdj (ORCPT ); Fri, 6 Jul 2018 23:33:39 -0400 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id 137B964150; Sat, 7 Jul 2018 03:33:31 +0000 (UTC) Date: Sat, 07 Jul 2018 11:33:12 +0800 In-Reply-To: References: <20180706153805.25842-1-icenowy@aosc.io> <20180706153805.25842-4-icenowy@aosc.io> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Subject: Re: [linux-sunxi] [PATCH v2 3/9] arm64: allwinner: dts: h6: add USB2-related device nodes To: linux-arm-kernel@lists.infradead.org, Chen-Yu Tsai CC: devicetree , Maxime Ripard , linux-kernel , Kishon Vijay Abraham I , linux-sunxi , Rob Herring , linux-arm-kernel From: Icenowy Zheng Message-ID: <01FABE3C-DA8F-4526-9A6C-C89BDA197316@aosc.io> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 于 2018年7月7日 GMT+08:00 上午11:31:39, Chen-Yu Tsai 写到: >On Fri, Jul 6, 2018 at 11:37 PM, Icenowy Zheng wrote: >> Allwinner H6 has two USB2 ports, one OTG and one host-only. >> >> Add device tree nodes related to them. >> >> Signed-off-by: Icenowy Zheng >> --- >> arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 90 >++++++++++++++++++++ >> 1 file changed, 90 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi >b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi >> index c72da8cd9ef5..62fc0f5e10ba 100644 >> --- a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi >> +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi >> @@ -174,6 +174,96 @@ >> status = "disabled"; >> }; >> >> + usb2otg: usb@5100000 { >> + compatible = "allwinner,sun8i-a33-musb"; >> + reg = <0x05100000 0x0400>; >> + clocks = <&ccu CLK_BUS_OTG>; >> + resets = <&ccu RST_BUS_OTG>; >> + interrupts = IRQ_TYPE_LEVEL_HIGH>; >> + interrupt-names = "mc"; >> + phys = <&usb2phy 0>; >> + phy-names = "usb"; >> + extcon = <&usb2phy 0>; >> + status = "disabled"; >> + }; >> + >> + usb2phy: phy@5100400 { >> + compatible = "allwinner,sun50i-h6-usb-phy"; >> + reg = <0x05100400 0x14>, >> + <0x05101800 0x4>, >> + <0x05311800 0x4>; >> + reg-names = "phy_ctrl", >> + "pmu0", >> + "pmu3"; >> + clocks = <&ccu CLK_USB_PHY0>, >> + <&ccu CLK_USB_PHY3>; >> + clock-names = "usb0_phy", >> + "usb3_phy"; >> + resets = <&ccu RST_USB_PHY0>, >> + <&ccu RST_USB_PHY3>; >> + reset-names = "usb0_reset", >> + "usb3_reset"; >> + status = "disabled"; >> + #phy-cells = <1>; >> + }; >> + >> + ehci0: usb@5101000 { >> + compatible = "allwinner,sun50i-h6-ehci", >"generic-ehci"; >> + reg = <0x05101000 0x100>; >> + interrupts = IRQ_TYPE_LEVEL_HIGH>; >> + clocks = <&ccu CLK_BUS_OHCI0>, >> + <&ccu CLK_BUS_EHCI0>, >> + <&ccu CLK_USB_OHCI0>; >> + resets = <&ccu RST_BUS_OHCI0>, >> + <&ccu RST_BUS_EHCI0>; >> + status = "disabled"; >> + }; >> + >> + ohci0: usb@5101400 { >> + compatible = "allwinner,sun50i-h6-ohci", >"generic-ohci"; >> + reg = <0x05101400 0x100>; >> + interrupts = IRQ_TYPE_LEVEL_HIGH>; >> + clocks = <&ccu CLK_BUS_OHCI0>, >> + <&ccu CLK_USB_OHCI0>; >> + resets = <&ccu RST_BUS_OHCI0>; >> + status = "disabled"; >> + }; >> + >> + usb3phy: phy@5210000 { > >Maybe you should split this one out and put it in the USB 3.0 patch? Sorry, -EREBASE. > >ChenYu > >> + compatible = "allwinner,sun50i-h6-usb3-phy"; >> + reg = <0x5210000 0x10000>; >> + clocks = <&ccu CLK_USB_PHY1>; >> + resets = <&ccu RST_USB_PHY1>; >> + #phy-cells = <0>; >> + status = "disabled"; >> + }; >> + >> + ehci3: usb@5311000 { >> + compatible = "allwinner,sun50i-h6-ehci", >"generic-ehci"; >> + reg = <0x05311000 0x100>; >> + interrupts = IRQ_TYPE_LEVEL_HIGH>; >> + clocks = <&ccu CLK_BUS_OHCI3>, >> + <&ccu CLK_BUS_EHCI3>, >> + <&ccu CLK_USB_OHCI3>; >> + resets = <&ccu RST_BUS_OHCI3>, >> + <&ccu RST_BUS_EHCI3>; >> + phys = <&usb2phy 3>; >> + phy-names = "usb"; >> + status = "disabled"; >> + }; >> + >> + ohci3: usb@5311400 { >> + compatible = "allwinner,sun50i-h6-ohci", >"generic-ohci"; >> + reg = <0x05311400 0x100>; >> + interrupts = IRQ_TYPE_LEVEL_HIGH>; >> + clocks = <&ccu CLK_BUS_OHCI3>, >> + <&ccu CLK_USB_OHCI3>; >> + resets = <&ccu RST_BUS_OHCI3>; >> + phys = <&usb2phy 3>; >> + phy-names = "usb"; >> + status = "disabled"; >> + }; >> + >> r_ccu: clock@7010000 { >> compatible = "allwinner,sun50i-h6-r-ccu"; >> reg = <0x07010000 0x400>; >> -- >> 2.17.1 >> >> -- >> You received this message because you are subscribed to the Google >Groups "linux-sunxi" group. >> To unsubscribe from this group and stop receiving emails from it, >send an email to linux-sunxi+unsubscribe@googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. > >_______________________________________________ >linux-arm-kernel mailing list >linux-arm-kernel@lists.infradead.org >http://lists.infradead.org/mailman/listinfo/linux-arm-kernel