diff options
author | Tom Rini <trini@konsulko.com> | 2018-04-01 20:36:39 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-04-01 20:36:39 -0400 |
commit | 0e5d3e311189ca07aa7b5802deaff9861fc33574 (patch) | |
tree | 13eb58a65e156180e7cb99632f35be33e10baf1c /arch | |
parent | f3b623fa52ce5c67732ea2d789d5e21667e88db3 (diff) | |
parent | 641599a63df258c3e3cb259c75cdada0cc009d56 (diff) | |
download | u-boot-0e5d3e311189ca07aa7b5802deaff9861fc33574.tar.gz |
Merge git://git.denx.de/u-boot-dm
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sandbox/dts/test.dts | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts index b0f0ca8f19..06d0e8ce85 100644 --- a/arch/sandbox/dts/test.dts +++ b/arch/sandbox/dts/test.dts @@ -27,6 +27,10 @@ testfdt3 = "/b-test"; testfdt5 = "/some-bus/c-test@5"; testfdt8 = "/a-test"; + fdt_dummy0 = "/translation-test@8000/dev@0,0"; + fdt_dummy1 = "/translation-test@8000/dev@1,100"; + fdt_dummy2 = "/translation-test@8000/dev@2,200"; + fdt_dummy3 = "/translation-test@8000/noxlatebus@3,300/dev@42"; usb0 = &usb_0; usb1 = &usb_1; usb2 = &usb_2; @@ -487,6 +491,50 @@ reg = <9 1>; }; }; + + translation-test@8000 { + compatible = "simple-bus"; + reg = <0x8000 0x4000>; + + #address-cells = <0x2>; + #size-cells = <0x1>; + + ranges = <0 0x0 0x8000 0x1000 + 1 0x100 0x9000 0x1000 + 2 0x200 0xA000 0x1000 + 3 0x300 0xB000 0x1000 + >; + + dev@0,0 { + compatible = "denx,u-boot-fdt-dummy"; + reg = <0 0x0 0x1000>; + }; + + dev@1,100 { + compatible = "denx,u-boot-fdt-dummy"; + reg = <1 0x100 0x1000>; + + }; + + dev@2,200 { + compatible = "denx,u-boot-fdt-dummy"; + reg = <2 0x200 0x1000>; + }; + + + noxlatebus@3,300 { + compatible = "simple-bus"; + reg = <3 0x300 0x1000>; + + #address-cells = <0x1>; + #size-cells = <0x0>; + + dev@42 { + compatible = "denx,u-boot-fdt-dummy"; + reg = <0x42>; + }; + }; + }; }; #include "sandbox_pmic.dtsi" |