| From 88f91e49fe90d699a8e94bde2a6d2cc6c4cd6791 Mon Sep 17 00:00:00 2001 |
| From: Vladimir Barinov <vladimir.barinov@cogentembedded.com> |
| Date: Fri, 6 Oct 2017 05:44:11 +0300 |
| Subject: [PATCH 0061/1795] arm64: dts: ulcb-kf: enable TCA9539 on I2C4 |
| |
| This supports TCA9539 gpio expanders on I2C4 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> |
| (cherry picked from commit 0f9c47b2446beb4ea90ba90870cbe72b6419d03b) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> |
| --- |
| arch/arm64/boot/dts/renesas/ulcb-kf.dtsi | 22 ++++++++++++++++++++++ |
| 1 file changed, 22 insertions(+) |
| |
| diff --git a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi |
| index 80444aee7bcb..a6c2343e23cb 100644 |
| --- a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi |
| +++ b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi |
| @@ -66,6 +66,28 @@ |
| }; |
| }; |
| |
| +&i2c4 { |
| + gpio_exp_76: gpio@76 { |
| + compatible = "ti,tca9539"; |
| + reg = <0x76>; |
| + gpio-controller; |
| + #gpio-cells = <2>; |
| + interrupt-controller; |
| + interrupt-parent = <&gpio7>; |
| + interrupts = <3 IRQ_TYPE_EDGE_FALLING>; |
| + }; |
| + |
| + gpio_exp_77: gpio@77 { |
| + compatible = "ti,tca9539"; |
| + reg = <0x77>; |
| + gpio-controller; |
| + #gpio-cells = <2>; |
| + interrupt-controller; |
| + interrupt-parent = <&gpio5>; |
| + interrupts = <9 IRQ_TYPE_EDGE_FALLING>; |
| + }; |
| +}; |
| + |
| &ohci0 { |
| status = "okay"; |
| }; |
| -- |
| 2.19.0 |
| |