mirror of https://gitee.com/openkylin/linux.git
arm: dts: visconti: Add DT support for Toshiba Visconti5 GPIO driver
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>
This commit is contained in:
parent
5103c90d13
commit
c988ae37c7
|
@ -41,3 +41,7 @@ &uart1 {
|
|||
clocks = <&uart_clk>;
|
||||
clock-names = "apb_pclk";
|
||||
};
|
||||
|
||||
&gpio {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -157,6 +157,17 @@ pmux: pmux@24190000 {
|
|||
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>;
|
||||
|
|
Loading…
Reference in New Issue