← Documents Documentation/devicetree/bindings/w1/amd,axi-1wire-host.yaml GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / W1

AMD AXI 1-Wire Bus Host

Programmable logic용 AMD AXI 1-Wire host의 clock과 interrupt를 설명합니다.

Source pathDocumentation/devicetree/bindings/w1/amd,axi-1wire-host.yaml
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약과 해설

amd,axi-1wire-host.yaml:1-44

Programmable logic용 AMD AXI 1-Wire host의 clock과 interrupt를 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며, property, phandle, baud rate, example, source path와 원문 줄 좌표를 원형대로 보존합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/w1/amd,axi-1wire-host.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: AMD AXI 1-wire bus host for programmable logic
8
9 maintainers:
10 - Kris Chaplin <kris.chaplin@amd.com>
11
12 properties:
13 compatible:
14 const: amd,axi-1wire-host
15
16 reg:
17 maxItems: 1
18
19 clocks:
20 maxItems: 1
21
22 interrupts:
23 maxItems: 1
24
25 required:
26 - compatible
27 - reg
28 - clocks
29 - interrupts
30
31 additionalProperties: false
32
33 examples:
34 - |
35 #include <dt-bindings/interrupt-controller/arm-gic.h>
36
37 onewire@a0000000 {
38 compatible = "amd,axi-1wire-host";
39 reg = <0xa0000000 0x10000>;
40 clocks = <&zynqmp_clk 0x47>;
41 interrupts = <GIC_SPI 0x59 IRQ_TYPE_LEVEL_HIGH>;
42 };
43
44 ...
45

3. 한국어 전문 번역

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

AMD AXI 1-Wire host

1-11

GPL-2.0-only 또는 BSD-2-Clause로 배포되는 이 스키마는 programmable logic용 AMD AXI 1-Wire bus host를 정의합니다. 관리자는 Kris Chaplin입니다.

AXI register, clock과 interrupt

12-32

`compatible`은 `amd,axi-1wire-host`로 고정됩니다. `reg`, `clocks`, `interrupts`는 각각 최대 한 항목이고 모두 compatible과 함께 필수입니다. 정의되지 않은 추가 속성은 허용하지 않습니다.

properties:
  compatible:
    const: amd,axi-1wire-host

  reg:
    maxItems: 1

  clocks:
    maxItems: 1

  interrupts:
    maxItems: 1

required:
  - compatible
  - reg
  - clocks
  - interrupts

additionalProperties: false

ZynqMP clock·GIC interrupt 예제

33-44

예제 1-Wire host는 address 0xa0000000의 64KB register range, ZynqMP clock 0x47과 high-level GIC SPI interrupt 0x59를 사용합니다.

examples:
  - |
    #include <dt-bindings/interrupt-controller/arm-gic.h>

    onewire@a0000000 {
        compatible = "amd,axi-1wire-host";
        reg = <0xa0000000 0x10000>;
        clocks = <&zynqmp_clk 0x47>;
        interrupts = <GIC_SPI 0x59 IRQ_TYPE_LEVEL_HIGH>;
    };

...