mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
ARM: dts: rockchip: rk3506-amp: Use mailbox2 as rpmsg-tx
Change-Id: I13768b4675f61f34a6776c3271481734533cb7c4 Signed-off-by: Jiahang Zheng <jiahang.zheng@rock-chips.com>
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
/* UART4 */
|
||||
GIC_AMP_IRQ_CFG_ROUTE(70, 0xd0, CPU_GET_AFFINITY(0, 2))
|
||||
/* MAILBOX */
|
||||
GIC_AMP_IRQ_CFG_ROUTE(174, 0xd0, CPU_GET_AFFINITY(0, 2))>;
|
||||
GIC_AMP_IRQ_CFG_ROUTE(176, 0xd0, CPU_GET_AFFINITY(0, 2))>;
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
@@ -40,10 +40,11 @@
|
||||
rpmsg: rpmsg@3c00000 {
|
||||
compatible = "rockchip,rpmsg";
|
||||
mbox-names = "rpmsg-rx", "rpmsg-tx";
|
||||
mboxes = <&mailbox0 0 &mailbox0 3>;
|
||||
mboxes = <&mailbox0 0 &mailbox2 0>;
|
||||
rockchip,vdev-nums = <1>;
|
||||
rockchip,link-id = <0x03>;
|
||||
reg = <0x3c00000 0x100000>;
|
||||
/* CPU2: link-id 0x02; */
|
||||
rockchip,link-id = <0x02>;
|
||||
reg = <0x3c00000 0x20000>;
|
||||
memory-region = <&rpmsg_dma_reserved>;
|
||||
|
||||
status = "okay";
|
||||
@@ -59,6 +60,11 @@
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&mailbox2 {
|
||||
rockchip,txpoll-period-ms = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&reserved_memory {
|
||||
/* remote amp core address */
|
||||
amp_shmem_reserved: amp-shmem@3b00000 {
|
||||
|
||||
Reference in New Issue
Block a user