[PATCH] arm64: dts: renesas: white-hawk-cpu: Add PCA9654 I/O Expander
Geert Uytterhoeven
geert+renesas at glider.be
Wed Sep 28 05:47:19 PDT 2022
Describe the PCA9654 I/O Expander on the White Hawk CPU board.
Signed-off-by: Geert Uytterhoeven <geert+renesas at glider.be>
---
Tested on the White Hawk development board using CP97/CP98[1].
To be queued in renesas-devel for v6.2.
[1] "arm64: dts: renesas: r8a779g0: whitehawk-cpu: Add overlay for CP97/98"
https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git/commit/?h=topic/renesas-overlays&id=df07ccc20a99337a5d80f8e8062dcae3626757ab
.../boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi b/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi
index 895f0bd9f754080f..f424b827fcbc7666 100644
--- a/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi
@@ -135,6 +135,17 @@ &i2c0 {
status = "okay";
clock-frequency = <400000>;
+ io_expander_a: gpio at 20 {
+ compatible = "onnn,pca9654";
+ reg = <0x20>;
+ interrupt-parent = <&gpio0>;
+ interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
+ gpio-controller;
+ #gpio-cells = <2>;
+ interrupt-controller;
+ #interrupt-cells = <2>;
+ };
+
eeprom at 50 {
compatible = "rohm,br24g01", "atmel,24c01";
label = "cpu-board";
--
2.25.1
More information about the linux-arm-kernel
mailing list