요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
2. 영어 원문 전체
번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.
원문 전체 펼치기
1
* Adaptrum Anarion ethernet controller
3
This device is a platform glue layer for stmmac.
4
Please see stmmac.txt for the other unchanged properties.
6
Required properties:
7
- compatible: Should be "adaptrum,anarion-gmac", "snps,dwmac"
8
- phy-mode: Should be "rgmii". Other modes are not currently supported.
11
Examples:
13
gmac1: ethernet@f2014000 {
14
compatible = "adaptrum,anarion-gmac", "snps,dwmac";
15
reg = <0xf2014000 0x4000>, <0xf2018100 8>;
17
interrupt-parent = <&core_intc>;
18
interrupts = <21>;
19
interrupt-names = "macirq";
21
clocks = <&core_clk>;
22
clock-names = "stmmaceth";
24
phy-mode = "rgmii";
25
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.
Adaptrum Anarion GMAC
1-5이 device는 Adaptrum Anarion Ethernet controller의 `stmmac` platform glue layer입니다. 변경되지 않은 다른 속성은 `stmmac.txt`를 참조합니다.
Compatible과 RGMII
6-10필수 `compatible`은 `adaptrum,anarion-gmac`, `snps,dwmac` 순서입니다. `phy-mode`는 `rgmii`여야 하며 현재 다른 mode는 지원하지 않습니다.
adaptrum,anarion-gmac→snps,dwmac core
snps,dwmac core→RGMII
RGMII→Ethernet PHY
Anarion 전용 glue가 Synopsys DWMAC core와 RGMII PHY를 연결합니다.
Anarion GMAC1 예제
11-25예제는 GMAC register와 보조 8-byte 범위, core interrupt 21, `macirq`, core clock을 `stmmaceth`로 연결하고 PHY mode를 RGMII로 지정합니다.
gmac1: ethernet@f2014000 {
compatible = "adaptrum,anarion-gmac", "snps,dwmac";
reg = <0xf2014000 0x4000>, <0xf2018100 8>;
interrupt-parent = <&core_intc>;
interrupts = <21>;
interrupt-names = "macirq";
clocks = <&core_clk>;
clock-names = "stmmaceth";
phy-mode = "rgmii";
};
요약과 해설
anarion-gmac.txt:1-25DWMAC fallback, register·interrupt·clock 예제를 설명합니다.