]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
riscv: dts: starfive: jh7110: add DMC memory controller
authorE Shattow <e@freeshell.de>
Wed, 15 Oct 2025 10:22:45 +0000 (03:22 -0700)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Tue, 28 Oct 2025 11:29:43 +0000 (19:29 +0800)
Add JH7110 SoC DDR external memory controller.

Signed-off-by: E Shattow <e@freeshell.de>
Reviewed-by: Hal Feng <hal.feng@starfivetech.com>
Reviewed-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
[ upstream commit: 7114969021ec5c4c0f3df1da3a8790f75dda92e2 ]

(cherry picked from commit 8d5c520b73b7c29b714f75e99ed48baa55fc5fa1)

dts/upstream/src/riscv/starfive/jh7110.dtsi

index 0ba74ef046792fd63ed6cf971fa1438609b06fb1..f3876660c07f8b371d0554e31e31535f31c4922c 100644 (file)
                                 <&syscrg JH7110_SYSRST_WDT_CORE>;
                };
 
+               memory-controller@15700000 {
+                       compatible = "starfive,jh7110-dmc";
+                       reg = <0x0 0x15700000 0x0 0x10000>,
+                             <0x0 0x13000000 0x0 0x10000>;
+                       clocks = <&syscrg JH7110_PLLCLK_PLL1_OUT>;
+                       clock-names = "pll";
+                       resets = <&syscrg JH7110_SYSRST_DDR_AXI>,
+                                <&syscrg JH7110_SYSRST_DDR_OSC>,
+                                <&syscrg JH7110_SYSRST_DDR_APB>;
+                       reset-names = "axi", "osc", "apb";
+               };
+
                crypto: crypto@16000000 {
                        compatible = "starfive,jh7110-crypto";
                        reg = <0x0 0x16000000 0x0 0x4000>;