← Documents Documentation/devicetree/bindings/net/cpsw-phy-sel.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings

TI CPSW PHY Mode Selection

더 이상 사용하지 않는 CPSW GMII selector와 외부 RMII clock binding입니다.

Source pathDocumentation/devicetree/bindings/net/cpsw-phy-sel.txt
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약과 해설

cpsw-phy-sel.txt:1-30

플랫폼별 compatible과 `rmii-clock-ext` 유무에 따른 clock source 차이를 비교합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 TI CPSW Phy mode Selection Device Tree Bindings (DEPRECATED)
2 -----------------------------------------------
3
4 Required properties:
5 - compatible : Should be "ti,am3352-cpsw-phy-sel" for am335x platform and
6 "ti,dra7xx-cpsw-phy-sel" for dra7xx platform
7 "ti,am43xx-cpsw-phy-sel" for am43xx platform
8 - reg : physical base address and size of the cpsw
9 registers map
10 - reg-names : names of the register map given in "reg" node
11
12 Optional properties:
13 -rmii-clock-ext : If present, the driver will configure the RMII
14 interface to external clock usage
15
16 Examples:
17
18 phy_sel: cpsw-phy-sel@44e10650 {
19 compatible = "ti,am3352-cpsw-phy-sel";
20 reg= <0x44e10650 0x4>;
21 reg-names = "gmii-sel";
22 };
23
24 (or)
25 phy_sel: cpsw-phy-sel@44e10650 {
26 compatible = "ti,am3352-cpsw-phy-sel";
27 reg= <0x44e10650 0x4>;
28 reg-names = "gmii-sel";
29 rmii-clock-ext;
30 };
31

3. 한국어 전문 번역

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

TI CPSW PHY mode 선택 binding

1-11

이 binding은 더 이상 사용하지 않는 DEPRECATED 형식입니다. `compatible`은 AM335x에 `ti,am3352-cpsw-phy-sel`, DRA7xx에 `ti,dra7xx-cpsw-phy-sel`, AM43xx에 `ti,am43xx-cpsw-phy-sel`을 사용합니다.

`reg`는 CPSW register map의 physical base address와 크기이고 `reg-names`는 `reg`에 주어진 register map의 이름입니다.

외부 RMII clock 선택

12-15

선택 boolean `rmii-clock-ext`가 있으면 드라이버가 RMII interface를 외부 clock 사용으로 설정합니다.

RMII clock source 선택
rmii-clock-ext 없음기본 RMII clock
rmii-clock-ext 있음External RMII clock

속성의 존재 여부가 RMII clock source를 결정합니다.

AM3352 GMII selector 예제

16-30

두 예제 모두 `0x44e10650`의 4-byte `gmii-sel` register를 사용합니다. 두 번째 예제만 `rmii-clock-ext`를 추가해 외부 RMII clock을 선택합니다.

        phy_sel: cpsw-phy-sel@44e10650 {
                compatible = "ti,am3352-cpsw-phy-sel";
                reg= <0x44e10650 0x4>;
                reg-names = "gmii-sel";
        };

(or)
        phy_sel: cpsw-phy-sel@44e10650 {
                compatible = "ti,am3352-cpsw-phy-sel";
                reg= <0x44e10650 0x4>;
                reg-names = "gmii-sel";
                rmii-clock-ext;
        };