From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-pg1-x541.google.com ([2607:f8b0:4864:20::541]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g2egD-000505-CR for barebox@lists.infradead.org; Wed, 19 Sep 2018 15:46:18 +0000 Received: by mail-pg1-x541.google.com with SMTP id s15-v6so2941281pgv.8 for ; Wed, 19 Sep 2018 08:46:06 -0700 (PDT) From: Andrey Smirnov Date: Wed, 19 Sep 2018 08:45:36 -0700 Message-Id: <20180919154541.29861-4-andrew.smirnov@gmail.com> In-Reply-To: <20180919154541.29861-1-andrew.smirnov@gmail.com> References: <20180919154541.29861-1-andrew.smirnov@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH v2 3/8] ARM: i.MX8MQ: Configure USDHC1,2 clocks To: barebox@lists.infradead.org Cc: Andrey Smirnov Select appropriate parents as well as clock rates for USDHC1 and USDHC2 related clocks. Signed-off-by: Andrey Smirnov --- arch/arm/dts/imx8mq.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/dts/imx8mq.dtsi b/arch/arm/dts/imx8mq.dtsi index 6f860c3d6..8bdf4efb7 100644 --- a/arch/arm/dts/imx8mq.dtsi +++ b/arch/arm/dts/imx8mq.dtsi @@ -632,3 +632,23 @@ }; }; }; + + + +&clk { + assigned-clocks = <&clk IMX8MQ_CLK_USDHC1_SRC>, + <&clk IMX8MQ_CLK_USDHC1_DIV>, + <&clk IMX8MQ_CLK_USDHC2_SRC>, + <&clk IMX8MQ_CLK_USDHC2_DIV>; + + assigned-clock-parents = <&clk IMX8MQ_SYS1_PLL_400M>, + <0>, + <&clk IMX8MQ_SYS1_PLL_400M>, + <0>; + + assigned-clock-rates = <400000000>, + <200000000>, + <400000000>, + <200000000>; +}; + -- 2.17.1 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox