forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/arch/microblaze/boot/dts/system.dts
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Device Tree Generator version: 1.1
34 *
....@@ -5,21 +6,6 @@
56 * (C) Copyright 2007-2009 Michal Simek
67 *
78 * Michal SIMEK <monstr@monstr.eu>
8
- *
9
- * This program is free software; you can redistribute it and/or
10
- * modify it under the terms of the GNU General Public License as
11
- * published by the Free Software Foundation; either version 2 of
12
- * the License, or (at your option) any later version.
13
- *
14
- * This program is distributed in the hope that it will be useful,
15
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
- * GNU General Public License for more details.
18
- *
19
- * You should have received a copy of the GNU General Public License
20
- * along with this program; if not, write to the Free Software
21
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
22
- * MA 02111-1307 USA
239 *
2410 * CAUTION: This file is automatically generated by libgen.
2511 * Version: Xilinx EDK 10.1.03 EDK_K_SP3.6
....@@ -32,7 +18,6 @@
3218 #address-cells = <1>;
3319 #size-cells = <1>;
3420 compatible = "xlnx,microblaze";
35
- hard-reset-gpios = <&LEDs_8Bit 2 1>;
3621 model = "testing";
3722 DDR2_SDRAM: memory@90000000 {
3823 device_type = "memory";
....@@ -295,6 +280,21 @@
295280 gpios = <&LEDs_8Bit 7 1>;
296281 };
297282 } ;
283
+
284
+ gpio-restart {
285
+ compatible = "gpio-restart";
286
+ /*
287
+ * FIXME: is this active low or active high?
288
+ * the current flag (1) indicates active low.
289
+ * delay measures are templates, should be adjusted
290
+ * to datasheet or trial-and-error with real hardware.
291
+ */
292
+ gpios = <&LEDs_8Bit 2 1>;
293
+ active-delay = <100>;
294
+ inactive-delay = <10>;
295
+ wait-delay = <100>;
296
+ };
297
+
298298 RS232_Uart_1: serial@84000000 {
299299 clock-frequency = <125000000>;
300300 compatible = "xlnx,xps-uartlite-1.00.a";