summaryrefslogtreecommitdiffstats
path: root/arch/mips/boot
diff options
context:
space:
mode:
authorPaul Cercueil <paul@crapouillou.net>2017-05-12 18:53:01 +0200
committerLinus Walleij <linus.walleij@linaro.org>2017-05-22 17:25:11 +0200
commit636f8ba67fb606a4a0ab4deedb39c71d1ea5dc8a (patch)
tree0ff4e2e0582149206a65c85cca62e7671bbbab2d /arch/mips/boot
parentMIPS: jz4780: DTS: Add nodes for ingenic pinctrl and gpio drivers (diff)
downloadlinux-636f8ba67fb606a4a0ab4deedb39c71d1ea5dc8a.tar.xz
linux-636f8ba67fb606a4a0ab4deedb39c71d1ea5dc8a.zip
MIPS: JZ4740: Qi LB60: Add pinctrl configuration for several drivers
We set the pin configuration for the jz4740-nand, jz4740-mmc, jz4740-fb, jz4740-pwm and jz4740-uart drivers. This will permit those drivers to be cleaned out of the custom GPIO code that they currently use. Signed-off-by: Paul Cercueil <paul@crapouillou.net> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/mips/boot')
-rw-r--r--arch/mips/boot/dts/ingenic/qi_lb60.dts13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/mips/boot/dts/ingenic/qi_lb60.dts b/arch/mips/boot/dts/ingenic/qi_lb60.dts
index be1a7d3a3e1b..b715ee2ac2ee 100644
--- a/arch/mips/boot/dts/ingenic/qi_lb60.dts
+++ b/arch/mips/boot/dts/ingenic/qi_lb60.dts
@@ -17,3 +17,16 @@
&rtc_dev {
system-power-controller;
};
+
+&uart0 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pins_uart0>;
+};
+
+&pinctrl {
+ pins_uart0: uart0 {
+ function = "uart0";
+ groups = "uart0-data";
+ bias-disable;
+ };
+};