요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
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. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, 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 요구를 설명합니다.