alias variable support

Kushwaha Prabhakar-B32579 B32579 at freescale.com
Fri Dec 2 21:14:47 EST 2011


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 at 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



More information about the devicetree-discuss mailing list