ARM: dts: aspeed: amd-ethanolx: Enable devices for the iKVM functionality
authorKonstantin Aladyshev <aladyshev22@gmail.com>
Tue, 27 Oct 2020 12:37:22 +0000 (15:37 +0300)
committerJoel Stanley <joel@jms.id.au>
Mon, 2 Nov 2020 12:27:07 +0000 (23:27 +1100)
Enable the USB 2.0 Virtual Hub Controller and
the Video Engine with it's reserved memory region for the implementation
of the iKVM functionality in the BMC.

Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
Reviewed-by: Supreeth Venkatesh <supreeth.venkatesh@amd.com>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20201027123722.2935-3-aladyshev22@gmail.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts

index 2a86bda..b93ed44 100644 (file)
        memory@80000000 {
                reg = <0x80000000 0x20000000>;
        };
+
+       reserved-memory {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges;
+
+               video_engine_memory: jpegbuffer {
+                       size = <0x02000000>;    /* 32M */
+                       alignment = <0x01000000>;
+                       compatible = "shared-dma-pool";
+                       reusable;
+               };
+       };
+
+
        aliases {
                serial0 = &uart1;
                serial4 = &uart5;
        };
 };
 
+&video {
+       status = "okay";
+       memory-region = <&video_engine_memory>;
+};
 
+&vhub {
+       status = "okay";
+};