요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
2. 영어 원문 전체
번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.
원문 전체 펼치기
1
Broadcom OTP memory controller
3
Required Properties:
4
- compatible: "brcm,ocotp" for the first generation Broadcom OTPC which is used
5
in Cygnus and supports 32 bit read/write. Use "brcm,ocotp-v2" for the second
6
generation Broadcom OTPC which is used in SoC's such as Stingray and supports
7
64-bit read/write.
8
- reg: Base address of the OTP controller.
9
- brcm,ocotp-size: Amount of memory available, in 32 bit words
11
Example:
13
otp: otp@301c800 {
14
compatible = "brcm,ocotp";
15
reg = <0x0301c800 0x2c>;
16
brcm,ocotp-size = <2048>;
17
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.
Broadcom OTPC 속성
1-10첫 세대 Broadcom OTPC는 Cygnus에서 사용하며 32-bit read/write를 지원하고 `compatible = "brcm,ocotp"`를 사용합니다. Stingray 같은 SoC의 두 번째 세대는 64-bit read/write를 지원하며 `brcm,ocotp-v2`를 사용합니다.
`reg`는 OTP controller base address이고 `brcm,ocotp-size`는 32-bit word 단위 사용 가능한 memory 양입니다.
Broadcom OTPC 예제
11-17예제는 `0x0301c800`의 0x2c-byte register 영역과 2048개 32-bit word를 가진 첫 세대 OTPC입니다.
otp: otp@301c800 {
compatible = "brcm,ocotp";
reg = <0x0301c800 0x2c>;
brcm,ocotp-size = <2048>;
};
요약과 해설
brcm,ocotp.txt:1-17Cygnus 1세대와 Stingray 계열 2세대의 차이를 설명합니다.