forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
....@@ -1,17 +1,6 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Copyright Altera Corporation (C) 2015. 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 #include "socfpga_stratix10.dtsi"
....@@ -21,6 +10,9 @@
2110
2211 aliases {
2312 serial0 = &uart0;
13
+ ethernet0 = &gmac0;
14
+ ethernet1 = &gmac1;
15
+ ethernet2 = &gmac2;
2416 };
2517
2618 chosen {
....@@ -64,6 +56,17 @@
6456 clock-frequency = <25000000>;
6557 };
6658 };
59
+
60
+ eccmgr {
61
+ sdmmca-ecc@ff8c8c00 {
62
+ compatible = "altr,socfpga-s10-sdmmc-ecc",
63
+ "altr,socfpga-sdmmc-ecc";
64
+ reg = <0xff8c8c00 0x100>;
65
+ altr,ecc-parent = <&mmc>;
66
+ interrupts = <14 4>,
67
+ <15 4>;
68
+ };
69
+ };
6770 };
6871 };
6972
....@@ -104,6 +107,7 @@
104107 &mmc {
105108 status = "okay";
106109 cap-sd-highspeed;
110
+ cap-mmc-highspeed;
107111 broken-cd;
108112 bus-width = <4>;
109113 };
....@@ -125,7 +129,7 @@
125129 status = "okay";
126130 clock-frequency = <100000>;
127131 i2c-sda-falling-time-ns = <890>; /* hcnt */
128
- i2c-sdl-falling-time-ns = <890>; /* lcnt */
132
+ i2c-scl-falling-time-ns = <890>; /* lcnt */
129133
130134 adc@14 {
131135 compatible = "lltc,ltc2497";
....@@ -155,9 +159,9 @@
155159 flash@0 {
156160 #address-cells = <1>;
157161 #size-cells = <1>;
158
- compatible = "n25q00a";
162
+ compatible = "micron,mt25qu02g", "jedec,spi-nor";
159163 reg = <0>;
160
- spi-max-frequency = <50000000>;
164
+ spi-max-frequency = <100000000>;
161165
162166 m25p,fast-read;
163167 cdns,page-size = <256>;
....@@ -175,12 +179,12 @@
175179
176180 qspi_boot: partition@0 {
177181 label = "Boot and fpga data";
178
- reg = <0x0 0x4000000>;
182
+ reg = <0x0 0x03FE0000>;
179183 };
180184
181
- qspi_rootfs: partition@4000000 {
185
+ qspi_rootfs: partition@3FE0000 {
182186 label = "Root Filesystem - JFFS2";
183
- reg = <0x4000000 0x4000000>;
187
+ reg = <0x03FE0000 0x0C020000>;
184188 };
185189 };
186190 };