← Documents Documentation/devicetree/bindings/ptp/ptp-ines.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings

ZHAW InES PTP

InES PTP control node와 PHY port-channel handle binding입니다.

Source pathDocumentation/devicetree/bindings/ptp/ptp-ines.txt
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약과 해설

ptp-ines.txt:1-35

PHY MII bus를 timestamper channel에 연결합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 ZHAW InES PTP time stamping IP core
2
3 The IP core needs two different kinds of nodes. The control node
4 lives somewhere in the memory map and specifies the address of the
5 control registers. There can be up to three port handles placed as
6 attributes of PHY nodes. These associate a particular MII bus with a
7 port index within the IP core.
8
9 Required properties of the control node:
10
11 - compatible: "ines,ptp-ctrl"
12 - reg: physical address and size of the register bank
13
14 Required format of the port handle within the PHY node:
15
16 - timestamper: provides control node reference and
17 the port channel within the IP core
18
19 Example:
20
21 tstamper: timestamper@60000000 {
22 compatible = "ines,ptp-ctrl";
23 reg = <0x60000000 0x80>;
24 };
25
26 ethernet@80000000 {
27 ...
28 mdio {
29 ...
30 ethernet-phy@3 {
31 ...
32 timestamper = <&tstamper 0>;
33 };
34 };
35 };
36

3. 한국어 전문 번역

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

InES PTP control과 port handle

1-18

ZHAW InES PTP timestamping IP core에는 두 종류 node가 필요합니다. Memory map의 control node는 control register address를 지정하고, PHY node에는 최대 세 port handle을 두어 특정 MII bus를 IP core port index와 연결합니다.

Control node의 필수 `compatible`은 `ines,ptp-ctrl`, `reg`는 register bank physical address와 size입니다. PHY의 `timestamper` property는 control node reference와 IP core port channel을 제공합니다.

InES port 0 예제

19-35

예제는 PHY 3의 MII bus를 control node의 timestamper channel 0에 연결합니다.

tstamper: timestamper@60000000 {
        compatible = "ines,ptp-ctrl";
        reg = <0x60000000 0x80>;
};

ethernet@80000000 {
        ...
        mdio {
                ...
                ethernet-phy@3 {
                        ...
                        timestamper = <&tstamper 0>;
                };
        };
};