Loading arch/arm/boot/dts/qcom/msmcobalt-pinctrl.dtsi 0 → 100644 +36 −0 Original line number Diff line number Diff line /* Copyright (c) 2015, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ &soc { tlmm: pinctrl@03400000 { compatible = "qcom,msmcobalt-pinctrl"; reg = <0x03400000 0x4000000>; interrupts = <0 208 0>; gpio-controller; #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; uart_console_active: uart_console_active { mux { pins = "gpio4", "gpio5"; function = "blsp_uart"; }; config { pins = "gpio4", "gpio5"; drive-strength = <2>; bias-disable; }; }; }; }; arch/arm/boot/dts/qcom/msmcobalt-sim.dtsi +4 −0 Original line number Diff line number Diff line Loading @@ -10,6 +10,10 @@ * GNU General Public License for more details. */ #include "msmcobalt-pinctrl.dtsi" &uartblsp2dm1 { status = "ok"; pinctrl-names = "default"; pinctrl-0 = <&uart_console_active>; }; Loading
arch/arm/boot/dts/qcom/msmcobalt-pinctrl.dtsi 0 → 100644 +36 −0 Original line number Diff line number Diff line /* Copyright (c) 2015, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ &soc { tlmm: pinctrl@03400000 { compatible = "qcom,msmcobalt-pinctrl"; reg = <0x03400000 0x4000000>; interrupts = <0 208 0>; gpio-controller; #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; uart_console_active: uart_console_active { mux { pins = "gpio4", "gpio5"; function = "blsp_uart"; }; config { pins = "gpio4", "gpio5"; drive-strength = <2>; bias-disable; }; }; }; };
arch/arm/boot/dts/qcom/msmcobalt-sim.dtsi +4 −0 Original line number Diff line number Diff line Loading @@ -10,6 +10,10 @@ * GNU General Public License for more details. */ #include "msmcobalt-pinctrl.dtsi" &uartblsp2dm1 { status = "ok"; pinctrl-names = "default"; pinctrl-0 = <&uart_console_active>; };