Documentation/devicetree/bindings/i2c/i2c-iop3xx.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings

XScale IOP3xx/IXP4xx I2C

XScale IOP3xx/IXP4xx I2C controller 바인딩입니다.

Source pathDocumentation/devicetree/bindings/i2c/i2c-iop3xx.txt
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.

1. 요약·해설

원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.

요약과 해설

i2c-iop3xx.txt:1-20

Platform compatible과 IXP4xx interrupt 예제를 설명합니다.

2. 영어 원문 전체

번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.

원문 전체 펼치기
1 i2c Controller on XScale platforms such as IOP3xx and IXP4xx
2
3 Required properties:
4 - compatible : Must be one of
5 "intel,iop3xx-i2c"
6 "intel,ixp4xx-i2c";
7 - reg
8 - #address-cells = <1>;
9 - #size-cells = <0>;
10
11 Optional properties:
12 - Child nodes conforming to i2c bus binding
13
14 Example:
15
16 i2c@c8011000 {
17 compatible = "intel,ixp4xx-i2c";
18 reg = <0xc8011000 0x18>;
19 interrupts = <33 IRQ_TYPE_LEVEL_LOW>;
20 };
21

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.

XScale IOP3xx/IXP4xx I2C 속성

1-13

IOP3xx와 IXP4xx 같은 XScale platform의 I2C controller입니다. 필수 `compatible`은 `intel,iop3xx-i2c` 또는 `intel,ixp4xx-i2c`, `reg`는 controller register 영역입니다. `#address-cells`는 1, `#size-cells`는 0입니다. 선택 child node는 I2C bus binding을 따릅니다.

XScale I2C variant
PlatformCompatible
IOP3xxintel,iop3xx-i2c
IXP4xxintel,ixp4xx-i2c

지원 platform과 compatible을 대응시킵니다.

IXP4xx I2C 예제

14-20

예제 IXP4xx controller는 register `0xc8011000`의 0x18-byte 영역과 level-low interrupt 33을 사용합니다.

i2c@c8011000 {
        compatible = "intel,ixp4xx-i2c";
        reg = <0xc8011000 0x18>;
        interrupts = <33 IRQ_TYPE_LEVEL_LOW>;
};