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 { |
| 27 | u-boot,dm-pre-reloc; |
| 28 | }; |
| 29 | |
| 30 | &qspi { |
| 31 | u-boot,dm-pre-reloc; |
| 32 | }; |
| 33 | |
| 34 | &flash0 { |
Neil Armstrong | a009fa7 | 2019-02-10 10:16:20 +0000 | [diff] [blame] | 35 | compatible = "n25q00", "jedec,spi-nor"; |
Simon Goldschmidt | 15616b5 | 2018-11-02 11:54:52 +0100 | [diff] [blame] | 36 | u-boot,dm-pre-reloc; |
| 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>; |
| 53 | u-boot,dm-pre-reloc; |
| 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 | }; |