| 244 | | The current FlattenedDeviceTree source file `platform-mips.dts` contains: |
| 245 | | |
| 246 | | {{{ |
| 247 | | /dts-v1/; |
| 248 | | |
| 249 | | / { |
| 250 | | model = "MutekH_Tutorial"; |
| 251 | | compatible = "MutekH_Tutorial"; |
| 252 | | #address-cells = <1>; |
| 253 | | #size-cells = <1>; |
| 254 | | |
| 255 | | cpus { |
| 256 | | #address-cells = <1>; |
| 257 | | #size-cells = <0>; |
| 258 | | Mips,32@0 { |
| 259 | | name = "Mips,32"; |
| 260 | | device_type = "cpu"; |
| 261 | | reg = <0>; |
| 262 | | icudev_type = "cpu:mips"; |
| 263 | | }; |
| 264 | | |
| 265 | | Mips,32@1 { |
| 266 | | name = "Mips,32"; |
| 267 | | device_type = "cpu"; |
| 268 | | reg = <1>; |
| 269 | | icudev_type = "cpu:mips"; |
| 270 | | }; |
| 271 | | |
| 272 | | Mips,32@2 { |
| 273 | | name = "Mips,32"; |
| 274 | | device_type = "cpu"; |
| 275 | | reg = <2>; |
| 276 | | icudev_type = "cpu:mips"; |
| 277 | | }; |
| 278 | | |
| 279 | | Mips,32@3 { |
| 280 | | name = "Mips,32"; |
| 281 | | device_type = "cpu"; |
| 282 | | reg = <3>; |
| 283 | | icudev_type = "cpu:mips"; |
| 284 | | }; |
| 285 | | |
| 286 | | }; |
| 287 | | |
| 288 | | tty@0 { |
| 289 | | device_type = "soclib:tty"; |
| 290 | | tty_count = <1>; |
| 291 | | reg = <0x90600000 0x10>; |
| 292 | | icudev = &{/icu@0}; |
| 293 | | irq = <0>; |
| 294 | | }; |
| 295 | | |
| 296 | | icu@0 { |
| 297 | | device_type = "soclib:icu"; |
| 298 | | input_count = <2>; |
| 299 | | reg = <0x20600000 0x20>; |
| 300 | | icudev = &{/cpus/Mips,32@0}; |
| 301 | | irq = <0>; |
| 302 | | }; |
| 303 | | |
| 304 | | timer@0 { |
| 305 | | device_type = "soclib:timer"; |
| 306 | | reg = <0x01620000 0x10>; |
| 307 | | icudev = &{/icu@0}; |
| 308 | | irq = <1>; |
| 309 | | }; |
| 310 | | |
| 311 | | memory@0 { |
| 312 | | device_type = "memory"; |
| 313 | | cached; |
| 314 | | memreg: reg = <0x61100000 0x00100000>; |
| 315 | | }; |
| 316 | | |
| 317 | | memory@1 { |
| 318 | | device_type = "memory"; |
| 319 | | memreg: reg = <0x62600000 0x00100000>; |
| 320 | | }; |
| 321 | | |
| 322 | | chosen { |
| 323 | | console = &{/tty@0}; |
| 324 | | timer = &{/timer@0}; |
| 325 | | }; |
| 326 | | |
| 327 | | }; |
| 328 | | }}} |
| 329 | | |
| | 244 | The current FlattenedDeviceTree source file is [source:trunk/mutekh/examples/hello/platform-mips.dts]. |