sandbox: Add PCI driver and test for p2sb
[oweals/u-boot.git] / arch / sandbox / dts / test.dts
index 99905677abd5ef350f1764d3c3003e787b82105d..9c8c4e270907448ad16fb43bf180c2e97fb21f63 100644 (file)
                               0x01000810 0 0 0 0>;
                        sandbox,emul = <&swap_case_emul0_1>;
                };
+               p2sb-pci@2,0 {
+                       compatible = "sandbox,p2sb";
+                       reg = <0x02001010 0 0 0 0>;
+                       sandbox,emul = <&p2sb_emul>;
+
+                       adder {
+                               intel,p2sb-port-id = <3>;
+                               compatible = "sandbox,adder";
+                       };
+               };
                pci@1e,0 {
                        compatible = "sandbox,pmc";
                        reg = <0xf000 0 0 0 0>;
                swap_case_emul0_1f: emul0@1f,0 {
                        compatible = "sandbox,swap-case";
                };
+               p2sb_emul: emul@2,0 {
+                       compatible = "sandbox,p2sb-emul";
+               };
                pmc_emul1e: emul@1e,0 {
                        compatible = "sandbox,pmc-emul";
                };