1* Rockchip RPMsg Platform Driver 2 3The Rockchip RPMsg Platform Driver is used for Remote Processors Messaging. 4 5Required Properties: 6 7- compatible: should be one of the following. 8 "rockchip,rk3568-rpmsg" for rk3568 SoCs. 9- mbox-names: mailbox name for "rpmsg-rx" or "rpmsg-tx". 10- mboxes: mailbox channel for rpmsg. 11- rockchip,vdev-nums: number of rpmsg instance. 12- rockchip,link-id: link_id of rpmsg instance. 4bit for master cpu_id and 4bit 13 for remote cpu_id. 14 15Optional Properties: 16 17Example: 18 19 rpmsg: rpmsg { 20 compatible = "rockchip,rk3568-rpmsg"; 21 mbox-names = "rpmsg-rx", "rpmsg-tx"; 22 mboxes = <&mailbox 0 &mailbox 3>; 23 rockchip,vdev-nums = <1>; 24 rockchip,link-id = <0x03>; 25 reg = <0x0 0x7c00000 0x0 0x20000>; 26 memory-region = <&rpmsg_dma_reserved>; 27 28 status = "okay"; 29 }; 30 31 reserved-memory { 32 #address-cells = <2>; 33 #size-cells = <2>; 34 ranges; 35 36 rpmsg_reserved: rpmsg@7c00000 { 37 reg = <0x0 0x7c00000 0x0 0x400000>; 38 no-map; 39 }; 40 41 rpmsg_dma_reserved: rpmsg-dma@8000000 { 42 compatible = "shared-dma-pool"; 43 reg = <0x0 0x8000000 0x0 0x100000>; 44 no-map; 45 }; 46 }; 47