From patchwork Tue Dec 13 13:33:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herve Codina X-Patchwork-Id: 32820 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp121511wrn; Tue, 13 Dec 2022 05:34:38 -0800 (PST) X-Google-Smtp-Source: AA0mqf7ylfjQQiaCDJcDiZCTAFjY7XoZuWAB0dkFQOD/Fx+NdIg67QO1F6iVwtlTxZnhFi89KY6A X-Received: by 2002:a05:6402:3907:b0:461:4c59:1284 with SMTP id fe7-20020a056402390700b004614c591284mr17199441edb.12.1670938478744; Tue, 13 Dec 2022 05:34:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670938478; cv=none; d=google.com; s=arc-20160816; b=SyKlvMRkZtCRWEiOXOGXmaTEJAgz2Ll1Kc8wjUxhnIf+pq38gM5f6aZUAIJwGY7y49 4EKRWsEXAPs58d4PBP7/G3UVCzGft9ZyxijdY+wmITO3a8hQO8FwkwMTokMa4PeH+SVk S8/dH1qsxRvuptyajjn77gfELVnt58ssGCU3sSCAd+eLOBC410sGkIfedW6g1nvWSAhm VYEPFN5lfZrE8G+vCHI3u6SQNAiFUAR/2fv4eATmSVKdti/avAxBVi35ksfMA+WCYjmc +DATWuqcvFnQ94vmcufCwjeR+3DY7VtgeWioCXqbHk64FI/baI8bGYKOt5mH954eNtAC uQ1A== 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=dzhTUTPRHyIacSgREWImoiDYM8NXVOZGD2z2nUMacwI=; b=0mYyhM4S1ARKv2fynnUgC/2nnWFUxYl2Ws5thUMszIJGWwGwcL71CA+iuem2eFb1mB ORXgRrqGpKnzFpD45lExszW2YQUv6LdGICdMUbUkq0oGaI6aRSO/Br02/e7xE2TFhF5W mvyTLx2xROdMDab039OgnjTNKBKWkUQlVZHK68q9v5sqZi/j2Sr2E8yWkDURZiQv9MdK o2PJl2s2TN/wF3uiFC0MfhaiDZpJEJIajHPak8tOivvBvuQ0CCqDd9YKRvX4H+lm/CZb AWaRRoavgRi6N4sBJAGEFLUXYSgAD75oO1w8RobcVJAknQiA9sGnsKms3A8jnUGlpXxh QoPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Nj43dL5q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i6-20020a0564020f0600b0046acab646ecsi10271047eda.81.2022.12.13.05.34.15; Tue, 13 Dec 2022 05:34:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Nj43dL5q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229786AbiLMNdl (ORCPT + 99 others); Tue, 13 Dec 2022 08:33:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47104 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235619AbiLMNdd (ORCPT ); Tue, 13 Dec 2022 08:33:33 -0500 Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::222]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58AC11A80B; Tue, 13 Dec 2022 05:33:25 -0800 (PST) Received: (Authenticated sender: herve.codina@bootlin.com) by mail.gandi.net (Postfix) with ESMTPA id 61B0B4000A; Tue, 13 Dec 2022 13:33:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1670938404; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dzhTUTPRHyIacSgREWImoiDYM8NXVOZGD2z2nUMacwI=; b=Nj43dL5qObjhhCcvvSrEfXtbSr6tkdEvlE9FTrUvWzQVizHIROkvAu9JhrNYVE66aja/TO oagrqrxwfGxfzT1F2gRTeZKNR2M4RPOvaq/gsBamMpRW25pMtb9VLx7Zv/wLk5yPuNhODB 9t1p32yIVE7hhtYoou5u5TyyAZ3s9guM7rYOFK+r+BGlikOEfYVKISxzZVAzKxLI++d8V+ 1x5JB7e/HL4lAyHG9U0ZGHDJkX39nLe+1KShlNdA1wkK/1QlqJWRu6i+g/1j1iJceTi3Np 5nTvdZhXYxvn3XavYmSFyKLzlHSWT1yUZRLFSg29nYXA4TPFCK6MLvdi5OPTow== From: Herve Codina To: Geert Uytterhoeven , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Herve Codina , Greg Kroah-Hartman , Magnus Damm , Gareth Williams Cc: linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, Thomas Petazzoni , Miquel Raynal Subject: [PATCH v4 4/5] ARM: dts: r9a06g032: Add the USBF controller node Date: Tue, 13 Dec 2022 14:33:01 +0100 Message-Id: <20221213133302.218955-5-herve.codina@bootlin.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221213133302.218955-1-herve.codina@bootlin.com> References: <20221213133302.218955-1-herve.codina@bootlin.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752105986442557811?= X-GMAIL-MSGID: =?utf-8?q?1752105986442557811?= Add the USBF controller available in the r9a06g032 SoC. Signed-off-by: Herve Codina Reviewed-by: Geert Uytterhoeven --- arch/arm/boot/dts/r9a06g032.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/r9a06g032.dtsi b/arch/arm/boot/dts/r9a06g032.dtsi index 563024c9a4ae..a4bb069457a3 100644 --- a/arch/arm/boot/dts/r9a06g032.dtsi +++ b/arch/arm/boot/dts/r9a06g032.dtsi @@ -117,6 +117,18 @@ dmamux: dma-router@a0 { }; }; + udc: usb@4001e000 { + compatible = "renesas,r9a06g032-usbf", "renesas,rzn1-usbf"; + reg = <0x4001e000 0x2000>; + interrupts = , + ; + clocks = <&sysctrl R9A06G032_HCLK_USBF>, + <&sysctrl R9A06G032_HCLK_USBPM>; + clock-names = "hclkf", "hclkpm"; + power-domains = <&sysctrl>; + status = "disabled"; + }; + pci_usb: pci@40030000 { compatible = "renesas,pci-r9a06g032", "renesas,pci-rzn1"; device_type = "pci";