From patchwork Thu Jan 5 15:22:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herve Codina X-Patchwork-Id: 39653 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp353769wrt; Thu, 5 Jan 2023 07:24:39 -0800 (PST) X-Google-Smtp-Source: AMrXdXv5Zua0jwX4ifvepYKuw2VzML5gC88yZUcSB3WDEpYVA/fDtm2HNywaYDs5ynKPYl75vTw5 X-Received: by 2002:a17:902:8f85:b0:193:678:df13 with SMTP id z5-20020a1709028f8500b001930678df13mr738794plo.36.1672932278947; Thu, 05 Jan 2023 07:24:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672932278; cv=none; d=google.com; s=arc-20160816; b=tmCZWRddPJ5Ujl2PoyqvSpJIUoDcyrunnngSsplaMhNrM5qn6du/l2fUSMz2pf6Y6O ZvoWysIt9nqdGYyh8mx2KDVM2HWrHeKuF/A2gAl9eW77t8qfH92+qD7Td3RfxyPOhMI5 w4TQJWK3sadS7jzK+74qpulSkIRNpC4K0YBiOMq3y+4BDsXH8VEMxukPHM/TnIkjE64g bnvqB9BsGXqYENgK8XrC0NiWGqnCzaiRQ+H4rPh7AYEv3eBEJfH0/aSKiXGcEM7RQSS0 2ZnG/hhEk/KoJHpYk8QT9WiJJdRyEdOK3a3rDvtR3K/E/cEkWFLkjGXiRC2pNeruEnD6 k4BA== 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=+XZGzN6U94HSP89ZNNAnrWGSBdM0wzp3qncg9eLddvc=; b=iZFjeDutGjEUgaY+oHfmOhonQ0ePm9alA2EA1hMBfSggNf8fndij7ONypl8JlacO/Y YPMSnH2pNKR+CR3cAQEW5SekEcOYRiNTFJDv//9KVSHBPgbj2yM90Y/x4C6h2WIbQiMc gh6cgk6voeFVbu5qclEPJHysBT8+GH8+6/DSbVUJIV34giWYAdia/RJsi3Fv6QEAtdjR h84K/iVd4lFrFBD+2AOt2hmnl0jzHtdK3+o8FesI8b2pl2u/VfHB8ak1WpTp4LLT35fM N5qex0PBCSoHrNMdmogofFUxqd1g88RwyzWv9lUxn4RDtMzcmW2cSQ/+siFbO45PH8CJ es8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=amAWC3T9; 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 b10-20020a170903228a00b001914a7519besi2516539plh.234.2023.01.05.07.24.26; Thu, 05 Jan 2023 07:24: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=amAWC3T9; 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 S234663AbjAEPXt (ORCPT + 99 others); Thu, 5 Jan 2023 10:23:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233803AbjAEPXb (ORCPT ); Thu, 5 Jan 2023 10:23:31 -0500 Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::224]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 104BB3B8; Thu, 5 Jan 2023 07:23:28 -0800 (PST) Received: (Authenticated sender: herve.codina@bootlin.com) by mail.gandi.net (Postfix) with ESMTPA id 9E266E000F; Thu, 5 Jan 2023 15:23:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1672932207; 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=+XZGzN6U94HSP89ZNNAnrWGSBdM0wzp3qncg9eLddvc=; b=amAWC3T9BuhRJoO5ih+I6nAecTLOQfdf5mntC2V7L2lV6DoIMU65HcIy/QtLAVcf9A/gpO tJoOU8nxDaTs4RhSbmtamxOKEev8gR+FfBb/MYsUCKOVIm48yUUyiC+AJut7XgU+Jc61/K i8j/dSthr0JkUngXAIqyba3zc+RqkE22LddISLSInghX1sGgsWu+FCW+QuIAp9offw7r2a kKNRgWOndxrlxCkg6FDrUjppoA07hMCj0urTOT2ZdL/SqNxBrHNdDpQs3+d2/a8BS7KVqy zcF1cNNWaPBV7WgzQ6A5cVTsnW0I9KKygJDvEiCKDOQs6AHU2k7+UAZr+tm+1g== 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 v5 4/5] ARM: dts: r9a06g032: Add the USBF controller node Date: Thu, 5 Jan 2023 16:22:56 +0100 Message-Id: <20230105152257.310642-5-herve.codina@bootlin.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230105152257.310642-1-herve.codina@bootlin.com> References: <20230105152257.310642-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?1754196637174614008?= X-GMAIL-MSGID: =?utf-8?q?1754196637174614008?= 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 41e19c0986ce..0fa565a1c3ad 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";