요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
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. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 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 예제를 설명합니다.