Restore Adreno 304 GPU and IOMMU device-tree nodes in standalone DTS/DTBs

This commit is contained in:
Luxferre committed 2026-10-30 20:07:31 +02:00
1 parent a36b908faf
commit 21a135eff2
9 files changed
+162

No files matched your search

Binary file not shown.
@@ -1053,6 +1053,60 @@
phandle = <0x15>;
};
gpu: gpu@1c00000 {
compatible = "qcom,adreno-304.0", "qcom,adreno";
reg = <0x01c00000 0x20000>;
reg-names = "kgsl_3d0_reg_memory";
interrupts = <0x00 33 0x04>;
interrupt-names = "kgsl_3d0_irq";
clock-names = "core", "iface", "mem_iface", "alt_mem_iface", "gtcu_iface", "gfx3d";
clocks = <0x14 124>, <0x14 123>, <0x14 72>, <0x14 73>, <0x14 66>, <0x14 35>;
power-domains = <0x14 1>;
operating-points-v2 = <&gpu_opp_table>;
iommus = <&gpu_iommu 1>, <&gpu_iommu 2>;
#cooling-cells = <2>;
gpu_opp_table: opp-table {
compatible = "operating-points-v2";
opp-409600000 {
opp-hz = /bits/ 64 <409600000>;
};
opp-307200000 {
opp-hz = /bits/ 64 <307200000>;
};
opp-200000000 {
opp-hz = /bits/ 64 <200000000>;
};
opp-19200000 {
opp-hz = /bits/ 64 <19200000>;
};
};
};
gpu_iommu: iommu@1f08000 {
#address-cells = <1>;
#size-cells = <1>;
#iommu-cells = <1>;
compatible = "qcom,msm8909-iommu", "qcom,msm8916-iommu", "qcom,msm-iommu-v1";
ranges = <0 0x01f08000 0x10000>;
clocks = <0x14 69>, <0x14 65>, <0x14 64>;
clock-names = "iface", "bus", "tbu";
qcom,iommu-secure-id = <18>;
iommu-ctx@1000 {
compatible = "qcom,msm-iommu-v1-ns";
reg = <0x1000 0x1000>;
interrupts = <0x00 241 0x04>;
};
iommu-ctx@2000 {
compatible = "qcom,msm-iommu-v1-ns";
reg = <0x2000 0x1000>;
interrupts = <0x00 242 0x04>;
};
};
spmi@200f000 {
compatible = "qcom,spmi-pmic-arb";
reg = <0x200f000 0x1000 0x2400000 0x400000 0x2c00000 0x400000 0x3800000 0x200000 0x200a000 0x2100>;
Binary file not shown.
@@ -1030,6 +1030,60 @@
phandle = <0x15>;
};
gpu: gpu@1c00000 {
compatible = "qcom,adreno-304.0", "qcom,adreno";
reg = <0x01c00000 0x20000>;
reg-names = "kgsl_3d0_reg_memory";
interrupts = <0x00 33 0x04>;
interrupt-names = "kgsl_3d0_irq";
clock-names = "core", "iface", "mem_iface", "alt_mem_iface", "gtcu_iface", "gfx3d";
clocks = <0x14 124>, <0x14 123>, <0x14 72>, <0x14 73>, <0x14 66>, <0x14 35>;
power-domains = <0x14 1>;
operating-points-v2 = <&gpu_opp_table>;
iommus = <&gpu_iommu 1>, <&gpu_iommu 2>;
#cooling-cells = <2>;
gpu_opp_table: opp-table {
compatible = "operating-points-v2";
opp-409600000 {
opp-hz = /bits/ 64 <409600000>;
};
opp-307200000 {
opp-hz = /bits/ 64 <307200000>;
};
opp-200000000 {
opp-hz = /bits/ 64 <200000000>;
};
opp-19200000 {
opp-hz = /bits/ 64 <19200000>;
};
};
};
gpu_iommu: iommu@1f08000 {
#address-cells = <1>;
#size-cells = <1>;
#iommu-cells = <1>;
compatible = "qcom,msm8909-iommu", "qcom,msm8916-iommu", "qcom,msm-iommu-v1";
ranges = <0 0x01f08000 0x10000>;
clocks = <0x14 69>, <0x14 65>, <0x14 64>;
clock-names = "iface", "bus", "tbu";
qcom,iommu-secure-id = <18>;
iommu-ctx@1000 {
compatible = "qcom,msm-iommu-v1-ns";
reg = <0x1000 0x1000>;
interrupts = <0x00 241 0x04>;
};
iommu-ctx@2000 {
compatible = "qcom,msm-iommu-v1-ns";
reg = <0x2000 0x1000>;
interrupts = <0x00 242 0x04>;
};
};
spmi@200f000 {
compatible = "qcom,spmi-pmic-arb";
reg = <0x200f000 0x1000 0x2400000 0x400000 0x2c00000 0x400000 0x3800000 0x200000 0x200a000 0x2100>;
@@ -1030,6 +1030,60 @@
phandle = <0x15>;
};
gpu: gpu@1c00000 {
compatible = "qcom,adreno-304.0", "qcom,adreno";
reg = <0x01c00000 0x20000>;
reg-names = "kgsl_3d0_reg_memory";
interrupts = <0x00 33 0x04>;
interrupt-names = "kgsl_3d0_irq";
clock-names = "core", "iface", "mem_iface", "alt_mem_iface", "gtcu_iface", "gfx3d";
clocks = <0x14 124>, <0x14 123>, <0x14 72>, <0x14 73>, <0x14 66>, <0x14 35>;
power-domains = <0x14 1>;
operating-points-v2 = <&gpu_opp_table>;
iommus = <&gpu_iommu 1>, <&gpu_iommu 2>;
#cooling-cells = <2>;
gpu_opp_table: opp-table {
compatible = "operating-points-v2";
opp-409600000 {
opp-hz = /bits/ 64 <409600000>;
};
opp-307200000 {
opp-hz = /bits/ 64 <307200000>;
};
opp-200000000 {
opp-hz = /bits/ 64 <200000000>;
};
opp-19200000 {
opp-hz = /bits/ 64 <19200000>;
};
};
};
gpu_iommu: iommu@1f08000 {
#address-cells = <1>;
#size-cells = <1>;
#iommu-cells = <1>;
compatible = "qcom,msm8909-iommu", "qcom,msm8916-iommu", "qcom,msm-iommu-v1";
ranges = <0 0x01f08000 0x10000>;
clocks = <0x14 69>, <0x14 65>, <0x14 64>;
clock-names = "iface", "bus", "tbu";
qcom,iommu-secure-id = <18>;
iommu-ctx@1000 {
compatible = "qcom,msm-iommu-v1-ns";
reg = <0x1000 0x1000>;
interrupts = <0x00 241 0x04>;
};
iommu-ctx@2000 {
compatible = "qcom,msm-iommu-v1-ns";
reg = <0x2000 0x1000>;
interrupts = <0x00 242 0x04>;
};
};
spmi@200f000 {
compatible = "qcom,spmi-pmic-arb";
reg = <0x200f000 0x1000 0x2400000 0x400000 0x2c00000 0x400000 0x3800000 0x200000 0x200a000 0x2100>;