arm64: dts: ulcb-kf: enable PCA9548 on I2C2
authorVladimir Barinov <vladimir.barinov@cogentembedded.com>
Thu, 14 Sep 2017 14:19:34 +0000 (17:19 +0300)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 10 Oct 2017 07:51:24 +0000 (09:51 +0200)
This supports PCA9548 I2C switch on I2C2 bus on ULCB Kingfisher board

Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm64/boot/dts/renesas/ulcb-kf.dtsi

index a6c2343..3dfd338 100644 (file)
                interrupt-parent = <&gpio6>;
                interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
        };
+
+       i2cswitch2: i2c-switch@71 {
+               compatible = "nxp,pca9548";
+               #address-cells = <1>;
+               #size-cells = <0>;
+               reg = <0x71>;
+               reset-gpios = <&gpio5 3 GPIO_ACTIVE_LOW>;
+       };
 };
 
 &i2c4 {