summaryrefslogtreecommitdiff
path: root/qcom/direwolf-vm.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'qcom/direwolf-vm.dtsi')
-rwxr-xr-xqcom/direwolf-vm.dtsi94
1 files changed, 93 insertions, 1 deletions
diff --git a/qcom/direwolf-vm.dtsi b/qcom/direwolf-vm.dtsi
index 144d9443..cabf6936 100755
--- a/qcom/direwolf-vm.dtsi
+++ b/qcom/direwolf-vm.dtsi
@@ -3,7 +3,7 @@
/ {
model = "Qualcomm Technologies, Inc. Direwolf Virtual Machine";
- qcom,msm-name = "Direwolf V1";
+ qcom,msm-name = "SA_DIREWOLF_IVI";
qcom,msm-id = <460 0x10000>;
aliases {
@@ -190,8 +190,14 @@
clock-names = "km_clk_src";
};
+ cpu_pmu: cpu-pmu {
+ compatible = "arm,armv8-pmuv3";
+ };
+
qtee_shmbridge {
compatible = "qcom,tee-shared-memory-bridge";
+ /*Boolean property to disable shmbridge*/
+ qcom,disable-shmbridge-support;
};
qcom_qseecom: qseecom@c1800000 {
@@ -287,6 +293,92 @@
clock-output-names = "pcie_4_pipe_clk";
#clock-cells = <0>;
};
+
+ emac_ctrl_fe: emac_ctrl_drv@0x1d000000 {
+ compatible = "virtio,mmio";
+ reg =<0x1d000000 0x1000>;
+ interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
+ };
+
+ mtl_rx_setup: rx-queues-config {
+ snps,rx-queues-to-use = <1>;
+ snps,rx-sched-sp;
+
+ queue {
+ snps,dcb-algorithm;
+ snps,priority = <0x1>;
+ };
+ };
+
+ mtl_tx_setup: tx-queues-config {
+ snps,tx-queues-to-use = <1>;
+ snps,tx-sched-sp;
+ queue {
+ snps,dcb-algorithm;
+ };
+ };
+
+ emac0_hw: qcom,ethernet@00020000 {
+ compatible = "qcom,stmmac-ethqos-emac0";
+ emac-core-version = <0x30000000>;
+ qcom,arm-smmu;
+ reg = <0x2A000 0x1000>;
+ reg-names = "stmmaceth";
+ interrupts-extended = <&intc 0 945 4>, <&intc 0 944 4>,
+ <&intc 0 943 4>, <&intc 0 942 4>,
+ <&intc 0 941 4>, <&intc 0 940 4>,
+ <&intc 0 939 4>, <&intc 0 938 4>;
+ interrupt-names = "tx_rx_ch0_intr", "tx_rx_ch1_intr",
+ "tx_rx_ch2_intr", "tx_rx_ch3_intr",
+ "tx_rx_ch4_intr", "tx_rx_ch5_intr",
+ "tx_rx_ch6_intr", "tx_rx_ch7_intr";
+
+ snps,tso;
+ snps,pbl = <32>;
+ mac-address = [00 55 7B B5 7D f7];
+ rx-fifo-depth = <4096>;
+ tx-fifo-depth = <4096>;
+ snps,mtl-rx-config = <&mtl_rx_setup>;
+ snps,mtl-tx-config = <&mtl_tx_setup>;
+ queue = <2>;
+
+ emac0_emb_smmu: emac0_emb_smmu {
+ compatible = "qcom,emac-smmu-embedded";
+ iommus = <&apps_smmu 0x4C4 0x1>;
+ qcom,iommu-dma-addr-pool = <0x80000000 0x40000000>;
+ };
+ };
+
+ emac1_hw: qcom,ethernet@23000000 {
+ compatible = "qcom,stmmac-ethqos-emac1";
+ emac-core-version = <0x30000000>;
+ qcom,arm-smmu;
+ reg = <0x2300A000 0x1000>;
+ reg-names = "stmmaceth";
+ interrupts-extended = <&intc 0 772 4>, <&intc 0 773 4>,
+ <&intc 0 774 4>, <&intc 0 775 4>,
+ <&intc 0 776 4>, <&intc 0 777 4>,
+ <&intc 0 778 4>, <&intc 0 937 4>;
+ interrupt-names = "tx_rx_ch0_intr", "tx_rx_ch1_intr",
+ "tx_rx_ch2_intr", "tx_rx_ch3_intr",
+ "tx_rx_ch4_intr", "tx_rx_ch5_intr",
+ "tx_rx_ch6_intr", "tx_rx_ch7_intr";
+
+ snps,tso;
+ snps,pbl = <32>;
+ mac-address = [00 55 7B B5 7D f7];
+ rx-fifo-depth = <4096>;
+ tx-fifo-depth = <4096>;
+ snps,mtl-rx-config = <&mtl_rx_setup>;
+ snps,mtl-tx-config = <&mtl_tx_setup>;
+ queue = <2>;
+
+ emac1_emb_smmu: emac1_emb_smmu {
+ compatible = "qcom,emac-smmu-embedded";
+ iommus = <&apps_smmu 0x44 0x1>;
+ qcom,iommu-dma-addr-pool = <0x80000000 0x40000000>;
+ };
+ };
};
&regulator {