From patchwork Thu Dec 24 17:04:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 351995 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D45CDC43381 for ; Thu, 24 Dec 2020 17:07:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B21D722512 for ; Thu, 24 Dec 2020 17:07:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728851AbgLXRGM (ORCPT ); Thu, 24 Dec 2020 12:06:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728817AbgLXRGL (ORCPT ); Thu, 24 Dec 2020 12:06:11 -0500 Received: from mail-il1-x136.google.com (mail-il1-x136.google.com [IPv6:2607:f8b0:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E95B9C061757; Thu, 24 Dec 2020 09:05:30 -0800 (PST) Received: by mail-il1-x136.google.com with SMTP id q5so2420143ilc.10; Thu, 24 Dec 2020 09:05:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=kMu0V0XfARwBi9aJHQmsTWP3xxgAO07/j8cH5gKT7As=; b=CfJRRBpqMzgTU1oPORrpjPnbsZyj5NvD+X1KhT/2T2hhh7p3UfVouKH+Zyvg6KTNUj zaHPbAyzql8AUSf6pEkNOpB3iLhNz52jUD46fn474ALPLTmYBiOmPH8Tt1F0upklDRhr ZyamkFnTA6DL4eTh8Lj8kExW0IuZKLEr/Aoy39+d3NO6T1GJIYtjnzmJH9F7fgKdy7Qw 7UnC70PkpyWMmdygjaPdL2pUbf0UcmzOkobOKjIwrVd4rra6b4AD7azBX9lzNCoZWFja AMuWEQdNnm9AULSFQQvC8iHqjrjFCfdl4UtAjO8qLYwKxF7PXBK0iR/SzDCnxMFWXR4m mZfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=kMu0V0XfARwBi9aJHQmsTWP3xxgAO07/j8cH5gKT7As=; b=otnsJqYNzRglY7OjckmVXsR900K0ClC8dF8YAo2I/48935+/DP9ItfbotpVwryDWdy KWrv21U4reFIWOaECdqOBgMNurcy36tGF0ot/+jaYnnxMLHJ/+uLkAvvaJn0rfUrS7AI aQ/bpcK+tDXGZ5KkGND7J24P7jAqxA/TaX2smrdDNhCtZC7moCrUdcwfTgI53WyvrnOt t7Uo2XntIIxW72xV3oxRhRkFkfej0aKVu2Q1Q73i8ZpS7CW13spL+ULGs67pMGF2OBlL CD1HKfQJ1ztr8w6mvCpNO5UpDfWDV1aqDy9eTn8yVR4nLbeGVUDtRXPzIH1qZkJiQNKt 3jSA== X-Gm-Message-State: AOAM533+lY8MsPrBAJN19qQCuP1JWWeetGZJJRRQ7/ofc6IEFRyfEGfy Uhpp97/zUqudsx0o6G3o+Ipi59NlnjQ= X-Google-Smtp-Source: ABdhPJwHvXS1PiJasUu21iUGHH88seD2pI6GNjQmXzcQVU9jn6XU+VFJuIJsPls35lmQils/+doZfw== X-Received: by 2002:a92:9153:: with SMTP id t80mr30232754ild.216.1608829530000; Thu, 24 Dec 2020 09:05:30 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:f45d:df49:9a4c:4914]) by smtp.gmail.com with ESMTPSA id f20sm9732965ilr.85.2020.12.24.09.05.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Dec 2020 09:05:29 -0800 (PST) From: Adam Ford To: linux-renesas-soc@vger.kernel.org Cc: aford@beaconembedded.com, Adam Ford , Geert Uytterhoeven , Magnus Damm , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH V2 3/9] arm64: dts: renesas: beacon: Configure Audio CODEC clocks Date: Thu, 24 Dec 2020 11:04:56 -0600 Message-Id: <20201224170502.2254683-3-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201224170502.2254683-1-aford173@gmail.com> References: <20201224170502.2254683-1-aford173@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org With the newly added configurable clock options, the audio CODEC can configure the mclk automatically. Add the reference to the versaclock. Since the devices on I2C5 can communicate at 400KHz, let's also increase that too Signed-off-by: Adam Ford Reviewed-by: Geert Uytterhoeven --- V2: Remove the un-used clock-names reference. Base on: https://patchwork.kernel.org/project/alsa-devel/patch/20201217162740.1452000-1-aford173@gmail.com/ diff --git a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi index 4e86d308d07e..dc5e05d7a792 100644 --- a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi +++ b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi @@ -385,13 +385,14 @@ &i2c0 { &i2c5 { status = "okay"; - clock-frequency = <100000>; + clock-frequency = <400000>; pinctrl-0 = <&i2c5_pins>; pinctrl-names = "default"; codec: wm8962@1a { compatible = "wlf,wm8962"; reg = <0x1a>; + clocks = <&versaclock6_bb 3>; DCVDD-supply = <®_audio>; DBVDD-supply = <®_audio>; AVDD-supply = <®_audio>; From patchwork Thu Dec 24 17:04:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 351996 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CC8F2C43332 for ; Thu, 24 Dec 2020 17:06:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9B85E22C9D for ; Thu, 24 Dec 2020 17:06:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728939AbgLXRGP (ORCPT ); Thu, 24 Dec 2020 12:06:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728891AbgLXRGO (ORCPT ); Thu, 24 Dec 2020 12:06:14 -0500 Received: from mail-il1-x130.google.com (mail-il1-x130.google.com [IPv6:2607:f8b0:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5698DC0613ED; Thu, 24 Dec 2020 09:05:34 -0800 (PST) Received: by mail-il1-x130.google.com with SMTP id v3so2443459ilo.5; Thu, 24 Dec 2020 09:05:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=zgC8hWEejAl7ji5lgCboCeRf8tvBCy5iybPT9Zk9Fss=; b=Q7kkH5UmwJ63ZacPk7bewGFySHCyJ1pxpwCGlAMNlcLja8BCsb+ckg6Ia9afl7/Of0 rnrpC/m8jU/PgHSPvRbxxEz+qcqQuBXopZTLoVbX5IBcFq2tsYRWpNoB8jsH4Tm5Mjqw r4TBo/dWz5IiuPYwjjshHmsEl0flaE1eiAD6VIjUqtsU13x5+0B+NVHGZq4cM0lY3tKy 9vlaGpIp77lAHzRAGc0ky9wwFltVRBGD0SAdZyvXhId6QI5FzKgnecRZxNbrkFVqOAIt UeIqb7AowGoHYR1A1Ss3viM3BGqojvxd4QYj7Rk16qPbDgl71usKH0c57JNBkDX3n3Z+ LS0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=zgC8hWEejAl7ji5lgCboCeRf8tvBCy5iybPT9Zk9Fss=; b=TwToRneH6ENs/iEOcAPyrS5i86WvAh3jDOkZ92MZO9xQ0kFziJMgdBxd3/MZYF7oMV K/wG6SFQG33sazg42SdH+K0lQuJdk78vx2abuvXsh9WitkuXyOD6r5sBBUjokF/VDozG jS5H5fDktqnZkhdcqAQV7l4RKgy06GLhFGpah6H2s0S9H2egjkGgZww+wZK4UbedEeGi 9tScDE5ihKRYankZIwOAKRdnAAzYln/HMciwZXeXZjsV2eC1FDvlR8QBggSD7h9b1q2Z aEk21KSOVgEbwYW9oW/0OCVpcYFbIWURm0YtJHUiOFbn2tpriKRQAxBC7Mue92nT8B4i K1GA== X-Gm-Message-State: AOAM531gpq61yh9IaQI5gxHmkWFqW+knXTUDEt3bl24aFGJv2ZUyEvuZ s+MngMKc8ucynv3mxTm/sqc3bJkJ7IA= X-Google-Smtp-Source: ABdhPJxB06iiioEvZW/IJKdzBmP7RZiz25WqLUKBDexNTHM4leqJQyqvK8LFquu+NYQ70IYoNThaBg== X-Received: by 2002:a05:6e02:92f:: with SMTP id o15mr30019321ilt.130.1608829533381; Thu, 24 Dec 2020 09:05:33 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:f45d:df49:9a4c:4914]) by smtp.gmail.com with ESMTPSA id f20sm9732965ilr.85.2020.12.24.09.05.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Dec 2020 09:05:32 -0800 (PST) From: Adam Ford To: linux-renesas-soc@vger.kernel.org Cc: aford@beaconembedded.com, Adam Ford , Geert Uytterhoeven , Magnus Damm , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH V2 5/9] arm64: dts: renesas: beacon: Cleanup USB References Date: Thu, 24 Dec 2020 11:04:58 -0600 Message-Id: <20201224170502.2254683-5-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201224170502.2254683-1-aford173@gmail.com> References: <20201224170502.2254683-1-aford173@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The programmable versaclock is used for the usb_extal reference clock for the EHCI driver instead of a fixed-clock. Because the versaclock needs to be enabled, the clock reference needs to be added to the clocks list. For the USB3 Phy, the perferred clock reference is usb3s_clk, so remove the usb_extal reference. Signed-off-by: Adam Ford --- V2: Split this off into its own patch. diff --git a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi index a54ec36c69e4..3b3efaf749bb 100644 --- a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi +++ b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi @@ -263,12 +263,22 @@ &du_out_rgb { &ehci0 { dr_mode = "otg"; status = "okay"; - clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>; + clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>, <&versaclock5 3>; }; &ehci1 { status = "okay"; - clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>; + clocks = <&cpg CPG_MOD 702>, <&versaclock5 3>; +}; + +&gpio6 { + + usb_hub_reset { + gpio-hog; + gpios = <10 GPIO_ACTIVE_HIGH>; + output-high; + line-name = "usb-hub-reset"; + }; }; &hdmi0 { diff --git a/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi b/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi index ade2f58ad99b..a6f7193e4d97 100644 --- a/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi +++ b/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi @@ -75,15 +75,6 @@ &extalr_clk { clock-frequency = <32768>; }; -&gpio6 { - usb_hub_reset { - gpio-hog; - gpios = <10 GPIO_ACTIVE_HIGH>; - output-high; - line-name = "usb-hub-reset"; - }; -}; - &hscif0 { pinctrl-0 = <&hscif0_pins>; pinctrl-names = "default"; @@ -315,16 +306,12 @@ &sdhi3 { vmmc-supply = <®_3p3v>; vqmmc-supply = <®_1p8v>; bus-width = <8>; - mmc-hs200-1_8v; + mmc-hs400-1_8v; non-removable; fixed-emmc-driver-type = <1>; status = "okay"; }; -&usb_extal_clk { - clock-frequency = <50000000>; -}; - &usb3s0_clk { clock-frequency = <100000000>; }; From patchwork Thu Dec 24 17:04:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 351994 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1BFCEC433E6 for ; Thu, 24 Dec 2020 17:07:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DD20922288 for ; Thu, 24 Dec 2020 17:07:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728511AbgLXRGs (ORCPT ); Thu, 24 Dec 2020 12:06:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728350AbgLXRGr (ORCPT ); Thu, 24 Dec 2020 12:06:47 -0500 Received: from mail-io1-xd34.google.com (mail-io1-xd34.google.com [IPv6:2607:f8b0:4864:20::d34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 233FDC061786; Thu, 24 Dec 2020 09:05:36 -0800 (PST) Received: by mail-io1-xd34.google.com with SMTP id m23so2491275ioy.2; Thu, 24 Dec 2020 09:05:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=I0f0TxXOUN4NNq0oJ349J0HL3TvRTCvF4USIwrL91MU=; b=r7M/rtpSrKNMy0EPW8om8aW4fYGUopsJAE7W4GieKkD/FYWcNUhHj0Kyi8epR0Zzz/ V10iX83RhGa7El7VVMqqqtCvb95ASL8q2JwjPyP9B3zXtEmajTPSUVscRtW7OcyWr5BX LAZ5cjyyIkcdy9DliXhzYQAxT4t3Qc6rsK8rVukl0C/rKoJN+HNXMWnQJ5YV6jWWiAAi cKKOPhgKl0VsjpUA6pctk6wN2+N+grFL6oTuvYR1pg63m2uHfgjmXSb6T/wOQlX2kylG s39FGfpvDsewznt83EPsIfPWCh4thwjgkQfcDEE77QIloBUO8UNBjlyiRREitqj5ndUm tlVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=I0f0TxXOUN4NNq0oJ349J0HL3TvRTCvF4USIwrL91MU=; b=BsZIGUTsNWALhaCGbqFm4AorNJepwcz4xdKxgyV8n1ofMOZnzsY34ArrsAT66Q7OJq BBLXIFm2k2L/fBd2EdfXiTGjNSLeXaqhJoyLmDx8U1b8QiKyop1Lk451MiPpBk27vaNw pI6wMKmR/ey303vaVTMoY/eoIuAkwwXQKNTzVRZyyChklY3Frd24tn/OwNHewq2EYdUk DvxgsZBbOndAUuzIKmnfkr9iOr+xozdgUSON0bCYY7n3MlH2o+3poLEzib8VLWtdy5C9 aU7U7US9fZ6sELYAwgK8kEKmBUS/f6VOR+2QklDjzs/WPmxhaY+y6Zt/qMRVeMlejGHt WIvg== X-Gm-Message-State: AOAM531Er90t6kgI5e+ZL7m/JzOH1ZcCnDE9a6fW5nT+h6GDGx7/OOZg pt7umgsnDyZj8w7fVR5oM8qlb2dnULs= X-Google-Smtp-Source: ABdhPJxbl9NX0/u2Tpqc25MWdfp+nUSulT03xixJN4vO2897zFnAmOu+O5dinCwFvlrpPxwKSOiAdA== X-Received: by 2002:a05:6602:20ca:: with SMTP id 10mr25752163ioz.51.1608829535101; Thu, 24 Dec 2020 09:05:35 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:f45d:df49:9a4c:4914]) by smtp.gmail.com with ESMTPSA id f20sm9732965ilr.85.2020.12.24.09.05.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Dec 2020 09:05:34 -0800 (PST) From: Adam Ford To: linux-renesas-soc@vger.kernel.org Cc: aford@beaconembedded.com, Adam Ford , Geert Uytterhoeven , Magnus Damm , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH V2 6/9] arm64: dts: renesas: beacon-rzg2m-kit: Rearange SoC unique functions Date: Thu, 24 Dec 2020 11:04:59 -0600 Message-Id: <20201224170502.2254683-6-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201224170502.2254683-1-aford173@gmail.com> References: <20201224170502.2254683-1-aford173@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org In preparation for adding new dev kits, move anything specific to the RZ/G2M from the SOM-level and baseboard-levels and move them to the kit-level. This allows the SOM and baseboard to be reused with other SoC's. Signed-off-by: Adam Ford Reviewed-by: Geert Uytterhoeven --- V2: Fix missing entries in dts file. diff --git a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi index 3b3efaf749bb..a6aa0b815c46 100644 --- a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi +++ b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi @@ -241,21 +241,6 @@ &can1 { status = "okay"; }; -&du { - pinctrl-0 = <&du_pins>; - pinctrl-names = "default"; - status = "okay"; - - clocks = <&cpg CPG_MOD 724>, - <&cpg CPG_MOD 723>, - <&cpg CPG_MOD 722>, - <&versaclock5 1>, - <&x302_clk>, - <&versaclock5 2>; - clock-names = "du.0", "du.1", "du.2", - "dclkin.0", "dclkin.1", "dclkin.2"; -}; - &du_out_rgb { remote-endpoint = <&rgb_panel>; }; diff --git a/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi b/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi index a6f7193e4d97..b34ffa1e77fa 100644 --- a/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi +++ b/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi @@ -13,11 +13,6 @@ memory@48000000 { reg = <0x0 0x48000000 0x0 0x78000000>; }; - memory@600000000 { - device_type = "memory"; - reg = <0x6 0x00000000 0x0 0x80000000>; - }; - osc_32k: osc_32k { compatible = "fixed-clock"; #clock-cells = <0>; diff --git a/arch/arm64/boot/dts/renesas/r8a774a1-beacon-rzg2m-kit.dts b/arch/arm64/boot/dts/renesas/r8a774a1-beacon-rzg2m-kit.dts index 25eeac411f12..501cb05da228 100644 --- a/arch/arm64/boot/dts/renesas/r8a774a1-beacon-rzg2m-kit.dts +++ b/arch/arm64/boot/dts/renesas/r8a774a1-beacon-rzg2m-kit.dts @@ -26,6 +26,26 @@ aliases { chosen { stdout-path = "serial0:115200n8"; }; + + memory@600000000 { + device_type = "memory"; + reg = <0x6 0x00000000 0x0 0x80000000>; + }; +}; + +&du { + pinctrl-0 = <&du_pins>; + pinctrl-names = "default"; + status = "okay"; + + clocks = <&cpg CPG_MOD 724>, + <&cpg CPG_MOD 723>, + <&cpg CPG_MOD 722>, + <&versaclock5 1>, + <&x302_clk>, + <&versaclock5 2>; + clock-names = "du.0", "du.1", "du.2", + "dclkin.0", "dclkin.1", "dclkin.2"; }; /* Reference versaclock instead of audio_clk_a */ From patchwork Thu Dec 24 17:05:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 351993 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C73A2C432C3 for ; Thu, 24 Dec 2020 17:07:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A69472313C for ; Thu, 24 Dec 2020 17:07:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729046AbgLXRGu (ORCPT ); Thu, 24 Dec 2020 12:06:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729042AbgLXRGt (ORCPT ); Thu, 24 Dec 2020 12:06:49 -0500 Received: from mail-io1-xd2d.google.com (mail-io1-xd2d.google.com [IPv6:2607:f8b0:4864:20::d2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1BF2CC061796; Thu, 24 Dec 2020 09:05:41 -0800 (PST) Received: by mail-io1-xd2d.google.com with SMTP id n4so2438260iow.12; Thu, 24 Dec 2020 09:05:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=BZzYpN7srheW62psnaXSHx8DA2qbyyiIul6QobFgrhs=; b=pA0N/0So8nZP0OL+E6WO/w0EJjn7/wYuJe5u87jCnjsgkJD2CCrOLG6BYv8jmOwtLA HcR3U5BHSV50n8ho6a5xMTmyHZm28YRlXLXtjc8OPBI1CEYdeUxmH8WusnHzxeZzKh1n aDE8K/Er3iHiH8lNtPiRfXD6T3t5xPunfn1GneWzl33megee+0XRJEMy8tEJU6VfGwsM B+hwIzo1Zy9imgfyqHC7zog5LeoI6KWddE8mSDsi7B6Ovjm6bXh0x6R+LXljH/YBI4B1 KCKH0fU0xQmo6WaHUrxfNIFz6FNDHNnORE3uZjzfPvCjMtQBh2Ekz34kwp7FrjRre5IV y2ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=BZzYpN7srheW62psnaXSHx8DA2qbyyiIul6QobFgrhs=; b=cXdMREGjvVLWVvsA/iXuB9LiZtc6eIKnQTyPpAk3lkfRxrr0ODXbZdI52uvzj2r6go UgP69rUZiYNHYLZJmRridM9QlSR5TpvEPiwow3h6ihn9aVlUowYVuvTr2jh2DKqDKGO8 Y9FaAlyMMRvX4V/ZngiefTFhnsET63sTAtsDnXobJbggeu943qwjY02cHN7BePHuIbrG 0s6OBUoixkWq2krB0U1QPuWT5lRuzoCmcUVAPw2EHMWl3WVT/wPPOSuTMvHO1p86PWkl 2jxYJ46JuI+iDWDko810G1tOL6JkUa9xPK2ewWcH67/diysJG8Ix2onkWWLGUdOYhUm2 jxag== X-Gm-Message-State: AOAM531CW5+VEJVj6FyHghs0KynY8iPTH4masTffCw4lFpm6V04EAUWQ WmgsPhH55U1jES/iDCSf2h8p3UTzsaE= X-Google-Smtp-Source: ABdhPJxKdqblUAPAHVgt0W7cmnN6Wfq1A83dTAVlAHe+WDwoH2mq30O52rceZwlf30PiPDWTV/t3TQ== X-Received: by 2002:a6b:dd13:: with SMTP id f19mr26186361ioc.74.1608829540130; Thu, 24 Dec 2020 09:05:40 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:f45d:df49:9a4c:4914]) by smtp.gmail.com with ESMTPSA id f20sm9732965ilr.85.2020.12.24.09.05.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Dec 2020 09:05:39 -0800 (PST) From: Adam Ford To: linux-renesas-soc@vger.kernel.org Cc: aford@beaconembedded.com, Adam Ford , Geert Uytterhoeven , Magnus Damm , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH V2 9/9] arm64: dts: renesas: beacon: Increase sdhi speeds Date: Thu, 24 Dec 2020 11:05:02 -0600 Message-Id: <20201224170502.2254683-9-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201224170502.2254683-1-aford173@gmail.com> References: <20201224170502.2254683-1-aford173@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The eMMC can run at hs400 and the WiFi chip can run at sdr104. Set the respective flags to push the sdhi faster. Signed-off-by: Adam Ford Reviewed-by: Geert Uytterhoeven --- V2: New to series diff --git a/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi b/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi index b34ffa1e77fa..56bdd80e36d0 100644 --- a/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi +++ b/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi @@ -271,8 +271,9 @@ &scif2 { }; &sdhi2 { - pinctrl-names = "default"; pinctrl-0 = <&sdhi2_pins>; + pinctrl-1 = <&sdhi2_pins>; + pinctrl-names = "default", "state_uhs"; bus-width = <4>; vmmc-supply = <®_3p3v>; vqmmc-supply = <®_1p8v>; @@ -281,6 +282,8 @@ &sdhi2 { pm-ignore-notify; keep-power-in-suspend; mmc-pwrseq = <&wlan_pwrseq>; + sd-uhs-sdr50; + sd-uhs-sdr104; status = "okay"; #address-cells = <1>; #size-cells = <0>;