瀏覽代碼

ARM64: dts: AM654: add device tree entry for SGX

Addition of SGX to AM654 base dtsi for graphics support

Note: The SGX is disabled by default because it may be an optional module
and only some AM654 variants contain this module. The status should be
overwritten as "okay" at the corresponding board dts.

Signed-off-by: Eric Ruei <e-ruei1@ti.com>
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
[praneeth@ti.com: rebase from graphics-ti-linux-4.14.y]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Eric Ruei 6 年之前
父節點
當前提交
b29ebd173f
共有 1 個文件被更改,包括 10 次插入0 次删除
  1. 10 0
      arch/arm64/boot/dts/ti/k3-am65-main.dtsi

+ 10 - 0
arch/arm64/boot/dts/ti/k3-am65-main.dtsi

@@ -445,6 +445,16 @@
 		status = "disabled";
 	};
 
+	gpu: gpu@7000000 {
+		compatible = "ti,am654-sgx544", "img,sgx544";
+		reg = <0x0 0x7000000 0x0 0x10000>;
+		interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>;
+		power-domains = <&k3_pds 65>;
+		clocks = <&k3_clks 65 0>, <&k3_clks 65 1>, <&k3_clks 65 2>, <&k3_clks 65 3>;
+		clock-names = "mem_clk", "hyd_clk", "sgx_clk", "sys_clk";
+		status = "disabled";
+	};
+
 	hwspinlock: spinlock@30e00000 {
 		compatible = "ti,am654-hwspinlock";
 		reg = <0x00 0x30e00000 0x00 0x1000>;