User Tools

Site Tools


Sidebar

Go Back

Refresh

You are not allowed to add pages

Direct Link

library:rk3568:dtsguide

This is an old revision of the document!


DTS简述

1. node节点内容各式

配置node可以根据compatible,在kernel/Documentation/devicetree/bindings中查到说明,
或在 kernel/drivers/tty/serial/ 早到驱动代码。例如:

v2m_serial0: uart@090000 {
  compatible = "arm,pl011", "arm,primecell";
  reg = <0x090000 0x1000>;
  interrupts = <5>;
  clocks = <&v2m_clk24mhz>, <&v2m_clk24mhz>;
  clock-names = "uartclk", "apb_pclk";
};
#<path to sdk>  
cd kernel
cd Documentation/devicetree/bindings/
grep "arm,pl011" -rn *
#<path to sdk>
cd kernel/drivers/tty/serial/
grep "arm,pl011" -rn *
library/rk3568/dtsguide.1667124036.txt.gz · Last modified: 2022/10/30 18:00 by lhaosen