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"; |
| 12 | ping-add = <0>; |
| 13 | }; |
| 14 | |
| 15 | junk { |
| 16 | reg = <1>; |
| 17 | compatible = "not,compatible"; |
| 18 | }; |
| 19 | |
| 20 | no-compatible { |
| 21 | reg = <2>; |
| 22 | }; |
| 23 | |
| 24 | b-test { |
| 25 | reg = <3>; |
| 26 | compatible = "denx,u-boot-fdt-test"; |
| 27 | ping-add = <3>; |
| 28 | }; |
| 29 | |
| 30 | some-bus { |
| 31 | #address-cells = <1>; |
| 32 | #size-cells = <0>; |
| 33 | reg = <4>; |
| 34 | ping-add = <4>; |
| 35 | c-test { |
| 36 | compatible = "denx,u-boot-fdt-test"; |
| 37 | reg = <5>; |
| 38 | ping-add = <5>; |
| 39 | }; |
| 40 | }; |
| 41 | |
| 42 | d-test { |
| 43 | reg = <6>; |
| 44 | ping-add = <6>; |
| 45 | compatible = "google,another-fdt-test"; |
| 46 | }; |
| 47 | |
| 48 | base-gpios { |
| 49 | compatible = "sandbox,gpio"; |
| 50 | gpio-bank-name = "a"; |
| 51 | num-gpios = <20>; |
| 52 | }; |
| 53 | |
| 54 | extra-gpios { |
| 55 | compatible = "sandbox,gpio"; |
| 56 | gpio-bank-name = "b"; |
| 57 | num-gpios = <10>; |
| 58 | }; |
| 59 | }; |