SoftSW DIP switch support for Draak, Eagle and Ebisu [PATCH 1/3] arm64: dts: renesas: r8a77995: draak: Add SW56 support [PATCH 2/3] arm64: dts: renesas: r8a77970: eagle: Add SW2 support [PATCH 3/3] arm64: dts: renesas: r8a77990: ebisu: Add SW4 support These patches add support for on-board SoftSW DIP switches to the Draak, Eagle and Ebisu boards via board specific DTS changes. The GPIOs connecting the DIP switches to the SoC are board specific. There are no on-board pull-ups mounted so internal resistors need to be enabled as pull-ups for these boards. As expected 2k resistors are used to tie the signals to ground for the case the DIP switch is set to ON. All keys have been tested by toggling each DIP switch and making sure the interrupt count in /proc/interrupts is changing as expected. The voltage level of each signal has not been measured at this point so there is a small risk that the internal pull-up isn't enabled and the signal is floating. Signed-off-by: Magnus Damm <damm+renesas@xxxxxxxxxxxxx> --- Developed on top of renesas-drivers-2021-06-08-v5.13-rc5 arch/arm64/boot/dts/renesas/r8a77970-eagle.dts | 43 ++++++++++++++++++++++++ arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts | 42 +++++++++++++++++++++++ arch/arm64/boot/dts/renesas/r8a77995-draak.dts | 42 +++++++++++++++++++++++ 3 files changed, 127 insertions(+)