Device Tree configuration for I2C-Multiplexer and its Clients

Herzig, Christian Christian.Herzig at keymile.com
Fri Aug 21 08:14:27 EST 2009


Hi Grant!

mux at 70 {
        #address-cells = <2>;   /* Note this change */ /* I've noted ;-)
*/
        #size-cells = <0>;
        compatible = "philips, pca9542";
        reg = <0x70>;

        /* channel 0 */
        dtt at 0,48 {
                compatible = "national,lm75";
                reg = < 0 0x48 >; /* now reg is specified with 2 cells
*/
        };
        at24 at 0,50 {
                compatible = "at24,24c08";
                reg = < 0 0x50 >;
        };
        /* channel 1 */
        at24 at 1,50 {
                compatible = "at24,24c08";
                reg = < 1 0x50 >;
        };
};

That looks very good to me!

Thank you very much, 
Christian


More information about the devicetree-discuss mailing list