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 { |
| 34 | u-boot,dm-pre-reloc; |
| 35 | status = "okay"; |
| 36 | is-dual = <0>; |
| 37 | num-cs = <1>; |
| 38 | flash@0 { |
| 39 | compatible = "st,m25p80", "n25q256a"; |
| 40 | m25p,fast-read; |
| 41 | reg = <0x0>; |
| 42 | spi-tx-bus-width = <1>; |
| 43 | spi-rx-bus-width = <4>; |
| 44 | spi-max-frequency = <100000000>; |
| 45 | #address-cells = <1>; |
| 46 | #size-cells = <1>; |
Michal Simek | cd8fafa | 2020-02-19 10:57:34 +0100 | [diff] [blame] | 47 | partition@0 { |
Mike Looijmans | 5ae48b1 | 2016-09-30 08:13:13 +0200 | [diff] [blame] | 48 | label = "qspi-u-boot-spl"; |
| 49 | reg = <0x00000 0x10000>; |
| 50 | }; |
Michal Simek | cd8fafa | 2020-02-19 10:57:34 +0100 | [diff] [blame] | 51 | partition@10000 { |
Mike Looijmans | 5ae48b1 | 2016-09-30 08:13:13 +0200 | [diff] [blame] | 52 | label = "qspi-u-boot-img"; |
| 53 | reg = <0x10000 0x60000>; |
| 54 | }; |
Michal Simek | cd8fafa | 2020-02-19 10:57:34 +0100 | [diff] [blame] | 55 | partition@70000 { |
Mike Looijmans | 5ae48b1 | 2016-09-30 08:13:13 +0200 | [diff] [blame] | 56 | label = "qspi-device-tree"; |
| 57 | reg = <0x70000 0x10000>; |
| 58 | }; |
Michal Simek | cd8fafa | 2020-02-19 10:57:34 +0100 | [diff] [blame] | 59 | partition@80000 { |
Mike Looijmans | 5ae48b1 | 2016-09-30 08:13:13 +0200 | [diff] [blame] | 60 | label = "qspi-linux"; |
| 61 | reg = <0x80000 0x400000>; |
| 62 | }; |
Michal Simek | cd8fafa | 2020-02-19 10:57:34 +0100 | [diff] [blame] | 63 | partition@480000 { |
Mike Looijmans | 5ae48b1 | 2016-09-30 08:13:13 +0200 | [diff] [blame] | 64 | label = "qspi-rootfs"; |
| 65 | reg = <0x480000 0x1b80000>; |
| 66 | }; |
| 67 | }; |
| 68 | }; |
| 69 | |
| 70 | &i2c0 { |
| 71 | status = "okay"; |
| 72 | clock-frequency = <400000>; |
| 73 | }; |
| 74 | |
| 75 | &i2c1 { |
| 76 | status = "okay"; |
| 77 | clock-frequency = <400000>; |
| 78 | }; |
| 79 | |
| 80 | &clkc { |
| 81 | ps-clk-frequency = <33333333>; |
| 82 | }; |
| 83 | |
| 84 | &sdhci0 { |
| 85 | u-boot,dm-pre-reloc; |
| 86 | status = "okay"; |
| 87 | }; |
| 88 | |
| 89 | &uart0 { |
| 90 | u-boot,dm-pre-reloc; |
| 91 | status = "okay"; |
| 92 | }; |
| 93 | |
| 94 | &usb0 { |
| 95 | status = "okay"; |
| 96 | }; |