← Documents Documentation/devicetree/bindings/soc/fsl/cpm_qe/uqe_serial.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / SoC / FSL CPM-QE

UCC UART serial

UCC UART의 port와 내부·외부 clock source를 설명합니다.

Source pathDocumentation/devicetree/bindings/soc/fsl/cpm_qe/uqe_serial.txt
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

요약과 해설

uqe_serial.txt:1-17

CPM/QE의 pin, 통신 controller, clock과 GPIO 연결 규칙을 먼저 해설하고, 접을 수 있는 영어 원문 전체와 원문 줄 좌표를 보존한 한국어 전문 번역을 제공합니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 * Serial
2
3 Required Properties:
4 compatible : must be "fsl,<chip>-ucc-uart". For t1040, must be
5 "fsl,t1040-ucc-uart".
6 port-number : port number of UCC-UART
7 tx/rx-clock-name : should be "brg1"-"brg16" for internal clock source,
8 should be "clk1"-"clk28" for external clock source.
9
10 Example:
11
12 ucc_serial: ucc@2200 {
13 compatible = "fsl,t1040-ucc-uart";
14 port-number = <0>;
15 rx-clock-name = "brg2";
16 tx-clock-name = "brg2";
17 };
18

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

UCC UART 필수 속성

1-9

UCC UART의 `compatible`은 `fsl,<chip>-ucc-uart`여야 하며 T1040에서는 `fsl,t1040-ucc-uart`를 사용합니다. `port-number`는 UCC-UART port 번호입니다.

`tx-clock-name`과 `rx-clock-name`은 내부 clock source에 `brg1`~`brg16`, 외부 clock source에 `clk1`~`clk28`을 사용합니다.

T1040 UCC UART 예제

10-17

예제는 port 0의 T1040 UCC UART에 수신·송신 clock source로 모두 `brg2`를 지정합니다.

ucc_serial: ucc@2200 {
        compatible = "fsl,t1040-ucc-uart";
        port-number = <0>;
        rx-clock-name = "brg2";
        tx-clock-name = "brg2";
};