blob: 1b3eddc667db2c9a5f8f36e57029726761777027 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Tom McLeod91d024c2017-09-27 17:53:26 -07002/*
3 * SYZYGY Hub DTS
4 *
5 * Copyright (C) 2011 - 2015 Xilinx
6 * Copyright (C) 2017 Opal Kelly Inc.
Tom McLeod91d024c2017-09-27 17:53:26 -07007 */
8/dts-v1/;
9/include/ "zynq-7000.dtsi"
10
11/ {
12 model = "SYZYGY Hub";
13 compatible = "opalkelly,syzygy-hub", "xlnx,zynq-7000";
14
15 aliases {
16 ethernet0 = &gem0;
17 serial0 = &uart0;
18 mmc0 = &sdhci0;
Michal Simek53b145d2021-06-03 11:46:50 +020019 nvmem0 = &eeprom;
Michal Simeka7fac2f2019-01-22 14:12:54 +010020 i2c0 = &i2c1;
Tom McLeod91d024c2017-09-27 17:53:26 -070021 };
22
23 memory@0 {
24 device_type = "memory";
25 reg = <0x0 0x40000000>;
26 };
27
28 chosen {
29 bootargs = "";
30 stdout-path = "serial0:115200n8";
31 };
32
33 usb_phy0: phy0 {
34 #phy-cells = <0>;
35 compatible = "usb-nop-xceiv";
36 reset-gpios = <&gpio0 47 1>;
37 };
38};
39
40&clkc {
41 ps-clk-frequency = <50000000>;
42};
43
44&gem0 {
45 status = "okay";
46 phy-mode = "rgmii-id";
47 phy-handle = <&ethernet_phy>;
48
49 ethernet_phy: ethernet-phy@0 {
50 reg = <0>;
Tom McLeod91d024c2017-09-27 17:53:26 -070051 };
52};
53
54&i2c1 {
55 status = "okay";
Michal Simeka7fac2f2019-01-22 14:12:54 +010056 eeprom: eeprom@57 {
57 compatible = "atmel,24c08"; /* not sure if this is correct */
58 reg = <0x57>;
59 };
Tom McLeod91d024c2017-09-27 17:53:26 -070060};
61
62&sdhci0 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070063 bootph-all;
Tom McLeod91d024c2017-09-27 17:53:26 -070064 status = "okay";
65};
66
67&uart0 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070068 bootph-all;
Tom McLeod91d024c2017-09-27 17:53:26 -070069 status = "okay";
70};
71
72&usb0 {
73 status = "okay";
74 dr_mode = "otg";
75 usb-phy = <&usb_phy0>;
76};