From: Vladimir Barinov Date: Fri, 6 Oct 2017 02:44:05 +0000 (+0300) Subject: arm64: dts: ulcb-kf: enable TCA9539 on I2C2 X-Git-Tag: v4.19~2159^2~18^2~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1189d1d4e3f97775e4e51571aa1dfbc33e0638bb;p=platform%2Fkernel%2Flinux-rpi.git arm64: dts: ulcb-kf: enable TCA9539 on I2C2 This supports TCA9539 gpio expanders on I2C2 bus on ULCB Kingfisher board Signed-off-by: Vladimir Barinov Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- diff --git a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi index 27657fe..80444ae 100644 --- a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi +++ b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi @@ -44,6 +44,28 @@ status = "okay"; }; +&i2c2 { + gpio_exp_74: gpio@74 { + compatible = "ti,tca9539"; + reg = <0x74>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + interrupt-parent = <&gpio6>; + interrupts = <8 IRQ_TYPE_EDGE_FALLING>; + }; + + gpio_exp_75: gpio@75 { + compatible = "ti,tca9539"; + reg = <0x75>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + interrupt-parent = <&gpio6>; + interrupts = <4 IRQ_TYPE_EDGE_FALLING>; + }; +}; + &ohci0 { status = "okay"; };