]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/sandbox/dts/test.dts
dm: test: Add a size to each reg property
[karo-tx-uboot.git] / arch / sandbox / dts / test.dts
index cdc2a7b2ef3237c29fa36b78df9d72e759c54e62..c948df8c864bc3fae1fa6b30fd5f9658fb2064bf 100644 (file)
@@ -4,7 +4,7 @@
        model = "sandbox";
        compatible = "sandbox";
        #address-cells = <1>;
-       #size-cells = <0>;
+       #size-cells = <1>;
 
        aliases {
                console = &uart0;
@@ -28,7 +28,7 @@
        };
 
        a-test {
-               reg = <0>;
+               reg = <0 1>;
                compatible = "denx,u-boot-fdt-test";
                ping-expect = <0>;
                ping-add = <0>;
        };
 
        junk {
-               reg = <1>;
+               reg = <1 1>;
                compatible = "not,compatible";
        };
 
        no-compatible {
-               reg = <2>;
+               reg = <2 1>;
        };
 
        b-test {
-               reg = <3>;
+               reg = <3 1>;
                compatible = "denx,u-boot-fdt-test";
                ping-expect = <3>;
                ping-add = <3>;
@@ -60,7 +60,7 @@
                #address-cells = <1>;
                #size-cells = <0>;
                compatible = "denx,u-boot-test-bus";
-               reg = <3>;
+               reg = <3 1>;
                ping-expect = <4>;
                ping-add = <4>;
                c-test@5 {
        };
 
        d-test {
-               reg = <3>;
+               reg = <3 1>;
                ping-expect = <6>;
                ping-add = <6>;
                compatible = "google,another-fdt-test";
        };
 
        e-test {
-               reg = <3>;
+               reg = <3 1>;
                ping-expect = <6>;
                ping-add = <6>;
                compatible = "google,another-fdt-test";
        i2c@0 {
                #address-cells = <1>;
                #size-cells = <0>;
-               reg = <0>;
+               reg = <0 1>;
                compatible = "sandbox,i2c";
                clock-frequency = <100000>;
                eeprom@2c {
                };
        };
 
+       leds {
+               compatible = "gpio-leds";
+
+               iracibble {
+                       gpios = <&gpio_a 1 0>;
+                       label = "sandbox:red";
+               };
+
+               martinet {
+                       gpios = <&gpio_a 2 0>;
+                       label = "sandbox:green";
+               };
+       };
+
+       mmc {
+               compatible = "sandbox,mmc";
+       };
+
        pci: pci-controller {
                compatible = "sandbox,pci";
                device_type = "pci";
        spi@0 {
                #address-cells = <1>;
                #size-cells = <0>;
-               reg = <0>;
+               reg = <0 1>;
                compatible = "sandbox,spi";
                cs-gpios = <0>, <&gpio_a 0>;
                spi.bin@0 {
                };
        };
 
+       syscon@0 {
+               compatible = "sandbox,syscon0";
+               reg = <0x10 4>;
+       };
+
+       syscon@1 {
+               compatible = "sandbox,syscon1";
+               reg = <0x20 5
+                       0x28 6
+                       0x30 7
+                       0x38 8>;
+       };
+
        uart0: serial {
                compatible = "sandbox,serial";
                u-boot,dm-pre-reloc;