diff options
author | Mario Six <mario.six@gdsys.cc> | 2018-08-09 15:51:19 +0300 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2018-08-11 09:10:07 +0300 |
commit | 957983e00b3c25103beb65a7e0648fe8bd80606e (patch) | |
tree | 8e8c3a4f78e9e06d2ccc55d2d0d05085575d2f6e /arch | |
parent | 9a8bcabd8adac3382bc23bef450a6793e5144110 (diff) | |
download | u-boot-957983e00b3c25103beb65a7e0648fe8bd80606e.tar.xz |
sandbox: Add and build AXI bus and device
Add test AXI drivers to the sandbox.
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Mario Six <mario.six@gdsys.cc>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sandbox/dts/sandbox.dts | 11 | ||||
-rw-r--r-- | arch/sandbox/dts/test.dts | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/arch/sandbox/dts/sandbox.dts b/arch/sandbox/dts/sandbox.dts index 9f444c96a9..6ac37f1ed7 100644 --- a/arch/sandbox/dts/sandbox.dts +++ b/arch/sandbox/dts/sandbox.dts @@ -11,6 +11,7 @@ i2c0 = &i2c_0; pci0 = &pci; rtc0 = &rtc_0; + axi0 = &axi; }; chosen { @@ -311,6 +312,16 @@ }; }; }; + + axi: axi@0 { + compatible = "sandbox,axi"; + #address-cells = <0x1>; + #size-cells = <0x1>; + store@0 { + compatible = "sandbox,sandbox_store"; + reg = <0x0 0x400>; + }; + }; }; #include "cros-ec-keyboard.dtsi" diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts index 7035646195..4483134d6c 100644 --- a/arch/sandbox/dts/test.dts +++ b/arch/sandbox/dts/test.dts @@ -36,6 +36,7 @@ usb0 = &usb_0; usb1 = &usb_1; usb2 = &usb_2; + axi0 = &axi; }; a-test { @@ -552,6 +553,16 @@ compatible = "sandbox,wdt"; }; + axi: axi@0 { + compatible = "sandbox,axi"; + #address-cells = <0x1>; + #size-cells = <0x1>; + store@0 { + compatible = "sandbox,sandbox_store"; + reg = <0x0 0x400>; + }; + }; + chosen { #address-cells = <1>; #size-cells = <1>; |