Skip to content

Commit

Permalink
arm: dts: visconti: Add DT support for Toshiba Visconti5 GPIO driver
Browse files Browse the repository at this point in the history
Add the GPIO node in Toshiba Visconti5 SoC-specific DT file.
And enable the GPIO node in TMPV7708 RM main board's board-specific DT file.

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
Reviewed-by: Punit Agrawal <punit1.agrawal@toshiba.co.jp>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
  • Loading branch information
Nobuhiro Iwamatsu authored and Bartosz Golaszewski committed Feb 15, 2021
1 parent 5103c90 commit c988ae3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/arm64/boot/dts/toshiba/tmpv7708-rm-mbrc.dts
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,7 @@
clocks = <&uart_clk>;
clock-names = "apb_pclk";
};

&gpio {
status = "okay";
};
11 changes: 11 additions & 0 deletions arch/arm64/boot/dts/toshiba/tmpv7708.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,17 @@
reg = <0 0x24190000 0 0x10000>;
};

gpio: gpio@28020000 {
compatible = "toshiba,gpio-tmpv7708";
reg = <0 0x28020000 0 0x1000>;
#gpio-cells = <0x2>;
gpio-ranges = <&pmux 0 0 32>;
gpio-controller;
interrupt-controller;
#interrupt-cells = <2>;
interrupt-parent = <&gic>;
};

uart0: serial@28200000 {
compatible = "arm,pl011", "arm,primecell";
reg = <0 0x28200000 0 0x1000>;
Expand Down

0 comments on commit c988ae3

Please sign in to comment.