← Documents Documentation/devicetree/bindings/net/mscc-phy-vsc8531.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings

Microsemi VSC8531 PHY

VSC8531의 VDDMAC별 edge slowdown, LED와 PHC GPIO binding입니다.

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

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

1. 요약·해설

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

요약과 해설

mscc-phy-vsc8531.txt:1-73

Drive strength로 EMI를 줄이는 edge-rate 선택 표를 구조화합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 * Microsemi - vsc8531 Giga bit ethernet phy
2
3 Optional properties:
4 - vsc8531,vddmac : The vddmac in mV. Allowed values is listed
5 in the first row of Table 1 (below).
6 This property is only used in combination
7 with the 'edge-slowdown' property.
8 Default value is 3300.
9 - vsc8531,edge-slowdown : % the edge should be slowed down relative to
10 the fastest possible edge time.
11 Edge rate sets the drive strength of the MAC
12 interface output signals. Changing the
13 drive strength will affect the edge rate of
14 the output signal. The goal of this setting
15 is to help reduce electrical emission (EMI)
16 by being able to reprogram drive strength
17 and in effect slow down the edge rate if
18 desired.
19 To adjust the edge-slowdown, the 'vddmac'
20 must be specified. Table 1 lists the
21 supported edge-slowdown values for a given
22 'vddmac'.
23 Default value is 0%.
24 Ref: Table:1 - Edge rate change (below).
25 - vsc8531,led-[N]-mode : LED mode. Specify how the LED[N] should behave.
26 N depends on the number of LEDs supported by a
27 PHY.
28 Allowed values are defined in
29 "include/dt-bindings/net/mscc-phy-vsc8531.h".
30 Default values are VSC8531_LINK_1000_ACTIVITY (1),
31 VSC8531_LINK_100_ACTIVITY (2),
32 VSC8531_LINK_ACTIVITY (0) and
33 VSC8531_DUPLEX_COLLISION (8).
34 - load-save-gpios : GPIO used for the load/save operation of the PTP
35 hardware clock (PHC).
36
37
38 Table: 1 - Edge rate change
39 ----------------------------------------------------------------|
40 | Edge Rate Change (VDDMAC) |
41 | |
42 | 3300 mV 2500 mV 1800 mV 1500 mV |
43 |---------------------------------------------------------------|
44 | 0% 0% 0% 0% |
45 | (Fastest) (recommended) (recommended) |
46 |---------------------------------------------------------------|
47 | 2% 3% 5% 6% |
48 |---------------------------------------------------------------|
49 | 4% 6% 9% 14% |
50 |---------------------------------------------------------------|
51 | 7% 10% 16% 21% |
52 |(recommended) (recommended) |
53 |---------------------------------------------------------------|
54 | 10% 14% 23% 29% |
55 |---------------------------------------------------------------|
56 | 17% 23% 35% 42% |
57 |---------------------------------------------------------------|
58 | 29% 37% 52% 58% |
59 |---------------------------------------------------------------|
60 | 53% 63% 76% 77% |
61 | (slowest) |
62 |---------------------------------------------------------------|
63
64 Example:
65
66 vsc8531_0: ethernet-phy@0 {
67 compatible = "ethernet-phy-id0007.0570";
68 vsc8531,vddmac = <3300>;
69 vsc8531,edge-slowdown = <7>;
70 vsc8531,led-0-mode = <VSC8531_LINK_1000_ACTIVITY>;
71 vsc8531,led-1-mode = <VSC8531_LINK_100_ACTIVITY>;
72 load-save-gpios = <&gpio 10 GPIO_ACTIVE_HIGH>;
73 };
74

3. 한국어 전문 번역

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

VSC8531 drive와 LED 속성

1-37

`vsc8531,vddmac`은 mV 단위 VDDMAC이며 허용값은 아래 표의 첫 행에 있습니다. `vsc8531,edge-slowdown`과 함께만 사용하고 기본값은 3300입니다.

`vsc8531,edge-slowdown`은 가장 빠른 edge time에 비해 edge를 늦출 비율입니다. Edge rate는 MAC interface output signal의 drive strength를 정하며, drive strength를 바꿔 edge를 늦추면 EMI를 줄일 수 있습니다. 이 값을 조정하려면 `vddmac`도 지정해야 하고 기본값은 0%입니다.

`vsc8531,led-[N]-mode`는 PHY가 지원하는 LED N의 동작을 정합니다. 허용값은 `include/dt-bindings/net/mscc-phy-vsc8531.h`에 정의되며 기본값은 `VSC8531_LINK_1000_ACTIVITY`(1), `VSC8531_LINK_100_ACTIVITY`(2), `VSC8531_LINK_ACTIVITY`(0), `VSC8531_DUPLEX_COLLISION`(8)입니다.

`load-save-gpios`는 PTP hardware clock(PHC)의 load/save operation에 사용하는 GPIO입니다.

VDDMAC별 edge-rate 변화

38-63
VSC8531 edge rate change
3300 mV2500 mV1800 mV1500 mVNote
0%0%0%0%3300: fastest; 1800/1500: recommended
2%3%5%6%
4%6%9%14%
7%10%16%21%3300/2500: recommended
10%14%23%29%
17%23%35%42%
29%37%52%58%
53%63%76%77%slowest

원문 Table 1의 VDDMAC별 slowdown 비율과 권장 지점을 보존합니다.

VSC8531 예제

64-73

예제는 PHY ID `0007.0570`, VDDMAC 3300mV와 7% slowdown을 설정하고 LED 0/1을 각각 1000M activity와 100M activity에 연결하며 GPIO 10을 active-high PHC load/save signal로 사용합니다.

vsc8531_0: ethernet-phy@0 {
        compatible = "ethernet-phy-id0007.0570";
        vsc8531,vddmac                = <3300>;
        vsc8531,edge-slowdown        = <7>;
        vsc8531,led-0-mode        = <VSC8531_LINK_1000_ACTIVITY>;
        vsc8531,led-1-mode        = <VSC8531_LINK_100_ACTIVITY>;
        load-save-gpios                = <&gpio 10 GPIO_ACTIVE_HIGH>;
};