[RFC linux dev-4.7 7/7] dts: aspeed: witherspoon: Add an I2C master as FSI device child

Eddie James eajames at linux.vnet.ibm.com
Fri Mar 24 08:44:39 AEDT 2017


From: "Edward A. James" <eajames at us.ibm.com>

Also add port devices under the I2C master.

Signed-off-by: Edward A. James <eajames at us.ibm.com>
---
 arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts | 128 +++++++++++++++++++++++
 1 file changed, 128 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
index 6772b53..698f2e7 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
@@ -63,6 +63,134 @@
 			compatible = "fixed-clock";
 			clock-frequency = <8333333>;
 		};
+
+		i2cm at 1800 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+
+			compatible = "ibm,power9-i2cm";
+			reg = <0x00001800>;
+
+			i2c-bus at 0 {
+				#address-cells = <1>;
+				#size-cells = <0>;
+
+				compatible = "ibm,power9-i2c-port";
+				reg = <0>;
+			};
+
+			i2c-bus at 1 {
+				#address-cells = <1>;
+				#size-cells = <0>;
+
+				compatible = "ibm,power9-i2c-port";
+				reg = <1>;
+			};
+
+			i2c-bus at 2 {
+				#address-cells = <1>;
+				#size-cells = <0>;
+
+				compatible = "ibm,power9-i2c-port";
+				reg = <2>;
+			};
+
+			i2c-bus at 3 {
+				#address-cells = <1>;
+				#size-cells = <0>;
+
+				compatible = "ibm,power9-i2c-port";
+				reg = <3>;
+			};
+
+			i2c-bus at 4 {
+				#address-cells = <1>;
+				#size-cells = <0>;
+
+				compatible = "ibm,power9-i2c-port";
+				reg = <4>;
+			};
+
+			i2c-bus at 5 {
+				#address-cells = <1>;
+				#size-cells = <0>;
+
+				compatible = "ibm,power9-i2c-port";
+				reg = <5>;
+			};
+
+			i2c-bus at 6 {
+				#address-cells = <1>;
+				#size-cells = <0>;
+
+				compatible = "ibm,power9-i2c-port";
+				reg = <6>;
+			};
+
+			i2c-bus at 7 {
+				#address-cells = <1>;
+				#size-cells = <0>;
+
+				compatible = "ibm,power9-i2c-port";
+				reg = <7>;
+			};
+
+			i2c-bus at 8 {
+				#address-cells = <1>;
+				#size-cells = <0>;
+
+				compatible = "ibm,power9-i2c-port";
+				reg = <8>;
+			};
+
+			i2c-bus at 9 {
+				#address-cells = <1>;
+				#size-cells = <0>;
+
+				compatible = "ibm,power9-i2c-port";
+				reg = <9>;
+			};
+
+			i2c-bus at 10 {
+				#address-cells = <1>;
+				#size-cells = <0>;
+
+				compatible = "ibm,power9-i2c-port";
+				reg = <10>;
+			};
+
+			i2c-bus at 11 {
+				#address-cells = <1>;
+				#size-cells = <0>;
+
+				compatible = "ibm,power9-i2c-port";
+				reg = <11>;
+			};
+
+			i2c-bus at 12 {
+				#address-cells = <1>;
+				#size-cells = <0>;
+
+				compatible = "ibm,power9-i2c-port";
+				reg = <12>;
+			};
+
+			i2c-bus at 13 {
+				#address-cells = <1>;
+				#size-cells = <0>;
+
+				compatible = "ibm,power9-i2c-port";
+				reg = <13>;
+			};
+
+			i2c-bus at 14 {
+				#address-cells = <1>;
+				#size-cells = <0>;
+
+				compatible = "ibm,power9-i2c-port";
+				reg = <14>;
+			};
+		};
 	};
 };
 
-- 
1.8.3.1



More information about the openbmc mailing list