46 lines
1.4 KiB
Diff
46 lines
1.4 KiB
Diff
From 62f0db8b473e4746fb1790c9598def7f9de70b13 Mon Sep 17 00:00:00 2001
|
|
From: Igor Pecovnik <igor.pecovnik@gmail.com>
|
|
Date: Sat, 11 Feb 2023 18:30:00 +0100
|
|
Subject: [PATCH] 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 c914f1148..ea4784a19 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 {
|
|
--
|
|
Created with Armbian build tools https://github.com/armbian/build
|
|
|