Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Mike Looijmans | 5ae48b1 | 2016-09-30 08:13:13 +0200 | [diff] [blame] | 2 | /* |
| 3 | * Topic Miami board DTS |
| 4 | * |
| 5 | * Copyright (C) 2014-2016 Topic Embedded Products |
Mike Looijmans | 5ae48b1 | 2016-09-30 08:13:13 +0200 | [diff] [blame] | 6 | */ |
| 7 | /dts-v1/; |
| 8 | #include "zynq-7000.dtsi" |
| 9 | |
| 10 | / { |
| 11 | model = "Topic Miami Zynq Board"; |
| 12 | compatible = "topic,miami", "xlnx,zynq-7000"; |
| 13 | |
| 14 | aliases { |
Mike Looijmans | 5ae48b1 | 2016-09-30 08:13:13 +0200 | [diff] [blame] | 15 | serial0 = &uart0; |
| 16 | spi0 = &qspi; |
| 17 | i2c0 = &i2c0; |
| 18 | i2c1 = &i2c1; |
| 19 | mmc0 = &sdhci0; |
Mike Looijmans | 9b4a439 | 2017-04-10 08:56:22 +0200 | [diff] [blame] | 20 | usbotg0 = &usb0; |
Mike Looijmans | 5ae48b1 | 2016-09-30 08:13:13 +0200 | [diff] [blame] | 21 | }; |
| 22 | |
Michal Simek | b3585f4 | 2016-11-11 13:11:37 +0100 | [diff] [blame] | 23 | memory@0 { |
Mike Looijmans | 5ae48b1 | 2016-09-30 08:13:13 +0200 | [diff] [blame] | 24 | device_type = "memory"; |
| 25 | reg = <0x0 0x40000000>; |
| 26 | }; |
| 27 | |
| 28 | chosen { |
| 29 | stdout-path = "serial0:115200n8"; |
| 30 | }; |
| 31 | }; |
| 32 | |
| 33 | &qspi { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 34 | bootph-all; |
Mike Looijmans | 5ae48b1 | 2016-09-30 08:13:13 +0200 | [diff] [blame] | 35 | status = "okay"; |
Mike Looijmans | 5ae48b1 | 2016-09-30 08:13:13 +0200 | [diff] [blame] | 36 | num-cs = <1>; |
| 37 | flash@0 { |
Raju Kumar Pothuraju | 8c6fdf6 | 2021-07-01 14:15:11 +0530 | [diff] [blame] | 38 | compatible = "st,m25p80", "n25q256a", "jedec,spi-nor"; |
Mike Looijmans | 5ae48b1 | 2016-09-30 08:13:13 +0200 | [diff] [blame] | 39 | m25p,fast-read; |
| 40 | reg = <0x0>; |
| 41 | spi-tx-bus-width = <1>; |
| 42 | spi-rx-bus-width = <4>; |
| 43 | spi-max-frequency = <100000000>; |
| 44 | #address-cells = <1>; |
| 45 | #size-cells = <1>; |
Michal Simek | cd8fafa | 2020-02-19 10:57:34 +0100 | [diff] [blame] | 46 | partition@0 { |
Mike Looijmans | 5ae48b1 | 2016-09-30 08:13:13 +0200 | [diff] [blame] | 47 | label = "qspi-u-boot-spl"; |
| 48 | reg = <0x00000 0x10000>; |
| 49 | }; |
Michal Simek | cd8fafa | 2020-02-19 10:57:34 +0100 | [diff] [blame] | 50 | partition@10000 { |
Mike Looijmans | 5ae48b1 | 2016-09-30 08:13:13 +0200 | [diff] [blame] | 51 | label = "qspi-u-boot-img"; |
| 52 | reg = <0x10000 0x60000>; |
| 53 | }; |
Michal Simek | cd8fafa | 2020-02-19 10:57:34 +0100 | [diff] [blame] | 54 | partition@70000 { |
Mike Looijmans | 5ae48b1 | 2016-09-30 08:13:13 +0200 | [diff] [blame] | 55 | label = "qspi-device-tree"; |
| 56 | reg = <0x70000 0x10000>; |
| 57 | }; |
Michal Simek | cd8fafa | 2020-02-19 10:57:34 +0100 | [diff] [blame] | 58 | partition@80000 { |
Mike Looijmans | 5ae48b1 | 2016-09-30 08:13:13 +0200 | [diff] [blame] | 59 | label = "qspi-linux"; |
| 60 | reg = <0x80000 0x400000>; |
| 61 | }; |
Michal Simek | cd8fafa | 2020-02-19 10:57:34 +0100 | [diff] [blame] | 62 | partition@480000 { |
Mike Looijmans | 5ae48b1 | 2016-09-30 08:13:13 +0200 | [diff] [blame] | 63 | label = "qspi-rootfs"; |
| 64 | reg = <0x480000 0x1b80000>; |
| 65 | }; |
| 66 | }; |
| 67 | }; |
| 68 | |
| 69 | &i2c0 { |
| 70 | status = "okay"; |
| 71 | clock-frequency = <400000>; |
| 72 | }; |
| 73 | |
| 74 | &i2c1 { |
| 75 | status = "okay"; |
| 76 | clock-frequency = <400000>; |
| 77 | }; |
| 78 | |
| 79 | &clkc { |
| 80 | ps-clk-frequency = <33333333>; |
| 81 | }; |
| 82 | |
| 83 | &sdhci0 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 84 | bootph-all; |
Mike Looijmans | 5ae48b1 | 2016-09-30 08:13:13 +0200 | [diff] [blame] | 85 | status = "okay"; |
| 86 | }; |
| 87 | |
| 88 | &uart0 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 89 | bootph-all; |
Mike Looijmans | 5ae48b1 | 2016-09-30 08:13:13 +0200 | [diff] [blame] | 90 | status = "okay"; |
| 91 | }; |
| 92 | |
| 93 | &usb0 { |
| 94 | status = "okay"; |
| 95 | }; |