Ley Foon Tan | d89a119 | 2019-11-27 15:55:30 +0800 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * U-Boot additions |
| 4 | * |
Dinesh Maniyam | 4b650ce | 2022-05-31 16:05:56 +0800 | [diff] [blame] | 5 | * Copyright (C) 2019-2022 Intel Corporation <www.intel.com> |
Ley Foon Tan | d89a119 | 2019-11-27 15:55:30 +0800 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #include "socfpga_agilex-u-boot.dtsi" |
| 9 | |
| 10 | /{ |
| 11 | aliases { |
| 12 | spi0 = &qspi; |
| 13 | i2c0 = &i2c1; |
Dinesh Maniyam | 4b650ce | 2022-05-31 16:05:56 +0800 | [diff] [blame] | 14 | freeze_br0 = &freeze_controller; |
| 15 | }; |
| 16 | |
| 17 | soc { |
| 18 | freeze_controller: freeze_controller@f9000450 { |
| 19 | compatible = "altr,freeze-bridge-controller"; |
| 20 | reg = <0xf9000450 0x00000010>; |
| 21 | status = "disabled"; |
| 22 | }; |
Ley Foon Tan | d89a119 | 2019-11-27 15:55:30 +0800 | [diff] [blame] | 23 | }; |
| 24 | |
| 25 | memory { |
| 26 | /* 8GB */ |
| 27 | reg = <0 0x00000000 0 0x80000000>, |
| 28 | <2 0x80000000 1 0x80000000>; |
| 29 | }; |
| 30 | }; |
| 31 | |
| 32 | &flash0 { |
| 33 | compatible = "jedec,spi-nor"; |
| 34 | spi-tx-bus-width = <4>; |
| 35 | spi-rx-bus-width = <4>; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 36 | bootph-all; |
Ley Foon Tan | d89a119 | 2019-11-27 15:55:30 +0800 | [diff] [blame] | 37 | }; |
| 38 | |
| 39 | &i2c1 { |
| 40 | status = "okay"; |
| 41 | }; |
| 42 | |
| 43 | &mmc { |
| 44 | drvsel = <3>; |
| 45 | smplsel = <0>; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 46 | bootph-all; |
Ley Foon Tan | d89a119 | 2019-11-27 15:55:30 +0800 | [diff] [blame] | 47 | }; |
| 48 | |
Ley Foon Tan | 5db49e6 | 2020-03-31 08:45:25 +0800 | [diff] [blame] | 49 | &qspi { |
| 50 | status = "okay"; |
| 51 | }; |
Chee Hong Ang | 346431c | 2020-08-06 12:15:33 +0800 | [diff] [blame] | 52 | |
| 53 | &watchdog0 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 54 | bootph-all; |
Chee Hong Ang | 346431c | 2020-08-06 12:15:33 +0800 | [diff] [blame] | 55 | }; |