提交 5215940f 编写于 作者: N Nishanth Menon 提交者: Tom Rini

sandbox: Introduce dummy remoteproc nodes

Introduce dummy devices for sandbox remoteproc device and enable it by
default
Reviewed-by: NSimon Glass <sjg@chromium.org>
Signed-off-by: NNishanth Menon <nm@ti.com>
Acked-by: NSimon Glass <sjg@chromium.org>
上级 3df0b8b4
......@@ -13,6 +13,8 @@
eth5 = &eth_5;
i2c0 = "/i2c@0";
pci0 = &pci;
remoteproc1 = &rproc_1;
remoteproc2 = &rproc_2;
rtc0 = &rtc_0;
rtc1 = &rtc_1;
spi0 = "/spi@0";
......@@ -233,6 +235,17 @@
compatible = "sandbox,reset";
};
rproc_1: rproc@1 {
compatible = "sandbox,test-processor";
remoteproc-name = "remoteproc-test-dev1";
};
rproc_2: rproc@2 {
compatible = "sandbox,test-processor";
internal-memory-mapped;
remoteproc-name = "remoteproc-test-dev2";
};
spi@0 {
#address-cells = <1>;
#size-cells = <0>;
......
......@@ -63,3 +63,5 @@ CONFIG_UNIT_TEST=y
CONFIG_UT_TIME=y
CONFIG_UT_DM=y
CONFIG_UT_ENV=y
CONFIG_REMOTEPROC_SANDBOX=y
CONFIG_CMD_REMOTEPROC=y
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册