* [PATCH 0/2] Add A20-OLinuXino-LIME-eMMC
@ 2020-03-21 7:57 Stefan Mavrodiev
2020-03-21 7:57 ` [PATCH 1/2] ARM: dts: sun7i: " Stefan Mavrodiev
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Stefan Mavrodiev @ 2020-03-21 7:57 UTC (permalink / raw)
To: Rob Herring, Mark Rutland, Maxime Ripard, Chen-Yu Tsai,
Corentin Labbe, Stefan Mavrodiev, Clément Péron,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
moderated list:ARM/Allwinner sunXi SoC support, open list
Cc: linux-sunxi
The board is the same as A20-OLinuXino-LIME with added eMMC chip. So the
dts is almost identical with A20-OLinuXino-LIME2.
This patch series adds a new dts file and appends the bindings
documentation.
Stefan Mavrodiev (2):
ARM: dts: sun7i: Add A20-OLinuXino-LIME-eMMC
dt-bindings: arm: sunxi: Add compatible for A20-OLinuXino-LIME-eMMC
.../devicetree/bindings/arm/sunxi.yaml | 5 +++
arch/arm/boot/dts/Makefile | 1 +
.../dts/sun7i-a20-olinuxino-lime-emmc.dts | 32 +++++++++++++++++++
3 files changed, 38 insertions(+)
create mode 100644 arch/arm/boot/dts/sun7i-a20-olinuxino-lime-emmc.dts
--
2.17.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/2] ARM: dts: sun7i: Add A20-OLinuXino-LIME-eMMC
2020-03-21 7:57 [PATCH 0/2] Add A20-OLinuXino-LIME-eMMC Stefan Mavrodiev
@ 2020-03-21 7:57 ` Stefan Mavrodiev
2020-03-21 7:57 ` [PATCH 2/2] dt-bindings: arm: sunxi: Add compatible for A20-OLinuXino-LIME-eMMC Stefan Mavrodiev
2020-03-24 15:50 ` [PATCH 0/2] Add A20-OLinuXino-LIME-eMMC Maxime Ripard
2 siblings, 0 replies; 4+ messages in thread
From: Stefan Mavrodiev @ 2020-03-21 7:57 UTC (permalink / raw)
To: Rob Herring, Mark Rutland, Maxime Ripard, Chen-Yu Tsai,
Corentin Labbe, Stefan Mavrodiev, Clément Péron,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
moderated list:ARM/Allwinner sunXi SoC support, open list
Cc: linux-sunxi
There is new version of A20-OLinuXino-LIME with eMMC storage. The
card routing is the same as in A20-OLinuXino-LIME2-eMMC, so this
is basically copy/paste.
Signed-off-by: Stefan Mavrodiev <stefan@olimex.com>
---
arch/arm/boot/dts/Makefile | 1 +
.../dts/sun7i-a20-olinuxino-lime-emmc.dts | 32 +++++++++++++++++++
2 files changed, 33 insertions(+)
create mode 100644 arch/arm/boot/dts/sun7i-a20-olinuxino-lime-emmc.dts
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index d6546d2676b9..6bf3c5a98a0f 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -1093,6 +1093,7 @@ dtb-$(CONFIG_MACH_SUN7I) += \
sun7i-a20-olimex-som204-evb.dtb \
sun7i-a20-olimex-som204-evb-emmc.dtb \
sun7i-a20-olinuxino-lime.dtb \
+ sun7i-a20-olinuxino-lime-emmc.dtb \
sun7i-a20-olinuxino-lime2.dtb \
sun7i-a20-olinuxino-lime2-emmc.dtb \
sun7i-a20-olinuxino-micro.dtb \
diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime-emmc.dts b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime-emmc.dts
new file mode 100644
index 000000000000..033cab3443f8
--- /dev/null
+++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime-emmc.dts
@@ -0,0 +1,32 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (C) 2020 Olimex Ltd.
+ * Author: Stefan Mavrodiev <stefan@olimex.com>
+ */
+
+#include "sun7i-a20-olinuxino-lime.dts"
+
+/ {
+ model = "Olimex A20-OLinuXino-LIME-eMMC";
+ compatible = "olimex,a20-olinuxino-lime-emmc", "allwinner,sun7i-a20";
+
+ mmc2_pwrseq: pwrseq {
+ compatible = "mmc-pwrseq-emmc";
+ reset-gpios = <&pio 2 16 GPIO_ACTIVE_LOW>;
+ };
+};
+
+&mmc2 {
+ vmmc-supply = <®_vcc3v3>;
+ vqmmc-supply = <®_vcc3v3>;
+ bus-width = <4>;
+ non-removable;
+ mmc-pwrseq = <&mmc2_pwrseq>;
+ status = "okay";
+
+ emmc: emmc@0 {
+ reg = <0>;
+ compatible = "mmc-card";
+ broken-hpi;
+ };
+};
--
2.17.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] dt-bindings: arm: sunxi: Add compatible for A20-OLinuXino-LIME-eMMC
2020-03-21 7:57 [PATCH 0/2] Add A20-OLinuXino-LIME-eMMC Stefan Mavrodiev
2020-03-21 7:57 ` [PATCH 1/2] ARM: dts: sun7i: " Stefan Mavrodiev
@ 2020-03-21 7:57 ` Stefan Mavrodiev
2020-03-24 15:50 ` [PATCH 0/2] Add A20-OLinuXino-LIME-eMMC Maxime Ripard
2 siblings, 0 replies; 4+ messages in thread
From: Stefan Mavrodiev @ 2020-03-21 7:57 UTC (permalink / raw)
To: Rob Herring, Mark Rutland, Maxime Ripard, Chen-Yu Tsai,
Corentin Labbe, Stefan Mavrodiev, Clément Péron,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
moderated list:ARM/Allwinner sunXi SoC support, open list
Cc: linux-sunxi
Add compatible string for A20-OLinuXino-LIME2-eMMC to the
bindings documentation.
Signed-off-by: Stefan Mavrodiev <stefan@olimex.com>
---
Documentation/devicetree/bindings/arm/sunxi.yaml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/sunxi.yaml b/Documentation/devicetree/bindings/arm/sunxi.yaml
index 327ce6730823..25c09a121b63 100644
--- a/Documentation/devicetree/bindings/arm/sunxi.yaml
+++ b/Documentation/devicetree/bindings/arm/sunxi.yaml
@@ -555,6 +555,11 @@ properties:
- const: olimex,a20-olinuxino-lime
- const: allwinner,sun7i-a20
+ - description: Olimex A20-OlinuXino LIME (with eMMC)
+ items:
+ - const: olimex,a20-olinuxino-lime-emmc
+ - const: allwinner,sun7i-a20
+
- description: Olimex A20-OlinuXino LIME2
items:
- const: olimex,a20-olinuxino-lime2
--
2.17.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 0/2] Add A20-OLinuXino-LIME-eMMC
2020-03-21 7:57 [PATCH 0/2] Add A20-OLinuXino-LIME-eMMC Stefan Mavrodiev
2020-03-21 7:57 ` [PATCH 1/2] ARM: dts: sun7i: " Stefan Mavrodiev
2020-03-21 7:57 ` [PATCH 2/2] dt-bindings: arm: sunxi: Add compatible for A20-OLinuXino-LIME-eMMC Stefan Mavrodiev
@ 2020-03-24 15:50 ` Maxime Ripard
2 siblings, 0 replies; 4+ messages in thread
From: Maxime Ripard @ 2020-03-24 15:50 UTC (permalink / raw)
To: Stefan Mavrodiev
Cc: Rob Herring, Mark Rutland, Chen-Yu Tsai, Corentin Labbe,
Clément Péron,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
moderated list:ARM/Allwinner sunXi SoC support, open list,
linux-sunxi
[-- Attachment #1: Type: text/plain, Size: 309 bytes --]
On Sat, Mar 21, 2020 at 09:57:55AM +0200, Stefan Mavrodiev wrote:
> The board is the same as A20-OLinuXino-LIME with added eMMC chip. So the
> dts is almost identical with A20-OLinuXino-LIME2.
>
> This patch series adds a new dts file and appends the bindings
> documentation.
Queued for 5.8, thanks!
Maxime
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-03-24 15:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-21 7:57 [PATCH 0/2] Add A20-OLinuXino-LIME-eMMC Stefan Mavrodiev
2020-03-21 7:57 ` [PATCH 1/2] ARM: dts: sun7i: " Stefan Mavrodiev
2020-03-21 7:57 ` [PATCH 2/2] dt-bindings: arm: sunxi: Add compatible for A20-OLinuXino-LIME-eMMC Stefan Mavrodiev
2020-03-24 15:50 ` [PATCH 0/2] Add A20-OLinuXino-LIME-eMMC Maxime Ripard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).