forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/arch/arm/boot/dts/socfpga_arria10_socdk_nand.dts
....@@ -1,17 +1,6 @@
1
+// SPDX-License-Identifier: GPL-2.0
12 /*
23 * Copyright (C) 2015 Altera Corporation. All rights reserved.
3
- *
4
- * This program is free software; you can redistribute it and/or modify
5
- * it under the terms and conditions of the GNU General Public License,
6
- * version 2, as published by the Free Software Foundation.
7
- *
8
- * This program is distributed in the hope it will be useful, but WITHOUT
9
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11
- * more details.
12
- *
13
- * You should have received a copy of the GNU General Public License along with
14
- * this program. If not, see <http://www.gnu.org/licenses/>.
154 */
165
176 /dts-v1/;
....@@ -20,12 +9,18 @@
209 &nand {
2110 status = "okay";
2211
23
- partition@nand-boot {
24
- label = "Boot and fpga data";
25
- reg = <0x0 0x1C00000>;
26
- };
27
- partition@nand-rootfs {
28
- label = "Root Filesystem - JFFS2";
29
- reg = <0x1C00000 0x6400000>;
12
+ nand@0 {
13
+ reg = <0>;
14
+ #address-cells = <1>;
15
+ #size-cells = <1>;
16
+
17
+ partition@0 {
18
+ label = "Boot and fpga data";
19
+ reg = <0x0 0x02000000>;
20
+ };
21
+ partition@1c00000 {
22
+ label = "Root Filesystem - JFFS2";
23
+ reg = <0x02000000 0x06000000>;
24
+ };
3025 };
3126 };