← Documents Documentation/devicetree/bindings/mtd/orion-nand.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings

Marvell Orion NAND

Orion NAND의 CLE·ALE 기본값, chip delay와 partition map입니다.

Source pathDocumentation/devicetree/bindings/mtd/orion-nand.txt
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약과 해설

orion-nand.txt:1-50

u-boot·uImage·DTB·root partition 예제를 설명합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 NAND support for Marvell Orion SoC platforms
2
3 Required properties:
4 - compatible : "marvell,orion-nand".
5 - reg : Base physical address of the NAND and length of memory mapped
6 region
7
8 Optional properties:
9 - cle : Address line number connected to CLE. Default is 0
10 - ale : Address line number connected to ALE. Default is 1
11 - bank-width : Width in bytes of the device. Default is 1
12 - chip-delay : Chip dependent delay for transferring data from array to read
13 registers in usecs
14
15 The device tree may optionally contain sub-nodes describing partitions of the
16 address space. See mtd.yaml for more detail.
17
18 Example:
19
20 nand@f4000000 {
21 #address-cells = <1>;
22 #size-cells = <1>;
23 cle = <0>;
24 ale = <1>;
25 bank-width = <1>;
26 chip-delay = <25>;
27 compatible = "marvell,orion-nand";
28 reg = <0xf4000000 0x400>;
29
30 partition@0 {
31 label = "u-boot";
32 reg = <0x0000000 0x100000>;
33 read-only;
34 };
35
36 partition@100000 {
37 label = "uImage";
38 reg = <0x0100000 0x200000>;
39 };
40
41 partition@300000 {
42 label = "dtb";
43 reg = <0x0300000 0x100000>;
44 };
45
46 partition@400000 {
47 label = "root";
48 reg = <0x0400000 0x7d00000>;
49 };
50 };
51

3. 한국어 전문 번역

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

Marvell Orion NAND

1-2

이 문서는 Marvell Orion SoC platform의 NAND 지원 바인딩입니다.

Compatible과 memory-mapped 범위

3-7

필수 `compatible`은 `marvell,orion-nand`이고 `reg`는 NAND의 physical base address와 memory-mapped 영역 길이입니다.

CLE·ALE·width·delay 기본값

8-17

선택 `cle`는 CLE에 연결된 address line 번호이며 기본값은 0, `ale`는 ALE line 번호이며 기본값은 1입니다. `bank-width`는 byte 단위 device width이며 기본값은 1입니다.

`chip-delay`는 array에서 read register로 data를 옮기는 chip별 delay를 microsecond 단위로 지정합니다.

Address space partition subnode를 선택적으로 둘 수 있으며 자세한 형식은 `mtd.yaml`을 따릅니다.

Orion NAND 기본값
속성기본값
cle0
ale1
bank-width1 byte

생략 가능한 line과 bus width의 기본 설정입니다.

Orion boot partition map

18-50

예제는 `0xf4000000`의 NAND에 CLE 0, ALE 1, 1-byte bus와 25µs chip delay를 설정합니다. Partition은 read-only `u-boot`, `uImage`, `dtb`, `root` 순서입니다.

Orion NAND partition
Partition시작 / 크기
u-boot0x0000000 / 0x100000, read-only
uImage0x0100000 / 0x200000
dtb0x0300000 / 0x100000
root0x0400000 / 0x7d00000

예제의 네 flash 영역입니다.

nand@f4000000 {
        #address-cells = <1>;
        #size-cells = <1>;
        cle = <0>;
        ale = <1>;
        bank-width = <1>;
        chip-delay = <25>;
        compatible = "marvell,orion-nand";
        reg = <0xf4000000 0x400>;

        partition@0 {
                label = "u-boot";
                reg = <0x0000000 0x100000>;
                read-only;
        };

        partition@100000 {
                label = "uImage";
                reg = <0x0100000 0x200000>;
        };

        partition@300000 {
                label = "dtb";
                reg = <0x0300000 0x100000>;
        };

        partition@400000 {
                label = "root";
                reg = <0x0400000 0x7d00000>;
        };
};