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: 12858999 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E34BFC433EF for ; Mon, 23 May 2022 12:19:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Z/CvtFRXUzvQRNStButMbTb0U9zzYqr9JtNkf3uzxC0=; b=XuNxCfWa+YSQAh PiWPMRYEaVVyvYoNoC/kIcJE9Y0A5rZMiu7vbzke3iNQd/k4jz0poY8DF3Un8t+QAyDGAZ0yCa9Ba x7Bf8OdhOxDALnAbNM6Hq173nK5JHX6ZhqtyVpMxAdpVeACpBVy5M+VcHCnU10S2aTjWYIiolL82E dIfyKet8nf1zbRgOUncl8aeK/yX9gEo+KsGhwXLt2RFNFu3wSHLaNuWFgBqLL8HuEkX4ETsuToeWf vYAmq8Wq/XnytSa/JiAQy1WJUkjnJWOVuNi3cL3k7dSB1HN1wq1BOhMkzp0HwlDLMoU/OFQ9bgQdG GmgQMr1xV5/KC1Muq4UQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nt6zz-0043QC-Fx; Mon, 23 May 2022 12:17:23 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nt6RB-003nJ0-KU for linux-arm-kernel@bombadil.infradead.org; Mon, 23 May 2022 11:41:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Type:Content-Transfer-Encoding :MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From: Sender:Reply-To:Content-ID:Content-Description; bh=fs1Qje2tn/tHO4rY1MNdhdz26CkcbgjgyJdR0gIEeiI=; b=iEb7mk7WT1r29ZiYz3ktcp5IqA aUY7/d/5UxeKjnnFbNJbYHFeNbl6s9vt2Swhf7xUUeKjWZnEwscZGzH+8tnuZ/VguvkgQKCKK6uXC 61SbAF+8m+ySq8lmjQ+aZ+GqhzpcPUVVaFMgvXFi8EN1aTPItaf2zxJCcmRsj4h5VLEGQv11+vxgb p2YZaXOqXmK9r2bvmBe5tWLurnR4clWoym1aCKX+ciUn55Jwp0VUrnnd+vCTHL8l/FjTJ8QborXMm uKEI9ooGECRYM11NkwoJ83oP8LG9DafAbMn9bs0xSbTphzxxI2BrqhuRfnca5bpbPrIzh87roQP3u ZBAOf/Pg==; Received: from twspam01.aspeedtech.com ([211.20.114.71]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nsyMP-000mgi-Rb for linux-arm-kernel@lists.infradead.org; Mon, 23 May 2022 03:04:00 +0000 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220523_040358_656645_C3E86828 X-CRM114-Status: UNSURE ( 9.43 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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>;