meson-g12b-a311d-khadas-vim3.dts 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2. /*
  3. * Copyright (c) 2019 BayLibre, SAS
  4. * Author: Neil Armstrong <narmstrong@baylibre.com>
  5. * Copyright (c) 2019 Christian Hewitt <christianshewitt@gmail.com>
  6. */
  7. /dts-v1/;
  8. #include "meson-g12b-a311d.dtsi"
  9. #include "meson-khadas-vim3.dtsi"
  10. #include "meson-g12b-khadas-vim3.dtsi"
  11. / {
  12. compatible = "khadas,vim3", "amlogic,a311d", "amlogic,g12b";
  13. };
  14. /*
  15. * The VIM3 on-board MCU can mux the PCIe/USB3.0 shared differential
  16. * lines using a FUSB340TMX USB 3.1 SuperSpeed Data Switch between
  17. * an USB3.0 Type A connector and a M.2 Key M slot.
  18. * The PHY driving these differential lines is shared between
  19. * the USB3.0 controller and the PCIe Controller, thus only
  20. * a single controller can use it.
  21. * If the MCU is configured to mux the PCIe/USB3.0 differential lines
  22. * to the M.2 Key M slot, uncomment the following block to disable
  23. * USB3.0 from the USB Complex and enable the PCIe controller.
  24. * The End User is not expected to uncomment the following except for
  25. * testing purposes, but instead rely on the firmware/bootloader to
  26. * update these nodes accordingly if PCIe mode is selected by the MCU.
  27. */
  28. /*
  29. &pcie {
  30. status = "okay";
  31. };
  32. &usb {
  33. phys = <&usb2_phy0>, <&usb2_phy1>;
  34. phy-names = "usb2-phy0", "usb2-phy1";
  35. };
  36. */