DTS question

Scott Wood scottwood at freescale.com
Fri Mar 21 09:26:42 EST 2008


Sean MacLennan wrote:
> Ok, here is what I did....
> 
> IIC0: i2c at ef600700 {
> 	compatible = "ibm,iic-440ep", "ibm,iic-440gp", "ibm,iic"; 
> 	reg = <ef600700 14>; 
> 	interrupt-parent = <&UIC0>;
> 	interrupts = <2 4>;
> 	index = <0>;
> 
> 	ad7414 {
> 		compatible = "ad7414";

This should proabably have a manufacturer prefix.

> 		interrupts = <19 8>;
> 		interrupt-parent = <&UIC0>;
> 	};

Should have a reg property indicating the i2c address, and 
#address-cells = <1>/#size-cells = <0> in the i2c controller node.

-Scott



More information about the Linuxppc-dev mailing list