]> git.sur5r.net Git - u-boot/blobdiff - arch/sandbox/dts/test.dts
dm: Simple Watchdog uclass
[u-boot] / arch / sandbox / dts / test.dts
index f5217fb87778614f783483ef7b0ee774b64ca2c3..094c5aaf61a12e2930bcaacb87237dbac9368e4b 100644 (file)
@@ -13,6 +13,8 @@
                eth5 = &eth_5;
                i2c0 = "/i2c@0";
                pci0 = &pci;
+               remoteproc1 = &rproc_1;
+               remoteproc2 = &rproc_2;
                rtc0 = &rtc_0;
                rtc1 = &rtc_1;
                spi0 = "/spi@0";
                compatible = "denx,u-boot-fdt-test";
        };
 
-       clk@0 {
+       clk_fixed: clk-fixed {
+               compatible = "fixed-clock";
+               #clock-cells = <0>;
+               clock-frequency = <1234>;
+       };
+
+       clk_sandbox: clk-sbox {
                compatible = "sandbox,clk";
+               #clock-cells = <1>;
+       };
+
+       clk-test {
+               compatible = "sandbox,clk-test";
+               clocks = <&clk_fixed>,
+                        <&clk_sandbox 1>,
+                        <&clk_sandbox 0>;
+               clock-names = "fixed", "i2c", "spi";
        };
 
        eth@10002000 {
                };
        };
 
+       adc@0 {
+               compatible = "sandbox,adc";
+               vdd-supply = <&buck2>;
+               vss-microvolts = <0>;
+       };
+
+       lcd {
+               u-boot,dm-pre-reloc;
+               compatible = "sandbox,lcd-sdl";
+               xres = <1366>;
+               yres = <768>;
+       };
+
        leds {
                compatible = "gpio-leds";
 
                };
        };
 
+       mbox: mbox {
+               compatible = "sandbox,mbox";
+               #mbox-cells = <1>;
+       };
+
+       mbox-test {
+               compatible = "sandbox,mbox-test";
+               mboxes = <&mbox 100>, <&mbox 1>;
+               mbox-names = "other", "test";
+       };
+
        mmc {
                compatible = "sandbox,mmc";
        };
                };
        };
 
+       pwrdom: power-domain {
+               compatible = "sandbox,power-domain";
+               #power-domain-cells = <1>;
+       };
+
+       power-domain-test {
+               compatible = "sandbox,power-domain-test";
+               power-domains = <&pwrdom 2>;
+       };
+
+       pwm {
+               compatible = "sandbox,pwm";
+       };
+
+       pwm2 {
+               compatible = "sandbox,pwm";
+       };
+
        ram {
                compatible = "sandbox,ram";
        };
                compatible = "sandbox,reset";
        };
 
+       resetc: reset-ctl {
+               compatible = "sandbox,reset-ctl";
+               #reset-cells = <1>;
+       };
+
+       reset-ctl-test {
+               compatible = "sandbox,reset-ctl-test";
+               resets = <&resetc 100>, <&resetc 2>;
+               reset-names = "other", "test";
+       };
+
+       rproc_1: rproc@1 {
+               compatible = "sandbox,test-processor";
+               remoteproc-name = "remoteproc-test-dev1";
+       };
+
+       rproc_2: rproc@2 {
+               compatible = "sandbox,test-processor";
+               internal-memory-mapped;
+               remoteproc-name = "remoteproc-test-dev2";
+       };
+
        spi@0 {
                #address-cells = <1>;
                #size-cells = <0>;
                        0x38 8>;
        };
 
+       timer {
+               compatible = "sandbox,timer";
+               clock-frequency = <1000000>;
+       };
+
        uart0: serial {
                compatible = "sandbox,serial";
                u-boot,dm-pre-reloc;
                                compatible = "sandbox,usb-hub";
                                #address-cells = <1>;
                                #size-cells = <0>;
-                               flash-stick {
+                               flash-stick@0 {
                                        reg = <0>;
                                        compatible = "sandbox,usb-flash";
                                        sandbox,filepath = "testflash.bin";
                                };
 
+                               flash-stick@1 {
+                                       reg = <1>;
+                                       compatible = "sandbox,usb-flash";
+                                       sandbox,filepath = "testflash1.bin";
+                               };
+
+                               flash-stick@2 {
+                                       reg = <2>;
+                                       compatible = "sandbox,usb-flash";
+                                       sandbox,filepath = "testflash2.bin";
+                               };
+
+                               keyb@3 {
+                                       reg = <3>;
+                                       compatible = "sandbox,usb-keyb";
+                               };
+
                        };
                };
        };
                status = "disabled";
        };
 
+       spmi: spmi@0 {
+               compatible = "sandbox,spmi";
+               #address-cells = <0x1>;
+               #size-cells = <0x1>;
+               pm8916@0 {
+                       compatible = "qcom,spmi-pmic";
+                       reg = <0x0 0x1>;
+                       #address-cells = <0x1>;
+                       #size-cells = <0x1>;
+
+                       spmi_gpios: gpios@c000 {
+                               compatible = "qcom,pm8916-gpio";
+                               reg = <0xc000 0x400>;
+                               gpio-controller;
+                               gpio-count = <4>;
+                               #gpio-cells = <2>;
+                               gpio-bank-name="spmi";
+                       };
+               };
+       };
+
+       wdt0: wdt@0 {
+               compatible = "sandbox,wdt";
+       };
 };
 
 #include "sandbox_pmic.dtsi"