mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
ARM: dts: msm: Add neuron block service for trusted vm
Add node for the neuron block service, which will be configured to act as the client for the block protocol. This configuration uses a reserved memory region. Change-Id: I7d3289469a867a6be144ddbdaf7e44bf1bf7e7f4
This commit is contained in:
parent
acc82f3364
commit
d67d0118f7
1 changed files with 53 additions and 2 deletions
|
|
@ -42,9 +42,60 @@
|
|||
compatible = "qcom,mem-buf";
|
||||
};
|
||||
|
||||
memory@28000000 {
|
||||
memory@28800000 {
|
||||
device_type = "memory";
|
||||
reg = <0x0 0x28000000 0x0 0x8000000>; /* Temp S2 mapping */
|
||||
reg = <0x0 0x28800000 0x0 0x7700000>; /* Temp S2 mapping */
|
||||
};
|
||||
|
||||
reserved_memory: reserved-memory {
|
||||
#address-cells = <2>;
|
||||
#size-cells = <2>;
|
||||
ranges;
|
||||
|
||||
chan0_shbuf: neuron-block@0 {
|
||||
no-map;
|
||||
reg = <0x0 0x2ff00000 0x0 0x80000>;
|
||||
};
|
||||
|
||||
chan1_shbuf: neuron-block@1 {
|
||||
no-map;
|
||||
reg = <0x0 0x2ff80000 0x0 0x80000>;
|
||||
};
|
||||
};
|
||||
|
||||
neuron-client-block {
|
||||
compatible = "qcom,neuron-service";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
protocol {
|
||||
compatible = "qcom,neuron-protocol-block";
|
||||
processes = "client";
|
||||
};
|
||||
|
||||
application {
|
||||
compatible = "qcom,neuron-block-client";
|
||||
};
|
||||
|
||||
channel@0 {
|
||||
reg = <0>;
|
||||
compatible = "qcom,neuron-channel-haven-shmem";
|
||||
class = "message-queue";
|
||||
direction = "send";
|
||||
max-size = <0 65536>;
|
||||
shared-buffer = <&chan0_shbuf>;
|
||||
haven-label = <1>;
|
||||
};
|
||||
|
||||
channel@1 {
|
||||
reg = <1>;
|
||||
compatible = "qcom,neuron-channel-haven-shmem";
|
||||
class = "message-queue";
|
||||
direction = "receive";
|
||||
max-size = <0 65536>;
|
||||
shared-buffer = <&chan1_shbuf>;
|
||||
haven-label = <2>;
|
||||
};
|
||||
};
|
||||
|
||||
qcom,vm-config {
|
||||
|
|
|
|||
Loading…
Reference in a new issue