blob: bca4b0887bf1f2b60e0aaf7612176786a19c9f02 [file] [log] [blame]
Simon Goldschmidt15616b52018-11-02 11:54:52 +01001// 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 Goldschmidt64a12bf2019-03-01 20:12:29 +01009#include "socfpga-common-u-boot.dtsi"
10
Simon Goldschmidt15616b52018-11-02 11:54:52 +010011/{
12 aliases {
13 spi0 = "/soc/spi@ff705000";
14 udc0 = &usb1;
15 };
Simon Goldschmidt15616b52018-11-02 11:54:52 +010016};
17
18&can0 {
19 status = "okay";
20};
21
22&watchdog0 {
23 status = "disabled";
24};
25
26&mmc {
Simon Glassd3a98cb2023-02-13 08:56:33 -070027 bootph-all;
Simon Goldschmidt15616b52018-11-02 11:54:52 +010028};
29
30&qspi {
Simon Glassd3a98cb2023-02-13 08:56:33 -070031 bootph-all;
Simon Goldschmidt15616b52018-11-02 11:54:52 +010032};
33
34&flash0 {
Neil Armstronga009fa72019-02-10 10:16:20 +000035 compatible = "n25q00", "jedec,spi-nor";
Simon Glassd3a98cb2023-02-13 08:56:33 -070036 bootph-all;
Simon Goldschmidt15616b52018-11-02 11:54:52 +010037
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 Glassd3a98cb2023-02-13 08:56:33 -070053 bootph-all;
Simon Goldschmidt15616b52018-11-02 11:54:52 +010054};
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 Tan0dffc222020-06-10 13:24:16 +080071
72&i2c0 {
73 i2c-scl-falling-time-ns = <300>;
74};