summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorHoward Chiu <howard_chiu@aspeedtech.com>2022-03-29 03:24:03 +0000
committerJoel Stanley <joel@jms.id.au>2022-05-19 17:13:25 +0930
commit08daf2c89186452b4986b8a5f014f6478fe7e769 (patch)
treea891370165aa907cea6bd20b98d19b919c11f243 /arch/arm
parentf6b67950047bc34f08c33132f5614525459fbe8e (diff)
downloadlinux-stable-08daf2c89186452b4986b8a5f014f6478fe7e769.tar.gz
linux-stable-08daf2c89186452b4986b8a5f014f6478fe7e769.tar.bz2
linux-stable-08daf2c89186452b4986b8a5f014f6478fe7e769.zip
ARM: dts: aspeed: ast2600-evb: Enable video engine
Enable video engine and reserve memory for it. Signed-off-by: Howard Chiu <howard_chiu@aspeedtech.com> Link: https://lore.kernel.org/r/SG2PR06MB23159B914BF7EF937FEDD2B5E61E9@SG2PR06MB2315.apcprd06.prod.outlook.com Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/aspeed-ast2600-evb.dts18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/aspeed-ast2600-evb.dts b/arch/arm/boot/dts/aspeed-ast2600-evb.dts
index 788448cdd6b3..6fcd9406987b 100644
--- a/arch/arm/boot/dts/aspeed-ast2600-evb.dts
+++ b/arch/arm/boot/dts/aspeed-ast2600-evb.dts
@@ -23,6 +23,19 @@
reg = <0x80000000 0x80000000>;
};
+ reserved-memory {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges;
+
+ video_engine_memory: video {
+ size = <0x04000000>;
+ alignment = <0x01000000>;
+ compatible = "shared-dma-pool";
+ reusable;
+ };
+ };
+
vcc_sdhci0: regulator-vcc-sdhci0 {
compatible = "regulator-fixed";
regulator-name = "SDHCI0 Vcc";
@@ -300,3 +313,8 @@
vqmmc-supply = <&vccq_sdhci1>;
clk-phase-sd-hs = <7>, <200>;
};
+
+&video {
+ status = "okay";
+ memory-region = <&video_engine_memory>;
+};