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