Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1101685pxf; Thu, 18 Mar 2021 21:30:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzK3Th+YzZmZTrclTesFfhcanckb25FYkHpj1XGMZ0uxcmRrArs1ZzUkA20rTQzewBmwJRV X-Received: by 2002:aa7:c7d5:: with SMTP id o21mr7462006eds.166.1616128200809; Thu, 18 Mar 2021 21:30:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616128200; cv=none; d=google.com; s=arc-20160816; b=LUKouPsfQaiuc3z95RMH3Uv9+ZXUeiiPGOISQgzjgpPO4kM9BjVlRYBw8D0butji1j gM4wsdCWYEKpv4Z9WeFBrsjGTXjV/o34XE805bY6UGEjwi65I89fJ7a2QdQ83G+gXNlO birKVMGgM/712pCDUi2NnLoHe/jUf7sq9s5xZLAoaFJ1iox4uJDBxIj7LxvrlJfSAfcx VRe/WIE9ms1uiF6xy+uV2H+nY13jUzPGwgNBROvWNcduA3KvR0yi1KFO94C7H5kUTehL 5iyIWEckG5quGm9jNrhJpiYVfChUl3aQyQAFUddlbpRtVrdyXJfv7eEyXBkCyJFM1maq YiGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=UsoxMKgIQdHmffd/IPh562qeSladHISVZVfmi2yq0Sw=; b=EGCvGpYKV8YzUAx/CYtCTLpmJyFT9jTZX2Hz3sREkGu4aunpYK/TaxhRwaBs/CYD8x VvshECQj7GO01FM6PBWLpn1YRD/ugvp0ZDpeyBL8CShNoY51p4cOc3QPi+D5g5R2Fz7w e9N6/pR2sIMcIAgYcpdcfZrP6sCybJxx48iUSdLcpd69d9R4+0uSFxHq2zUDNHIsv8TG Dvc3LnIZkbpLjDjVlWZPaa8ztvVWCSUcrtGzqY+++bUheQczoFAbXtnc1nLOrFcMUwMm RmUWVLnB//O/jFewxzNn73IWAGUVKU+7LbOH85vXFIMj60FRxVFlbRSEeZqVFzZVWPbb 2Fvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=pZuyBRZx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f12si3138263ejx.75.2021.03.18.21.29.38; Thu, 18 Mar 2021 21:30:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=pZuyBRZx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233648AbhCSE2D (ORCPT + 99 others); Fri, 19 Mar 2021 00:28:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38646 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230459AbhCSE1l (ORCPT ); Fri, 19 Mar 2021 00:27:41 -0400 Received: from mail-io1-xd29.google.com (mail-io1-xd29.google.com [IPv6:2607:f8b0:4864:20::d29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A70DC06174A; Thu, 18 Mar 2021 21:27:41 -0700 (PDT) Received: by mail-io1-xd29.google.com with SMTP id j26so4731570iog.13; Thu, 18 Mar 2021 21:27:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=UsoxMKgIQdHmffd/IPh562qeSladHISVZVfmi2yq0Sw=; b=pZuyBRZxtHZOKiJcY5++SXQ6VSBKhH+J8ygUNmyPNGvSoc2BXdc9DPbs2Yv4SSUBZw BhcnW9rwiUnZNMeABJ0PWcq5xJqtEpx7imgeIUfeTu2bgalnPCU/71XTM0JKPmf9RhWT KZuJbiWlGpo9kkyrg+F2oXPTRvcSIeRwwgPv+ZMlGIyXyf+1ekvYvFF9hX8meFlW1NI0 D+c4bH/DWmEYZrtev4MhlUpvME2BWCmbEkvEz/0eaBaoFWVeYMte01PX41SCdxl5xsfW r2qAmwHrWiLabnxqSavjuo4Im2yHYAw62cU2caT10t8qsQJpdfmy1mW+MyXjrMzb7+vo vVoA== 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; bh=UsoxMKgIQdHmffd/IPh562qeSladHISVZVfmi2yq0Sw=; b=DtLhS9GL3OmiGqT2igNc9prRkf3YnTCkmUIKI5Oj8G+KUqNQOW+tS+PDbLrEemXbpP t5qJzKP9Ah0HooYFfk7DNNCPmeASooni8agYhFkcRIsIkjBzKXEzjiUBkKvIt51mn4tU v9eejDCLUPPqC8YH6MBkPqNSexGe3O6NDX+gT9Pgi6Bl/+cWLfN0Y2jxbTJPJg3ooJi0 uDEGNM2FmCG1vMIqCqbXi0qeofPh6a8znHSZognH+XT6ccNv5j4LnCT6yj1yYXlPOTXI VnX0eEL3cl8avfX2zG+77v9VrtyCfeM9yHvoeDUCMA9gNRXOSpPOwsRrIl3z9WA2+zm+ gMCg== X-Gm-Message-State: AOAM533zS/Laiez2mdthif7HHGoSYASEWwgaEh2KxpKl17yZ9/V8ZxfC 0wCwZPh5MIQTB9hSutm0LXM7cimju2WXzKpXEjA= X-Received: by 2002:a05:6638:dc3:: with SMTP id m3mr5071030jaj.130.1616128060505; Thu, 18 Mar 2021 21:27:40 -0700 (PDT) MIME-Version: 1.0 References: <1615801436-3016-1-git-send-email-dillon.minfei@gmail.com> <1615801436-3016-7-git-send-email-dillon.minfei@gmail.com> In-Reply-To: <1615801436-3016-7-git-send-email-dillon.minfei@gmail.com> From: dillon min Date: Fri, 19 Mar 2021 12:27:04 +0800 Message-ID: Subject: Re: [PATCH v3 6/9] ARM: dts: stm32: add support for art-pi board based on stm32h750xbh6 To: Rob Herring , Alexandre TORGUE , Ahmad Fatoum , Maxime Coquelin , Alexandre Torgue , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-stm32@st-md-mailman.stormreply.com, Linux ARM , Linux Kernel Mailing List , linux@armlinux.org.uk, Vladimir Murzin , afzal.mohd.ma@gmail.com, gregkh@linuxfoundation.org, erwan.leray@st.com, erwan.leray@foss.st.com, linux-serial@vger.kernel.org, lkp@intel.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org No changes, Just loop lkp in. Hi lkp, Sorry for the late reply, thanks for your report. This patch is to fix the build warning message. Thanks. On Mon, Mar 15, 2021 at 5:45 PM wrote: > > From: dillon min > > This patchset has following changes: > > - introduce stm32h750.dtsi to support stm32h750 value line > - add stm32h750i-art-pi.dtb (arch/arm/boot/dts/Makefile) > - add dts binding usart3 for bt, uart4 for console > usart3/uart4 pinctrl in stm32h7-pinctrl.dtsi > usart3/uart4 register in stm32h743.dtsi > - add dts binding sdmmc2 for wifi > sdmmc2 pinctrl in stm32h7-pinctrl.dtsi > sdmmc2 register in stm32h743.dtsi > - add spi1 pinctrl in stm32h7-pinctrl.dtsi for spi flash > - add stm32h750-art-pi.dts to support art-pi board > - move pinctrl: pin-controller{} from stm32h7-pinctrl.dtsi to stm32h743.dtsi > to fix dtbs_check warrning > - change 'i2c4: i2c@58001C00' to 'i2c4: i2c@58001c00', else will get > dtbs_check warrning: > >> arch/arm/boot/dts/stm32h750i-art-pi.dt.yaml: soc: 'i2c@40005C00', > 'i2c@58001C00' do not match any of the regexes: > '@(0|[1-9a-f][0-9a-f]*)$', '^[^@]+$', 'pinctrl-[0-9]+' > ... > > art-pi board component: > - 8MiB qspi flash > - 16MiB spi flash > - 32MiB sdram > - ap6212 wifi&bt&fm > > the detail board information can be found at: > https://art-pi.gitee.io/website/ > > Fixes: 500cdb23d608 ("ARM: dts: stm32: Add STM32H743 MCU and STM32H743i-EVAL board") > Signed-off-by: dillon min > Reported-by: kernel test robot > --- > v3: > - move pinctrl: pin-controller{} from stm32h7-pinctrl.dtsi to stm32h743.dtsi > to fix dtbs_check warrning > >> arch/arm/boot/dts/stm32h743i-eval.dt.yaml: soc: pin-controller: {'type': > 'object'} is not allowed for {'#address-cells': [[1]], '#size-cells': > [[1]], 'ranges': [[0, > - fix dtbs_check warrning: > arch/arm/boot/dts/stm32h750i-art-pi.dt.yaml: soc: 'i2c@40005C00', > 'i2c@58001C00' do not match any of the regexes: > '@(0|[1-9a-f][0-9a-f]*)$', '^[^@]+$', 'pinctrl-[0-9]+' > > v2: > - fix author name/copyright mistake > - make item in stm32h750i-art-pi.dts sort by letter > > arch/arm/boot/dts/Makefile | 1 + > arch/arm/boot/dts/stm32h743.dtsi | 153 ++++++++++++++++++++- > arch/arm/boot/dts/stm32h750.dtsi | 5 + > arch/arm/boot/dts/stm32h750i-art-pi.dts | 228 ++++++++++++++++++++++++++++++++ > 4 files changed, 385 insertions(+), 2 deletions(-) > create mode 100644 arch/arm/boot/dts/stm32h750.dtsi > create mode 100644 arch/arm/boot/dts/stm32h750i-art-pi.dts > > diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile > index 8e5d4ab4e75e..a19c5ab9df84 100644 > --- a/arch/arm/boot/dts/Makefile > +++ b/arch/arm/boot/dts/Makefile > @@ -1071,6 +1071,7 @@ dtb-$(CONFIG_ARCH_STM32) += \ > stm32746g-eval.dtb \ > stm32h743i-eval.dtb \ > stm32h743i-disco.dtb \ > + stm32h750i-art-pi.dtb \ > stm32mp153c-dhcom-drc02.dtb \ > stm32mp157a-avenger96.dtb \ > stm32mp157a-dhcor-avenger96.dtb \ > diff --git a/arch/arm/boot/dts/stm32h743.dtsi b/arch/arm/boot/dts/stm32h743.dtsi > index 4ebffb0a45a3..4379063d36a2 100644 > --- a/arch/arm/boot/dts/stm32h743.dtsi > +++ b/arch/arm/boot/dts/stm32h743.dtsi > @@ -135,6 +135,22 @@ > clocks = <&rcc USART2_CK>; > }; > > + usart3: serial@40004800 { > + compatible = "st,stm32h7-uart"; > + reg = <0x40004800 0x400>; > + interrupts = <39>; > + status = "disabled"; > + clocks = <&rcc USART3_CK>; > + }; > + > + uart4: serial@40004c00 { > + compatible = "st,stm32h7-uart"; > + reg = <0x40004c00 0x400>; > + interrupts = <52>; > + status = "disabled"; > + clocks = <&rcc UART4_CK>; > + }; > + > i2c1: i2c@40005400 { > compatible = "st,stm32f7-i2c"; > #address-cells = <1>; > @@ -159,7 +175,7 @@ > status = "disabled"; > }; > > - i2c3: i2c@40005C00 { > + i2c3: i2c@40005c00 { > compatible = "st,stm32f7-i2c"; > #address-cells = <1>; > #size-cells = <0>; > @@ -368,6 +384,20 @@ > max-frequency = <120000000>; > }; > > + sdmmc2: mmc@48022400 { > + compatible = "arm,pl18x", "arm,primecell"; > + arm,primecell-periphid = <0x10153180>; > + reg = <0x48022400 0x400>; > + interrupts = <124>; > + interrupt-names = "cmd_irq"; > + clocks = <&rcc SDMMC2_CK>; > + clock-names = "apb_pclk"; > + resets = <&rcc STM32H7_AHB2_RESET(SDMMC2)>; > + cap-sd-highspeed; > + cap-mmc-highspeed; > + max-frequency = <120000000>; > + }; > + > exti: interrupt-controller@58000000 { > compatible = "st,stm32h7-exti"; > interrupt-controller; > @@ -392,7 +422,7 @@ > status = "disabled"; > }; > > - i2c4: i2c@58001C00 { > + i2c4: i2c@58001c00 { > compatible = "st,stm32f7-i2c"; > #address-cells = <1>; > #size-cells = <0>; > @@ -555,6 +585,125 @@ > snps,pbl = <8>; > status = "disabled"; > }; > + > + pinctrl: pin-controller@58020000 { > + #address-cells = <1>; > + #size-cells = <1>; > + ranges = <0 0x58020000 0x3000>; > + interrupt-parent = <&exti>; > + st,syscfg = <&syscfg 0x8>; > + pins-are-numbered; > + > + gpioa: gpio@58020000 { > + gpio-controller; > + #gpio-cells = <2>; > + reg = <0x0 0x400>; > + clocks = <&rcc GPIOA_CK>; > + st,bank-name = "GPIOA"; > + interrupt-controller; > + #interrupt-cells = <2>; > + }; > + > + gpiob: gpio@58020400 { > + gpio-controller; > + #gpio-cells = <2>; > + reg = <0x400 0x400>; > + clocks = <&rcc GPIOB_CK>; > + st,bank-name = "GPIOB"; > + interrupt-controller; > + #interrupt-cells = <2>; > + }; > + > + gpioc: gpio@58020800 { > + gpio-controller; > + #gpio-cells = <2>; > + reg = <0x800 0x400>; > + clocks = <&rcc GPIOC_CK>; > + st,bank-name = "GPIOC"; > + interrupt-controller; > + #interrupt-cells = <2>; > + }; > + > + gpiod: gpio@58020c00 { > + gpio-controller; > + #gpio-cells = <2>; > + reg = <0xc00 0x400>; > + clocks = <&rcc GPIOD_CK>; > + st,bank-name = "GPIOD"; > + interrupt-controller; > + #interrupt-cells = <2>; > + }; > + > + gpioe: gpio@58021000 { > + gpio-controller; > + #gpio-cells = <2>; > + reg = <0x1000 0x400>; > + clocks = <&rcc GPIOE_CK>; > + st,bank-name = "GPIOE"; > + interrupt-controller; > + #interrupt-cells = <2>; > + }; > + > + gpiof: gpio@58021400 { > + gpio-controller; > + #gpio-cells = <2>; > + reg = <0x1400 0x400>; > + clocks = <&rcc GPIOF_CK>; > + st,bank-name = "GPIOF"; > + interrupt-controller; > + #interrupt-cells = <2>; > + }; > + > + gpiog: gpio@58021800 { > + gpio-controller; > + #gpio-cells = <2>; > + reg = <0x1800 0x400>; > + clocks = <&rcc GPIOG_CK>; > + st,bank-name = "GPIOG"; > + interrupt-controller; > + #interrupt-cells = <2>; > + }; > + > + gpioh: gpio@58021c00 { > + gpio-controller; > + #gpio-cells = <2>; > + reg = <0x1c00 0x400>; > + clocks = <&rcc GPIOH_CK>; > + st,bank-name = "GPIOH"; > + interrupt-controller; > + #interrupt-cells = <2>; > + }; > + > + gpioi: gpio@58022000 { > + gpio-controller; > + #gpio-cells = <2>; > + reg = <0x2000 0x400>; > + clocks = <&rcc GPIOI_CK>; > + st,bank-name = "GPIOI"; > + interrupt-controller; > + #interrupt-cells = <2>; > + }; > + > + gpioj: gpio@58022400 { > + gpio-controller; > + #gpio-cells = <2>; > + reg = <0x2400 0x400>; > + clocks = <&rcc GPIOJ_CK>; > + st,bank-name = "GPIOJ"; > + interrupt-controller; > + #interrupt-cells = <2>; > + }; > + > + gpiok: gpio@58022800 { > + gpio-controller; > + #gpio-cells = <2>; > + reg = <0x2800 0x400>; > + clocks = <&rcc GPIOK_CK>; > + st,bank-name = "GPIOK"; > + interrupt-controller; > + #interrupt-cells = <2>; > + }; > + }; > }; > }; > > diff --git a/arch/arm/boot/dts/stm32h750.dtsi b/arch/arm/boot/dts/stm32h750.dtsi > new file mode 100644 > index 000000000000..dd9166223c2f > --- /dev/null > +++ b/arch/arm/boot/dts/stm32h750.dtsi > @@ -0,0 +1,5 @@ > +/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ > +/* Copyright (C) STMicroelectronics 2021 - All Rights Reserved */ > + > +#include "stm32h743.dtsi" > + > diff --git a/arch/arm/boot/dts/stm32h750i-art-pi.dts b/arch/arm/boot/dts/stm32h750i-art-pi.dts > new file mode 100644 > index 000000000000..87f1cbedfda5 > --- /dev/null > +++ b/arch/arm/boot/dts/stm32h750i-art-pi.dts > @@ -0,0 +1,228 @@ > +/* > + * Copyright 2021 - Dillon Min > + * > + * This file is dual-licensed: you can use it either under the terms > + * of the GPL or the X11 license, at your option. Note that this dual > + * licensing only applies to this file, and not this project as a > + * whole. > + * > + * a) This file is free software; you can redistribute it and/or > + * modify it under the terms of the GNU General Public License as > + * published by the Free Software Foundation; either version 2 of the > + * License, or (at your option) any later version. > + * > + * This file is distributed in the hope that it will be useful, > + * but WITHOUT ANY WARRANTY; without even the implied warranty of > + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > + * GNU General Public License for more details. > + * > + * Or, alternatively, > + * > + * b) Permission is hereby granted, free of charge, to any person > + * obtaining a copy of this software and associated documentation > + * files (the "Software"), to deal in the Software without > + * restriction, including without limitation the rights to use, > + * copy, modify, merge, publish, distribute, sublicense, and/or > + * sell copies of the Software, and to permit persons to whom the > + * Software is furnished to do so, subject to the following > + * conditions: > + * > + * The above copyright notice and this permission notice shall be > + * included in all copies or substantial portions of the Software. > + * > + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, > + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES > + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND > + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT > + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, > + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING > + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR > + * OTHER DEALINGS IN THE SOFTWARE. > + * > + * For art-pi board resources, you can refer to link: > + * https://art-pi.gitee.io/website/ > + */ > + > +/dts-v1/; > +#include "stm32h750.dtsi" > +#include "stm32h750-pinctrl.dtsi" > +#include > +#include > + > +/ { > + model = "RT-Thread STM32H750i-ART-PI board"; > + compatible = "st,stm32h750i-art-pi", "st,stm32h750"; > + > + chosen { > + bootargs = "root=/dev/ram"; > + stdout-path = "serial0:2000000n8"; > + }; > + > + memory@c0000000 { > + device_type = "memory"; > + reg = <0xc0000000 0x2000000>; > + }; > + > + reserved-memory { > + #address-cells = <1>; > + #size-cells = <1>; > + ranges; > + > + linux,cma { > + compatible = "shared-dma-pool"; > + no-map; > + size = <0x100000>; > + linux,dma-default; > + }; > + }; > + > + aliases { > + serial0 = &uart4; > + serial1 = &usart3; > + }; > + > + leds { > + compatible = "gpio-leds"; > + led-red { > + gpios = <&gpioi 8 0>; > + }; > + led-green { > + gpios = <&gpioc 15 0>; > + linux,default-trigger = "heartbeat"; > + }; > + }; > + > + v3v3: regulator-v3v3 { > + compatible = "regulator-fixed"; > + regulator-name = "v3v3"; > + regulator-min-microvolt = <3300000>; > + regulator-max-microvolt = <3300000>; > + regulator-always-on; > + }; > + > + wlan_pwr: regulator-wlan { > + compatible = "regulator-fixed"; > + > + regulator-name = "wl-reg"; > + regulator-min-microvolt = <3300000>; > + regulator-max-microvolt = <3300000>; > + > + gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>; > + enable-active-high; > + }; > +}; > + > +&clk_hse { > + clock-frequency = <25000000>; > +}; > + > +&dma1 { > + status = "okay"; > +}; > + > +&dma2 { > + status = "okay"; > +}; > + > +&mac { > + status = "disabled"; > + pinctrl-0 = <ðernet_rmii>; > + pinctrl-names = "default"; > + phy-mode = "rmii"; > + phy-handle = <&phy0>; > + > + mdio0 { > + #address-cells = <1>; > + #size-cells = <0>; > + compatible = "snps,dwmac-mdio"; > + phy0: ethernet-phy@0 { > + reg = <0>; > + }; > + }; > +}; > + > +&sdmmc1 { > + pinctrl-names = "default", "opendrain", "sleep"; > + pinctrl-0 = <&sdmmc1_b4_pins_a>; > + pinctrl-1 = <&sdmmc1_b4_od_pins_a>; > + pinctrl-2 = <&sdmmc1_b4_sleep_pins_a>; > + broken-cd; > + st,neg-edge; > + bus-width = <4>; > + vmmc-supply = <&v3v3>; > + status = "okay"; > +}; > + > +&sdmmc2 { > + pinctrl-names = "default", "opendrain", "sleep"; > + pinctrl-0 = <&sdmmc2_b4_pins_a>; > + pinctrl-1 = <&sdmmc2_b4_od_pins_a>; > + pinctrl-2 = <&sdmmc2_b4_sleep_pins_a>; > + broken-cd; > + non-removable; > + st,neg-edge; > + bus-width = <4>; > + vmmc-supply = <&wlan_pwr>; > + status = "okay"; > + > + #address-cells = <1>; > + #size-cells = <0>; > + brcmf: bcrmf@1 { > + reg = <1>; > + compatible = "brcm,bcm4329-fmac"; > + }; > +}; > + > +&spi1 { > + status = "okay"; > + pinctrl-0 = <&spi1_pins>; > + pinctrl-names = "default"; > + cs-gpios = <&gpioa 4 GPIO_ACTIVE_LOW>; > + dmas = <&dmamux1 37 0x400 0x05>, > + <&dmamux1 38 0x400 0x05>; > + dma-names = "rx", "tx"; > + > + flash@0 { > + #address-cells = <1>; > + #size-cells = <1>; > + compatible = "winbond,w25q128", "jedec,spi-nor"; > + reg = <0>; > + spi-max-frequency = <80000000>; > + > + partition@0 { > + label = "root filesystem"; > + reg = <0 0x1000000>; > + }; > + }; > +}; > + > +&usart2 { > + pinctrl-0 = <&usart2_pins>; > + pinctrl-names = "default"; > + status = "disabled"; > +}; > + > +&usart3 { > + pinctrl-names = "default"; > + pinctrl-0 = <&usart3_pins>; > + dmas = <&dmamux1 45 0x400 0x05>, > + <&dmamux1 46 0x400 0x05>; > + dma-names = "rx", "tx"; > + st,hw-flow-ctrl; > + status = "okay"; > + > + bluetooth { > + compatible = "brcm,bcm43438-bt"; > + host-wakeup-gpios = <&gpioc 0 GPIO_ACTIVE_HIGH>; > + device-wakeup-gpios = <&gpioi 10 GPIO_ACTIVE_HIGH>; > + shutdown-gpios = <&gpioi 11 GPIO_ACTIVE_HIGH>; > + max-speed = <115200>; > + }; > +}; > + > +&uart4 { > + pinctrl-0 = <&uart4_pins>; > + pinctrl-names = "default"; > + status = "okay"; > +}; > + > -- > 1.9.1 >