git: 4e6f174686f6 - stable/13 - arm: allwinner: dtb: Add overlays to disable SD/MMC node
Emmanuel Vadot
manu at FreeBSD.org
Thu Jul 22 17:29:36 UTC 2021
The branch stable/13 has been updated by manu:
URL: https://cgit.FreeBSD.org/src/commit/?id=4e6f174686f621fc2c4f17536f26457cca852a2e
commit 4e6f174686f621fc2c4f17536f26457cca852a2e
Author: Emmanuel Vadot <manu at FreeBSD.org>
AuthorDate: 2021-05-26 10:58:50 +0000
Commit: Emmanuel Vadot <manu at FreeBSD.org>
CommitDate: 2021-07-22 17:29:21 +0000
arm: allwinner: dtb: Add overlays to disable SD/MMC node
Useful for dev
Sponsored by: Diablotin Systems
(cherry picked from commit bc805293d8dac3a984edc45a5acf3906af791c13)
---
sys/dts/arm/overlays/sun8i-h3-mmc0-disable.dtso | 10 ++++++++++
sys/dts/arm/overlays/sun8i-h3-mmc1-disable.dtso | 10 ++++++++++
sys/dts/arm/overlays/sun8i-h3-mmc2-disable.dtso | 10 ++++++++++
sys/modules/dtb/allwinner/Makefile | 5 ++++-
4 files changed, 34 insertions(+), 1 deletion(-)
diff --git a/sys/dts/arm/overlays/sun8i-h3-mmc0-disable.dtso b/sys/dts/arm/overlays/sun8i-h3-mmc0-disable.dtso
new file mode 100644
index 000000000000..137c66081efd
--- /dev/null
+++ b/sys/dts/arm/overlays/sun8i-h3-mmc0-disable.dtso
@@ -0,0 +1,10 @@
+/dts-v1/;
+/plugin/;
+
+/ {
+ compatible = "allwinner,sun8i-h3";
+};
+
+&{/soc/mmc at 1c0f000} {
+ status = "disabled";
+};
diff --git a/sys/dts/arm/overlays/sun8i-h3-mmc1-disable.dtso b/sys/dts/arm/overlays/sun8i-h3-mmc1-disable.dtso
new file mode 100644
index 000000000000..36854b4b0c39
--- /dev/null
+++ b/sys/dts/arm/overlays/sun8i-h3-mmc1-disable.dtso
@@ -0,0 +1,10 @@
+/dts-v1/;
+/plugin/;
+
+/ {
+ compatible = "allwinner,sun8i-h3";
+};
+
+&{/soc/mmc at 1c10000} {
+ status = "disabled";
+};
diff --git a/sys/dts/arm/overlays/sun8i-h3-mmc2-disable.dtso b/sys/dts/arm/overlays/sun8i-h3-mmc2-disable.dtso
new file mode 100644
index 000000000000..ad0fc625a4a2
--- /dev/null
+++ b/sys/dts/arm/overlays/sun8i-h3-mmc2-disable.dtso
@@ -0,0 +1,10 @@
+/dts-v1/;
+/plugin/;
+
+/ {
+ compatible = "allwinner,sun8i-h3";
+};
+
+&{/soc/mmc at 1c11000} {
+ status = "disabled";
+};
diff --git a/sys/modules/dtb/allwinner/Makefile b/sys/modules/dtb/allwinner/Makefile
index 184cadb63fb9..fe3dccc7fd91 100644
--- a/sys/modules/dtb/allwinner/Makefile
+++ b/sys/modules/dtb/allwinner/Makefile
@@ -25,7 +25,10 @@ DTS= \
sun8i-h3-orangepi-plus2e.dts
DTSO= sun8i-a83t-sid.dtso \
- sun8i-h3-i2c0.dtso
+ sun8i-h3-i2c0.dtso \
+ sun8i-h3-mmc0-disable.dtso \
+ sun8i-h3-mmc1-disable.dtso \
+ sun8i-h3-mmc2-disable.dtso
LINKS= \
${DTBDIR}/sun4i-a10-cubieboard.dtb ${DTBDIR}/cubieboard.dtb \
More information about the dev-commits-src-all
mailing list