]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/sandbox/dts/sandbox.dts
dm: sandbox: pci: Add PCI support for sandbox
[karo-tx-uboot.git] / arch / sandbox / dts / sandbox.dts
index d090ba8e6ab2becacdccd398c66b4aedc52f729d..42a1f21e121f5f1a7ec8e918d4cbb497a2e3868f 100644 (file)
@@ -4,6 +4,10 @@
        #address-cells = <1>;
        #size-cells = <1>;
 
+       aliases {
+               pci0 = &pci;
+       };
+
        chosen {
                stdout-path = "/serial";
        };
                };
        };
 
+       pci: pci-controller {
+               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@1f,0 {
+                       compatible = "pci-generic";
+                       reg = <0xf800 0 0 0 0>;
+                       emul@1f,0 {
+                               compatible = "sandbox,swap-case";
+                       };
+               };
+       };
+
 };