diff mbox series

arm64: zynqmp: Add device tree node for 2nd mux on I2C1 bus

Message ID fab6ee0524d7211e1c07950b5596bc8e652e42ff.1598532181.git.michal.simek@xilinx.com
State Accepted
Commit 02abe1fbf3a8b7a6e50a5ed60d3b413a58775502
Delegated to: Michal Simek
Headers show
Series arm64: zynqmp: Add device tree node for 2nd mux on I2C1 bus | expand

Commit Message

Michal Simek Aug. 27, 2020, 12:43 p.m. UTC
From: Saeed Nowshadi <saeed.nowshadi@xilinx.com>

There is 2nd pca9548 mux on I2C1 bus that controls SFP0, SFP1, and QSFP1
ports. Channel 0 and 1 are connected to J287 connector for SFP0 & SFP1, and
channel 2 is connected to J288 connector for QSFP1.

Signed-off-by: Saeed Nowshadi <saeed.nowshadi@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 arch/arm/dts/zynqmp-e-a2197-00-revA.dts | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

Comments

Michal Simek Sept. 23, 2020, 12:05 p.m. UTC | #1
čt 27. 8. 2020 v 14:43 odesílatel Michal Simek <michal.simek@xilinx.com> napsal:
>
> From: Saeed Nowshadi <saeed.nowshadi@xilinx.com>
>
> There is 2nd pca9548 mux on I2C1 bus that controls SFP0, SFP1, and QSFP1
> ports. Channel 0 and 1 are connected to J287 connector for SFP0 & SFP1, and
> channel 2 is connected to J288 connector for QSFP1.
>
> Signed-off-by: Saeed Nowshadi <saeed.nowshadi@xilinx.com>
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> ---
>
>  arch/arm/dts/zynqmp-e-a2197-00-revA.dts | 25 +++++++++++++++++++++++++
>  1 file changed, 25 insertions(+)
>
> diff --git a/arch/arm/dts/zynqmp-e-a2197-00-revA.dts b/arch/arm/dts/zynqmp-e-a2197-00-revA.dts
> index a8bbb14f6cd1..b81919e31948 100644
> --- a/arch/arm/dts/zynqmp-e-a2197-00-revA.dts
> +++ b/arch/arm/dts/zynqmp-e-a2197-00-revA.dts
> @@ -554,6 +554,31 @@
>                         reg = <7>;
>                 };
>         };
> +       i2c-mux@75 { /* u214 */
> +               compatible = "nxp,pca9548";
> +               #address-cells = <1>;
> +               #size-cells = <0>;
> +               reg = <0x75>;
> +               i2c@0 { /* SFP0_IIC */
> +                       #address-cells = <1>;
> +                       #size-cells = <0>;
> +                       reg = <0>;
> +                       /* SFP0 */
> +               };
> +               i2c@1 { /* SFP1_IIC */
> +                       #address-cells = <1>;
> +                       #size-cells = <0>;
> +                       reg = <1>;
> +                       /* SFP1 */
> +               };
> +               i2c@2 { /* QSFP1_I2C */
> +                       #address-cells = <1>;
> +                       #size-cells = <0>;
> +                       reg = <2>;
> +                       /* QSFP1 */
> +               };
> +               /* 3 - 7 unused */
> +       };
>  };
>
>  &xilinx_ams {
> --
> 2.28.0
>

Applied.
M
diff mbox series

Patch

diff --git a/arch/arm/dts/zynqmp-e-a2197-00-revA.dts b/arch/arm/dts/zynqmp-e-a2197-00-revA.dts
index a8bbb14f6cd1..b81919e31948 100644
--- a/arch/arm/dts/zynqmp-e-a2197-00-revA.dts
+++ b/arch/arm/dts/zynqmp-e-a2197-00-revA.dts
@@ -554,6 +554,31 @@ 
 			reg = <7>;
 		};
 	};
+	i2c-mux@75 { /* u214 */
+		compatible = "nxp,pca9548";
+		#address-cells = <1>;
+		#size-cells = <0>;
+		reg = <0x75>;
+		i2c@0 { /* SFP0_IIC */
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <0>;
+			/* SFP0 */
+		};
+		i2c@1 { /* SFP1_IIC */
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <1>;
+			/* SFP1 */
+		};
+		i2c@2 { /* QSFP1_I2C */
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <2>;
+			/* QSFP1 */
+		};
+		/* 3 - 7 unused */
+	};
 };
 
 &xilinx_ams {