요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
1
* NXP LPC18xx OTP memory
3
Internal OTP (One Time Programmable) memory for NXP LPC18xx/43xx devices.
5
Required properties:
6
- compatible: Should be "nxp,lpc1850-otp"
7
- reg: Must contain an entry with the physical base address and length
8
for each entry in reg-names.
9
- address-cells: must be set to 1.
10
- size-cells: must be set to 1.
12
See nvmem.txt for more information.
14
Example:
15
otp: otp@40045000 {
16
compatible = "nxp,lpc1850-otp";
17
reg = <0x40045000 0x1000>;
18
#address-cells = <1>;
19
#size-cells = <1>;
20
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
NXP LPC18xx OTP 속성
1-13NXP LPC18xx/43xx 장치의 internal OTP(One Time Programmable) memory binding입니다. 필수 `compatible`은 `nxp,lpc1850-otp`입니다.
`reg`는 `reg-names` 각 항목의 physical base address와 길이를 담아야 합니다. `#address-cells`와 `#size-cells`는 모두 1이어야 하며 자세한 내용은 `nvmem.txt`를 참조합니다.
LPC1850 OTP 예제
14-20예제는 `0x40045000`의 0x1000-byte OTP memory와 address/size cell 1을 정의합니다.
otp: otp@40045000 {
compatible = "nxp,lpc1850-otp";
reg = <0x40045000 0x1000>;
#address-cells = <1>;
#size-cells = <1>;
};
요약과 해설
lpc1850-otp.txt:1-20OTP register 영역과 address/size cell 요구를 설명합니다.