From mboxrd@z Thu Jan 1 00:00:00 1970 From: yixun.lan@amlogic.com (Yixun Lan) Date: Tue, 5 Jun 2018 14:56:34 +0800 Subject: [PATCH] ARM64: dts: meson-axg: fix register ranges for SD/eMMC In-Reply-To: <20180604222706.36167-1-khilman@baylibre.com> References: <20180604222706.36167-1-khilman@baylibre.com> Message-ID: <8b1a25e1-2447-40b7-1394-d10ff200a4ec@amlogic.com> To: linus-amlogic@lists.infradead.org List-Id: linus-amlogic.lists.infradead.org Hi Kevin On 06/05/18 06:27, Kevin Hilman wrote: > Based on updated information from Amlogic, correct the register > range for the SD/eMMC blocks to the right size. > > Reported-by: Yixun Lan > Signed-off-by: Kevin Hilman > --- > 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 = ; > 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 = ; > status = "disabled"; > clocks = <&clkc CLKID_SD_EMMC_C>, > Starting from GXBB series, the SD/eMMC register range is changed to 0x800, so arch/arm64/boot/dts/amlogic/meson-gx.dtsi also need to be adjusted Also, test passed on boards: GXBB(p200), GXL(p212, p230), AXG(s400) Thanks for bringing up this, and fix them. Yixun