msm8953之串口dts配置
来源:互联网 发布:scanner java 编辑:程序博客网 时间:2024/05/16 18:51
msm8953支持4路串口,编号uart2、uart4、uart5、uart6
基地址:
中断号:
dts配置如下;
xxx .dtsi
&blsp1_uart0 {//uart2status = "ok";pinctrl-names = "default";pinctrl-0 = <&uart_console_active>;};&blsp1_uart4 {//uart4status = "ok";pinctrl-names = "default";pinctrl-0 = <&uart4_console_active>;};&blsp2_uart5 {//uart5status = "ok";pinctrl-names = "default";pinctrl-0 = <&uart5_console_active>;};&blsp2_uart6 {//uart6status = "ok";pinctrl-names = "default";pinctrl-0 = <&uart6_console_active>;};
xxx-msm8953.dtsi
blsp1_uart0: serial@78af000 {//uart2compatible = "qcom,msm-lsuart-v14";reg = <0x78af000 0x200>;interrupts = <0 107 0>;status = "disabled";clocks = <&clock_gcc clk_gcc_blsp1_uart1_apps_clk>,<&clock_gcc clk_gcc_blsp1_ahb_clk>;clock-names = "core_clk", "iface_clk";};blsp1_uart4:serial@78b0000 {//uart4compatible = "qcom,msm-lsuart-v14";reg = <0x78b0000 0x200>;interrupts = <0 108 0>;status = "disabled";clocks = <&clock_gcc clk_gcc_blsp1_uart2_apps_clk>,<&clock_gcc clk_gcc_blsp1_ahb_clk>;clock-names = "core_clk", "iface_clk";};blsp2_uart5:serial@7aef000 {//uart5compatible = "qcom,msm-lsuart-v14";reg = <0x7aef000 0x200>;interrupts = <0 306 0>;status = "disabled";clocks = <&clock_gcc clk_gcc_blsp2_uart1_apps_clk>, <&clock_gcc clk_gcc_blsp2_ahb_clk>;clock-names = "core_clk","iface_clk";};blsp2_uart6:serial@7af0000 {//uart6compatible = "qcom,msm-lsuart-v14";reg = <0x7af0000 0x200>;interrupts = <0 307 0>;status = "disabled";clocks = <&clock_gcc clk_gcc_blsp2_uart2_apps_clk>, <&clock_gcc clk_gcc_blsp2_ahb_clk>;clock-names = "core_clk","iface_clk";};
xxx-msm8953-pinctrl.dtsi
pmx-uartconsole {//uart2uart_console_active: uart_console_active {mux {pins = "gpio4", "gpio5";function = "blsp_uart2";};config {pins = "gpio4", "gpio5";drive-strength = <2>;bias-disable;};};uart_console_sleep: uart_console_sleep {mux {pins = "gpio4", "gpio5";function = "blsp_uart2";};config {pins = "gpio4", "gpio5";drive-strength = <2>;bias-pull-down;};};};pmx-uart4console {//uart4uart4_console_active: uart4_console_active {mux {pins = "gpio12","gpio13";function = "blsp_uart4";};config {pins = "gpio12","gpio13";drive-strength = <2>;bias-disable;};};uart4_console_sleep: uart4_console_sleep {mux {pins = "gpio12","gpio13";function = "blsp_uart4";};config {pins = "gpio12","gpio13";drive-strength = <2>;bias-pull-down;};};};pmx-uart5console {//uart5uart5_console_active: uart_console_active {mux {pins = "gpio16","gpio17";function = "blsp_uart5";};config {pins = "gpio16","gpio17";drive-strength = <2>;bias-disable;};};uart5_console_sleep: uart5_console_sleep {mux {pins = "gpio16","gpio17";function = "blsp_uart5";};config { pins = "gpio16","gpio17";drive-strength = <2>;bias-disable;};};};pmx-uart6console {//uart6uart6_console_active: uart_console_active {mux {pins = "gpio20","gpio21";function = "blsp_uart6";};config {pins = "gpio20","gpio21";drive-strength = <2>;bias-disable;};};uart6_console_sleep: uart6_console_sleep {mux {pins = "gpio20","gpio21";function = "blsp_uart6";};config {pins = "gpio20","gpio21";drive-strength = <2>;bias-disable;};};};
阅读全文
0 0
- msm8953之串口dts配置
- Linux DTS(Device Tree Source)设备树详解之三(高通MSM8953实例分析篇)
- OpenWRT 修改dts文件配置串口uart ttyS0
- OpenWRT(九)DTS及串口
- Linux DTS配置总结
- 14.DTS配置
- stm32之USART串口配置
- DTS草稿之二
- DTS草稿之三
- linux 驱动之 dts
- sklearn之DTS学习
- 嵌入式Linux串口应用编程之串口配置
- 嵌入式Linux串口应用编程之串口配置
- BBB学习之——串口配置
- 浅尝树莓派3之串口配置
- STM32F207调试记录之串口配置
- msm8953-dtsi的编译
- Build msm8953+android 7.0
- linux 命令大全(收藏版)
- C之bin2rev
- yii 2.0 增删改查 分页 ajax 批删
- ubuntu下安装freeswitch1.6
- (二十五)基础系列 JSP/JSTL/EL
- msm8953之串口dts配置
- Python webservice
- Linux——高级网络控制
- python中日期转换
- springmvc 实现数据验证
- 蒙特卡罗方法入门
- 不能被扫雷程序搞崩的心态
- MAVEN配置详解
- Android全文获取context(上下文)的方法