diff options
| author | Vladimir Barinov <vladimir.barinov@cogentembedded.com> | 2017-10-05 22:44:05 -0400 |
|---|---|---|
| committer | Simon Horman <horms+renesas@verge.net.au> | 2017-10-10 03:51:23 -0400 |
| commit | 1189d1d4e3f97775e4e51571aa1dfbc33e0638bb (patch) | |
| tree | 83e78933870843a53ab4bd453fbde1f5fa634cd7 | |
| parent | af75811605f6358dd6c6f34043d3826a31a57e60 (diff) | |
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 <vladimir.barinov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
| -rw-r--r-- | arch/arm64/boot/dts/renesas/ulcb-kf.dtsi | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi index 27657fec9696..80444aee7bcb 100644 --- a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi +++ b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi | |||
| @@ -44,6 +44,28 @@ | |||
| 44 | status = "okay"; | 44 | status = "okay"; |
| 45 | }; | 45 | }; |
| 46 | 46 | ||
| 47 | &i2c2 { | ||
| 48 | gpio_exp_74: gpio@74 { | ||
| 49 | compatible = "ti,tca9539"; | ||
| 50 | reg = <0x74>; | ||
| 51 | gpio-controller; | ||
| 52 | #gpio-cells = <2>; | ||
| 53 | interrupt-controller; | ||
| 54 | interrupt-parent = <&gpio6>; | ||
| 55 | interrupts = <8 IRQ_TYPE_EDGE_FALLING>; | ||
| 56 | }; | ||
| 57 | |||
| 58 | gpio_exp_75: gpio@75 { | ||
| 59 | compatible = "ti,tca9539"; | ||
| 60 | reg = <0x75>; | ||
| 61 | gpio-controller; | ||
| 62 | #gpio-cells = <2>; | ||
| 63 | interrupt-controller; | ||
| 64 | interrupt-parent = <&gpio6>; | ||
| 65 | interrupts = <4 IRQ_TYPE_EDGE_FALLING>; | ||
| 66 | }; | ||
| 67 | }; | ||
| 68 | |||
| 47 | &ohci0 { | 69 | &ohci0 { |
| 48 | status = "okay"; | 70 | status = "okay"; |
| 49 | }; | 71 | }; |
