Merge branch 'master' of git://git.denx.de/u-boot-spi
[platform/kernel/u-boot.git] / arch / arm / dts / socfpga_cyclone5_socdk-u-boot.dtsi
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
9 /{
10         aliases {
11                 spi0 = "/soc/spi@ff705000";
12                 udc0 = &usb1;
13         };
14
15         soc {
16                 u-boot,dm-pre-reloc;
17         };
18 };
19
20 &can0 {
21         status = "okay";
22 };
23
24 &watchdog0 {
25         status = "disabled";
26 };
27
28 &mmc {
29         u-boot,dm-pre-reloc;
30 };
31
32 &qspi {
33         u-boot,dm-pre-reloc;
34 };
35
36 &flash0 {
37         compatible = "n25q00", "spi-flash";
38         u-boot,dm-pre-reloc;
39
40         partition@qspi-boot {
41                 /* 8MB for raw data. */
42                 label = "Flash 0 Raw Data";
43                 reg = <0x0 0x800000>;
44         };
45
46         partition@qspi-rootfs {
47                 /* 120MB for jffs2 data. */
48                 label = "Flash 0 jffs2 Filesystem";
49                 reg = <0x800000 0x7800000>;
50         };
51 };
52
53 &uart0 {
54         clock-frequency = <100000000>;
55         u-boot,dm-pre-reloc;
56 };
57
58 &uart1 {
59         clock-frequency = <100000000>;
60 };
61
62 &porta {
63         bank-name = "porta";
64 };
65
66 &portb {
67         bank-name = "portb";
68 };
69
70 &portc {
71         bank-name = "portc";
72 };