blob: ce8e2158f6edb31aa7556c3e51b2c67dd3f0a974 [file] [log] [blame]
Ashok Reddy Soma7bd05912023-06-14 06:13:50 -06001// SPDX-License-Identifier: GPL-2.0
2/*
3 * dts file for Xilinx Versal NET Mini OSPI Configuration
4 *
5 * (C) Copyright 2023, Advanced Micro Devices, Inc.
6 *
7 * Michal Simek <michal.simek@amd.com>
8 * Ashok Reddy Soma <ashok.reddy.soma@amd.com>
9 */
10
11/dts-v1/;
12
13/ {
14 compatible = "xlnx,versal-net-mini";
15 #address-cells = <2>;
16 #size-cells = <2>;
17 model = "Xilinx Versal NET MINI OSPI";
18
19 aliases {
20 serial0 = &dcc;
21 spi0 = &ospi;
22 };
23
24 chosen {
25 stdout-path = "serial0:115200";
26 };
27
28 memory@bbf00000 {
29 device_type = "memory";
30 reg = <0 0xBBF00000 0 0x100000>;
31 };
32
33 clk125: clk125 {
34 compatible = "fixed-clock";
35 #clock-cells = <0>;
36 clock-frequency = <125000000>;
37 };
38
39 dcc: dcc {
40 compatible = "arm,dcc";
41 status = "okay";
42 bootph-all;
43 };
44
45 amba: amba {
46 bootph-all;
47 compatible = "simple-bus";
48 #address-cells = <0x2>;
49 #size-cells = <0x2>;
50 ranges;
51
52 ospi: spi@f1010000 {
53 compatible = "cadence,qspi", "cdns,qspi-nor";
54 status = "okay";
55 reg = <0 0xf1010000 0 0x10000>, <0 0xc0000000 0 0x20000000>;
56 clock-names = "ref_clk", "pclk";
57 clocks = <&clk125>, <&clk125>;
58 bus-num = <2>;
59 num-cs = <1>;
60 cdns,fifo-depth = <256>;
61 cdns,fifo-width = <4>;
62 cdns,is-dma = <1>;
63 cdns,is-stig-pgm = <1>;
64 cdns,trigger-address = <0xc0000000>;
65 #address-cells = <1>;
66 #size-cells = <0>;
67
68 flash0: flash@0 {
69 compatible = "mt35xu02g", "micron,m25p80",
70 "jedec,spi-nor";
71 reg = <0>;
72 spi-tx-bus-width = <8>;
73 spi-rx-bus-width = <8>;
74 spi-max-frequency = <20000000>;
75 };
76 };
77 };
78};