Skip to content

Commit

Permalink
Add eMMC to OlinuXino A64 DT
Browse files Browse the repository at this point in the history
  • Loading branch information
martinayotte committed Jul 2, 2018
1 parent c1481e6 commit 174953d
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions patch/kernel/sunxi-dev/board-olinuxino-A64-add-eMMC.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts
index 3b3081b..24cde3d 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts
@@ -58,6 +58,13 @@
stdout-path = "serial0:115200n8";
};

+ 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 0 2 GPIO_ACTIVE_LOW>; /* PL2 */
@@ -92,6 +99,16 @@
};
};

+&mmc2 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&mmc2_pins>;
+ vmmc-supply = <&reg_vcc3v3>;
+ bus-width = <8>;
+ non-removable;
+ cap-mmc-hw-reset;
+ status = "okay";
+};
+
&r_rsb {
status = "okay";

0 comments on commit 174953d

Please sign in to comment.