← Documents Documentation/devicetree/bindings/rtc/microchip,pic32-rtc.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / RTC

Microchip PIC32 RTCC

PIC32 RTC·calendar·alarm의 register, interrupt와 clock을 설명합니다.

Source pathDocumentation/devicetree/bindings/rtc/microchip,pic32-rtc.txt
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약과 해설

microchip,pic32-rtc.txt:1-21

RTC 기능과 전원·clock·interrupt 연결을 먼저 해설하고, 접을 수 있는 영어 원문 전체와 원문 줄 좌표를 보존한 한국어 전문 번역을 제공합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 * Microchip PIC32 Real Time Clock and Calendar
2
3 The RTCC keeps time in hours, minutes, and seconds, and one half second. It
4 provides a calendar in weekday, date, month, and year. It also provides a
5 configurable alarm.
6
7 Required properties:
8 - compatible: should be: "microchip,pic32mzda-rtc"
9 - reg: physical base address of the controller and length of memory mapped
10 region.
11 - interrupts: RTC alarm/event interrupt
12 - clocks: clock phandle
13
14 Example:
15
16 rtc: rtc@1f8c0000 {
17 compatible = "microchip,pic32mzda-rtc";
18 reg = <0x1f8c0000 0x60>;
19 interrupts = <166 IRQ_TYPE_EDGE_RISING>;
20 clocks = <&PBCLK6>;
21 };
22

3. 한국어 전문 번역

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

Microchip PIC32 RTCC

1-5

PIC32 RTCC는 시, 분, 초와 0.5초 단위로 시간을 유지하고 요일, 날짜, 월, 연도 달력을 제공합니다. 구성 가능한 alarm도 제공합니다.

필수 속성

6-12

`compatible`은 `microchip,pic32mzda-rtc`입니다. `reg`는 controller의 물리 시작 주소와 memory-mapped 영역 길이이며 `interrupts`는 RTC alarm/event interrupt입니다. `clocks`는 clock phandle입니다.

PIC32 RTC 예제

13-21

예제는 `0x1f8c0000`의 0x60바이트 register area, rising-edge interrupt 166, `PBCLK6` clock을 연결합니다.

rtc: rtc@1f8c0000 {
        compatible = "microchip,pic32mzda-rtc";
        reg = <0x1f8c0000 0x60>;
        interrupts = <166 IRQ_TYPE_EDGE_RISING>;
        clocks = <&PBCLK6>;
};