Alliwinner: Add eMMC definition to device tree of Orange PI 3

This commit is contained in:
Félix Arreola Rodríguez 2019-06-10 21:00:37 -05:00 committed by MilhouseVH
parent 17402b185f
commit 075cd80895
2 changed files with 22 additions and 2 deletions

View File

@ -302,7 +302,7 @@ new file mode 100644
index 0000000000000..17d4969901086
--- /dev/null
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts
@@ -0,0 +1,219 @@
@@ -0,0 +1,229 @@
+// SPDX-License-Identifier: (GPL-2.0+ or MIT)
+/*
+ * Copyright (C) 2019 Ondřej Jirman <megous@megous.com>
@ -374,6 +374,16 @@ index 0000000000000..17d4969901086
+ status = "okay";
+};
+
+&mmc2 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&mmc2_pins>;
+ vmmc-supply = <&reg_cldo1>;
+ non-removable;
+ cap-mmc-hw-reset;
+ bus-width = <8>;
+ status = "okay";
+};
+
+&ohci0 {
+ status = "okay";
+};

View File

@ -15,7 +15,7 @@ new file mode 100644
index 0000000000..8070adc39b
--- /dev/null
+++ b/arch/arm/dts/sun50i-h6-orangepi-3.dts
@@ -0,0 +1,316 @@
@@ -0,0 +1,326 @@
+// SPDX-License-Identifier: (GPL-2.0+ or MIT)
+/*
+ * Copyright (C) 2019 Ondřej Jirman <megous@megous.com>
@ -183,6 +183,16 @@ index 0000000000..8070adc39b
+ status = "okay";
+};
+
+&mmc2 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&mmc2_pins>;
+ vmmc-supply = <&reg_cldo1>;
+ non-removable;
+ cap-mmc-hw-reset;
+ bus-width = <8>;
+ status = "okay";
+};
+
+&ohci0 {
+ status = "okay";
+};