ARM: dts: aspeed: Add fan card PCA9552 to Witherspoon devicetree
Subsystems (2)
PATCH v2 1/1 ARM: dts: aspeed: Add fan card PCA9552 to Witherspoon devicetree
The Witherspoon OpenBMC system has a PCA9552 chip on the fan card that is used for fan fault and identify LED control. Adding this chip and the LED lines to the device tree.
Signed-off-by Brandon Wyman <[email protected]>
---
v2 - Add required address-cells and size-cells.
Update aliases and labels to match up with MRW XML.
---
--- arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts | 50 ++++++++++++++++++++++++ 1 file changed, 50 insertions(+)
arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts +50 -0
@@ -203,6 +203,56 @@ compatible = "infineon,dps310"; reg = <0x76>; }; + + pca0: pca9552@60 { + compatible = "nxp,pca9552"; + reg = <0x60>; + #address-cells = <1>; + #size-cells = <0>; + + fan0: led@0 { + label = "fan0"; + default-state = "keep"; + reg = <0>; + type = <PCA955X_TYPE_LED>; + }; + fan1: led@1 { + label = "fan1"; + default-state = "keep"; + reg = <1>; + type = <PCA955X_TYPE_LED>; + }; + fan2: led@2 { + label = "fan2"; + default-state = "keep"; + reg = <2>; + type = <PCA955X_TYPE_LED>; + }; + fan3: led@3 { + label = "fan3"; + default-state = "keep"; + reg = <3>; + type = <PCA955X_TYPE_LED>; + }; + front_fault: led@13 { + label = "front-fault"; + default-state = "keep"; + reg = <13>; + type = <PCA955X_TYPE_LED>; + }; + front_power: led@14 { + label = "front-power"; + default-state = "keep"; + reg = <14>; + type = <PCA955X_TYPE_LED>; + }; + front_id: led@15 { + label = "front-id"; + default-state = "keep"; + reg = <15>; + type = <PCA955X_TYPE_LED>; + }; + }; }; &i2c4 {
Signature · 1 line
2.7.2
Quoted 8 lines · Brandon Wyman
The Witherspoon OpenBMC system has a PCA9552 chip on the fan card that is used for fan fault and identify LED control. Adding this chip and the LED lines to the device tree.
Signed-off-by Brandon Wyman <[email protected]>---
v2 - Add required address-cells and size-cells.
Update aliases and labels to match up with MRW XML.
Thanks, applied to dev-4.10.
Cheers,
Joel