From patchwork Fri Jan 12 06:02:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Herrenschmidt X-Patchwork-Id: 10159631 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 59F4F602D8 for ; Fri, 12 Jan 2018 06:02:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4A4232890A for ; Fri, 12 Jan 2018 06:02:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3F24628973; Fri, 12 Jan 2018 06:02:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C5F1D2890A for ; Fri, 12 Jan 2018 06:02:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Mime-Version:Date:To:From:Subject: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=yuxdOw22X+8Q0dbp2CbH+gVi8hmeR77Wl9tAowYwQVY=; b=ATE/pGtjA/78y6 o1HbWTGFkpfoXzWPy1tSFjqxok1v3OIuWChpkxxk75AYvAMV/UeMN706BSDkL50TVXilPMfvkvQ3q iUFqO8zFtD+zj9xIRH23YL2EdFJRKtg/d156d2NAsL4C37CyiDeWD5goJigN62pX36cDoz0JE0hlB vADBmqdtB9p4evGVyzaTlCMti7vr0JdpuPGX5vZAW5YkFH/7AcUAAFMO0uZNahgQbW9aSCLARl4Jg 5M2BA2/lE/sRKV/jTZo0+ZrIL8AhdS1rqHvsQTH/CiUq8MtOGb0aXOZDRojeqJFRKaqO4pozHYhoT Eqfe6i1tTnYSL1kSvzVw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eZsQD-0001Wb-TU; Fri, 12 Jan 2018 06:02:33 +0000 Received: from gate.crashing.org ([63.228.1.57]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eZsQ0-0001K5-7L for linux-arm-kernel@lists.infradead.org; Fri, 12 Jan 2018 06:02:21 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.14.1) with ESMTP id w0C6210A031203; Fri, 12 Jan 2018 00:02:02 -0600 Message-ID: <1515736921.31850.92.camel@kernel.crashing.org> Subject: [PATCH 1/2] dts: ARM: Aspeed-g5: Add missing USB clock and pinmux From: Benjamin Herrenschmidt To: devicetree@vger.kernel.org Date: Fri, 12 Jan 2018 17:02:01 +1100 X-Mailer: Evolution 3.26.3 (3.26.3-1.fc27) Mime-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180111_220220_494663_0F01E102 X-CRM114-Status: UNSURE ( 6.21 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Joel Stanley , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This adds the clock and pinmux default references to the Aspeed G5 SoC base device-tree for USB. The clk and pinmux drivers already know about these. Signed-off-by: Benjamin Herrenschmidt --- arch/arm/boot/dts/aspeed-g5.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi index 8b3986a941f5..3c5c9b952ba8 100644 --- a/arch/arm/boot/dts/aspeed-g5.dtsi +++ b/arch/arm/boot/dts/aspeed-g5.dtsi @@ -142,6 +142,7 @@ compatible = "aspeed,ast2500-ehci", "generic-ehci"; reg = <0x1e6a1000 0x100>; interrupts = <5>; + clocks = <&syscon ASPEED_CLK_GATE_USBPORT1CLK>; status = "disabled"; }; @@ -149,6 +150,7 @@ compatible = "aspeed,ast2500-ehci", "generic-ehci"; reg = <0x1e6a3000 0x100>; interrupts = <13>; + clocks = <&syscon ASPEED_CLK_GATE_USBPORT2CLK>; status = "disabled"; }; @@ -157,6 +159,7 @@ reg = <0x1e6b0000 0x100>; interrupts = <14>; #ports = <2>; + clocks = <&syscon ASPEED_CLK_GATE_USBUHCICLK>; status = "disabled"; }; @@ -1387,6 +1390,21 @@ groups = "USBCKI"; }; + pinctrl_usb2ah_default: usb2ah_default { + function = "USB2AH"; + groups = "USB2AH"; + }; + + pinctrl_usb11bhid_default: usb11bhid_default { + function = "USB11BHID"; + groups = "USB11BHID"; + }; + + pinctrl_usb2bh_default: usb2bh_default { + function = "USB2BH"; + groups = "USB2BH"; + }; + pinctrl_vgabiosrom_default: vgabiosrom_default { function = "VGABIOSROM"; groups = "VGABIOSROM";