Ashok Reddy Soma | 3c53ebd | 2022-11-16 07:11:53 -0700 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /* |
| 3 | * dts file for Xilinx Versal Mini QSPI Configuration |
| 4 | * |
| 5 | * (C) Copyright 2018-2019, Xilinx, Inc. |
| 6 | * |
Michal Simek | 2036621 | 2023-09-22 12:35:35 +0200 | [diff] [blame] | 7 | * Siva Durga Prasad Paladugu <siva.durga.prasad.paladugu@amd.com> |
Michal Simek | 174d7284 | 2023-07-10 14:35:49 +0200 | [diff] [blame] | 8 | * Michal Simek <michal.simek@amd.com> |
Ashok Reddy Soma | 3c53ebd | 2022-11-16 07:11:53 -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 QSPI"; |
| 18 | |
| 19 | clk150: clk150 { |
| 20 | compatible = "fixed-clock"; |
| 21 | #clock-cells = <0x0>; |
| 22 | clock-frequency = <150000000>; |
| 23 | }; |
| 24 | |
| 25 | dcc: dcc { |
| 26 | compatible = "arm,dcc"; |
| 27 | status = "okay"; |
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 28 | bootph-all; |
Ashok Reddy Soma | 3c53ebd | 2022-11-16 07:11:53 -0700 | [diff] [blame] | 29 | }; |
| 30 | |
| 31 | amba: amba { |
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 32 | bootph-all; |
Ashok Reddy Soma | 3c53ebd | 2022-11-16 07:11:53 -0700 | [diff] [blame] | 33 | compatible = "simple-bus"; |
| 34 | #address-cells = <0x2>; |
| 35 | #size-cells = <0x2>; |
| 36 | ranges; |
| 37 | |
| 38 | qspi: spi@f1030000 { |
| 39 | compatible = "xlnx,versal-qspi-1.0"; |
| 40 | status = "okay"; |
| 41 | clock-names = "ref_clk", "pclk"; |
| 42 | num-cs = <0x1>; |
| 43 | reg = <0x0 0xf1030000 0x0 0x1000>; |
| 44 | #address-cells = <1>; |
| 45 | #size-cells = <0>; |
| 46 | clocks = <&clk150 &clk150>; |
| 47 | |
| 48 | flash0: flash@0 { |
| 49 | compatible = "n25q512a", "micron,m25p80", |
| 50 | "jedec,spi-nor"; |
| 51 | reg = <0x0>; |
| 52 | spi-tx-bus-width = <4>; |
| 53 | spi-rx-bus-width = <4>; |
| 54 | spi-max-frequency = <20000000>; |
| 55 | }; |
| 56 | }; |
| 57 | }; |
| 58 | |
| 59 | aliases { |
| 60 | serial0 = &dcc; |
| 61 | spi0 = &qspi; |
| 62 | }; |
| 63 | |
| 64 | chosen { |
| 65 | stdout-path = "serial0:115200"; |
| 66 | }; |
| 67 | |
| 68 | memory@fffc0000 { |
| 69 | device_type = "memory"; |
| 70 | reg = <0x0 0xfffc0000 0x0 0x40000>; |
| 71 | }; |
| 72 | }; |