alias variable support
From: Kushwaha Prabhakar-B32579 <hidden>
Date: 2011-12-02 10:14:47
From: Kushwaha Prabhakar-B32579 <hidden>
Date: 2011-12-02 10:14:47
Hi,
Is there a way in dts to have alias for a variable just like we have alias for node.
For example for a node "abc"
alias_comp = "comp-2.0"
abc@3100 {
#address-cells = <1>;
#size-cells = <0>;
cell-index = <1>;
compatible = alias_comp
reg = <0x3100 0x100>;
};
Here alias_comp will be replaced by "comp-2.0" during compilation.
Regards,
Prabhakar