arm/dts: Add i2c devices to facebook cmm bmc board
Subsystems (2)
PATCH 1/1 arm/dts: Add i2c devices to facebook cmm bmc board
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 <[email protected]>
---
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(+)
arch/arm/boot/dts/aspeed-bmc-facebook-cmm.dts +100 -0
@@ -49,14 +49,34 @@ &i2c1 { status = "okay"; + + i2cswitch@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@48 { + compatible = "national,lm75"; + reg = <0x48>; + }; + + lm75@49 { + compatible = "national,lm75"; + reg = <0x49>; + }; }; &i2c4 {
@@ -65,18 +85,97 @@ &i2c5 { status = "okay"; + + adm1278@10 { + compatible = "adi,adm1278"; + reg = <0x10>; + }; }; &i2c6 { status = "okay"; + eeprom@51 { + compatible = "atmel,24c64"; + reg = <0x51>; + pagesize = <16>; + }; + + pca9534@27 { + compatible = "nxp,pca9534"; + reg = <0x27>; + gpio-controller; + #gpio-cells = <1>; + }; + }; &i2c7 { status = "okay"; + + i2cswitch@70 { + compatible = "nxp,pca9548"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x70>; + + i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + seeprom@50 { + compatible = "atmel,24c02"; + reg = <0x50>; + pagesize = <16>; + }; + }; + + i2c@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + seeprom@51 { + compatible = "atmel,24c02"; + reg = <0x51>; + pagesize = <16>; + }; + }; + + i2c@2 { + #address-cells = <1>; + #size-cells = <0>; + reg = <2>; + seeprom@52 { + compatible = "atmel,24c02"; + reg = <0x52>; + pagesize = <16>; + }; + }; + + i2c@4 { + #address-cells = <1>; + #size-cells = <0>; + reg = <4>; + clock-frequency = <400000>; + tpm@20 { + compatible = "infineon,slb9645tt"; + reg = <0x20>; + }; + + }; + }; }; &i2c8 { status = "okay"; + + i2cswitch@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> */ };
Signature · 1 line
2.9.3