Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp674648pxu; Wed, 14 Oct 2020 10:43:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwVpurVD4IarmG/F1GGJSxhO8blNiIAjekPmYdE7fzsmb+nBojMwlR00G2pHrcIDfeFyjc0 X-Received: by 2002:a17:906:660f:: with SMTP id b15mr135319ejp.333.1602697406452; Wed, 14 Oct 2020 10:43:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602697406; cv=none; d=google.com; s=arc-20160816; b=iPMCdOE2mpW6rDa1I6V1KUrBXieblJku0nJ0fSvLea2gG8whOx6R+NmTsjS0alFx+w o5YYspfj02/D63NLhPyDm0NgDh3SCCUKNyfYppCOyJY8yOFy/S2DYGbZHl35htc2ALO0 3ZfYZE5442DIe55qF6rpRU4RGWZ2Z7E2iuQxRYu9bIMxrVz+7dy50bLBWnRVkq9vrZr7 TYIFtLwx9VUw3IlmtgKNLPTEDfUTuQhCfW0WRk9r3Y7o67KcUpDjiAjb3B78+kB5pqUq FSlNqdBJm+iyAMPkCAFvcRV1zjgKfKAVelQe6Z0EdPaZ0+Nie1qymD+7AwpXRhrGheHy bl6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=BaFCO6gd2Q1mLQwHFnqU3U26NuiKVA9TtHwt6ApIueE=; b=EFyn+/FDJhTjlp3qo/IA19V8K+Zb1XCFRCXUA+so6mouz4jUgj+Rf+K0wDoaQN/5JL QABoyiqUzp5aL2K0u+N9qmHDUDjHt3uNOmQKhuVWeBXrzYvI4AewleVAZ43MYaabmGrf /VWdt4/sRcpX9RbDMdyOg2q9Fx8xX2xSrT90NFEDHMjDkqToijKFtNwZuzWjMQPHDnl/ cXYFNvZuqRHqbgrD4JY1EJDRTylfbU6b4d3Aeox4Z+LGIP5NCClKsQZnH1UR8ibqZvxU NF3G3ulidBFT95Y73di25pabPggMdwrwOPh8Yukp7NfDiaHqa5a8EIHRSlefM6XC9XVL yCWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=z4uKG0Ta; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c25si251954ejs.444.2020.10.14.10.43.03; Wed, 14 Oct 2020 10:43:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=z4uKG0Ta; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731927AbgJNQYa (ORCPT + 99 others); Wed, 14 Oct 2020 12:24:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727888AbgJNQY3 (ORCPT ); Wed, 14 Oct 2020 12:24:29 -0400 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FE90C061755 for ; Wed, 14 Oct 2020 09:24:29 -0700 (PDT) Received: by mail-wm1-x341.google.com with SMTP id l15so107560wmh.1 for ; Wed, 14 Oct 2020 09:24:29 -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=BaFCO6gd2Q1mLQwHFnqU3U26NuiKVA9TtHwt6ApIueE=; b=z4uKG0TaAnEUK/LOW7FQKsbgAlqV3bAVForRdnQloJOHZPjG1nEzA/5v4H7w5vHGM7 vUN6Q5fMr+ZnHXhOI9GANlsYcH/LdlwtxI4NZjL1U6RixIjOmYo436hRk4FwmVLXaDu8 s+qfQJ5m9tXNH8KirkktpfDxWYa587OdSB1JGHzmLwYUG7I+AllUPQ+iGNfig7lSLj6O S0I/ziaRhEMGq/hQ4Pp6jTbev5zGlQ0hYOZmgOVmpkU/o0j8Wlaj+q71ETFCUTyD604F S8OcPWoHOXiiirWszhsWBi3P/EivygmiJi51n1EXgQM6IDCEFa8ihKz6JzLewBd4xZPE Z+xA== 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=BaFCO6gd2Q1mLQwHFnqU3U26NuiKVA9TtHwt6ApIueE=; b=SnoQCtO04Q47FlKXeA/xnSqpKWvKUASL3/NlilEf7V4oi5mKLYPzUgt+688v1LhlZo QWxI+WGtM5u9rlCYlj/ysd0X9jvPPDplJc1po2ePtZy+KzP09rBF9r9OqDBq11G9dhG2 7LfZ/s4bj3RIcLJDgBi+1uHBUx9dvZ6ivnxThZa0IVzuG2e3p3UOqb4zLxfhHRpObv7n cW6XRJIdHGYYIwuUzEpor7zPUPJ1nSysMNnSxP1cYkfZ9uF7ObuhrE6yXgcqqvDRzdf1 fq7VzCLKkMXVZ4KyEB016KKnJLex6EWNAvqZIghcX3t+lgyLR14zB/mPQWTiT1GgUHj3 GoiA== X-Gm-Message-State: AOAM533ODJ33D1SGhqLAEl0v6i6r7MvkPSfOsSZdep2YYo0enUBsS+zY uiJ+vn4Oc2THbNmQwJeLtwJj1RGqxsLsGw== X-Received: by 2002:a05:600c:2217:: with SMTP id z23mr209839wml.133.1602692667896; Wed, 14 Oct 2020 09:24:27 -0700 (PDT) Received: from localhost.localdomain (138.165.185.81.rev.sfr.net. [81.185.165.138]) by smtp.gmail.com with ESMTPSA id x21sm206227wmi.3.2020.10.14.09.24.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Oct 2020 09:24:26 -0700 (PDT) From: Fabien Parent To: linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Cc: matthias.bgg@gmail.com, robh+dt@kernel.org, Fabien Parent Subject: [PATCH 2/2] arm64: dts: mediatek: mt8516: add usb1 node Date: Wed, 14 Oct 2020 18:24:04 +0200 Message-Id: <20201014162404.1312544-2-fparent@baylibre.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201014162404.1312544-1-fparent@baylibre.com> References: <20201014162404.1312544-1-fparent@baylibre.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The MT8516 has 2 USB instances. Add support for the second USB instance. usb1 can only work in host mode. Signed-off-by: Fabien Parent --- arch/arm64/boot/dts/mediatek/mt8516.dtsi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8516.dtsi b/arch/arm64/boot/dts/mediatek/mt8516.dtsi index 50049b6c1ba7..eca7969e15ab 100644 --- a/arch/arm64/boot/dts/mediatek/mt8516.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8516.dtsi @@ -455,6 +455,20 @@ usb0: usb@11100000 { status = "disabled"; }; + usb1: usb@11190000 { + compatible = "mediatek,mtk-musb"; + reg = <0 0x11190000 0 0x1000>; + interrupts = ; + interrupt-names = "mc"; + phys = <&usb1_port PHY_TYPE_USB2>; + clocks = <&topckgen CLK_TOP_USB>, + <&topckgen CLK_TOP_USBIF>, + <&topckgen CLK_TOP_USB_1P>; + clock-names = "main","mcu","univpll"; + dr_mode = "host"; + status = "disabled"; + }; + usb_phy: usb@11110000 { compatible = "mediatek,generic-tphy-v1"; reg = <0 0x11110000 0 0x800>; @@ -469,6 +483,13 @@ usb0_port: usb-phy@11110800 { clock-names = "ref"; #phy-cells = <1>; }; + + usb1_port: usb-phy@11110900 { + reg = <0 0x11110900 0 0x100>; + clocks = <&topckgen CLK_TOP_USB_PHY48M>; + clock-names = "ref"; + #phy-cells = <1>; + }; }; auxadc: adc@11003000 { -- 2.28.0