Ley Foon Tan | 2f59cf1 | 2019-04-03 13:45:02 +0800 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
2 | /* | ||||
3 | * U-Boot additions | ||||
4 | * | ||||
Dinesh Maniyam | 9b6cc95 | 2022-05-31 16:15:17 +0800 | [diff] [blame] | 5 | * Copyright (C) 2019-2022 Intel Corporation <www.intel.com> |
Ley Foon Tan | 2f59cf1 | 2019-04-03 13:45:02 +0800 | [diff] [blame] | 6 | */ |
7 | |||||
Siew Chin Lim | 9fe3a01 | 2020-12-24 18:21:11 +0800 | [diff] [blame] | 8 | #include "socfpga_stratix10-u-boot.dtsi" |
9 | |||||
Ley Foon Tan | 2f59cf1 | 2019-04-03 13:45:02 +0800 | [diff] [blame] | 10 | /{ |
11 | aliases { | ||||
12 | spi0 = &qspi; | ||||
Dinesh Maniyam | 9b6cc95 | 2022-05-31 16:15:17 +0800 | [diff] [blame] | 13 | freeze_br0 = &freeze_controller; |
14 | }; | ||||
15 | |||||
16 | soc { | ||||
17 | freeze_controller: freeze_controller@f9000450 { | ||||
18 | compatible = "altr,freeze-bridge-controller"; | ||||
19 | reg = <0xf9000450 0x00000010>; | ||||
20 | status = "disabled"; | ||||
21 | }; | ||||
Ley Foon Tan | 2f59cf1 | 2019-04-03 13:45:02 +0800 | [diff] [blame] | 22 | }; |
23 | }; | ||||
24 | |||||
Ley Foon Tan | a217c12 | 2019-11-08 10:38:18 +0800 | [diff] [blame] | 25 | &clkmgr { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 26 | bootph-all; |
Ley Foon Tan | a217c12 | 2019-11-08 10:38:18 +0800 | [diff] [blame] | 27 | }; |
28 | |||||
Ley Foon Tan | 2f59cf1 | 2019-04-03 13:45:02 +0800 | [diff] [blame] | 29 | &qspi { |
30 | status = "okay"; | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 31 | bootph-all; |
Ley Foon Tan | 2f59cf1 | 2019-04-03 13:45:02 +0800 | [diff] [blame] | 32 | }; |
33 | |||||
34 | &flash0 { | ||||
35 | compatible = "jedec,spi-nor"; | ||||
36 | spi-max-frequency = <100000000>; | ||||
37 | spi-tx-bus-width = <4>; | ||||
38 | spi-rx-bus-width = <4>; | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 39 | bootph-all; |
Ley Foon Tan | 2f59cf1 | 2019-04-03 13:45:02 +0800 | [diff] [blame] | 40 | }; |
Ley Foon Tan | a217c12 | 2019-11-08 10:38:18 +0800 | [diff] [blame] | 41 | |
42 | &sysmgr { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 43 | bootph-all; |
Ley Foon Tan | a217c12 | 2019-11-08 10:38:18 +0800 | [diff] [blame] | 44 | }; |
Marek Vasut | 8655f67 | 2019-06-27 01:19:23 +0200 | [diff] [blame] | 45 | |
46 | &watchdog0 { | ||||
Chee Hong Ang | 346431c | 2020-08-06 12:15:33 +0800 | [diff] [blame] | 47 | status = "okay"; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 48 | bootph-all; |
Marek Vasut | 8655f67 | 2019-06-27 01:19:23 +0200 | [diff] [blame] | 49 | }; |