[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200212122511.5gr6m4ppmytq4ajj@core.my.home>
Date: Wed, 12 Feb 2020 13:25:11 +0100
From: Ondřej Jirman <megous@...ous.com>
To: Jernej Skrabec <jernej.skrabec@...l.net>
Cc: mripard@...nel.org, wens@...e.org, robh+dt@...nel.org,
mark.rutland@....com, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-sunxi@...glegroups.com
Subject: Re: [linux-sunxi] [PATCH v2] arm64: dts: allwinner: h6: orangepi-3:
Add eMMC node
Hi,
On Mon, Feb 10, 2020 at 06:40:07PM +0100, Jernej Skrabec wrote:
> OrangePi 3 can optionally have 8 GiB eMMC (soldered on board). Because
> those pins are dedicated to eMMC exclusively, node can be added for both
> variants (with and without eMMC). Kernel will then scan bus for presence
> of eMMC and act accordingly.
Tested-by: Ondrej Jirman <megous@...ous.com> (on a variant without eMMC)
It didn't magically add extra 8GiB of storage, but it didn't break anything
either. :)
regards,
o.
> Signed-off-by: Jernej Skrabec <jernej.skrabec@...l.net>
> ---
> Changes since v1:
> - don't make separate DT just for -emmc variant - add node to existing
> orangepi 3 DT
>
> arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts
> index c311eee52a35..1e0abd9d047f 100644
> --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts
> +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts
> @@ -144,6 +144,15 @@ brcm: sdio-wifi@1 {
> };
> };
>
> +&mmc2 {
> + vmmc-supply = <®_cldo1>;
> + vqmmc-supply = <®_bldo2>;
> + cap-mmc-hw-reset;
> + non-removable;
> + bus-width = <8>;
> + status = "okay";
> +};
> +
> &ohci0 {
> status = "okay";
> };
> --
> 2.25.0
>
> --
> You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe@...glegroups.com.
> To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20200210174007.118575-1-jernej.skrabec%40siol.net.
Powered by blists - more mailing lists