[PATCH linux dev-4.10 4/4] ARM: dts: cfam: Fix hub node

Joel Stanley joel at jms.id.au
Fri Jul 7 00:35:03 AEST 2017


The hub node was not being probed as it had malformed address-cells and
size-cells nodes.

This fixes probing of i2c devices on the first (non-hub) P9 socket.

Signed-off-by: Joel Stanley <joel at jms.id.au>
---
 arch/arm/boot/dts/ibm-power9-cfam.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/ibm-power9-cfam.dtsi b/arch/arm/boot/dts/ibm-power9-cfam.dtsi
index 669ed6804f74..16802933558e 100644
--- a/arch/arm/boot/dts/ibm-power9-cfam.dtsi
+++ b/arch/arm/boot/dts/ibm-power9-cfam.dtsi
@@ -1,8 +1,8 @@
 &fsi {
 	cfam at 0,0 {
 		reg = <0 0>;
-		#address-cells = <1>;
-		#size-cells = <1>;
+		#address-cells = <2>;
+		#size-cells = <0>;
 
 		i2c at 1800 {
 			compatible = "ibm,fsi-i2c-master";
-- 
2.13.2



More information about the openbmc mailing list