From: icenowy@outlook.com To: Rob Herring <robh+dt@kernel.org>, Chen-Yu Tsai <wens@csie.org>, Jernej Skrabec <jernej.skrabec@gmail.com>, Samuel Holland <samuel@sholland.org>, Ulf Hansson <ulf.hansson@linaro.org>, Linus Walleij <linus.walleij@linaro.org>, Andre Przywara <andre.przywara@arm.com> Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Icenowy Zheng <icenowy@aosc.io> Subject: [PATCH 11/12] arm64: allwinner: dts: r329: add DTSI file for Sipeed Maix IIA Date: Fri, 22 Apr 2022 23:41:14 +0800 [thread overview] Message-ID: <BYAPR20MB2472DBBB3C601954320CA5A0BCF79@BYAPR20MB2472.namprd20.prod.outlook.com> (raw) In-Reply-To: <20220422140902.1058101-1-icenowy@aosc.io> From: Icenowy Zheng <icenowy@aosc.io> Sipeed Maix IIA is a R329-N4 (AIPU available and 256MiB DRAM) based SoM, with a Realtek SDIO Wi-Fi module on it. Add a DTSI file for it. Signed-off-by: Icenowy Zheng <icenowy@aosc.io> --- .../dts/allwinner/sun50i-r329-maix-iia.dtsi | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-r329-maix-iia.dtsi diff --git a/arch/arm64/boot/dts/allwinner/sun50i-r329-maix-iia.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-r329-maix-iia.dtsi new file mode 100644 index 000000000000..15774f8a5445 --- /dev/null +++ b/arch/arm64/boot/dts/allwinner/sun50i-r329-maix-iia.dtsi @@ -0,0 +1,34 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +// Copyright (c) 2021 Sipeed + +#include "sun50i-r329.dtsi" + +#include <dt-bindings/gpio/gpio.h> + +/ { + reg_vcc3v3: vcc3v3 { + compatible = "regulator-fixed"; + regulator-name = "vcc3v3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; + + wifi_pwrseq: wifi_pwrseq { + compatible = "mmc-pwrseq-simple"; + reset-gpios = <&r_pio 1 0 GPIO_ACTIVE_LOW>; /* PM0 */ + post-power-on-delay-ms = <200>; + }; +}; + +&mmc1 { + pinctrl-names = "default"; + pinctrl-0 = <&mmc1_clk_pg0>, <&mmc1_cmd_pg1>, <&mmc1_d0_pg2>, + <&mmc1_d1_pg3>, <&mmc1_d2_pg4>, <&mmc1_d3_pg5>; + + vmmc-supply = <®_vcc3v3>; + vqmmc-supply = <®_vcc3v3>; + mmc-pwrseq = <&wifi_pwrseq>; + bus-width = <4>; + non-removable; + status = "okay"; +}; -- 2.35.1
WARNING: multiple messages have this Message-ID (diff)
From: icenowy@outlook.com To: Rob Herring <robh+dt@kernel.org>, Chen-Yu Tsai <wens@csie.org>, Jernej Skrabec <jernej.skrabec@gmail.com>, Samuel Holland <samuel@sholland.org>, Ulf Hansson <ulf.hansson@linaro.org>, Linus Walleij <linus.walleij@linaro.org>, Andre Przywara <andre.przywara@arm.com> Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Icenowy Zheng <icenowy@aosc.io> Subject: [PATCH 11/12] arm64: allwinner: dts: r329: add DTSI file for Sipeed Maix IIA Date: Fri, 22 Apr 2022 23:41:14 +0800 [thread overview] Message-ID: <BYAPR20MB2472DBBB3C601954320CA5A0BCF79@BYAPR20MB2472.namprd20.prod.outlook.com> (raw) In-Reply-To: <20220422140902.1058101-1-icenowy@aosc.io> From: Icenowy Zheng <icenowy@aosc.io> Sipeed Maix IIA is a R329-N4 (AIPU available and 256MiB DRAM) based SoM, with a Realtek SDIO Wi-Fi module on it. Add a DTSI file for it. Signed-off-by: Icenowy Zheng <icenowy@aosc.io> --- .../dts/allwinner/sun50i-r329-maix-iia.dtsi | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-r329-maix-iia.dtsi diff --git a/arch/arm64/boot/dts/allwinner/sun50i-r329-maix-iia.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-r329-maix-iia.dtsi new file mode 100644 index 000000000000..15774f8a5445 --- /dev/null +++ b/arch/arm64/boot/dts/allwinner/sun50i-r329-maix-iia.dtsi @@ -0,0 +1,34 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +// Copyright (c) 2021 Sipeed + +#include "sun50i-r329.dtsi" + +#include <dt-bindings/gpio/gpio.h> + +/ { + reg_vcc3v3: vcc3v3 { + compatible = "regulator-fixed"; + regulator-name = "vcc3v3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; + + wifi_pwrseq: wifi_pwrseq { + compatible = "mmc-pwrseq-simple"; + reset-gpios = <&r_pio 1 0 GPIO_ACTIVE_LOW>; /* PM0 */ + post-power-on-delay-ms = <200>; + }; +}; + +&mmc1 { + pinctrl-names = "default"; + pinctrl-0 = <&mmc1_clk_pg0>, <&mmc1_cmd_pg1>, <&mmc1_d0_pg2>, + <&mmc1_d1_pg3>, <&mmc1_d2_pg4>, <&mmc1_d3_pg5>; + + vmmc-supply = <®_vcc3v3>; + vqmmc-supply = <®_vcc3v3>; + mmc-pwrseq = <&wifi_pwrseq>; + bus-width = <4>; + non-removable; + status = "okay"; +}; -- 2.35.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2022-04-22 15:43 UTC|newest] Thread overview: 58+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-04-22 14:08 [PATCH 00/12] Initial support for Allwinner R329 Icenowy Zheng 2022-04-22 14:08 ` Icenowy Zheng 2022-04-22 14:08 ` [PATCH 01/12] dt-bindings: pinctrl: document Allwinner R329 PIO and R-PIO Icenowy Zheng 2022-04-22 14:08 ` Icenowy Zheng 2022-04-23 21:26 ` Samuel Holland 2022-04-23 21:26 ` Samuel Holland 2022-04-22 15:40 ` [PATCH 02/12] pinctrl: sunxi: add support for R329 CPUX pin controller icenowy 2022-04-22 15:40 ` icenowy 2022-04-23 21:29 ` Samuel Holland 2022-04-23 21:29 ` Samuel Holland 2022-04-22 15:41 ` [PATCH 03/12] pinctrl: sunxi: add support for R329 R-PIO " icenowy 2022-04-22 15:41 ` icenowy 2022-04-23 21:31 ` Samuel Holland 2022-04-23 21:31 ` Samuel Holland 2022-04-22 15:41 ` [PATCH 04/12] rtc: sun6i: add support for R329 RTC icenowy 2022-04-22 15:41 ` icenowy 2022-04-23 21:46 ` Samuel Holland 2022-04-23 21:46 ` Samuel Holland 2022-04-22 15:41 ` [PATCH 05/12] dt-bindings: clock: sunxi-ng: add bindings for R329 CCUs icenowy 2022-04-22 15:41 ` icenowy 2022-04-24 0:18 ` Samuel Holland 2022-04-24 0:18 ` Samuel Holland 2022-05-02 21:34 ` Rob Herring 2022-05-02 21:34 ` Rob Herring 2022-05-03 19:55 ` Jernej Škrabec 2022-05-03 19:55 ` Jernej Škrabec 2022-05-04 0:12 ` Rob Herring 2022-05-04 0:12 ` Rob Herring 2022-04-22 15:41 ` [PATCH 06/12] clk: sunxi=ng: add support " icenowy 2022-04-22 15:41 ` icenowy 2022-04-24 2:12 ` Samuel Holland 2022-04-24 2:12 ` Samuel Holland 2022-07-12 11:57 ` Icenowy Zheng 2022-07-12 11:57 ` Icenowy Zheng 2022-07-12 12:16 ` Icenowy Zheng 2022-07-12 12:16 ` Icenowy Zheng 2022-04-22 15:41 ` [PATCH 07/12] dt-bindings: mmc: sunxi-mmc: add R329 MMC compatible string icenowy 2022-04-22 15:41 ` icenowy 2022-04-24 2:22 ` Samuel Holland 2022-04-24 2:22 ` Samuel Holland 2022-04-22 15:41 ` [PATCH 08/12] mmc: sunxi: add support for R329 MMC controllers icenowy 2022-04-22 15:41 ` icenowy 2022-04-24 2:27 ` Samuel Holland 2022-04-24 2:27 ` Samuel Holland 2022-05-04 13:53 ` Ulf Hansson 2022-05-04 13:53 ` Ulf Hansson 2022-04-22 15:41 ` [PATCH 09/12] dt-bindings: arm: sunxi: add compatible strings for Sipeed MaixSense icenowy 2022-04-22 15:41 ` icenowy 2022-05-02 21:35 ` Rob Herring 2022-05-02 21:35 ` Rob Herring 2022-04-22 15:41 ` [PATCH 10/12] arm64: allwinner: dts: add DTSI file for R329 SoC icenowy 2022-04-22 15:41 ` icenowy 2022-04-24 2:36 ` Samuel Holland 2022-04-24 2:36 ` Samuel Holland 2022-04-22 15:41 ` icenowy [this message] 2022-04-22 15:41 ` [PATCH 11/12] arm64: allwinner: dts: r329: add DTSI file for Sipeed Maix IIA icenowy 2022-04-22 15:41 ` [PATCH 12/12] arm64: allwinner: dts: r329: add support for Sipeed MaixSense icenowy 2022-04-22 15:41 ` icenowy
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=BYAPR20MB2472DBBB3C601954320CA5A0BCF79@BYAPR20MB2472.namprd20.prod.outlook.com \ --to=icenowy@outlook.com \ --cc=andre.przywara@arm.com \ --cc=devicetree@vger.kernel.org \ --cc=icenowy@aosc.io \ --cc=jernej.skrabec@gmail.com \ --cc=linus.walleij@linaro.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-sunxi@lists.linux.dev \ --cc=robh+dt@kernel.org \ --cc=samuel@sholland.org \ --cc=ulf.hansson@linaro.org \ --cc=wens@csie.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.