요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
2. 영어 원문 전체
번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.
원문 전체 펼치기
Freescale MPC512x LocalPlus Bus FIFO (called SCLPC in the Reference Manual)
Required properties:
- compatible: should be "fsl,mpc512x-lpbfifo";
- reg: should contain the offset and length of SCLPC register set;
- interrupts: should contain the interrupt specifier for SCLPC; syntax of an
interrupt client node is described in interrupt-controller/interrupts.txt;
- dmas: should contain the DMA specifier for SCLPC as described at
dma/dma.txt and dma/mpc512x-dma.txt;
- dma-names: should be "rx-tx";
Example:
sclpc@10100 {
compatible = "fsl,mpc512x-lpbfifo";
reg = <0x10100 0x50>;
interrupts = <7 0x8>;
dmas = <&dma0 26>;
dma-names = "rx-tx";
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.
MPC512x LocalPlus Bus FIFO property
1-11Freescale MPC512x LocalPlus Bus FIFO는 Reference Manual에서 SCLPC라고 부릅니다. 필수 `compatible`은 `fsl,mpc512x-lpbfifo`이고, `reg`에는 SCLPC register set의 offset과 length를 넣습니다.
필수 `interrupts`에는 SCLPC interrupt specifier를 넣습니다. Interrupt client node 문법은 `interrupt-controller/interrupts.txt`에 설명되어 있습니다.
필수 `dmas`에는 `dma/dma.txt`와 `dma/mpc512x-dma.txt`가 정의한 SCLPC DMA specifier를 넣습니다. 필수 `dma-names` 값은 `rx-tx`여야 합니다.
SCLPC 예제
12-21예제는 offset 0x10100의 0x50-byte register set, interrupt 7, DMA channel 26과 양방향 `rx-tx` 이름을 선언합니다.
sclpc@10100 {
compatible = "fsl,mpc512x-lpbfifo";
reg = <0x10100 0x50>;
interrupts = <7 0x8>;
dmas = <&dma0 26>;
dma-names = "rx-tx";
};
요약과 해설
mpc512x_lpbfifo.txt:1-21LocalPlus Bus FIFO의 SCLPC register와 IRQ를 DMA channel 26 및 `rx-tx` 이름에 연결하는 방법을 설명합니다.