#include #include "quin-vm-common.dtsi" / { model = "Qualcomm Technologies, Inc. Direwolf Virtual Machine"; qcom,msm-name = "Direwolf V1"; qcom,msm-id = <460 0x10000>; aliases { hsuart0 = &qupv3_se2_4uart; }; firmware:firmware { android { /delete-property/ boot_devices; fstab { vendor { dev="/dev/block/platform/vdevs/1c160000.virtio_blk/vendor"; fsmgr_flags = "wait"; }; }; }; }; }; &soc { tlmm: pinctrl@f000000 { compatible = "qcom,direwolf-pinctrl"; reg = <0x0F000000 0x1000000>; interrupts = ; gpio-controller; #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; }; apps_smmu: apps-smmu@15000000 { compatible = "qcom,qsmmu-v500"; reg = <0x15000000 0x100000>, <0x15182000 0x20>; reg-names = "base", "tcu-base"; #iommu-cells = <2>; qcom,skip-init; qcom,use-3-lvl-tables; #global-interrupts = <2>; #size-cells = <1>; #address-cells = <1>; ranges; interrupts = , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ; }; qtee_shmbridge { compatible = "qcom,tee-shared-memory-bridge"; }; qcom_qseecom: qseecom@c1800000 { compatible = "qcom,qseecom"; reg = <0xc1800000 0x3900000>; reg-names = "secapp-region"; memory-region = <&qseecom_mem>; qcom,hlos-num-ce-hw-instances = <1>; qcom,hlos-ce-hw-instance = <0>; qcom,qsee-ce-hw-instance = <0>; qcom,disk-encrypt-pipe-pair = <2>; qcom,no-clock-support; qcom,qsee-reentrancy-support = <2>; }; msm_gpu_hyp: qcom,hgsl { compatible = "qcom,hgsl"; /* TBD, complete doorbell */ db-off = <1>; }; pdc: interrupt-controller@b220000 { compatible = "qcom,direwolf-pdc"; reg = <0xb220000 0x30000>; qcom,pdc-ranges = <14 494 2>, <138 623 1>; #interrupt-cells = <2>; interrupt-parent = <&intc>; interrupt-controller; }; subsys_notif_virt: qcom,subsys_notif_virt@2D000000 { compatible = "qcom,subsys-notif-virt"; reg = <0x2D000000 0x400>; reg-names = "vdev_base"; cdsp0 { subsys-name = "cdsp0"; interrupts = ; interrupt-names = "state-irq"; type = "virtual"; offset = <768>; }; }; VDD_CX_LEVEL: S1A0_LEVEL: pm8540_a0_s1_level: regulator-pm8540_a0-s1-level { compatible = "qcom,stub-regulator"; regulator-name = "pm8540_a0_s1_level"; regulator-min-microvolt = ; regulator-max-microvolt = ; }; pcie_2a_pipe_clk: pcie_2a_pipe_clk { compatible = "fixed-clock"; clock-frequency = <1000>; clock-output-names = "pcie_2a_pipe_clk"; #clock-cells = <0>; }; pcie_2b_pipe_clk: pcie_2b_pipe_clk { compatible = "fixed-clock"; clock-frequency = <1000>; clock-output-names = "pcie_2b_pipe_clk"; #clock-cells = <0>; }; pcie_3a_pipe_clk: pcie_3a_pipe_clk { compatible = "fixed-clock"; clock-frequency = <1000>; clock-output-names = "pcie_3a_pipe_clk"; #clock-cells = <0>; }; pcie_3b_pipe_clk: pcie_3b_pipe_clk { compatible = "fixed-clock"; clock-frequency = <1000>; clock-output-names = "pcie_3b_pipe_clk"; #clock-cells = <0>; }; pcie_4_pipe_clk: pcie_4_pipe_clk { compatible = "fixed-clock"; clock-frequency = <1000>; clock-output-names = "pcie_4_pipe_clk"; #clock-cells = <0>; }; }; ®ulator { gcc_usb30_prim_gdsc: gcc_usb30_prim_gdsc { regulator-name = "gcc_usb30_prim_gdsc"; }; gcc_usb30_sec_gdsc: gcc_usb30_sec_gdsc { regulator-name = "gcc_usb30_sec_gdsc"; }; gcc_pcie_2a_gdsc: gcc_pcie_2a_gdsc { regulator-name = "gcc_pcie_2a_gdsc"; }; gcc_pcie_2b_gdsc: gcc_pcie_2b_gdsc { regulator-name = "gcc_pcie_2b_gdsc"; }; gcc_pcie_3a_gdsc: gcc_pcie_3a_gdsc { regulator-name = "gcc_pcie_3a_gdsc"; }; gcc_pcie_3b_gdsc: gcc_pcie_3b_gdsc { regulator-name = "gcc_pcie_3b_gdsc"; }; gcc_pcie_4_gdsc: gcc_pcie_4_gdsc { regulator-name = "gcc_pcie_4_gdsc"; }; L3A0: pm8540_a0_l3: regulator-pm8540_a0-l3 { regulator-name = "ldoa3"; regulator-min-microvolt = <1140000>; regulator-max-microvolt = <1260000>; }; S4E0: pm8540_e0_s4: regulator-pm8540_e0-s4 { regulator-name = "smpe4"; regulator-min-microvolt = <320000>; regulator-max-microvolt = <2040000>; }; L5A0: pm8540_a0_l5: regulator-pm8540_a0-l5 { regulator-name = "ldoa5"; regulator-min-microvolt = <720000>; regulator-max-microvolt = <950000>; }; L6G0: pm8540_g0_l6: regulator-pm8540_g0-l6 { regulator-name = "ldog6"; }; L7A0: pm8540_a0_l7: regulator-pm8540_a0-l7 { regulator-name = "ldoa7"; regulator-min-microvolt = <1620000>; regulator-max-microvolt = <1980000>; }; L11A0: pm8540_a0_l11: regulator-pm8540_a0-l11 { regulator-name = "ldoa11"; regulator-min-microvolt = <830000>; regulator-max-microvolt = <920000>; }; L13A0: pm8540_a0_l13: regulator-pm8540_a0-l13 { regulator-name = "ldoa13"; regulator-min-microvolt = <2970000>; regulator-max-microvolt = <3544000>; }; L1C0: pm8540_c0_l1: regulator-pm8540_c0-l1 { regulator-name = "ldoc1"; regulator-min-microvolt = <720000>; regulator-max-microvolt = <950000>; }; L7C0: pm8540_c0_l7: regulator-pm8540_c0-l7 { regulator-name = "ldoc7"; regulator-min-microvolt = <1620000>; regulator-max-microvolt = <1980000>; }; L2C0: pm8540_c0_l2: regulator-pm8540_c0-l2 { regulator-name = "ldoc2"; regulator-min-microvolt = <2970000>; regulator-max-microvolt = <3544000>; }; L15A0: pm8540_a0_l15: regulator-pm8540_a0-l15 { regulator-name = "ldoa15"; }; }; &firmware { scm { compatible = "qcom,scm"; }; }; #include "direwolf-pinctrl.dtsi" #include "direwolf-qupv3.dtsi" #include "pm8540-vm.dtsi" #include "direwolf-vm-audio.dtsi" #include "direwolf-vm-usb.dtsi" #include "direwolf-cnss.dtsi" &qupv3_0 { /delete-property/ qcom,msm-bus,num-paths; /delete-property/ qcom,msm-bus,vectors-bus-ids; }; &qupv3_1 { /delete-property/ qcom,msm-bus,num-paths; /delete-property/ qcom,msm-bus,vectors-bus-ids; }; &qupv3_2 { /delete-property/ qcom,msm-bus,num-paths; /delete-property/ qcom,msm-bus,vectors-bus-ids; };