46 lines
1.3 KiB
Diff
46 lines
1.3 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Igor Pecovnik <igor.pecovnik@gmail.com>
|
|
Date: Sat, 11 Feb 2023 18:30:00 +0100
|
|
Subject: BananaPi M5: 270 clock phase, via amlogic,mmc-phase
|
|
|
|
Rework of Ricardo Pardini <ricardo@pardini.net> patch.
|
|
|
|
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
|
|
---
|
|
arch/arm64/boot/dts/amlogic/meson-sm1-bananapi.dtsi | 5 +++++
|
|
1 file changed, 5 insertions(+)
|
|
|
|
diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1-bananapi.dtsi b/arch/arm64/boot/dts/amlogic/meson-sm1-bananapi.dtsi
|
|
index 17045ff81c69..7e80151874f1 100644
|
|
--- a/arch/arm64/boot/dts/amlogic/meson-sm1-bananapi.dtsi
|
|
+++ b/arch/arm64/boot/dts/amlogic/meson-sm1-bananapi.dtsi
|
|
@@ -8,6 +8,7 @@
|
|
#include <dt-bindings/leds/common.h>
|
|
#include <dt-bindings/input/linux-event-codes.h>
|
|
#include <dt-bindings/gpio/meson-g12a-gpio.h>
|
|
+#include <dt-bindings/mmc/meson-gx-mmc.h>
|
|
|
|
/ {
|
|
adc-keys {
|
|
@@ -394,6 +395,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 */
|
|
@@ -413,6 +416,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>;
|
|
};
|
|
|
|
&uart_AO {
|
|
--
|
|
Armbian
|
|
|