Ashok Reddy Soma | f79b217 | 2022-11-16 07:11:55 -0700 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /* |
| 3 | * dts file for Xilinx Versal Mini OSPI Configuration |
| 4 | * |
| 5 | * (C) Copyright 2018-2019, Xilinx, Inc. |
| 6 | * |
Michal Simek | 7359cc2 | 2023-09-22 12:35:35 +0200 | [diff] [blame] | 7 | * Siva Durga Prasad Paladugu <siva.durga.prasad.paladugu@amd.com> |
Michal Simek | a8c9436 | 2023-07-10 14:35:49 +0200 | [diff] [blame] | 8 | * Michal Simek <michal.simek@amd.com> |
Ashok Reddy Soma | f79b217 | 2022-11-16 07:11:55 -0700 | [diff] [blame] | 9 | */ |
| 10 | |
| 11 | /dts-v1/; |
| 12 | |
| 13 | / { |
| 14 | compatible = "xlnx,versal"; |
| 15 | #address-cells = <2>; |
| 16 | #size-cells = <2>; |
| 17 | model = "Xilinx Versal MINI OSPI"; |
| 18 | |
| 19 | clk125: clk125 { |
| 20 | compatible = "fixed-clock"; |
| 21 | #clock-cells = <0x0>; |
| 22 | clock-frequency = <125000000>; |
| 23 | }; |
| 24 | |
| 25 | dcc: dcc { |
| 26 | compatible = "arm,dcc"; |
| 27 | status = "okay"; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 28 | bootph-all; |
Ashok Reddy Soma | f79b217 | 2022-11-16 07:11:55 -0700 | [diff] [blame] | 29 | }; |
| 30 | |
Michal Simek | 22d0df5 | 2024-09-13 11:28:44 +0200 | [diff] [blame] | 31 | amba: axi { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 32 | bootph-all; |
Ashok Reddy Soma | f79b217 | 2022-11-16 07:11:55 -0700 | [diff] [blame] | 33 | compatible = "simple-bus"; |
| 34 | #address-cells = <0x2>; |
| 35 | #size-cells = <0x2>; |
| 36 | ranges; |
| 37 | |
| 38 | ospi: spi@f1010000 { |
Michal Simek | a14780a | 2024-07-15 16:39:11 +0200 | [diff] [blame] | 39 | compatible = "cdns,qspi-nor"; |
Ashok Reddy Soma | f79b217 | 2022-11-16 07:11:55 -0700 | [diff] [blame] | 40 | status = "okay"; |
| 41 | reg = <0 0xf1010000 0 0x10000 0 0xc0000000 0 0x20000000>; |
| 42 | clock-names = "ref_clk", "pclk"; |
| 43 | clocks = <&clk125 &clk125>; |
| 44 | bus-num = <2>; |
| 45 | num-cs = <1>; |
| 46 | cdns,fifo-depth = <256>; |
| 47 | cdns,fifo-width = <4>; |
| 48 | cdns,is-dma = <1>; |
| 49 | cdns,trigger-address = <0xc0000000>; |
| 50 | #address-cells = <1>; |
| 51 | #size-cells = <0>; |
| 52 | |
| 53 | flash0: flash@0 { |
| 54 | compatible = "n25q512a", "micron,m25p80", |
| 55 | "jedec,spi-nor"; |
| 56 | reg = <0x0>; |
| 57 | spi-tx-bus-width = <8>; |
| 58 | spi-rx-bus-width = <8>; |
| 59 | spi-max-frequency = <20000000>; |
Amit Kumar Mahapatra | e66090a | 2023-09-11 16:10:47 +0200 | [diff] [blame] | 60 | no-wp; |
Ashok Reddy Soma | f79b217 | 2022-11-16 07:11:55 -0700 | [diff] [blame] | 61 | }; |
| 62 | }; |
| 63 | }; |
| 64 | |
| 65 | aliases { |
| 66 | serial0 = &dcc; |
| 67 | spi0 = &ospi; |
| 68 | }; |
| 69 | |
| 70 | chosen { |
| 71 | stdout-path = "serial0:115200"; |
| 72 | }; |
| 73 | |
| 74 | memory@fffc0000 { |
| 75 | device_type = "memory"; |
| 76 | reg = <0x0 0xfffc0000 0x0 0x40000>; |
| 77 | }; |
| 78 | }; |