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

Submitted by eajames@linux.vnet.ibm.com on March 23, 2017, 9:44 p.m.

Details

Message ID 1490305479-17065-8-git-send-email-eajames@linux.vnet.ibm.com
State Rejected, archived
Headers show

Commit Message

eajames@linux.vnet.ibm.com March 23, 2017, 9:44 p.m.
From: "Edward A. James" <eajames@us.ibm.com>

Also add port devices under the I2C master.

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

Patch hide | download patch | download mbox

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@1800 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+
+			compatible = "ibm,power9-i2cm";
+			reg = <0x00001800>;
+
+			i2c-bus@0 {
+				#address-cells = <1>;
+				#size-cells = <0>;
+
+				compatible = "ibm,power9-i2c-port";
+				reg = <0>;
+			};
+
+			i2c-bus@1 {
+				#address-cells = <1>;
+				#size-cells = <0>;
+
+				compatible = "ibm,power9-i2c-port";
+				reg = <1>;
+			};
+
+			i2c-bus@2 {
+				#address-cells = <1>;
+				#size-cells = <0>;
+
+				compatible = "ibm,power9-i2c-port";
+				reg = <2>;
+			};
+
+			i2c-bus@3 {
+				#address-cells = <1>;
+				#size-cells = <0>;
+
+				compatible = "ibm,power9-i2c-port";
+				reg = <3>;
+			};
+
+			i2c-bus@4 {
+				#address-cells = <1>;
+				#size-cells = <0>;
+
+				compatible = "ibm,power9-i2c-port";
+				reg = <4>;
+			};
+
+			i2c-bus@5 {
+				#address-cells = <1>;
+				#size-cells = <0>;
+
+				compatible = "ibm,power9-i2c-port";
+				reg = <5>;
+			};
+
+			i2c-bus@6 {
+				#address-cells = <1>;
+				#size-cells = <0>;
+
+				compatible = "ibm,power9-i2c-port";
+				reg = <6>;
+			};
+
+			i2c-bus@7 {
+				#address-cells = <1>;
+				#size-cells = <0>;
+
+				compatible = "ibm,power9-i2c-port";
+				reg = <7>;
+			};
+
+			i2c-bus@8 {
+				#address-cells = <1>;
+				#size-cells = <0>;
+
+				compatible = "ibm,power9-i2c-port";
+				reg = <8>;
+			};
+
+			i2c-bus@9 {
+				#address-cells = <1>;
+				#size-cells = <0>;
+
+				compatible = "ibm,power9-i2c-port";
+				reg = <9>;
+			};
+
+			i2c-bus@10 {
+				#address-cells = <1>;
+				#size-cells = <0>;
+
+				compatible = "ibm,power9-i2c-port";
+				reg = <10>;
+			};
+
+			i2c-bus@11 {
+				#address-cells = <1>;
+				#size-cells = <0>;
+
+				compatible = "ibm,power9-i2c-port";
+				reg = <11>;
+			};
+
+			i2c-bus@12 {
+				#address-cells = <1>;
+				#size-cells = <0>;
+
+				compatible = "ibm,power9-i2c-port";
+				reg = <12>;
+			};
+
+			i2c-bus@13 {
+				#address-cells = <1>;
+				#size-cells = <0>;
+
+				compatible = "ibm,power9-i2c-port";
+				reg = <13>;
+			};
+
+			i2c-bus@14 {
+				#address-cells = <1>;
+				#size-cells = <0>;
+
+				compatible = "ibm,power9-i2c-port";
+				reg = <14>;
+			};
+		};
 	};
 };