Merge tag 'dm-9oct18' of git://git.denx.de/u-boot-dm
[platform/kernel/u-boot.git] / arch / sandbox / dts / test.dts
index 751c13b..420b72f 100644 (file)
@@ -11,6 +11,8 @@
                eth0 = "/eth@10002000";
                eth3 = &eth_3;
                eth5 = &eth_5;
+               gpio1 = &gpio_a;
+               gpio2 = &gpio_b;
                i2c0 = "/i2c@0";
                mmc0 = "/mmc0";
                mmc1 = "/mmc1";
                usb1 = &usb_1;
                usb2 = &usb_2;
                axi0 = &axi;
+               osd0 = "/osd";
+       };
+
+       cros_ec: cros-ec {
+               reg = <0 0>;
+               compatible = "google,cros-ec-sandbox";
+
+               /*
+                * This describes the flash memory within the EC. Note
+                * that the STM32L flash erases to 0, not 0xff.
+                */
+               flash {
+                       image-pos = <0x08000000>;
+                       size = <0x20000>;
+                       erase-value = <0>;
+
+                       /* Information for sandbox */
+                       ro {
+                               image-pos = <0>;
+                               size = <0xf000>;
+                       };
+                       wp-ro {
+                               image-pos = <0xf000>;
+                               size = <0x1000>;
+                       };
+                       rw {
+                               image-pos = <0x10000>;
+                               size = <0x10000>;
+                       };
+               };
        };
 
        a-test {
                reg = <2 1>;
        };
 
+       backlight: backlight {
+               compatible = "pwm-backlight";
+               enable-gpios = <&gpio_a 1>;
+               power-supply = <&ldo_1>;
+               pwms = <&pwm 0 1000>;
+               default-brightness-level = <5>;
+               brightness-levels = <0 16 32 64 128 170 202 234 255>;
+       };
+
        bind-test {
                bind-test-child1 {
                        compatible = "sandbox,phy";
                fake-host-hwaddr = [00 00 66 44 22 22];
        };
 
+       firmware {
+               sandbox_firmware: sandbox-firmware {
+                       compatible = "sandbox,firmware";
+               };
+       };
+
        gpio_a: base-gpios {
                compatible = "sandbox,gpio";
                gpio-controller;
                power-domains = <&pwrdom 2>;
        };
 
-       pwm {
+       pwm: pwm {
                compatible = "sandbox,pwm";
+               #pwm-cells = <2>;
        };
 
        pwm2 {
                compatible = "sandbox,pwm";
+               #pwm-cells = <2>;
        };
 
        ram {
                remoteproc-name = "remoteproc-test-dev2";
        };
 
+       panel {
+               compatible = "simple-panel";
+               backlight = <&backlight 0 100>;
+       };
+
        smem@0 {
                compatible = "sandbox,smem";
        };
                };
        };
 
+       osd {
+               compatible = "sandbox,sandbox_osd";
+       };
+
        board {
                compatible = "sandbox,board_sandbox";
        };
+
+       sandbox_tee {
+               compatible = "sandbox,tee";
+       };
 };
 
 #include "sandbox_pmic.dtsi"