Skip to content

Commit 79cf5f1

Browse files
committed
ARM: dts: ls1024a-nas5xx: add nand node
1 parent 7c5f1e0 commit 79cf5f1

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

arch/arm/boot/dts/ls1024a-nas5xx.dtsi

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,42 @@
212212
};
213213
};
214214

215+
&nand0 {
216+
ce-gpios = <&gpio 28 GPIO_ACTIVE_HIGH>;
217+
br-gpios = <&gpio 29 GPIO_ACTIVE_HIGH>;
218+
219+
partitions {
220+
compatible = "fixed-partitions";
221+
#address-cells = <1>;
222+
#size-cells = <1>;
223+
224+
partition@0 {
225+
label = "config";
226+
reg = <0x0 0xa00000>;
227+
};
228+
partition@a00000 {
229+
label = "kernel1";
230+
reg = <0xa00000 0xa00000>;
231+
};
232+
partition@1400000 {
233+
label = "rootfs1";
234+
reg = <0x1400000 0x6e00000>;
235+
};
236+
partition@8200000 {
237+
label = "kernel2";
238+
reg = <0x8200000 0xa00000>;
239+
};
240+
partition@8c00000 {
241+
label = "rootfs2";
242+
reg = <0x8c00000 0x6e00000>;
243+
};
244+
partition@fa00000 {
245+
label = "reserved";
246+
reg = <0xfa00000 0x600000>;
247+
};
248+
};
249+
};
250+
215251
&serdes1 {
216252
fsl,sata-txlev = <15>;
217253
};

0 commit comments

Comments
 (0)