From patchwork Mon May 23 03:01:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neal Liu X-Patchwork-Id: 12858414 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E7ABFC433F5 for ; Mon, 23 May 2022 03:04:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353367AbiEWDEd (ORCPT ); Sun, 22 May 2022 23:04:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234898AbiEWDE2 (ORCPT ); Sun, 22 May 2022 23:04:28 -0400 Received: from twspam01.aspeedtech.com (twspam01.aspeedtech.com [211.20.114.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D6E324F39; Sun, 22 May 2022 20:04:27 -0700 (PDT) Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 24N2lhjh078067; Mon, 23 May 2022 10:47:43 +0800 (GMT-8) (envelope-from neal_liu@aspeedtech.com) Received: from localhost.localdomain (192.168.10.10) by TWMBX02.aspeed.com (192.168.0.24) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 23 May 2022 11:01:39 +0800 From: Neal Liu To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Joel Stanley , "Andrew Jeffery" , Felipe Balbi , Sumit Semwal , =?utf-8?q?Christian_K=C3=B6nig?= , Geert Uytterhoeven , "Li Yang" CC: Neal Liu , , , , , , , , Subject: [PATCH v5 2/3] ARM: dts: aspeed: Add USB2.0 device controller node Date: Mon, 23 May 2022 11:01:33 +0800 Message-ID: <20220523030134.2977116-3-neal_liu@aspeedtech.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220523030134.2977116-1-neal_liu@aspeedtech.com> References: <20220523030134.2977116-1-neal_liu@aspeedtech.com> MIME-Version: 1.0 X-Originating-IP: [192.168.10.10] X-ClientProxiedBy: TWMBX02.aspeed.com (192.168.0.24) To TWMBX02.aspeed.com (192.168.0.24) X-DNSRBL: X-MAIL: twspam01.aspeedtech.com 24N2lhjh078067 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Add USB2.0 device controller(udc) node to device tree for AST2600. Signed-off-by: Neal Liu Acked-by: Krzysztof Kozlowski --- arch/arm/boot/dts/aspeed-g6.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-g6.dtsi b/arch/arm/boot/dts/aspeed-g6.dtsi index 3d5ce9da42c3..822f4fd854f5 100644 --- a/arch/arm/boot/dts/aspeed-g6.dtsi +++ b/arch/arm/boot/dts/aspeed-g6.dtsi @@ -298,6 +298,16 @@ vhub: usb-vhub@1e6a0000 { status = "disabled"; }; + udc: usb@1e6a2000 { + compatible = "aspeed,ast2600-udc"; + reg = <0x1e6a2000 0x300>; + interrupts = ; + clocks = <&syscon ASPEED_CLK_GATE_USBPORT2CLK>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usb2bd_default>; + status = "disabled"; + }; + apb { compatible = "simple-bus"; #address-cells = <1>;