From patchwork Mon Nov 14 11:15:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herve Codina X-Patchwork-Id: 19715 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2088132wru; Mon, 14 Nov 2022 03:20:28 -0800 (PST) X-Google-Smtp-Source: AA0mqf67EMjI/xRKjKEn+ZFgMN6y/6BYLi3gJaPVcr+uIqa2zVnwQAdq+YlRVS5aYqEevIKOkEON X-Received: by 2002:a17:906:d8ca:b0:7ae:e889:a49d with SMTP id re10-20020a170906d8ca00b007aee889a49dmr5789507ejb.81.1668424828146; Mon, 14 Nov 2022 03:20:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668424828; cv=none; d=google.com; s=arc-20160816; b=gYPfC/KajvScAdTBqYKFaSQBPBXDbeHrplIx8b8KrUsAbosAUyNwh2fs2JZttSCxNW F4Je57VsJoQ180bWHxjjrZstXUgRDC0FK/T6RVj4nJRzJXed9FD6VJy1ygOy73LG4FAR DTbzbAfaoDe757T9s7tT+p6IiLLVK0twkWg2m7BhpxEByptZ1ueVa+rv7zWTCfV4Wq0C pGj1fQis4cu0LVnRkIo00f+DKinIewQcOBn5mSvShfdAjd4WIjq/sxr5J9pY0b/JcHw4 LlYj8NXx6xw2imRF1yIvriO/M8/20C1D5IjD+lrlbL+ZRJI2EFc/u/GLZeuX9as/NoZP qWiw== 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=qYstxmdNtV0DeBo1GgQhNnu+wwgOyx92wB5h3OanKjQ=; b=ZSOOh5kVQBPaEbVSo9wQIwdC9rsL2Nz+9V+Qd3kY3kqhy2AAipII6KsYfpWSaDsSiE iadkEhyUtIp6NC8O1r+2KTdEgC9UFeVs65Y4l352bTjPQUaR9yMmLWm0sS5BbzCUFRSS iwWPvGG4+x2R4EN1LJCohb5XWUlATkXUMUW4WMyuCJVUt7RHhVcoF8GQw+N+hpXGE0L7 h0+7jKyYkLn/Ij18WaIq9sop0CW/4+FNWpRakqw9l20JM5o6teZUOQ3ndBRNzEXpBkRh ozqhXZuLvgBR3uQSUgUrWgwPNFeGIS8cKDNUYmQarTaZfC7F+O4g/Qs9xN8d+bzszfW9 lFtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=iYfs0Gsp; 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 o22-20020a509b16000000b00462e23be64fsi7702503edi.578.2022.11.14.03.20.03; Mon, 14 Nov 2022 03:20:28 -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=iYfs0Gsp; 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 S236209AbiKNLTx (ORCPT + 99 others); Mon, 14 Nov 2022 06:19:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236458AbiKNLRn (ORCPT ); Mon, 14 Nov 2022 06:17:43 -0500 Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::223]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DCA77642F; Mon, 14 Nov 2022 03:15:46 -0800 (PST) Received: (Authenticated sender: herve.codina@bootlin.com) by mail.gandi.net (Postfix) with ESMTPA id 5B6656000C; Mon, 14 Nov 2022 11:15:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1668424545; 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=qYstxmdNtV0DeBo1GgQhNnu+wwgOyx92wB5h3OanKjQ=; b=iYfs0GspcSL/oZR9hBwKvjRL/aofXnsZv0D8tL9PKvBAkedd3BP2tipjpYKZ8ZcqedIfPS ubAh2ow1hxzDi5bnQc9fAQefWcc/15okuV0tAlB86OUXSA8kjWdzoVHLQof8n15sMwNg/r aLqXwaBBop+rZYyOMeGtIqayHtOoMLQlcdQPznloln0Sur0EPS/oWNUZgOT8ahlwn7PHTl Kv+5CvNo4nAyhnfyUJu8UYyRlCWsQP/82TJiqmv00/TI8R7sr2EP8A2P0DZ2iISqn1VhEK 51hZnSwM/CCdp/DTkonmbXtTbmciCSA1SBxjNXIBaCXg8Bi8N+qiMHNGFsXBCg== 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 v2 6/7] ARM: dts: r9a06g032: Add the USBF controller node Date: Mon, 14 Nov 2022 12:15:12 +0100 Message-Id: <20221114111513.1436165-7-herve.codina@bootlin.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221114111513.1436165-1-herve.codina@bootlin.com> References: <20221114111513.1436165-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?1749470232421732821?= X-GMAIL-MSGID: =?utf-8?q?1749470232421732821?= 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";