Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Jagannadha Sutradharudu Teki | fc0d22b | 2014-01-09 01:48:29 +0530 | [diff] [blame] | 2 | /* |
| 3 | * Xilinx MicroZED board DTS |
| 4 | * |
Michal Simek | 9e5b344 | 2016-01-12 08:06:36 +0100 | [diff] [blame] | 5 | * Copyright (C) 2013 - 2016 Xilinx, Inc. |
Jagannadha Sutradharudu Teki | fc0d22b | 2014-01-09 01:48:29 +0530 | [diff] [blame] | 6 | */ |
| 7 | /dts-v1/; |
| 8 | #include "zynq-7000.dtsi" |
| 9 | |
| 10 | / { |
Michal Simek | 20ebfef | 2023-03-28 09:21:33 +0200 | [diff] [blame] | 11 | model = "Avnet MicroZed board"; |
Luis Araneda | 74897bf | 2018-07-12 00:10:19 -0400 | [diff] [blame] | 12 | compatible = "avnet,zynq-microzed", "xlnx,zynq-microzed", "xlnx,zynq-7000"; |
Masahiro Yamada | d6367a2 | 2014-05-15 20:37:54 +0900 | [diff] [blame] | 13 | |
Masahiro Yamada | 87f645e | 2014-05-15 20:37:55 +0900 | [diff] [blame] | 14 | aliases { |
| 15 | serial0 = &uart1; |
Jagan Teki | 52b4702 | 2015-08-15 23:08:51 +0530 | [diff] [blame] | 16 | spi0 = &qspi; |
Michal Simek | 9e5b344 | 2016-01-12 08:06:36 +0100 | [diff] [blame] | 17 | mmc0 = &sdhci0; |
Masahiro Yamada | 87f645e | 2014-05-15 20:37:55 +0900 | [diff] [blame] | 18 | }; |
| 19 | |
Michal Simek | b3585f4 | 2016-11-11 13:11:37 +0100 | [diff] [blame] | 20 | memory@0 { |
Masahiro Yamada | d6367a2 | 2014-05-15 20:37:54 +0900 | [diff] [blame] | 21 | device_type = "memory"; |
Michal Simek | 20ebfef | 2023-03-28 09:21:33 +0200 | [diff] [blame] | 22 | reg = <0x0 0x40000000>; |
Masahiro Yamada | d6367a2 | 2014-05-15 20:37:54 +0900 | [diff] [blame] | 23 | }; |
Michal Simek | 9e5b344 | 2016-01-12 08:06:36 +0100 | [diff] [blame] | 24 | |
| 25 | chosen { |
Michal Simek | 151497b | 2023-03-28 09:17:31 +0200 | [diff] [blame] | 26 | bootargs = "earlycon"; |
Michal Simek | 9e5b344 | 2016-01-12 08:06:36 +0100 | [diff] [blame] | 27 | stdout-path = "serial0:115200n8"; |
| 28 | }; |
| 29 | |
| 30 | usb_phy0: phy0 { |
| 31 | compatible = "usb-nop-xceiv"; |
| 32 | #phy-cells = <0>; |
| 33 | }; |
Jagannadha Sutradharudu Teki | fc0d22b | 2014-01-09 01:48:29 +0530 | [diff] [blame] | 34 | }; |
Jagan Teki | 52b4702 | 2015-08-15 23:08:51 +0530 | [diff] [blame] | 35 | |
Michal Simek | 9e5b344 | 2016-01-12 08:06:36 +0100 | [diff] [blame] | 36 | &clkc { |
| 37 | ps-clk-frequency = <33333333>; |
| 38 | }; |
| 39 | |
Jagan Teki | 52b4702 | 2015-08-15 23:08:51 +0530 | [diff] [blame] | 40 | &qspi { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 41 | bootph-all; |
Jagan Teki | 52b4702 | 2015-08-15 23:08:51 +0530 | [diff] [blame] | 42 | status = "okay"; |
| 43 | }; |
Simon Glass | 8c7323a | 2015-10-17 19:41:24 -0600 | [diff] [blame] | 44 | |
Michal Simek | 9e5b344 | 2016-01-12 08:06:36 +0100 | [diff] [blame] | 45 | &gem0 { |
| 46 | status = "okay"; |
| 47 | phy-mode = "rgmii-id"; |
| 48 | phy-handle = <ðernet_phy>; |
| 49 | |
| 50 | ethernet_phy: ethernet-phy@0 { |
| 51 | reg = <0>; |
| 52 | }; |
| 53 | }; |
| 54 | |
| 55 | &sdhci0 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 56 | bootph-all; |
Michal Simek | 9e5b344 | 2016-01-12 08:06:36 +0100 | [diff] [blame] | 57 | status = "okay"; |
| 58 | }; |
| 59 | |
Michal Simek | 20ebfef | 2023-03-28 09:21:33 +0200 | [diff] [blame] | 60 | &uart1 { |
| 61 | bootph-all; |
| 62 | status = "okay"; |
| 63 | }; |
| 64 | |
Michal Simek | 9e5b344 | 2016-01-12 08:06:36 +0100 | [diff] [blame] | 65 | &usb0 { |
| 66 | status = "okay"; |
| 67 | dr_mode = "host"; |
| 68 | usb-phy = <&usb_phy0>; |
Michal Simek | 20ebfef | 2023-03-28 09:21:33 +0200 | [diff] [blame] | 69 | pinctrl-names = "default"; |
| 70 | pinctrl-0 = <&pinctrl_usb0_default>; |
| 71 | }; |
| 72 | |
| 73 | &pinctrl0 { |
| 74 | pinctrl_usb0_default: usb0-default { |
| 75 | mux { |
| 76 | groups = "usb0_0_grp"; |
| 77 | function = "usb0"; |
| 78 | }; |
| 79 | |
| 80 | conf { |
| 81 | groups = "usb0_0_grp"; |
| 82 | slew-rate = <0>; |
| 83 | io-standard = <1>; |
| 84 | }; |
| 85 | |
| 86 | conf-rx { |
| 87 | pins = "MIO29", "MIO31", "MIO36"; |
| 88 | bias-high-impedance; |
| 89 | }; |
| 90 | |
| 91 | conf-tx { |
| 92 | pins = "MIO28", "MIO30", "MIO32", "MIO33", "MIO34", |
| 93 | "MIO35", "MIO37", "MIO38", "MIO39"; |
| 94 | bias-disable; |
| 95 | }; |
| 96 | }; |
Simon Glass | 8c7323a | 2015-10-17 19:41:24 -0600 | [diff] [blame] | 97 | }; |