Thread (1 message) 1 message, 1 author, 2018-06-05
DORMANTno replies

[PATCH] ARM64: dts: meson-axg: fix register ranges for SD/eMMC

From: khilman@baylibre.com (Kevin Hilman)
Date: 2018-06-05 21:56:04
Also in: linux-amlogic

Jerome Brunet [off-list ref] writes:
On Mon, 2018-06-04 at 15:27 -0700, Kevin Hilman wrote:
quoted
Based on updated information from Amlogic, correct the register
range for the SD/eMMC blocks to the right size.

Reported-by: Yixun Lan <redacted>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Shouldn't we make the same the change on the gx family ?
Yes, I was waiting for confirmation from Yixun.  Will spin a v2 with GX
included.

Kevin
quoted
---
Yixun, please test and confirm this still works on AXG boards.

 arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
index fee87737a201..67d7115e4eff 100644
--- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
@@ -132,7 +132,7 @@
 
 			sd_emmc_b: sd at 5000 {
 				compatible = "amlogic,meson-axg-mmc";
-				reg = <0x0 0x5000 0x0 0x2000>;
+				reg = <0x0 0x5000 0x0 0x800>;
 				interrupts = <GIC_SPI 217 IRQ_TYPE_EDGE_RISING>;
 				status = "disabled";
 				clocks = <&clkc CLKID_SD_EMMC_B>,
@@ -144,7 +144,7 @@
 
 			sd_emmc_c: mmc at 7000 {
 				compatible = "amlogic,meson-axg-mmc";
-				reg = <0x0 0x7000 0x0 0x2000>;
+				reg = <0x0 0x7000 0x0 0x800>;
 				interrupts = <GIC_SPI 218 IRQ_TYPE_EDGE_RISING>;
 				status = "disabled";
 				clocks = <&clkc CLKID_SD_EMMC_C>,
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help