요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
Imagination Pistachio SoC
=========================
Required properties:
--------------------
- compatible: Must include "img,pistachio".
CPU nodes:
----------
A "cpus" node is required. Required properties:
- #address-cells: Must be 1.
- #size-cells: Must be 0.
A CPU sub-node is also required for at least CPU 0. Since the topology may
be probed via CPS, it is not necessary to specify secondary CPUs. Required
propertis:
- device_type: Must be "cpu".
- compatible: Must be "mti,interaptiv".
- reg: CPU number.
- clocks: Must include the CPU clock. See ../../clock/clock-bindings.txt for
details on clock bindings.
Example:
cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu0: cpu@0 {
device_type = "cpu";
compatible = "mti,interaptiv";
reg = <0>;
clocks = <&clk_core CLK_MIPS>;
};
};
Boot protocol:
--------------
In accordance with the MIPS UHI specification[1], the bootloader must pass the
following arguments to the kernel:
- $a0: -2.
- $a1: KSEG0 address of the flattened device-tree blob.
[1] http://prplfoundation.org/wiki/MIPS_documentation
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Pistachio SoC root 속성
1-7Imagination Pistachio SoC의 root `compatible`에는 반드시 `img,pistachio`가 포함되어야 합니다.
CPU node와 CPS topology
8-33`cpus` node는 필수이며 `#address-cells = <1>`, `#size-cells = <0>`이어야 합니다. 적어도 CPU 0의 subnode가 필요합니다. Topology는 CPS로 probe할 수 있으므로 secondary CPU를 명시할 필요는 없습니다.
CPU subnode의 `device_type`은 `cpu`, `compatible`은 `mti,interaptiv`, `reg`는 CPU 번호입니다. `clocks`에는 CPU clock이 포함되어야 하며 자세한 clock 바인딩은 `../../clock/clock-bindings.txt`를 따릅니다.
Device tree에는 CPU0만 필수이고 나머지 topology는 CPS가 검색할 수 있습니다.
cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu0: cpu@0 {
device_type = "cpu";
compatible = "mti,interaptiv";
reg = <0>;
clocks = <&clk_core CLK_MIPS>;
};
};
MIPS UHI boot protocol
34-42MIPS UHI specification에 따라 bootloader는 kernel에 `$a0 = -2`와 flattened device-tree blob의 KSEG0 주소인 `$a1`을 전달해야 합니다. 원문 참조는 `http://prplfoundation.org/wiki/MIPS_documentation`입니다.
요약과 해설
pistachio.txt:1-42InterAptiv CPU0, CPU clock과 `$a0`·`$a1` boot argument를 설명합니다.