summaryrefslogtreecommitdiff
path: root/arch/sandbox
diff options
context:
space:
mode:
authorNishanth Menon <nm@ti.com>2015-09-17 15:42:41 -0500
committerTom Rini <trini@konsulko.com>2015-10-22 14:18:39 -0400
commit5215940f599790466e90fbe744d9bf7e956bf2e2 (patch)
treee8fcd94f8b4ee21bc8e1785c5bd920cd1067df74 /arch/sandbox
parent3df0b8b4dad19c764c1cc81d283bf903f4ab9e69 (diff)
downloadu-boot-imx-5215940f599790466e90fbe744d9bf7e956bf2e2.zip
u-boot-imx-5215940f599790466e90fbe744d9bf7e956bf2e2.tar.gz
u-boot-imx-5215940f599790466e90fbe744d9bf7e956bf2e2.tar.bz2
sandbox: Introduce dummy remoteproc nodes
Introduce dummy devices for sandbox remoteproc device and enable it by default Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Nishanth Menon <nm@ti.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox')
-rw-r--r--arch/sandbox/dts/test.dts13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts
index f5217fb..730de8a 100644
--- a/arch/sandbox/dts/test.dts
+++ b/arch/sandbox/dts/test.dts
@@ -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>;