]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
riscv: dts: starfive: jh7110: add DMC memory controller
authorE Shattow <e@freeshell.de>
Sat, 23 Aug 2025 10:01:42 +0000 (03:01 -0700)
committerConor Dooley <conor.dooley@microchip.com>
Thu, 4 Sep 2025 17:57:30 +0000 (18:57 +0100)
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>
arch/riscv/boot/dts/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>;