dm: core: Introduce xxx_translate_dma_address()
[oweals/u-boot.git] / arch / sandbox / dts / test.dts
index 1d011ded7cc0ec3bb79c8a17a7d81de9db3cd824..ac985ecb32c6ec1b34a7fe68d9fdc86cef98b232 100644 (file)
                        #clock-cells = <0>;
                        clock-frequency = <1234>;
                };
+
+               clk_fixed_factor: clk-fixed-factor {
+                       compatible = "fixed-factor-clock";
+                       #clock-cells = <0>;
+                       clock-div = <3>;
+                       clock-mult = <2>;
+                       clocks = <&clk_fixed>;
+               };
        };
 
        clk_sandbox: clk-sbox {
        i2s: i2s {
                compatible = "sandbox,i2s";
                #sound-dai-cells = <1>;
+               sandbox,silent; /* Don't emit sounds while testing */
+       };
+
+       nop-test_0 {
+               compatible = "sandbox,nop_sandbox1";
+               nop-test_1 {
+                       compatible = "sandbox,nop_sandbox2";
+                       bind = "True";
+               };
+               nop-test_2 {
+                       compatible = "sandbox,nop_sandbox2";
+                       bind = "False";
+               };
        };
 
        misc-test {
                compatible = "sandbox,mmc";
        };
 
+       pch {
+               compatible = "sandbox,pch";
+       };
+
        pci0: pci-controller0 {
                compatible = "sandbox,pci";
                device_type = "pci";
                                compatible = "sandbox,swap-case";
                        };
                };
+               pci@1,0 {
+                       compatible = "pci-generic";
+                       reg = <0x0800 0 0 0 0>;
+                       emul@0,0 {
+                               compatible = "sandbox,swap-case";
+                               use-ea;
+                       };
+               };
                pci@1f,0 {
                        compatible = "pci-generic";
                        reg = <0xf800 0 0 0 0>;
                };
        };
 
+       pci_ep: pci_ep {
+               compatible = "sandbox,pci_ep";
+       };
+
        probing {
                compatible = "simple-bus";
                test1 {
                        compatible = "denx,u-boot-probe-test";
                        first-syscon = <&syscon0>;
                        second-sys-ctrl = <&another_system_controller>;
+                       third-syscon = <&syscon2>;
                };
        };
 
                cs-gpios = <0>, <&gpio_a 0>;
                spi.bin@0 {
                        reg = <0>;
-                       compatible = "spansion,m25p16", "spi-flash";
+                       compatible = "spansion,m25p16", "jedec,spi-nor";
                        spi-max-frequency = <40000000>;
                        sandbox,filename = "spi.bin";
                };
                        0x38 8>;
        };
 
-       syscon@2 {
+       syscon2: syscon@2 {
                compatible = "simple-mfd", "syscon";
                reg = <0x40 5
                        0x48 6
                          3 0x300 0xB000 0x1000
                         >;
 
+               dma-ranges = <0 0x000 0x10000000 0x1000
+                             1 0x100 0x20000000 0x1000
+                            >;
+
                dev@0,0 {
                        compatible = "denx,u-boot-fdt-dummy";
                        reg = <0 0x0 0x1000>;
                dmas = <&dma 0>, <&dma 1>, <&dma 2>;
                dma-names = "m2m", "tx0", "rx0";
        };
+
+       mdio-test {
+               compatible = "sandbox,mdio";
+       };
 };
 
 #include "sandbox_pmic.dtsi"