Simon Goldschmidt | 15616b5 | 2018-11-02 11:54:52 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * U-Boot additions |
| 4 | * |
| 5 | * Copyright (C) 2012 Altera Corporation <www.altera.com> |
| 6 | * Copyright (c) 2018 Simon Goldschmidt |
| 7 | */ |
| 8 | |
Simon Goldschmidt | 64a12bf | 2019-03-01 20:12:29 +0100 | [diff] [blame] | 9 | #include "socfpga-common-u-boot.dtsi" |
| 10 | |
Simon Goldschmidt | 15616b5 | 2018-11-02 11:54:52 +0100 | [diff] [blame] | 11 | /{ |
| 12 | aliases { |
| 13 | spi0 = "/soc/spi@ff705000"; |
| 14 | udc0 = &usb1; |
| 15 | }; |
Simon Goldschmidt | 15616b5 | 2018-11-02 11:54:52 +0100 | [diff] [blame] | 16 | }; |
| 17 | |
| 18 | &can0 { |
| 19 | status = "okay"; |
| 20 | }; |
| 21 | |
| 22 | &watchdog0 { |
| 23 | status = "disabled"; |
| 24 | }; |
| 25 | |
| 26 | &mmc { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 27 | bootph-all; |
Simon Goldschmidt | 15616b5 | 2018-11-02 11:54:52 +0100 | [diff] [blame] | 28 | }; |
| 29 | |
| 30 | &qspi { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 31 | bootph-all; |
Simon Goldschmidt | 15616b5 | 2018-11-02 11:54:52 +0100 | [diff] [blame] | 32 | }; |
| 33 | |
| 34 | &flash0 { |
Neil Armstrong | a009fa7 | 2019-02-10 10:16:20 +0000 | [diff] [blame] | 35 | compatible = "n25q00", "jedec,spi-nor"; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 36 | bootph-all; |
Simon Goldschmidt | 15616b5 | 2018-11-02 11:54:52 +0100 | [diff] [blame] | 37 | |
| 38 | partition@qspi-boot { |
| 39 | /* 8MB for raw data. */ |
| 40 | label = "Flash 0 Raw Data"; |
| 41 | reg = <0x0 0x800000>; |
| 42 | }; |
| 43 | |
| 44 | partition@qspi-rootfs { |
| 45 | /* 120MB for jffs2 data. */ |
| 46 | label = "Flash 0 jffs2 Filesystem"; |
| 47 | reg = <0x800000 0x7800000>; |
| 48 | }; |
| 49 | }; |
| 50 | |
| 51 | &uart0 { |
| 52 | clock-frequency = <100000000>; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 53 | bootph-all; |
Simon Goldschmidt | 15616b5 | 2018-11-02 11:54:52 +0100 | [diff] [blame] | 54 | }; |
| 55 | |
| 56 | &uart1 { |
| 57 | clock-frequency = <100000000>; |
| 58 | }; |
| 59 | |
| 60 | &porta { |
| 61 | bank-name = "porta"; |
| 62 | }; |
| 63 | |
| 64 | &portb { |
| 65 | bank-name = "portb"; |
| 66 | }; |
| 67 | |
| 68 | &portc { |
| 69 | bank-name = "portc"; |
| 70 | }; |
Ley Foon Tan | 0dffc22 | 2020-06-10 13:24:16 +0800 | [diff] [blame] | 71 | |
| 72 | &i2c0 { |
| 73 | i2c-scl-falling-time-ns = <300>; |
| 74 | }; |