From mboxrd@z Thu Jan 1 00:00:00 1970 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=-13.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 457AEC433E0 for ; Mon, 28 Dec 2020 12:09:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EA8DC2074D for ; Mon, 28 Dec 2020 12:09:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727639AbgL1MJm (ORCPT ); Mon, 28 Dec 2020 07:09:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727452AbgL1MJm (ORCPT ); Mon, 28 Dec 2020 07:09:42 -0500 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B2252C061794 for ; Mon, 28 Dec 2020 04:09:01 -0800 (PST) Received: by mail-lf1-x129.google.com with SMTP id o17so23440346lfg.4 for ; Mon, 28 Dec 2020 04:09:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brainfault-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=lLJY44+rNL4sTCjuBqSjehAVk1z1ZIUdx9iaTQmkEvA=; b=ERPqRI+iTiThYnp094jszxRlIdLpjmBNjNjjPiu5lctHZmExydKv7SMGuze84St4SP 146wdAiTju8FndYeMs0fBLEXRBZp4fOb6nkrjukMrYz3pMlUyotVuiZEb13FpF/Uyv0O jGi8bcUzK9wRUnL70/5SNgLA5s9rBaBMgOLQLZtmJPrwTaWCCI+w0SoCfEDsRwKtPPrS q/aY0Oj7mE2LcbpJxi70nM2T8AxymvPciRb21ERew366RvGR47D7RZvGMDoHhB/ZF/yL /hDbCHRVjuOON47BNo4Ngyocl4QXlMIYvqfOmKcrHMWUtSerMnp6WAhSIAHaeGKO7O6r EFXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lLJY44+rNL4sTCjuBqSjehAVk1z1ZIUdx9iaTQmkEvA=; b=jExjgpf+jxYUa/jeEGsV6j7ay6CMl4+dxPAL5/5VZq069S9ZNh++lzvzL4NefV9Mjk BN7S6JksKGzt9OQUMbOqcNehJsXpRKIMjw8Z9l+ex5V9FfFCgsJwUedvY9JrflqNIL+a tTnTosyEV1DAaqihwRH9QIV16lsaEG251FwV/9oR4d3BCgJNknYQEPOufhGCHMClRgig t3LklU7z8NbzEfo4DHzcvxD+e80ji4SxQ9XwifcK8r2j/iV8BgK+VhTZ8IqW3XDfmyjt MGvSQp0EwASHyHWKsaBiEbwG0sUehujUJSjovvkOMcbqwWevVT4dubxIY4uRczeAAxJ/ +EIQ== X-Gm-Message-State: AOAM531/VdgeBBBzknujLfM6wBoNf+wUXoF7iTnQHHWYmUWTkED7Mocv 9lZlf3fHmQEmqGM9ivBZ+ERYxF/KhboiCc7emKMHCw== X-Google-Smtp-Source: ABdhPJx/LSyjWObSqe3GkulMJn+2DY+mqlK9Zbbuf8g+dtPTwAhWLJ/r3+HLIcZlx+hvbZyo7JBjkEGnBCHnQaC0dnM= X-Received: by 2002:a05:651c:22b:: with SMTP id z11mr21032004ljn.38.1609157340183; Mon, 28 Dec 2020 04:09:00 -0800 (PST) MIME-Version: 1.0 References: <20201213135056.24446-1-damien.lemoal@wdc.com> <20201213135056.24446-19-damien.lemoal@wdc.com> In-Reply-To: <20201213135056.24446-19-damien.lemoal@wdc.com> From: Anup Patel Date: Mon, 28 Dec 2020 17:38:48 +0530 Message-ID: Subject: Re: [PATCH v10 18/23] riscv: Add SiPeed MAIX DOCK board device tree To: Damien Le Moal Cc: Palmer Dabbelt , linux-riscv , Rob Herring , devicetree@vger.kernel.org, Stephen Boyd , linux-clk@vger.kernel.org, Linus Walleij , linux-gpio@vger.kernel.org, Philipp Zabel , Sean Anderson Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org On Sun, Dec 13, 2020 at 7:21 PM Damien Le Moal wrote: > > Add a device tree for the SiPeed MAIX DOCK m1 and m1w boards. This > device tree enables LEDs, gpio, i2c and spi/mmc SD card devices. > > Signed-off-by: Damien Le Moal > --- > arch/riscv/boot/dts/canaan/k210_maix_dock.dts | 229 ++++++++++++++++++ > 1 file changed, 229 insertions(+) > create mode 100644 arch/riscv/boot/dts/canaan/k210_maix_dock.dts > > diff --git a/arch/riscv/boot/dts/canaan/k210_maix_dock.dts b/arch/riscv/boot/dts/canaan/k210_maix_dock.dts > new file mode 100644 > index 000000000000..abeaa9bad761 > --- /dev/null > +++ b/arch/riscv/boot/dts/canaan/k210_maix_dock.dts > @@ -0,0 +1,229 @@ > +// SPDX-License-Identifier: GPL-2.0+ > +/* > + * Copyright (C) 2019-20 Sean Anderson > + * Copyright (C) 2020 Western Digital Corporation or its affiliates. > + */ > + > +/dts-v1/; > + > +#include "k210.dtsi" > + > +#include > +#include > + > +/ { > + model = "SiPeed MAIX Dock"; > + compatible = "sipeed,maix-dock-m1wm", "sipeed,maix-dock-m1", > + "canaan,kendryte-k210"; > + > + chosen { > + bootargs = "earlycon console=ttySIF0"; > + stdout-path = "serial0:115200n8"; > + }; > + > + gpio-leds { > + compatible = "gpio-leds"; > + > + /* > + * Note: the board specification document green on gpio #4, > + * red on gpio #5 and blue on gpio #6. However, the board > + * is actually wired differently as defined here. > + */ > + blue { > + gpios = <&gpio1_0 4 GPIO_ACTIVE_LOW>; > + }; > + > + green { > + gpios = <&gpio1_0 5 GPIO_ACTIVE_LOW>; > + }; > + > + red { > + gpios = <&gpio1_0 6 GPIO_ACTIVE_LOW>; > + }; > + }; > + > + gpio-keys { > + compatible = "gpio-keys"; > + > + boot { > + label = "BOOT"; > + linux,code = ; > + gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; > + }; > + }; > + > + sound { > + compatible = "simple-audio-card"; > + simple-audio-card,format = "i2s"; > + status = "disabled"; > + > + simple-audio-card,cpu { > + sound-dai = <&i2s0 0>; > + }; > + > + simple-audio-card,codec { > + sound-dai = <&mic>; > + }; > + }; > + > + mic: mic { > + #sound-dai-cells = <0>; > + compatible = "memsensing,msm261s4030h0"; > + status = "disabled"; > + }; > +}; > + > +&fpioa { > + pinctrl-0 = <&jtag_pinctrl>; > + pinctrl-names = "default"; > + status = "okay"; > + > + jtag_pinctrl: jtag-pinmux { > + pinmux = , > + , > + , > + ; > + }; > + > + uarths_pinctrl: uarths-pinmux { > + pinmux = , > + ; > + }; > + > + gpio_pinctrl: gpio-pinmux { > + pinmux = , > + , > + , > + , > + , > + ; > + }; > + > + gpiohs_pinctrl: gpiohs-pinmux { > + pinmux = , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + ; > + }; > + > + i2s0_pinctrl: i2s0-pinmux { > + pinmux = , > + , > + ; > + }; > + > + dvp_pinctrl: dvp-pinmux { > + pinmux = , > + , > + , > + , > + , > + , > + , > + ; > + }; > + > + spi0_pinctrl: spi0-pinmux { > + pinmux = , /* cs */ > + , /* rst */ > + , /* dc */ > + ; /* wr */ > + }; > + > + spi1_pinctrl: spi1-pinmux { > + pinmux = , > + , > + , > + ; /* cs */ > + }; > + > + i2c1_pinctrl: i2c1-pinmux { > + pinmux = , > + ; > + }; > +}; > + > +&uarths0 { > + pinctrl-0 = <&uarths_pinctrl>; > + pinctrl-names = "default"; > + status = "okay"; > +}; > + > +&gpio0 { > + pinctrl-0 = <&gpiohs_pinctrl>; > + pinctrl-names = "default"; > + status = "okay"; > +}; > + > +&gpio1 { > + pinctrl-0 = <&gpio_pinctrl>; > + pinctrl-names = "default"; > + status = "okay"; > +}; > + > +&i2s0 { > + #sound-dai-cells = <1>; > + pinctrl-0 = <&i2s0_pinctrl>; > + pinctrl-names = "default"; > +}; > + > +&i2c1 { > + pinctrl-0 = <&i2c1_pinctrl>; > + pinctrl-names = "default"; > + clock-frequency = <400000>; > + status = "okay"; > +}; > + > +&dvp0 { > + pinctrl-0 = <&dvp_pinctrl>; > + pinctrl-names = "default"; > +}; > + > +&spi0 { > + pinctrl-0 = <&spi0_pinctrl>; > + pinctrl-names = "default"; > + num-cs = <1>; > + cs-gpios = <&gpio0 20 GPIO_ACTIVE_HIGH>; > + > + panel@0 { > + compatible = "sitronix,st7789v"; > + reg = <0>; > + reset-gpios = <&gpio0 21 GPIO_ACTIVE_LOW>; > + dc-gpios = <&gpio0 22 0>; > + spi-max-frequency = <15000000>; > + status = "disabled"; > + }; > +}; > + > +&spi1 { > + pinctrl-0 = <&spi1_pinctrl>; > + pinctrl-names = "default"; > + num-cs = <1>; > + cs-gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; > + status = "okay"; > + > + slot@0 { > + compatible = "mmc-spi-slot"; > + reg = <0>; > + voltage-ranges = <3300 3300>; > + spi-max-frequency = <25000000>; > + broken-cd; > + }; > +}; > + > +&spi3 { > + spi-flash@0 { > + compatible = "jedec,spi-nor"; > + reg = <0>; > + spi-max-frequency = <50000000>; > + m25p,fast-read; > + broken-flash-reset; > + }; > +}; > -- > 2.29.2 > > > _______________________________________________ > linux-riscv mailing list > linux-riscv@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-riscv Looks good to me. Reviewed-by: Anup Patel Regards, Anup From mboxrd@z Thu Jan 1 00:00:00 1970 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=-13.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 D1898C433DB for ; Mon, 28 Dec 2020 12:09:18 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 423952074D for ; Mon, 28 Dec 2020 12:09:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 423952074D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=brainfault.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=FHM6eCrm4BCrNfOh1RtjT01Ob5cQLyjDaQoE5m92rxw=; b=ntAhxWj4H+jKIrzcDNqio9SPu Yx+6o91Yga0dbL+4P0+aVmnA5zY9iIVY88u26Ctj41L/Nslwoyitx1+C2B2WtCV3eMXAbuYp9gbB6 /JgoIhWoc+sF50G5g/+dHqdUnUISMQej8hMk6+SVKOSk/XCFB7Il1V1nGa3cG9JtPpT5fW9szaS2+ EPydfsiZWn7+5X5vVi3wFcV5U/ELAjjAVz1YbJ4YsGIStD4V02OPnJyj2Z1WbKDhhPoDH87poSAGb rXSzgk84TkONyFtnpKRQ8jsIsdoVUMiH1M/rRbKrykEpDdfXVNom6Gkn0dWj3JJE8EoZFZLAebitD jh48ZLYeA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1ktrKj-0008DZ-GN; Mon, 28 Dec 2020 12:09:05 +0000 Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1ktrKf-0008CY-Rs for linux-riscv@lists.infradead.org; Mon, 28 Dec 2020 12:09:03 +0000 Received: by mail-lf1-x12d.google.com with SMTP id o13so23440260lfr.3 for ; Mon, 28 Dec 2020 04:09:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brainfault-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=lLJY44+rNL4sTCjuBqSjehAVk1z1ZIUdx9iaTQmkEvA=; b=ERPqRI+iTiThYnp094jszxRlIdLpjmBNjNjjPiu5lctHZmExydKv7SMGuze84St4SP 146wdAiTju8FndYeMs0fBLEXRBZp4fOb6nkrjukMrYz3pMlUyotVuiZEb13FpF/Uyv0O jGi8bcUzK9wRUnL70/5SNgLA5s9rBaBMgOLQLZtmJPrwTaWCCI+w0SoCfEDsRwKtPPrS q/aY0Oj7mE2LcbpJxi70nM2T8AxymvPciRb21ERew366RvGR47D7RZvGMDoHhB/ZF/yL /hDbCHRVjuOON47BNo4Ngyocl4QXlMIYvqfOmKcrHMWUtSerMnp6WAhSIAHaeGKO7O6r EFXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lLJY44+rNL4sTCjuBqSjehAVk1z1ZIUdx9iaTQmkEvA=; b=UYeYynDk4qtReTpm2K51MwsXsk1kezyuS9Lhntu3U7kcAVsvwIEnVcXAC1SHpYIVhb FsJgzBe0OEfk1XE7JcGGYQuNRYssg+QPfO1DG7ObFx/zBfsZV0LrDNsNhtTJIK2iIGBR RVys/wzxex84hBfyTi9q2cYV+Zd4rzt902maO1LWLFNCkB5IhjU6vGE3hHW10jqeKLy2 c4/RAIlyDm5aoAugXTCeL4f712PuSO0ueNVcJZTGUcWRqcIUTTuwjr1o6++M5fQOyo/e 7Uko9d8f2emYxVnK9f4U5RZtI4XZJ/ZAI7Y+dlA/4ASHskOM2+z3artvcBA/gS4POEDv O1eA== X-Gm-Message-State: AOAM532UwwZRq3YkXxoCijpc0BZQC6KFtJdzwvoKJj2CA7048n0sExnT 1W2FhQCsLDEgGJpUPGdEt87x3//Nz5/3KDzAy9tyYw== X-Google-Smtp-Source: ABdhPJx/LSyjWObSqe3GkulMJn+2DY+mqlK9Zbbuf8g+dtPTwAhWLJ/r3+HLIcZlx+hvbZyo7JBjkEGnBCHnQaC0dnM= X-Received: by 2002:a05:651c:22b:: with SMTP id z11mr21032004ljn.38.1609157340183; Mon, 28 Dec 2020 04:09:00 -0800 (PST) MIME-Version: 1.0 References: <20201213135056.24446-1-damien.lemoal@wdc.com> <20201213135056.24446-19-damien.lemoal@wdc.com> In-Reply-To: <20201213135056.24446-19-damien.lemoal@wdc.com> From: Anup Patel Date: Mon, 28 Dec 2020 17:38:48 +0530 Message-ID: Subject: Re: [PATCH v10 18/23] riscv: Add SiPeed MAIX DOCK board device tree To: Damien Le Moal X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201228_070902_638082_BBC867A3 X-CRM114-Status: GOOD ( 20.61 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Stephen Boyd , Linus Walleij , Sean Anderson , linux-gpio@vger.kernel.org, Rob Herring , Palmer Dabbelt , Philipp Zabel , linux-riscv , linux-clk@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org On Sun, Dec 13, 2020 at 7:21 PM Damien Le Moal wrote: > > Add a device tree for the SiPeed MAIX DOCK m1 and m1w boards. This > device tree enables LEDs, gpio, i2c and spi/mmc SD card devices. > > Signed-off-by: Damien Le Moal > --- > arch/riscv/boot/dts/canaan/k210_maix_dock.dts | 229 ++++++++++++++++++ > 1 file changed, 229 insertions(+) > create mode 100644 arch/riscv/boot/dts/canaan/k210_maix_dock.dts > > diff --git a/arch/riscv/boot/dts/canaan/k210_maix_dock.dts b/arch/riscv/boot/dts/canaan/k210_maix_dock.dts > new file mode 100644 > index 000000000000..abeaa9bad761 > --- /dev/null > +++ b/arch/riscv/boot/dts/canaan/k210_maix_dock.dts > @@ -0,0 +1,229 @@ > +// SPDX-License-Identifier: GPL-2.0+ > +/* > + * Copyright (C) 2019-20 Sean Anderson > + * Copyright (C) 2020 Western Digital Corporation or its affiliates. > + */ > + > +/dts-v1/; > + > +#include "k210.dtsi" > + > +#include > +#include > + > +/ { > + model = "SiPeed MAIX Dock"; > + compatible = "sipeed,maix-dock-m1wm", "sipeed,maix-dock-m1", > + "canaan,kendryte-k210"; > + > + chosen { > + bootargs = "earlycon console=ttySIF0"; > + stdout-path = "serial0:115200n8"; > + }; > + > + gpio-leds { > + compatible = "gpio-leds"; > + > + /* > + * Note: the board specification document green on gpio #4, > + * red on gpio #5 and blue on gpio #6. However, the board > + * is actually wired differently as defined here. > + */ > + blue { > + gpios = <&gpio1_0 4 GPIO_ACTIVE_LOW>; > + }; > + > + green { > + gpios = <&gpio1_0 5 GPIO_ACTIVE_LOW>; > + }; > + > + red { > + gpios = <&gpio1_0 6 GPIO_ACTIVE_LOW>; > + }; > + }; > + > + gpio-keys { > + compatible = "gpio-keys"; > + > + boot { > + label = "BOOT"; > + linux,code = ; > + gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; > + }; > + }; > + > + sound { > + compatible = "simple-audio-card"; > + simple-audio-card,format = "i2s"; > + status = "disabled"; > + > + simple-audio-card,cpu { > + sound-dai = <&i2s0 0>; > + }; > + > + simple-audio-card,codec { > + sound-dai = <&mic>; > + }; > + }; > + > + mic: mic { > + #sound-dai-cells = <0>; > + compatible = "memsensing,msm261s4030h0"; > + status = "disabled"; > + }; > +}; > + > +&fpioa { > + pinctrl-0 = <&jtag_pinctrl>; > + pinctrl-names = "default"; > + status = "okay"; > + > + jtag_pinctrl: jtag-pinmux { > + pinmux = , > + , > + , > + ; > + }; > + > + uarths_pinctrl: uarths-pinmux { > + pinmux = , > + ; > + }; > + > + gpio_pinctrl: gpio-pinmux { > + pinmux = , > + , > + , > + , > + , > + ; > + }; > + > + gpiohs_pinctrl: gpiohs-pinmux { > + pinmux = , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + ; > + }; > + > + i2s0_pinctrl: i2s0-pinmux { > + pinmux = , > + , > + ; > + }; > + > + dvp_pinctrl: dvp-pinmux { > + pinmux = , > + , > + , > + , > + , > + , > + , > + ; > + }; > + > + spi0_pinctrl: spi0-pinmux { > + pinmux = , /* cs */ > + , /* rst */ > + , /* dc */ > + ; /* wr */ > + }; > + > + spi1_pinctrl: spi1-pinmux { > + pinmux = , > + , > + , > + ; /* cs */ > + }; > + > + i2c1_pinctrl: i2c1-pinmux { > + pinmux = , > + ; > + }; > +}; > + > +&uarths0 { > + pinctrl-0 = <&uarths_pinctrl>; > + pinctrl-names = "default"; > + status = "okay"; > +}; > + > +&gpio0 { > + pinctrl-0 = <&gpiohs_pinctrl>; > + pinctrl-names = "default"; > + status = "okay"; > +}; > + > +&gpio1 { > + pinctrl-0 = <&gpio_pinctrl>; > + pinctrl-names = "default"; > + status = "okay"; > +}; > + > +&i2s0 { > + #sound-dai-cells = <1>; > + pinctrl-0 = <&i2s0_pinctrl>; > + pinctrl-names = "default"; > +}; > + > +&i2c1 { > + pinctrl-0 = <&i2c1_pinctrl>; > + pinctrl-names = "default"; > + clock-frequency = <400000>; > + status = "okay"; > +}; > + > +&dvp0 { > + pinctrl-0 = <&dvp_pinctrl>; > + pinctrl-names = "default"; > +}; > + > +&spi0 { > + pinctrl-0 = <&spi0_pinctrl>; > + pinctrl-names = "default"; > + num-cs = <1>; > + cs-gpios = <&gpio0 20 GPIO_ACTIVE_HIGH>; > + > + panel@0 { > + compatible = "sitronix,st7789v"; > + reg = <0>; > + reset-gpios = <&gpio0 21 GPIO_ACTIVE_LOW>; > + dc-gpios = <&gpio0 22 0>; > + spi-max-frequency = <15000000>; > + status = "disabled"; > + }; > +}; > + > +&spi1 { > + pinctrl-0 = <&spi1_pinctrl>; > + pinctrl-names = "default"; > + num-cs = <1>; > + cs-gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; > + status = "okay"; > + > + slot@0 { > + compatible = "mmc-spi-slot"; > + reg = <0>; > + voltage-ranges = <3300 3300>; > + spi-max-frequency = <25000000>; > + broken-cd; > + }; > +}; > + > +&spi3 { > + spi-flash@0 { > + compatible = "jedec,spi-nor"; > + reg = <0>; > + spi-max-frequency = <50000000>; > + m25p,fast-read; > + broken-flash-reset; > + }; > +}; > -- > 2.29.2 > > > _______________________________________________ > linux-riscv mailing list > linux-riscv@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-riscv Looks good to me. Reviewed-by: Anup Patel Regards, Anup _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv