[PATCH] arm/dts: Add i2c devices to facebook cmm bmc board
Matthew Conolly
mattconolly at fb.com
Thu Sep 29 06:44:51 AEST 2016
Adds i2c devices to the facebook cmm board.
3x pca9548 i2c muxes
3x 24c02 eeproms
1x 24c64 eeprom
2x lm75 temperature sensors
1x adm1278 hot swap & temp controller
1x pca9534 I/O expander
1x slb9645 TPM module
Signed-off-by: Matthew Conolly <mattconolly at fb.com>
---
This should apply to the openbmc dev-4.7 linux kernel branch
arch/arm/boot/dts/aspeed-bmc-facebook-cmm.dts | 100 ++++++++++++++++++++++++++
1 file changed, 100 insertions(+)
diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-cmm.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-cmm.dts
index 1b3bb22..e6d61c3 100644
--- a/arch/arm/boot/dts/aspeed-bmc-facebook-cmm.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-facebook-cmm.dts
@@ -49,14 +49,34 @@
&i2c1 {
status = "okay";
+
+ i2cswitch at 77 {
+ compatible = "nxp,pca9548";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <0x77>;
+
+ /* To connect to SCM_LC & SCM_FC */
+ };
};
&i2c2 {
status = "okay";
+ /* PCA9510AD buffer to connect PDU */
};
&i2c3 {
status = "okay";
+
+ lm75 at 48 {
+ compatible = "national,lm75";
+ reg = <0x48>;
+ };
+
+ lm75 at 49 {
+ compatible = "national,lm75";
+ reg = <0x49>;
+ };
};
&i2c4 {
@@ -65,18 +85,97 @@
&i2c5 {
status = "okay";
+
+ adm1278 at 10 {
+ compatible = "adi,adm1278";
+ reg = <0x10>;
+ };
};
&i2c6 {
status = "okay";
+ eeprom at 51 {
+ compatible = "atmel,24c64";
+ reg = <0x51>;
+ pagesize = <16>;
+ };
+
+ pca9534 at 27 {
+ compatible = "nxp,pca9534";
+ reg = <0x27>;
+ gpio-controller;
+ #gpio-cells = <1>;
+ };
+
};
&i2c7 {
status = "okay";
+
+ i2cswitch at 70 {
+ compatible = "nxp,pca9548";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <0x70>;
+
+ i2c at 0 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <0>;
+ seeprom at 50 {
+ compatible = "atmel,24c02";
+ reg = <0x50>;
+ pagesize = <16>;
+ };
+ };
+
+ i2c at 1 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <1>;
+ seeprom at 51 {
+ compatible = "atmel,24c02";
+ reg = <0x51>;
+ pagesize = <16>;
+ };
+ };
+
+ i2c at 2 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <2>;
+ seeprom at 52 {
+ compatible = "atmel,24c02";
+ reg = <0x52>;
+ pagesize = <16>;
+ };
+ };
+
+ i2c at 4 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <4>;
+ clock-frequency = <400000>;
+ tpm at 20 {
+ compatible = "infineon,slb9645tt";
+ reg = <0x20>;
+ };
+
+ };
+ };
};
&i2c8 {
status = "okay";
+
+ i2cswitch at 77 {
+ compatible = "nxp,pca9548";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <0x77>;
+
+ /* To connect to Fan board */
+ };
};
&i2c9 {
@@ -97,4 +196,5 @@
&i2c13 {
status = "okay";
+ /* CPLD at reg = <3E> */
};
--
2.9.3
More information about the openbmc
mailing list