Commit afc4b473 authored by Hongtao Jia's avatar Hongtao Jia Committed by Scott Wood

powerpc: Add I2C bus multiplexer node for B4 and T4240QDS

In both B4 and T4240QDS platform PCA9547 I2C bus multiplexer is used.
The sub-nodes are also reorganized according to right I2C topology.
Signed-off-by: default avatarJia Hongtao <hongtao.jia@freescale.com>
Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
parent 788d399d
...@@ -120,25 +120,38 @@ sdhc@114000 { ...@@ -120,25 +120,38 @@ sdhc@114000 {
}; };
i2c@118000 { i2c@118000 {
eeprom@50 { mux@77 {
compatible = "at24,24c64"; compatible = "nxp,pca9547";
reg = <0x50>; reg = <0x77>;
}; #address-cells = <1>;
eeprom@51 { #size-cells = <0>;
compatible = "at24,24c256";
reg = <0x51>; i2c@0 {
}; #address-cells = <1>;
eeprom@53 { #size-cells = <0>;
compatible = "at24,24c256"; reg = <0>;
reg = <0x53>;
}; eeprom@50 {
eeprom@57 { compatible = "at24,24c64";
compatible = "at24,24c256"; reg = <0x50>;
reg = <0x57>; };
}; eeprom@51 {
rtc@68 { compatible = "at24,24c256";
compatible = "dallas,ds3232"; reg = <0x51>;
reg = <0x68>; };
eeprom@53 {
compatible = "at24,24c256";
reg = <0x53>;
};
eeprom@57 {
compatible = "at24,24c256";
reg = <0x57>;
};
rtc@68 {
compatible = "dallas,ds3232";
reg = <0x68>;
};
};
}; };
}; };
......
...@@ -118,34 +118,47 @@ flash@0 { ...@@ -118,34 +118,47 @@ flash@0 {
}; };
i2c@118000 { i2c@118000 {
eeprom@51 { mux@77 {
compatible = "at24,24c256"; compatible = "nxp,pca9547";
reg = <0x51>; reg = <0x77>;
}; #address-cells = <1>;
eeprom@52 { #size-cells = <0>;
compatible = "at24,24c256";
reg = <0x52>; i2c@0 {
}; #address-cells = <1>;
eeprom@53 { #size-cells = <0>;
compatible = "at24,24c256"; reg = <0>;
reg = <0x53>;
}; eeprom@51 {
eeprom@54 { compatible = "at24,24c256";
compatible = "at24,24c256"; reg = <0x51>;
reg = <0x54>; };
}; eeprom@52 {
eeprom@55 { compatible = "at24,24c256";
compatible = "at24,24c256"; reg = <0x52>;
reg = <0x55>; };
}; eeprom@53 {
eeprom@56 { compatible = "at24,24c256";
compatible = "at24,24c256"; reg = <0x53>;
reg = <0x56>; };
}; eeprom@54 {
rtc@68 { compatible = "at24,24c256";
compatible = "dallas,ds3232"; reg = <0x54>;
reg = <0x68>; };
interrupts = <0x1 0x1 0 0>; eeprom@55 {
compatible = "at24,24c256";
reg = <0x55>;
};
eeprom@56 {
compatible = "at24,24c256";
reg = <0x56>;
};
rtc@68 {
compatible = "dallas,ds3232";
reg = <0x68>;
interrupts = <0x1 0x1 0 0>;
};
};
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment