From patchwork Fri Feb 25 13:15:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Riesch X-Patchwork-Id: 546279 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 90222C433F5 for ; Fri, 25 Feb 2022 13:16:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240947AbiBYNQv (ORCPT ); Fri, 25 Feb 2022 08:16:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241028AbiBYNQu (ORCPT ); Fri, 25 Feb 2022 08:16:50 -0500 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2056.outbound.protection.outlook.com [40.107.20.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2493C1FE56D; Fri, 25 Feb 2022 05:16:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=M7FFMfkl2pe7l9jRq2uUQIQASuWUgakko/IH12KVtkQ6/5Nsa00FzlxXAVyORxd70rzw0gXHZCN22Q7AxoQO8XSkwmnHdxhIc+7tTh7wG1yqz8RzEFOgoTspgtST4t8dbZ8t+ExWOqRs7IcPPEDNwleZ+5oNbTU1Nmby91NL0/r8dnJU30HWhxG9/H8hPEbyEmhPJ2yFRVod9PN6+OAk1twn6s0Lo7HCRqnbLlFLRi8Y4cK4d0TX251kP7ihROJz8pploDJFSVsIMN0KvfFKywAP3q0kCzI1NEji5doWIMvY4B2xAFD7yRrmtqGUQoeu2PMLOKXaSPfqX5qLpLnTdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=z3kAs0swyfnpbUiF9qjTfOasD7sQzcfqY77EHcr8Q30=; b=QC6fMdH/lyH5gEk1tXL350RsvCDtKFNp8UUOA23hSoiu4WX21WYSp+PrT080OxwURANP0IhDaNBqMgKc19Eh5Qk/UW0JCtUQL0RIZqOaR1o/Z0kWPttGFfmhdd6wRFTfxD9X5FH693pA6xWTb2TZspDzGyCoaAWGo2qsS07ZWOnZ9GEY3xMmKZAPTWrRQIcPfUduZzXpvY77wAWJNJrh4cSdkbOpZ7OJH6ZY7wOG0+JOit0WUL+CyA63fA4By6ueCGAOv3aSjk5VFGsbfWRbsNGqn1zAA+QBIa8YYBCTATKQBf3KxRS2uoZryfiNP5aib5B+IVFE0+g+m/H7so1DsQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wolfvision.net; dmarc=pass action=none header.from=wolfvision.net; dkim=pass header.d=wolfvision.net; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wolfvision.net; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=z3kAs0swyfnpbUiF9qjTfOasD7sQzcfqY77EHcr8Q30=; b=yIkBmcUWDIEXJDhGVyF8SpnuNnU1yYZJ36ldCsCuspYxzDmfqJfHStM+ldvR3yRYYuG/LIrl71+BWfEesyKzRRBFPct9HvHEcEcVSSq8EB94WhziKCIwVc8i4sekPcHQLZoKoZItSk2p7+Vy46cKEULa6MTdlsuDOXEIk1tbI/M= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=wolfvision.net; Received: from HE1PR0802MB2426.eurprd08.prod.outlook.com (2603:10a6:3:e1::23) by PAXPR08MB6591.eurprd08.prod.outlook.com (2603:10a6:102:150::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.17; Fri, 25 Feb 2022 13:16:16 +0000 Received: from HE1PR0802MB2426.eurprd08.prod.outlook.com ([fe80::f9ee:a333:b115:5049]) by HE1PR0802MB2426.eurprd08.prod.outlook.com ([fe80::f9ee:a333:b115:5049%4]) with mapi id 15.20.4995.028; Fri, 25 Feb 2022 13:16:16 +0000 From: Michael Riesch To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Rob Herring , Heiko Stuebner , Greg Kroah-Hartman , Frank Wunderlich , Michael Riesch , Sascha Hauer , Liang Chen , Peter Geis , Johan Jonker , Simon Xue , Yifeng Zhao , Nicolas Frattaroli Subject: [PATCH v2 1/4] arm64: dts: rockchip: move power domain PD_PIPE to rk356x Date: Fri, 25 Feb 2022 14:15:59 +0100 Message-Id: <20220225131602.2283499-2-michael.riesch@wolfvision.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220225131602.2283499-1-michael.riesch@wolfvision.net> References: <20220225131602.2283499-1-michael.riesch@wolfvision.net> X-ClientProxiedBy: ZR0P278CA0109.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:20::6) To HE1PR0802MB2426.eurprd08.prod.outlook.com (2603:10a6:3:e1::23) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9ce1fa9c-d02c-4db9-f81f-08d9f8610107 X-MS-TrafficTypeDiagnostic: PAXPR08MB6591:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7DoNLZui3Doeg9xmKxcw94EPQvgSqfOEzhytYGzth329iXBkp5PvbPFC2lhXXVou9bTkUc6GYXHr/MOiDWT6c1tr0181BqZt90f7z7w/ZIQGbaXZDmHUMnMNs6ReEBo8CQEOn369wdd7acKacSMf5gQOh6Zir97NTD05IyAu98KTV1zn4c/0Bm9tRL3/2pPkAU7VqPDlt9epZpnAZ9az8Zk/dyT1/bz+A3Yt1FrSDiQfiNjZLKy9NYbfxnqMXOstwrjGSHN3c2mMHAJg7UCx056gpJlu5FdmaVC4cB53QP/KJLBHqzAW4d4nuNw0j2qZTEnt1/UHJ2VYxdn/ZGB2Y8C8KAfmEZQdYjKNKISwoAZnX+RtyKHJiRuFFeftfT9rI6he0bL4hA1XdQEqQDjLqJroZ1LKIUUIbwtpn1LG/XA4oh5nwoseSuscx0wePw3jPxRuFWXQsqzzKvnjPrFr9lw0+I7UaEY0VlIwQbEr0Q+thLKrnxmaQod8Q6MbxKrNQcLWgsmD/ada756BAnYUSdX2YiPP3UMZSrGaliBwIX5A1dT2t+lFBf9gAnMdtuapJmYXuRIoWZ/VG6Tgx8kpjQdepULL4h81qwaocNqQwJs+JJt2IfhLX5jJRuFWGFicguVgAbD29yaowNL2DMaT/g== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR0802MB2426.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(39850400004)(346002)(396003)(376002)(136003)(186003)(44832011)(6506007)(36756003)(83380400001)(1076003)(2906002)(8936002)(86362001)(8676002)(316002)(7416002)(4326008)(2616005)(52116002)(6666004)(508600001)(6512007)(38100700002)(66556008)(54906003)(5660300002)(66946007)(66476007)(6486002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: aCf1uKzj6I8xJxWzsZ5/nAleb+tguvmcXYTCbhMlXofEKrlRUl04jkfW58grsSpaGxuGG2MkgBU5lySPIHr2Md6PROzWbHr0W5xxASad4JGBwezxES9gQ8XLPI9jqi107wMyslr8I8GBDLKXIS30nQR6lX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7ti7xKIPUZtPfBxSzkdKqWXNZXXvxTHgNVKinj8Gtn4PYiSwCdzV3Cy+Les/hpKRin9i9IlX4xp0eQgmwKuEhncMh6YXQOa84xEoUcV3eQA+XAHxiNlDow2tUx7cuhJSYOB9Wm0L+HCKwKG2yxEyT+sd6VS2G0IqfrT5WS7Qn0fLTFyOzWL8lG+ITww7FBRqOOeKjoRv0qVKIavDx2caWJWFD20E6YVgns1zuBEzAJkSAfbJtx1Fg0lzOZUep21QjqT1KwDFIFv4OQHumYixpwKm4cpA103dZLmZglD0od1iPUCIvtGlplHjILtFE4ployyMbbhqLhy6kWgpXMgd3X6nLg2drKYlIPtstgvDlpyDaRlD+xw85dqlpHDFwvfhFUvNOviowPKDguvdHyUIAaNCgV29JSL5wrClExJrPIQ0q+Kx6oVdJZ2JdFR7CAZ9ukzA5VDwFOukIBbiyOxiep3iH/OfYaAeMql+1L2XVs4teQ/9fW+fDqiYLvx+Y2nxGIFFISHCgXTyzkZIvnZkCQsPw1gXlyXWIyXyxY= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: 9ce1fa9c-d02c-4db9-f81f-08d9f8610107 X-MS-Exchange-CrossTenant-AuthSource: HE1PR0802MB2426.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Feb 2022 13:16:16.4795 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e94ec9da-9183-471e-83b3-51baa8eb804f X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: esdpuyweA8lLFS8tFGrTWYSsqUVicjjXSE+ScoriP/adNgj+nqrlXon2TP71l/T8jTwQ55wgz8HhaAOzCmpF6AlHrHbdiL2rXBVlrlk/t4Y= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR08MB6591 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The power domain PD_PIPE was moved to the RK3568 specific dtsi but is available on the RK3566 as well. Move it back to the shared dtsi. Signed-off-by: Michael Riesch --- arch/arm64/boot/dts/rockchip/rk3568.dtsi | 16 ---------------- arch/arm64/boot/dts/rockchip/rk356x.dtsi | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 16 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3568.dtsi b/arch/arm64/boot/dts/rockchip/rk3568.dtsi index 91a0b798b857..ecc0f3015915 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3568.dtsi @@ -100,19 +100,3 @@ opp-1992000000 { opp-microvolt = <1150000 1150000 1150000>; }; }; - -&power { - power-domain@RK3568_PD_PIPE { - reg = ; - clocks = <&cru PCLK_PIPE>; - pm_qos = <&qos_pcie2x1>, - <&qos_pcie3x1>, - <&qos_pcie3x2>, - <&qos_sata0>, - <&qos_sata1>, - <&qos_sata2>, - <&qos_usb3_0>, - <&qos_usb3_1>; - #power-domain-cells = <0>; - }; -}; diff --git a/arch/arm64/boot/dts/rockchip/rk356x.dtsi b/arch/arm64/boot/dts/rockchip/rk356x.dtsi index 8b9fae3d348a..742f5adcdf2b 100644 --- a/arch/arm64/boot/dts/rockchip/rk356x.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk356x.dtsi @@ -490,6 +490,20 @@ power-domain@RK3568_PD_RKVENC { <&qos_rkvenc_wr_m0>; #power-domain-cells = <0>; }; + + power-domain@RK3568_PD_PIPE { + reg = ; + clocks = <&cru PCLK_PIPE>; + pm_qos = <&qos_pcie2x1>, + <&qos_pcie3x1>, + <&qos_pcie3x2>, + <&qos_sata0>, + <&qos_sata1>, + <&qos_sata2>, + <&qos_usb3_0>, + <&qos_usb3_1>; + #power-domain-cells = <0>; + }; }; }; From patchwork Fri Feb 25 13:16:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Riesch X-Patchwork-Id: 546278 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 DBA15C433EF for ; Fri, 25 Feb 2022 13:16:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241033AbiBYNQ4 (ORCPT ); Fri, 25 Feb 2022 08:16:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241041AbiBYNQz (ORCPT ); Fri, 25 Feb 2022 08:16:55 -0500 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2062.outbound.protection.outlook.com [40.107.20.62]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 344921FE574; Fri, 25 Feb 2022 05:16:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IBnRjVMQcdBKqOzu8IVQIs5iaEBpcbYBd6UkAjn21Fk86OU6+M6awW1mIETmBmHH7uJHfF3ele5hwuyMCAbnDCH3IY32gqQpNfWHfwF8Hz9muxpEjcIZc7AysKbcCQtFNQNKPZPjFVRKFz3FGu9yIROp4DDe0qJVctpNFtPBiWcGoxP9HK8tMNA3CDoMT6ONr/FkEuAeruYQ9VSpafpUnk9LtsZKYpDtQ88N3WAB5Uvu/xH6Tk7ofb3vttVjqqyH03asE+Rq+VR+4OF0wlyX1HVOrGpsYbEP0tYMfojPmclc2kFPF/hczBGykatyHk3ZZfXbQn6bdJeANFm7OUSnSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=5pGVEN0zFWGY7L9y9qpVcOmt9ocQFtU9+BzM7RCA4QE=; b=HNF56ALKegjzvKu/ZsjlDDrItYCRlkq7VK7LShY29xVTkQ9FlZGos9HCIEquQ9jDISLQyiEKOqxPvIwf1NpOQaxHPsfAHZZ/AvTtqZY/GAzpLEn+gFQTk2y4KdB5hbsMQYzyNcXucmGNBzphTqltPGF9JcaFV+qtVqkDIg5/zniqqjRogjRmVdyj6ivo9hQrpaE+OaEhC2XDkNwHCT+3OxPdHn5Ex4yNAPwUJ7q8yX3IpjUWTjpJaym00RbAxC69NqVBOCS6hlOowfehsMfmw3H2pTZKzJpESWj5nLRgSJmyOZCYsN3AI4nT/et1UaQCoHc0rPIlWMIBfWb6aKKIPQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wolfvision.net; dmarc=pass action=none header.from=wolfvision.net; dkim=pass header.d=wolfvision.net; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wolfvision.net; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5pGVEN0zFWGY7L9y9qpVcOmt9ocQFtU9+BzM7RCA4QE=; b=0kordkK9r2Os5wcXi4IVRwqKM3ML9/ID6o2nCObJEbziBJkl0+oHrJWFt7dHamMJCWkJs+em1Ew1KrtA/xCwiOmOwuIhesQkIK5fiew3IwIVaQ/imwmaQ2+tY/8X7NsNcN0UoCqEHdP+nP8Lc7eX8h6NVC+wlQa6tDaV1QLIWJ0= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=wolfvision.net; Received: from HE1PR0802MB2426.eurprd08.prod.outlook.com (2603:10a6:3:e1::23) by PAXPR08MB6591.eurprd08.prod.outlook.com (2603:10a6:102:150::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.17; Fri, 25 Feb 2022 13:16:22 +0000 Received: from HE1PR0802MB2426.eurprd08.prod.outlook.com ([fe80::f9ee:a333:b115:5049]) by HE1PR0802MB2426.eurprd08.prod.outlook.com ([fe80::f9ee:a333:b115:5049%4]) with mapi id 15.20.4995.028; Fri, 25 Feb 2022 13:16:22 +0000 From: Michael Riesch To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Rob Herring , Heiko Stuebner , Greg Kroah-Hartman , Frank Wunderlich , Michael Riesch , Sascha Hauer , Liang Chen , Peter Geis , Johan Jonker , Simon Xue , Yifeng Zhao , Nicolas Frattaroli Subject: [PATCH v2 4/4] arm64: dts: rockchip: add usb3 support to rk3568-evb1-v10 Date: Fri, 25 Feb 2022 14:16:02 +0100 Message-Id: <20220225131602.2283499-5-michael.riesch@wolfvision.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220225131602.2283499-1-michael.riesch@wolfvision.net> References: <20220225131602.2283499-1-michael.riesch@wolfvision.net> X-ClientProxiedBy: ZR0P278CA0109.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:20::6) To HE1PR0802MB2426.eurprd08.prod.outlook.com (2603:10a6:3:e1::23) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b45d79c2-dfe8-41bb-aa5d-08d9f8610477 X-MS-TrafficTypeDiagnostic: PAXPR08MB6591:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: GEnslCrQJNsCfQ6ED0+v5Xn2XkQvtF0+fMuS8fGRL0BkSMaSGhFqJBJu/BN1kBscgNEpBt2JqehJ66PtjQ6ulLPA0Jgd1Q6YFkjlEg25kh3Qp5J+0dmGYZkOzH9WJYyG9P5FCVXL0DRKg2Rik5ATzXlTKkdrgTBYIJ2P7tXI3BCwGOVKliDIh2b86214xnQFrgyQzC2A27KtXv8e65aRow3bCTDWJ0M2h/IwwF/480l2mnlBiP1axKx+moh04Hr8CnMSI+0eZNV2NHkS2HC218z+Noe/KWUCmglcjcxKCOdTLZP+avHLnLX5xfhLLGhsNzg92x06PUxEQR5IPJoajF3+lLmLNSPiG1MXdJqQB8FMVmHBtxycTeIHir/UZsMw1H7xy4gn9Pxj89Xx5lSgIgoOo94V/k6J8WE+E+0/B/snrvRzacdjQPw5L64TDNqHPCHE+inLafFLW+QfgUKE2JDD/PC6+vaeJV/o/3NtCL7wvrP4mSn3TvxIS0O6FBl3odDgAfQLLthqi4VT/udmDzhKldzOpaZenGEX+WxsSwqGAFA9FYB8zu/DQBU58WkvKWLhOmZeq0gP0ykd8gyKtPPDx6OuW5w6q0dGGc9rN1TqhrEokMdoeGeez13W0Tzv4LrqObIodz8LKyP7R0+Xzw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR0802MB2426.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(39850400004)(346002)(396003)(376002)(136003)(186003)(44832011)(6506007)(36756003)(83380400001)(1076003)(2906002)(8936002)(86362001)(8676002)(316002)(7416002)(4326008)(2616005)(52116002)(6666004)(508600001)(6512007)(38100700002)(66556008)(54906003)(5660300002)(66946007)(66476007)(6486002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: CukEJ/6ueZTEM1+Sxl/t+rSleoHQubHVeefBJ85uz7VOjk8ZHBRSylJ0McKO0XN4mwsuyTtG9pF/IEaBunQ5JFez6H1FTsw8DPwvqS0UcAmltSATGusiVS5En31/POnRu1npQDcM14ojMWOvApD3buwmeDN2OjQZcwC4vDZ06eKFyox2kzSIxr4beI1jvdWmvcFqSbPdUVm6jpJ+bbK1TPCd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GhLuDI++dyjaHS50tPmhawL89NEQR9n5cuSL7HWwJ2ToCLDqq0RbZ3xYzbCI3H6sJCH/y44qB8x1fzaTFHVBdfMmBjpVTasuCuXlCgkDgDrp+ZkOgvvKux+uzHZuJ52wcVddpbqjSNcgKzus6v4kE2fQ5hXhd+tgiWYnyFJasCL2EyH/TNUhEKWZXiSscq0QcVccZhEL/Wy7QeH+DNfojG6mMUFwv8k4JhP4+ns+FP90maM15PDbb90ONpyZX+WxHloK59EyqWKMq7WWXLdz9jkzxano0PC4TMsY3bidf5SazipxBlqHl3NDeGnI5d/7nB/zbSg4FF7cnqR6+ie9Z3kDsj7EkGfgAbeJK6yTTfd9/Dz67NSyC1G0awQUxo0jeVIsgpWtBPdvZIMKP1tDk9FS9HzhEwfD+65BvMy8TzwS473Qvzxphfkiw1qb/gbTdrqG9aGQaGbd9/A8xoywRD7wYK0ys/vls= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: b45d79c2-dfe8-41bb-aa5d-08d9f8610477 X-MS-Exchange-CrossTenant-AuthSource: HE1PR0802MB2426.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Feb 2022 13:16:22.1196 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e94ec9da-9183-471e-83b3-51baa8eb804f X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Q9ZCfdjkuigHxbW/aT9M6VdP/vvCZm+Yco8MoaFm/tR/s/dzfsv/ZrVgF0vBm384OClidvnO/jOy+WUFmmkKKgdUOuCJ439ccWin84QM+b4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR08MB6591 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The Rockchip RK3568 EVB1 features one USB 3.0 device-only (USB 2.0 OTG) port and one USB 3.0 host-only port. Activate the USB 3.0 controller nodes and phy nodes in the device tree. Signed-off-by: Sascha Hauer Signed-off-by: Michael Riesch --- .../boot/dts/rockchip/rk3568-evb1-v10.dts | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts b/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts index a794a0ea5c70..622be8be9813 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts +++ b/arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts @@ -103,6 +103,18 @@ vcc5v0_usb_host: vcc5v0-usb-host { vin-supply = <&vcc5v0_usb>; }; + vcc5v0_usb_otg: vcc5v0-usb-otg { + compatible = "regulator-fixed"; + enable-active-high; + gpio = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&vcc5v0_usb_otg_en>; + regulator-name = "vcc5v0_usb_otg"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + vin-supply = <&vcc5v0_usb>; + }; + vcc3v3_lcd0_n: vcc3v3-lcd0-n { compatible = "regulator-fixed"; regulator-name = "vcc3v3_lcd0_n"; @@ -136,6 +148,14 @@ regulator-state-mem { }; }; +&combphy0 { + status = "okay"; +}; + +&combphy1 { + status = "okay"; +}; + &cpu0 { cpu-supply = <&vdd_cpu>; }; @@ -507,6 +527,9 @@ usb { vcc5v0_usb_host_en: vcc5v0_usb_host_en { rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>; }; + vcc5v0_usb_otg_en: vcc5v0_usb_otg_en { + rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>; + }; }; }; @@ -568,6 +591,11 @@ &usb_host0_ohci { status = "okay"; }; +&usb_host0_xhci { + extcon = <&usb2phy0>; + status = "okay"; +}; + &usb_host1_ehci { status = "okay"; }; @@ -576,6 +604,24 @@ &usb_host1_ohci { status = "okay"; }; +&usb_host1_xhci { + status = "okay"; +}; + +&usb2phy0 { + status = "okay"; +}; + +&usb2phy0_host { + phy-supply = <&vcc5v0_usb_host>; + status = "okay"; +}; + +&usb2phy0_otg { + vbus-supply = <&vcc5v0_usb_otg>; + status = "okay"; +}; + &usb2phy1 { status = "okay"; };