Michal Simek | 8aad25c | 2018-03-28 15:09:32 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
Michal Simek | ea76656 | 2019-05-21 12:07:23 +0200 | [diff] [blame] | 3 | * dts file for Xilinx ZynqMP ZCU1275 |
Michal Simek | 8aad25c | 2018-03-28 15:09:32 +0200 | [diff] [blame] | 4 | * |
Michal Simek | 821e32a | 2021-05-31 09:50:01 +0200 | [diff] [blame] | 5 | * (C) Copyright 2017 - 2021, Xilinx, Inc. |
Michal Simek | 8aad25c | 2018-03-28 15:09:32 +0200 | [diff] [blame] | 6 | * |
| 7 | * Michal Simek <michal.simek@xilinx.com> |
| 8 | * Siva Durga Prasad Paladugu <sivadur@xilinx.com> |
| 9 | */ |
| 10 | |
| 11 | /dts-v1/; |
| 12 | |
| 13 | #include "zynqmp.dtsi" |
| 14 | #include "zynqmp-clk-ccf.dtsi" |
| 15 | |
| 16 | / { |
Michal Simek | ea76656 | 2019-05-21 12:07:23 +0200 | [diff] [blame] | 17 | model = "ZynqMP ZCU1275 RevA"; |
| 18 | compatible = "xlnx,zynqmp-zcu1275-revA", "xlnx,zynqmp-zcu1275", |
| 19 | "xlnx,zynqmp"; |
Michal Simek | 8aad25c | 2018-03-28 15:09:32 +0200 | [diff] [blame] | 20 | |
| 21 | aliases { |
| 22 | serial0 = &uart0; |
| 23 | serial1 = &dcc; |
| 24 | spi0 = &qspi; |
| 25 | }; |
| 26 | |
| 27 | chosen { |
| 28 | bootargs = "earlycon"; |
| 29 | stdout-path = "serial0:115200n8"; |
| 30 | }; |
| 31 | |
| 32 | memory@0 { |
| 33 | device_type = "memory"; |
| 34 | reg = <0x0 0x0 0x0 0x80000000>; |
| 35 | }; |
| 36 | }; |
| 37 | |
| 38 | &dcc { |
| 39 | status = "okay"; |
| 40 | }; |
| 41 | |
Michal Simek | 52dc821 | 2021-05-11 13:59:01 +0200 | [diff] [blame] | 42 | &gpio { |
| 43 | status = "okay"; |
| 44 | }; |
| 45 | |
Michal Simek | 8aad25c | 2018-03-28 15:09:32 +0200 | [diff] [blame] | 46 | &qspi { |
| 47 | status = "okay"; |
| 48 | flash@0 { |
Neil Armstrong | a009fa7 | 2019-02-10 10:16:20 +0000 | [diff] [blame] | 49 | compatible = "m25p80", "jedec,spi-nor"; /* 32MB */ |
Michal Simek | 8aad25c | 2018-03-28 15:09:32 +0200 | [diff] [blame] | 50 | #address-cells = <1>; |
| 51 | #size-cells = <1>; |
| 52 | reg = <0x0>; |
| 53 | spi-tx-bus-width = <1>; |
| 54 | spi-rx-bus-width = <4>; /* FIXME also DUAL configuration possible */ |
| 55 | spi-max-frequency = <108000000>; /* Based on DC1 spec */ |
Michal Simek | 70fafdf | 2020-02-14 14:19:56 +0100 | [diff] [blame] | 56 | partition@0 { /* for testing purpose */ |
Michal Simek | 8aad25c | 2018-03-28 15:09:32 +0200 | [diff] [blame] | 57 | label = "qspi-fsbl-uboot"; |
| 58 | reg = <0x0 0x100000>; |
| 59 | }; |
Michal Simek | 70fafdf | 2020-02-14 14:19:56 +0100 | [diff] [blame] | 60 | partition@100000 { /* for testing purpose */ |
Michal Simek | 8aad25c | 2018-03-28 15:09:32 +0200 | [diff] [blame] | 61 | label = "qspi-linux"; |
| 62 | reg = <0x100000 0x500000>; |
| 63 | }; |
Michal Simek | 70fafdf | 2020-02-14 14:19:56 +0100 | [diff] [blame] | 64 | partition@600000 { /* for testing purpose */ |
Michal Simek | 8aad25c | 2018-03-28 15:09:32 +0200 | [diff] [blame] | 65 | label = "qspi-device-tree"; |
| 66 | reg = <0x600000 0x20000>; |
| 67 | }; |
Michal Simek | 70fafdf | 2020-02-14 14:19:56 +0100 | [diff] [blame] | 68 | partition@620000 { /* for testing purpose */ |
Michal Simek | 8aad25c | 2018-03-28 15:09:32 +0200 | [diff] [blame] | 69 | label = "qspi-rootfs"; |
| 70 | reg = <0x620000 0x5E0000>; |
| 71 | }; |
| 72 | }; |
| 73 | }; |
| 74 | |
| 75 | &uart0 { |
| 76 | status = "okay"; |
| 77 | }; |