ti,hwmods 应该是ti所特有的,ti,hwmods = "uart2";将在内核中怎么使用?
uart1: serial@48022000 {
compatible = "ti,am3352-uart", "ti,omap3-uart";
ti,hwmods = "uart2";
clock-frequency = <48000000>;
reg = <0x48022000 0x2000>;
interrupts = <73>;
status = "disabled";
dmas = <&edma 28 0>, <&edma 29 0>;
dma-names = "tx", "rx";
};
yongqing wang:
对硬件模块的配置,为了跟驱动一致
user5855584:
回复 yongqing wang:
还是有点不明白,他对硬件模块配置了什么,,为了跟驱动一致?