resource-names.txt 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. Some properties contain an ordered list of 1 or more datum which are
  2. normally accessed by index. However, some devices will have multiple
  3. values which are more naturally accessed by name. Device nodes can
  4. include a supplemental property for assigning names to each of the list
  5. items. The names property consists of a list of strings in the same
  6. order as the data in the resource property.
  7. The following supplemental names properties are defined.
  8. Resource Property Supplemental Names Property
  9. ----------------- ---------------------------
  10. reg reg-names
  11. clocks clock-names
  12. interrupts interrupt-names
  13. Usage:
  14. The -names property must be used in conjunction with the normal resource
  15. property. If not it will be ignored.
  16. Examples:
  17. l4-abe {
  18. compatible = "simple-bus";
  19. #address-cells = <2>;
  20. #size-cells = <1>;
  21. ranges = <0 0 0x48000000 0x00001000>, /* MPU path */
  22. <1 0 0x49000000 0x00001000>; /* L3 path */
  23. mcasp {
  24. compatible = "ti,mcasp";
  25. reg = <0 0x10 0x10>, <0 0x20 0x10>,
  26. <1 0x10 0x10>, <1 0x20 0x10>;
  27. reg-names = "mpu", "dat",
  28. "dma", "dma_dat";
  29. };
  30. timer {
  31. compatible = "ti,timer";
  32. reg = <0 0x40 0x10>, <1 0x40 0x10>;
  33. reg-names = "mpu", "dma";
  34. };
  35. };
  36. usb {
  37. compatible = "ti,usb-host";
  38. reg = <0x4a064000 0x800>, <0x4a064800 0x200>,
  39. <0x4a064c00 0x200>;
  40. reg-names = "config", "ohci", "ehci";
  41. };