Simon Glass | b2c1cac | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 1 | /dts-v1/; |
| 2 | |
| 3 | / { |
| 4 | model = "sandbox"; |
| 5 | compatible = "sandbox"; |
| 6 | #address-cells = <1>; |
| 7 | #size-cells = <0>; |
| 8 | |
| 9 | a-test { |
| 10 | reg = <0>; |
| 11 | compatible = "denx,u-boot-fdt-test"; |
Simon Glass | a7bb08a | 2014-07-23 06:54:57 -0600 | [diff] [blame^] | 12 | ping-expect = <0>; |
Simon Glass | b2c1cac | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 13 | ping-add = <0>; |
| 14 | }; |
| 15 | |
| 16 | junk { |
| 17 | reg = <1>; |
| 18 | compatible = "not,compatible"; |
| 19 | }; |
| 20 | |
| 21 | no-compatible { |
| 22 | reg = <2>; |
| 23 | }; |
| 24 | |
| 25 | b-test { |
| 26 | reg = <3>; |
| 27 | compatible = "denx,u-boot-fdt-test"; |
Simon Glass | a7bb08a | 2014-07-23 06:54:57 -0600 | [diff] [blame^] | 28 | ping-expect = <3>; |
Simon Glass | b2c1cac | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 29 | ping-add = <3>; |
| 30 | }; |
| 31 | |
| 32 | some-bus { |
| 33 | #address-cells = <1>; |
| 34 | #size-cells = <0>; |
Simon Glass | a7bb08a | 2014-07-23 06:54:57 -0600 | [diff] [blame^] | 35 | ping-expect = <4>; |
Simon Glass | b2c1cac | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 36 | ping-add = <4>; |
| 37 | c-test { |
| 38 | compatible = "denx,u-boot-fdt-test"; |
| 39 | reg = <5>; |
| 40 | ping-add = <5>; |
| 41 | }; |
| 42 | }; |
| 43 | |
| 44 | d-test { |
| 45 | reg = <6>; |
Simon Glass | a7bb08a | 2014-07-23 06:54:57 -0600 | [diff] [blame^] | 46 | ping-expect = <6>; |
Simon Glass | b2c1cac | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 47 | ping-add = <6>; |
| 48 | compatible = "google,another-fdt-test"; |
| 49 | }; |
| 50 | |
| 51 | base-gpios { |
| 52 | compatible = "sandbox,gpio"; |
| 53 | gpio-bank-name = "a"; |
| 54 | num-gpios = <20>; |
| 55 | }; |
| 56 | |
| 57 | extra-gpios { |
| 58 | compatible = "sandbox,gpio"; |
| 59 | gpio-bank-name = "b"; |
| 60 | num-gpios = <10>; |
| 61 | }; |
| 62 | }; |