arm64: dts: allwinner: a64: Update MBUS node
authorSamuel Holland <samuel@sholland.org>
Thu, 18 Nov 2021 03:18:40 +0000 (21:18 -0600)
committerMaxime Ripard <maxime@cerno.tech>
Tue, 23 Nov 2021 10:29:56 +0000 (11:29 +0100)
In order to support memory dynamic frequency scaling (MDFS), the MBUS
binding now requires enumerating more resources. Provide them in the
device tree.

Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20211118031841.42315-6-samuel@sholland.org
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi

index 741bd19fa8ec2f20525b2ca1cb1f943575354dd5..de77c87481fd1f612664804ec3880e9b1a9db33e 100644 (file)
 
                mbus: dram-controller@1c62000 {
                        compatible = "allwinner,sun50i-a64-mbus";
-                       reg = <0x01c62000 0x1000>;
-                       clocks = <&ccu 112>;
+                       reg = <0x01c62000 0x1000>,
+                             <0x01c63000 0x1000>;
+                       reg-names = "mbus", "dram";
+                       clocks = <&ccu CLK_MBUS>,
+                                <&ccu CLK_DRAM>,
+                                <&ccu CLK_BUS_DRAM>;
+                       clock-names = "mbus", "dram", "bus";
+                       interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
                        #address-cells = <1>;
                        #size-cells = <1>;
                        dma-ranges = <0x00000000 0x40000000 0xc0000000>;