44 lines
1.3 KiB
Diff
44 lines
1.3 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Ricardo Pardini <ricardo@pardini.net>
|
|
Date: Mon, 9 Jan 2023 02:18:23 +0100
|
|
Subject: BananaPi M5: 270 clock phase, via amlogic,mmc-phase
|
|
|
|
BananaPi M5: 270 clock phase, via amlogic,mmc-phase
|
|
---
|
|
arch/arm64/boot/dts/amlogic/meson-sm1-bananapi-m5.dts | 5 +++++
|
|
1 file changed, 5 insertions(+)
|
|
|
|
diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1-bananapi-m5.dts b/arch/arm64/boot/dts/amlogic/meson-sm1-bananapi-m5.dts
|
|
index 38ebe98ba9c6..37ae57f81b87 100644
|
|
--- a/arch/arm64/boot/dts/amlogic/meson-sm1-bananapi-m5.dts
|
|
+++ b/arch/arm64/boot/dts/amlogic/meson-sm1-bananapi-m5.dts
|
|
@@ -12,6 +12,7 @@
|
|
#include <dt-bindings/gpio/meson-g12a-gpio.h>
|
|
#include <dt-bindings/sound/meson-g12a-toacodec.h>
|
|
#include <dt-bindings/sound/meson-g12a-tohdmitx.h>
|
|
+#include <dt-bindings/mmc/meson-gx-mmc.h>
|
|
|
|
/ {
|
|
compatible = "bananapi,bpi-m5", "amlogic,sm1";
|
|
@@ -558,6 +559,8 @@ &sd_emmc_b {
|
|
cd-gpios = <&gpio GPIOC_6 GPIO_ACTIVE_LOW>;
|
|
vmmc-supply = <&tflash_vdd>;
|
|
vqmmc-supply = <&vddio_c>;
|
|
+
|
|
+ amlogic,mmc-phase = <CLK_PHASE_270 CLK_PHASE_0 CLK_PHASE_0>;
|
|
};
|
|
|
|
/* eMMC */
|
|
@@ -577,6 +580,8 @@ &sd_emmc_c {
|
|
mmc-pwrseq = <&emmc_pwrseq>;
|
|
vmmc-supply = <&vddao_3v3>;
|
|
vqmmc-supply = <&emmc_1v8>;
|
|
+
|
|
+ amlogic,mmc-phase = <CLK_PHASE_270 CLK_PHASE_0 CLK_PHASE_0>;
|
|
};
|
|
|
|
&tdmif_b {
|
|
--
|
|
Armbian
|
|
|