Merge branch 'master' of git://git.denx.de/u-boot-usb
[platform/kernel/u-boot.git] / arch / sandbox / dts / test.dts
index 137679a..3668263 100644 (file)
@@ -14,7 +14,9 @@
                i2c0 = "/i2c@0";
                mmc0 = "/mmc0";
                mmc1 = "/mmc1";
-               pci0 = &pci;
+               pci0 = &pci0;
+               pci1 = &pci1;
+               pci2 = &pci2;
                remoteproc1 = &rproc_1;
                remoteproc2 = &rproc_2;
                rtc0 = &rtc_0;
@@ -34,6 +36,7 @@
                usb0 = &usb_0;
                usb1 = &usb_1;
                usb2 = &usb_2;
+               axi0 = &axi;
        };
 
        a-test {
                reg = <2 1>;
        };
 
+       bind-test {
+               bind-test-child1 {
+                       compatible = "sandbox,phy";
+                       #phy-cells = <1>;
+               };
+
+               bind-test-child2 {
+                       compatible = "simple-bus";
+               };
+       };
+
        b-test {
                reg = <3 1>;
                compatible = "denx,u-boot-fdt-test";
                mbox-names = "other", "test";
        };
 
+       misc-test {
+               compatible = "sandbox,misc_sandbox";
+       };
+
        mmc2 {
                compatible = "sandbox,mmc";
        };
                compatible = "sandbox,mmc";
        };
 
-       pci: pci-controller {
+       pci0: pci-controller0 {
                compatible = "sandbox,pci";
                device_type = "pci";
                #address-cells = <3>;
                #size-cells = <2>;
                ranges = <0x02000000 0 0x10000000 0x10000000 0 0x2000
                                0x01000000 0 0x20000000 0x20000000 0 0x2000>;
+               pci@0,0 {
+                       compatible = "pci-generic";
+                       reg = <0x0000 0 0 0 0>;
+                       emul@0,0 {
+                               compatible = "sandbox,swap-case";
+                       };
+               };
+               pci@1f,0 {
+                       compatible = "pci-generic";
+                       reg = <0xf800 0 0 0 0>;
+                       emul@1f,0 {
+                               compatible = "sandbox,swap-case";
+                       };
+               };
+       };
+
+       pci1: pci-controller1 {
+               compatible = "sandbox,pci";
+               device_type = "pci";
+               #address-cells = <3>;
+               #size-cells = <2>;
+               ranges = <0x02000000 0 0x30000000 0x30000000 0 0x2000
+                               0x01000000 0 0x40000000 0x40000000 0 0x2000>;
+               sandbox,dev-info = <0x08 0x00 0x1234 0x5678
+                                   0x0c 0x00 0x1234 0x5678>;
+       };
+
+       pci2: pci-controller2 {
+               compatible = "sandbox,pci";
+               device_type = "pci";
+               #address-cells = <3>;
+               #size-cells = <2>;
+               ranges = <0x02000000 0 0x50000000 0x50000000 0 0x2000
+                               0x01000000 0 0x60000000 0x60000000 0 0x2000>;
+               sandbox,dev-info = <0x08 0x00 0x1234 0x5678>;
                pci@1f,0 {
                        compatible = "pci-generic";
                        reg = <0xf800 0 0 0 0>;
                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>;