Jon Loeliger | 4e1a0a0 | 2008-08-14 17:19:37 -0500 | [diff] [blame] | 1 | /dts-v1/; |
| 2 | |
Jon Loeliger | fd84d97 | 2007-02-15 11:02:44 -0600 | [diff] [blame] | 3 | / { |
| 4 | model = "SomeModel"; |
| 5 | compatible = "Nothing"; |
| 6 | #address-cells = <2>; |
| 7 | #size-cells = <2>; |
| 8 | |
| 9 | memory@0 { |
| 10 | device_type = "memory"; |
Jon Loeliger | 4e1a0a0 | 2008-08-14 17:19:37 -0500 | [diff] [blame] | 11 | reg = <0x00000000 0x00000000 0x00000000 0x20000000>; |
Jon Loeliger | fd84d97 | 2007-02-15 11:02:44 -0600 | [diff] [blame] | 12 | }; |
| 13 | |
| 14 | cpus { |
| 15 | #address-cells = <1>; |
| 16 | #size-cells = <0>; |
Jon Loeliger | 4e1a0a0 | 2008-08-14 17:19:37 -0500 | [diff] [blame] | 17 | d10 = < 10>; // hex: 0xa |
| 18 | d23 = < 23>; // hex: 0x17 |
| 19 | b101 = < 0x5>; // hex: 0x5 |
| 20 | o17 = < 017>; // hex: 0xf |
| 21 | hd00d = < 0xd00d>; // hex: 0xd00d |
Jon Loeliger | fd84d97 | 2007-02-15 11:02:44 -0600 | [diff] [blame] | 22 | |
| 23 | // hex: 0x4d2 0x163e 0x2334 0xd80 |
Jon Loeliger | 4e1a0a0 | 2008-08-14 17:19:37 -0500 | [diff] [blame] | 24 | stuff = < 1234 5678 9012 3456>; |
Jon Loeliger | fd84d97 | 2007-02-15 11:02:44 -0600 | [diff] [blame] | 25 | |
| 26 | |
Jon Loeliger | 4e1a0a0 | 2008-08-14 17:19:37 -0500 | [diff] [blame] | 27 | bad-d-1 = < 0>; // Hrm. 0 |
| 28 | bad-d-2 = < 123456789012345>; |
| 29 | bad-o-1 = < 00>; |
| 30 | bad-o-2 = < 0123456123456>; |
Jon Loeliger | fd84d97 | 2007-02-15 11:02:44 -0600 | [diff] [blame] | 31 | }; |
| 32 | |
| 33 | }; |