Skip to content

Commit

Permalink
arm64: dts: turing-rk1: enable reserved memory for cma
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua-Riek authored and amazingfate committed Nov 10, 2023
1 parent 5e77006 commit d51a550
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions arch/arm64/boot/dts/rockchip/rk3588-turing-rk1.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,21 @@
serial9 = &uart9;
};

/* If hdmirx node is disabled, delete the reserved-memory node here. */
reserved-memory {
#address-cells = <2>;
#size-cells = <2>;
ranges;

/* Reserve 256MB memory for hdmirx-controller@fdee0000 */
cma {
compatible = "shared-dma-pool";
reusable;
reg = <0x0 (256 * 0x100000) 0x0 (256 * 0x100000)>;
linux,cma-default;
};
};

fan: pwm-fan {
compatible = "pwm-fan";
cooling-levels = <100 160 190 200 215 235 255>;
Expand Down

0 comments on commit d51a550

Please sign in to comment.