← Documents Documentation/devicetree/bindings/net/ieee802154/ca8210.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings

Cascoda CA8210 IEEE 802.15.4

CA8210의 inverted SPI clock, reset/IRQ와 16MHz clock output binding입니다.

Source pathDocumentation/devicetree/bindings/net/ieee802154/ca8210.txt
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약과 해설

ca8210.txt:1-28

외부 clock enable·frequency·GPIO 세 속성의 관계를 설명합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 * CA8210 IEEE 802.15.4 *
2
3 Required properties:
4 - compatible: Should be "cascoda,ca8210"
5 - reg: Controlling chip select
6 - spi-max-frequency: Maximum clock speed, should be *less than*
7 4000000
8 - spi-cpol: Requires inverted clock polarity
9 - reset-gpio: GPIO attached to reset
10 - irq-gpio: GPIO attached to IRQ
11 Optional properties:
12 - extclock-enable: Include for the ca8210 to route its 16MHz clock
13 to an output
14 - extclock-freq: Frequency in Hz of the external clock
15 - extclock-gpio: GPIO of the ca8210 to output the clock on
16
17 Example:
18 ca8210@0 {
19 compatible = "cascoda,ca8210";
20 reg = <0>;
21 spi-max-frequency = <3000000>;
22 spi-cpol;
23 reset-gpio = <&gpio1 1 GPIO_ACTIVE_LOW>;
24 irq-gpio = <&gpio1 2 GPIO_ACTIVE_HIGH>;
25 extclock-enable;
26 extclock-freq = 16000000;
27 extclock-gpio = 2;
28 };
29

3. 한국어 전문 번역

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

CA8210 IEEE 802.15.4 속성

1-16

필수 `compatible`은 `cascoda,ca8210`, `reg`는 controlling chip select입니다. `spi-max-frequency`는 4000000보다 작아야 하고 `spi-cpol`은 inverted clock polarity를 요청합니다.

`reset-gpio`와 `irq-gpio`는 각각 reset과 IRQ에 연결된 GPIO입니다.

선택 `extclock-enable`은 CA8210의 16MHz clock을 output으로 routing합니다. `extclock-freq`는 external clock의 Hz 주파수이고 `extclock-gpio`는 clock을 출력할 CA8210 GPIO입니다.

CA8210 외부 clock 예제

17-28

예제는 chip select 0, 3MHz inverted SPI clock, active-low reset과 active-high IRQ를 사용하고 GPIO 2로 16MHz clock을 출력합니다.

ca8210@0 {
        compatible = "cascoda,ca8210";
        reg = <0>;
        spi-max-frequency = <3000000>;
        spi-cpol;
        reset-gpio = <&gpio1 1 GPIO_ACTIVE_LOW>;
        irq-gpio = <&gpio1 2 GPIO_ACTIVE_HIGH>;
        extclock-enable;
        extclock-freq = 16000000;
        extclock-gpio = 2;
};