zynq-zybo-z7.dts 1010 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /dts-v1/;
  3. #include "zynq-7000.dtsi"
  4. #include <dt-bindings/gpio/gpio.h>
  5. / {
  6. model = "Digilent Zybo Z7 board";
  7. compatible = "digilent,zynq-zybo-z7", "xlnx,zynq-7000";
  8. aliases {
  9. ethernet0 = &gem0;
  10. serial0 = &uart1;
  11. };
  12. memory@0 {
  13. device_type = "memory";
  14. reg = <0x0 0x40000000>;
  15. };
  16. chosen {
  17. bootargs = "";
  18. stdout-path = "serial0:115200n8";
  19. };
  20. gpio-leds {
  21. compatible = "gpio-leds";
  22. led-ld4 {
  23. label = "zynq-zybo-z7:green:ld4";
  24. gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
  25. };
  26. };
  27. usb_phy0: phy0 {
  28. #phy-cells = <0>;
  29. compatible = "usb-nop-xceiv";
  30. reset-gpios = <&gpio0 46 GPIO_ACTIVE_LOW>;
  31. };
  32. };
  33. &clkc {
  34. ps-clk-frequency = <33333333>;
  35. };
  36. &gem0 {
  37. status = "okay";
  38. phy-mode = "rgmii-id";
  39. phy-handle = <&ethernet_phy>;
  40. ethernet_phy: ethernet-phy@0 {
  41. reg = <0>;
  42. device_type = "ethernet-phy";
  43. };
  44. };
  45. &sdhci0 {
  46. status = "okay";
  47. };
  48. &uart1 {
  49. status = "okay";
  50. };
  51. &usb0 {
  52. status = "okay";
  53. dr_mode = "host";
  54. usb-phy = <&usb_phy0>;
  55. };