Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp303793imm; Fri, 6 Jul 2018 20:32:57 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcrt9ip74uxkv5AN2RCZ4v5C6JIXkuQQclBrHq7yAeCnKeQUxcc3qEyXAdp2X5ogLIpyVIU X-Received: by 2002:a62:1d97:: with SMTP id d145-v6mr13047867pfd.101.1530934377385; Fri, 06 Jul 2018 20:32:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530934377; cv=none; d=google.com; s=arc-20160816; b=SJpDM9Y5Y3Gg7FTCf4FufBF450Sg8mGeXiSirrBtMTFv5+mnPhcNcKddpszoROCL/F vLfqUHlTa9z7pfA11ev/OvqEYFlEEusOWmJdtQbHoY+SA/y5JYiWGtB3JW62JY+w430m pRZ+LUBd4+xGGxLwuOodLOsOSnh+QzYok7ha7dA1zPrLqavaa/I/Eha+JJnMIdGqPYMu XqAsB/st1ZkntPjXHnV501roAk4tINMa/7UfUpJQGyxxi+y2PBQKSIZkCd6svWe1LLkG aewJS9C2VuoehFkYc4SGt7M6siBDtwvmR1doL2mq0SGUIVQgKWissEKzK/BOgbjyKGVU FQVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:arc-authentication-results; bh=3/6cDOYK3avrZU0/Z4dpzyxffBKRhO/20+otxQkI8lU=; b=yg179rLQ9wavg4rhjrVq66xJgRn5x7yGJ6a6h7X11TA8WZjwVeDFbz4EBh8mnoapf7 89x9owyKa5/Ok3opedy4O77g3OaTzYwVWGLnrBDyl7oZ76r7a3qrr++Q7NlPEc6Qn8Ue v6yo8dHM6J56FefbJCKrS/+7+bUUz+v9yScZB6Bn4YeC6b8GS7HAPukJmSHHlk/qAyEu fvR/SJSWRROVIVbPmIGmsw+EVeoIEw1JrpAtG/x2F1MpQsBz26ee/PKJv3UgLS1/oPVA y3TJds7JdJZTPCouudvBGlXUGsKtNqNk8iWwmrDgtG2RJaFzzOEK/OlUA5cy85jKQa5o RKoA== 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 k6-v6si8921815pgk.256.2018.07.06.20.32.42; Fri, 06 Jul 2018 20:32:57 -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 S932810AbeGGDcE (ORCPT + 99 others); Fri, 6 Jul 2018 23:32:04 -0400 Received: from mail-ed1-f67.google.com ([209.85.208.67]:37261 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932635AbeGGDcC (ORCPT ); Fri, 6 Jul 2018 23:32:02 -0400 Received: by mail-ed1-f67.google.com with SMTP id v22-v6so9948733edq.4; Fri, 06 Jul 2018 20:32:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=3/6cDOYK3avrZU0/Z4dpzyxffBKRhO/20+otxQkI8lU=; b=UFSSdVzYmf1hQsIdOKv4c+EiJEERqeQt4K4DG7ktZzba3gtrBdM2OuSQmWIR5eReZB 0J7R3Qie7g9vmP79PuUqR4JBbD9owJn74pjFE1bEOda2dTF3k56WNoViUyRleX1DOK0Y Njch8JMAMzTbc4zzqKvMP/fme2Ol5vame15pC7PyDUT0U7rBb/QNdt373c55cqjp8alg 5c8nGxSELFHXAzeAxGjTR5//6EGiXImV1y9jmguTHOg2GkeeKPQpJxwzjvnC7aT5kq8s N+r2z2DozKmfcwuz2/a/+7K6q0O3UdCC+F6LYgGmvzwMHvPYfxrEpUNyRfa/DXIpy8tJ sYdw== X-Gm-Message-State: APt69E2ZbpZ7xcZoMs/MS1pgtyLSY+z/HhBA3tSpVxaATc4MvN8zGnV0 oz8mfMoS5v+WYs0+1ejXkLBcwVq5 X-Received: by 2002:a50:93c5:: with SMTP id o63-v6mr13319625eda.154.1530934321231; Fri, 06 Jul 2018 20:32:01 -0700 (PDT) Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com. [74.125.82.50]) by smtp.gmail.com with ESMTPSA id d11-v6sm5394405edo.63.2018.07.06.20.32.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 Jul 2018 20:32:00 -0700 (PDT) Received: by mail-wm0-f50.google.com with SMTP id z13-v6so15971447wma.5; Fri, 06 Jul 2018 20:32:00 -0700 (PDT) X-Received: by 2002:a1c:8c12:: with SMTP id o18-v6mr7256331wmd.120.1530934320222; Fri, 06 Jul 2018 20:32:00 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:adf:a15a:0:0:0:0:0 with HTTP; Fri, 6 Jul 2018 20:31:39 -0700 (PDT) In-Reply-To: <20180706153805.25842-4-icenowy@aosc.io> References: <20180706153805.25842-1-icenowy@aosc.io> <20180706153805.25842-4-icenowy@aosc.io> From: Chen-Yu Tsai Date: Sat, 7 Jul 2018 11:31:39 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [linux-sunxi] [PATCH v2 3/9] arm64: allwinner: dts: h6: add USB2-related device nodes To: Icenowy Zheng Cc: Rob Herring , Maxime Ripard , Kishon Vijay Abraham I , devicetree , linux-arm-kernel , linux-kernel , linux-sunxi Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 = ; > + 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 = ; > + 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 = ; > + 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? 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 = ; > + 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 = ; > + 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.