Back to home page

OSCL-LXR

 
 

    


0001 Some properties contain an ordered list of 1 or more datum which are
0002 normally accessed by index.  However, some devices will have multiple
0003 values which are more naturally accessed by name.  Device nodes can
0004 include a supplemental property for assigning names to each of the list
0005 items.  The names property consists of a list of strings in the same
0006 order as the data in the resource property.
0007 
0008 The following supplemental names properties are defined.
0009 
0010 Resource Property       Supplemental Names Property
0011 -----------------       ---------------------------
0012 reg                     reg-names
0013 clocks                  clock-names
0014 interrupts              interrupt-names
0015 
0016 Usage:
0017 
0018 The -names property must be used in conjunction with the normal resource
0019 property. If not it will be ignored.
0020 
0021 Examples:
0022 
0023 l4-abe {
0024         compatible = "simple-bus";
0025         #address-cells = <2>;
0026         #size-cells = <1>;
0027         ranges = <0 0 0x48000000 0x00001000>, /* MPU path */
0028                  <1 0 0x49000000 0x00001000>; /* L3 path */
0029         mcasp {
0030                 compatible = "ti,mcasp";
0031                 reg = <0 0x10 0x10>, <0 0x20 0x10>,
0032                       <1 0x10 0x10>, <1 0x20 0x10>;
0033                 reg-names = "mpu", "dat",
0034                             "dma", "dma_dat";
0035                 interrupts = <11>, <12>;
0036                 interrupt-names = "rx", "tx";
0037         };
0038 
0039         timer {
0040                 compatible = "ti,timer";
0041                 reg = <0 0x40 0x10>, <1 0x40 0x10>;
0042                 reg-names = "mpu", "dma";
0043         };
0044 };
0045 
0046 
0047 usb {
0048         compatible = "ti,usb-host";
0049         reg = <0x4a064000 0x800>, <0x4a064800 0x200>,
0050               <0x4a064c00 0x200>;
0051         reg-names = "config", "ohci", "ehci";
0052         interrupts = <14>, <15>;
0053         interrupt-names = "ohci", "ehci";
0054 };