Ibai Erkiaga | 191bd5e | 2018-05-22 17:03:04 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * dts file for Avnet MiniZed board |
| 4 | * |
| 5 | * (C) Copyright 2017 - 2018, Xilinx, Inc. |
| 6 | * |
Michal Simek | a8c9436 | 2023-07-10 14:35:49 +0200 | [diff] [blame] | 7 | * Ibai Erkiaga <ibai.erkiaga-elorza@amd.com> |
Ibai Erkiaga | 191bd5e | 2018-05-22 17:03:04 +0100 | [diff] [blame] | 8 | */ |
| 9 | |
| 10 | /dts-v1/; |
| 11 | #include "zynq-7000.dtsi" |
| 12 | |
| 13 | / { |
| 14 | model = "Avnet Zynq MiniZed Development Board"; |
| 15 | compatible = "avnet,minized", "xlnx,zynq-7000"; |
| 16 | |
| 17 | aliases { |
| 18 | serial0 = &uart1; |
| 19 | serial1 = &uart0; |
| 20 | spi0 = &qspi; |
| 21 | mmc0 = &sdhci0; |
| 22 | }; |
| 23 | |
| 24 | memory@0 { |
| 25 | device_type = "memory"; |
| 26 | reg = <0x0 0x20000000>; |
| 27 | }; |
| 28 | |
| 29 | chosen { |
| 30 | bootargs = ""; |
| 31 | stdout-path = "serial0:115200n8"; |
| 32 | }; |
| 33 | |
| 34 | usb_phy0: phy0 { |
| 35 | compatible = "usb-nop-xceiv"; |
| 36 | #phy-cells = <0>; |
| 37 | }; |
| 38 | }; |
| 39 | |
| 40 | &qspi { |
| 41 | status = "okay"; |
Ibai Erkiaga | 191bd5e | 2018-05-22 17:03:04 +0100 | [diff] [blame] | 42 | num-cs = <1>; |
| 43 | flash@0 { |
| 44 | compatible = "micron,m25p128"; |
| 45 | reg = <0x0>; |
| 46 | spi-tx-bus-width = <4>; |
| 47 | spi-rx-bus-width = <4>; |
| 48 | spi-max-frequency = <50000000>; |
| 49 | partitions { |
| 50 | compatible = "fixed-partitions"; |
| 51 | #address-cells = <1>; |
| 52 | #size-cells = <1>; |
| 53 | partition@0 { |
| 54 | label = "boot"; |
| 55 | reg = <0x0 0xff0000>; |
| 56 | }; |
| 57 | |
| 58 | partition@270000 { |
| 59 | label = "kernel"; |
| 60 | reg = <0x270000 0xd80000>; |
| 61 | }; |
| 62 | |
| 63 | partition@ff0000 { |
| 64 | label = "bootenv"; |
| 65 | reg = <0xff0000 0x10000>; |
| 66 | }; |
| 67 | |
| 68 | partition@1000000 { |
| 69 | label = "spare"; |
| 70 | reg = <0x1000000 0x0>; |
| 71 | }; |
| 72 | }; |
| 73 | }; |
| 74 | }; |
| 75 | |
| 76 | &uart0 { |
| 77 | status = "okay"; |
| 78 | }; |
| 79 | |
| 80 | &uart1 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 81 | bootph-all; |
Ibai Erkiaga | 191bd5e | 2018-05-22 17:03:04 +0100 | [diff] [blame] | 82 | status = "okay"; |
| 83 | }; |
| 84 | |
| 85 | &usb0 { |
| 86 | status = "okay"; |
| 87 | dr_mode = "host"; |
| 88 | usb-phy = <&usb_phy0>; |
| 89 | usb-reset = <&gpio0 7 0>; /* USB_RST_N-MIO7 */ |
| 90 | }; |
| 91 | |
| 92 | &sdhci1 { |
| 93 | status = "okay"; |
| 94 | non-removable; |
| 95 | bus-width = <4>; |
| 96 | max-frequency = <12000000>; |
| 97 | |
| 98 | #address-cells = <1>; |
| 99 | #size-cells = <0>; |
| 100 | mmccard: mmccard@0 { |
| 101 | compatible = "mmc-card"; |
| 102 | reg = <0>; |
| 103 | broken-hpi; |
| 104 | }; |
| 105 | }; |