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

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

CPM/QE serial

CPM/QE UART compatible과 modem control GPIO 순서를 설명합니다.

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

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

1. 요약·해설

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

요약과 해설

serial.txt:1-32

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

2. 영어 원문 전체

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

원문 전체 펼치기
1 * Serial
2
3 Currently defined compatibles:
4 - fsl,cpm1-smc-uart
5 - fsl,cpm2-smc-uart
6 - fsl,cpm1-scc-uart
7 - fsl,cpm2-scc-uart
8 - fsl,qe-uart
9
10 Modem control lines connected to GPIO controllers are listed in the gpios
11 property as described in booting-without-of.txt, section IX.1 in the following
12 order:
13
14 CTS, RTS, DCD, DSR, DTR, and RI.
15
16 The gpios property is optional and can be left out when control lines are
17 not used.
18
19 Example:
20
21 serial@11a00 {
22 device_type = "serial";
23 compatible = "fsl,mpc8272-scc-uart",
24 "fsl,cpm2-scc-uart";
25 reg = <11a00 20 8000 100>;
26 interrupts = <28 8>;
27 interrupt-parent = <&PIC>;
28 fsl,cpm-brg = <1>;
29 fsl,cpm-command = <00800000>;
30 gpios = <&gpio_c 15 0
31 &gpio_d 29 0>;
32 };
33

3. 한국어 전문 번역

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

CPM/QE serial compatible

1-8

현재 정의된 compatible은 `fsl,cpm1-smc-uart`, `fsl,cpm2-smc-uart`, `fsl,cpm1-scc-uart`, `fsl,cpm2-scc-uart`, `fsl,qe-uart`입니다.

Modem control GPIO

9-18

GPIO controller에 연결된 modem control line은 `booting-without-of.txt` IX.1절의 `gpios` 속성 형식으로 CTS, RTS, DCD, DSR, DTR, RI 순서에 맞춰 나열합니다.

control line을 사용하지 않으면 선택 속성인 `gpios`를 생략할 수 있습니다.

MPC8272 SCC UART 예제

19-32

예제는 CPM2 SCC UART의 register와 parameter RAM, interrupt controller, BRG, CPM command, CTS·RTS GPIO를 연결합니다.

serial@11a00 {
        device_type = "serial";
        compatible = "fsl,mpc8272-scc-uart",
                     "fsl,cpm2-scc-uart";
        reg = <11a00 20 8000 100>;
        interrupts = <28 8>;
        interrupt-parent = <&PIC>;
        fsl,cpm-brg = <1>;
        fsl,cpm-command = <00800000>;
        gpios = <&gpio_c 15 0
                 &gpio_d 29 0>;
};