]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: zynqmp: Add device tree node for 2nd mux on I2C1 bus
authorSaeed Nowshadi <saeed.nowshadi@xilinx.com>
Tue, 4 Aug 2020 06:24:04 +0000 (23:24 -0700)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 23 Sep 2020 08:31:40 +0000 (10:31 +0200)
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

index a8bbb14f6cd13a137a0de6f65a7b936332d3c8d1..b81919e319481b738e2c9dfbc2bfd1a413720416 100644 (file)
                        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 {