From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 41283C10DAA for ; Wed, 9 Sep 2020 16:06:13 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BAE95215A4 for ; Wed, 9 Sep 2020 16:06:12 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="CTYVuqBz"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="VL9tURqR" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BAE95215A4 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=ZCwnC//wC2ENJNfwruyX6Kv+6f/c8yOwL5tQRrglnhY=; b=CTYVuqBzsqsymz0kwXGwB7HcB mSKpeVlb57OQUwE9p/S/3PWd+Dyyul2A+NyatuvmavnbLwjiOCpHixt3duBH+PLyfG2CeATQeWgsq EC47GWjko6QqIPfXKQxCT8NHtP8E2D69PxjK+ZuiMfhjJt9x8OXFGquAGKIMPuCCObGeUUIgdMxT8 /ElIJcbnOVWS240XKE3mbTIlcAFMegqTpPHU2VOlnPlDWoxt+Ca+2pze9JTpusz1s7NjQoMDcg5gn pa1YiSAwE/qFSihu6/bYJgyVaX7tnF8quZnfT0QIvyasvSRR8tcrCPQA2WhO2UGS8iKBYdCMbkKjK zg62m3V2g==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kG2aX-00020s-Rt; Wed, 09 Sep 2020 16:04:49 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kG2a7-0001rY-1J for linux-arm-kernel@lists.infradead.org; Wed, 09 Sep 2020 16:04:26 +0000 Received: by mail-wr1-x443.google.com with SMTP id e16so3588225wrm.2 for ; Wed, 09 Sep 2020 09:04:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Au2QdkdUnP8EeZ4UbPsH8YnCrRkIO2DW1cWc/fcx3ig=; b=VL9tURqRXlKVTpETSDPhsp9OXu+mCAJu68RSoKDCw/rICZKm+wxc5o59uYqrarCU37 PoUPSO/k3gpZ838V7GjhNq8ebmlovfZZmTBTMfoGOCt8E7mRwy0cGY0kfWsUGJG541Vt I6n05WVOApPuahc/rZFaqWo4zyTjOLQ+J4Bpz+eLGvT7BFwrjUxRPsZ28baGDk2qRdAH 1bPUTLnKshQzjbDin5njqmcRZMbKjpHXsnrPEjmDIBJsc9KwDr2xRFXTEhy6I0W0onOt tCq17mX7rlvjF3ICuekc3d7SUyvE9u4I9Gpk91gW/aFVpOtXEoCWaekp2VU7ABXdp/Rh OKSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Au2QdkdUnP8EeZ4UbPsH8YnCrRkIO2DW1cWc/fcx3ig=; b=UIlz37yZunluTAWJNaQ82+PPQRp0qhQhJhqn78MeUSsDMTMcvWVY8DoxFcPDY5ZT3v v5F/v6f0wND2m+Q9U0cc3DGzRDJ4ZwwJ3NcOXQLZBHpxViesL8QIGGi2AGhz6aSxGE8f BL/Nq6lWgv9mLuT1M3rH89Q/jQE2nKFctGMIb9sYtxEJcehk/ENnZJ3jtkzqKn/7wW1A AN+MQ9rozCqaTMP68AB7vewvWquqRXJXGzqChj9lS4NQ6bfdj56u2HTWLLeG6eEhBU/N LybXuh6ICAshZuALsyVxy4JiGBeoju8StdKN2XARZr4cnFUBHXGZK8798xmsfv14SCoE gvGA== X-Gm-Message-State: AOAM533A7wUkqqFzZKAHdRATBx8N5RLSGGWK4mOLI3UJ2Y10pq5yoS6z r2p1t3OJmOqalnMnGBdZ+g+zuw== X-Google-Smtp-Source: ABdhPJx0xnUqFOa8xZ+mrYiFHmMSMi9oSnXj2Z9eCllaqjr3+7vHVkBxxcyI9q6RTZGZeOoeqg06wg== X-Received: by 2002:a5d:6784:: with SMTP id v4mr4476298wru.215.1599667461695; Wed, 09 Sep 2020 09:04:21 -0700 (PDT) Received: from bender.baylibre.local ([2a01:e35:2ec0:82b0:5405:9623:e2f1:b2ac]) by smtp.gmail.com with ESMTPSA id y6sm4850700wrn.41.2020.09.09.09.04.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Sep 2020 09:04:20 -0700 (PDT) From: Neil Armstrong To: khilman@baylibre.com Subject: [PATCH 4/5] arm64: dts: meson-axg: add USB nodes Date: Wed, 9 Sep 2020 18:04:08 +0200 Message-Id: <20200909160409.8678-5-narmstrong@baylibre.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20200909160409.8678-1-narmstrong@baylibre.com> References: <20200909160409.8678-1-narmstrong@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200909_120423_117633_D51D6EB4 X-CRM114-Status: GOOD ( 12.30 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Neil Armstrong Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This adds the USB Glue node, with the USB2 & USB3 controllers along the single USB2 PHY node. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 51 ++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi index 9ae6db16b8e6..0b68a383b60f 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi @@ -171,6 +171,46 @@ #size-cells = <2>; ranges; + usb: usb@ffe09080 { + compatible = "amlogic,meson-axg-usb-ctrl"; + reg = <0x0 0xffe09080 0x0 0x20>; + interrupts = ; + #address-cells = <2>; + #size-cells = <2>; + ranges; + + clocks = <&clkc CLKID_USB>, <&clkc CLKID_USB1_DDR_BRIDGE>; + clock-names = "usb_ctrl", "ddr"; + resets = <&reset RESET_USB_OTG>; + + dr_mode = "otg"; + + phys = <&usb2_phy1>; + phy-names = "usb2-phy1"; + + dwc2: usb@ff400000 { + compatible = "amlogic,meson-g12a-usb", "snps,dwc2"; + reg = <0x0 0xff400000 0x0 0x40000>; + interrupts = ; + clocks = <&clkc CLKID_USB1>; + clock-names = "otg"; + phys = <&usb2_phy1>; + dr_mode = "peripheral"; + g-rx-fifo-size = <192>; + g-np-tx-fifo-size = <128>; + g-tx-fifo-size = <128 128 16 16 16>; + }; + + dwc3: usb@ff500000 { + compatible = "snps,dwc3"; + reg = <0x0 0xff500000 0x0 0x100000>; + interrupts = ; + dr_mode = "host"; + maximum-speed = "high-speed"; + snps,dis_u2_susphy_quirk; + }; + }; + ethmac: ethernet@ff3f0000 { compatible = "amlogic,meson-axg-dwmac", "snps,dwmac-3.70a", @@ -1734,6 +1774,17 @@ clock-names = "core", "clkin0", "clkin1"; resets = <&reset RESET_SD_EMMC_C>; }; + + usb2_phy1: phy@9020 { + compatible = "amlogic,meson-gxl-usb2-phy"; + #phy-cells = <0>; + reg = <0x0 0x9020 0x0 0x20>; + clocks = <&clkc CLKID_USB>; + clock-names = "phy"; + resets = <&reset RESET_USB_OTG>; + reset-names = "phy"; + status = "okay"; + }; }; sram: sram@fffc0000 { -- 2.22.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel