18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright (c) 2019 BayLibre, SAS 48c2ecf20Sopenharmony_ci * Author: Neil Armstrong <narmstrong@baylibre.com> 58c2ecf20Sopenharmony_ci * Copyright (c) 2019 Christian Hewitt <christianshewitt@gmail.com> 68c2ecf20Sopenharmony_ci */ 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ci/dts-v1/; 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ci#include "meson-g12b-s922x.dtsi" 118c2ecf20Sopenharmony_ci#include "meson-khadas-vim3.dtsi" 128c2ecf20Sopenharmony_ci#include "meson-g12b-khadas-vim3.dtsi" 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci/ { 158c2ecf20Sopenharmony_ci compatible = "khadas,vim3", "amlogic,s922x", "amlogic,g12b"; 168c2ecf20Sopenharmony_ci}; 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_ci/* 198c2ecf20Sopenharmony_ci * The VIM3 on-board MCU can mux the PCIe/USB3.0 shared differential 208c2ecf20Sopenharmony_ci * lines using a FUSB340TMX USB 3.1 SuperSpeed Data Switch between 218c2ecf20Sopenharmony_ci * an USB3.0 Type A connector and a M.2 Key M slot. 228c2ecf20Sopenharmony_ci * The PHY driving these differential lines is shared between 238c2ecf20Sopenharmony_ci * the USB3.0 controller and the PCIe Controller, thus only 248c2ecf20Sopenharmony_ci * a single controller can use it. 258c2ecf20Sopenharmony_ci * If the MCU is configured to mux the PCIe/USB3.0 differential lines 268c2ecf20Sopenharmony_ci * to the M.2 Key M slot, uncomment the following block to disable 278c2ecf20Sopenharmony_ci * USB3.0 from the USB Complex and enable the PCIe controller. 288c2ecf20Sopenharmony_ci * The End User is not expected to uncomment the following except for 298c2ecf20Sopenharmony_ci * testing purposes, but instead rely on the firmware/bootloader to 308c2ecf20Sopenharmony_ci * update these nodes accordingly if PCIe mode is selected by the MCU. 318c2ecf20Sopenharmony_ci */ 328c2ecf20Sopenharmony_ci/* 338c2ecf20Sopenharmony_ci&pcie { 348c2ecf20Sopenharmony_ci status = "okay"; 358c2ecf20Sopenharmony_ci}; 368c2ecf20Sopenharmony_ci 378c2ecf20Sopenharmony_ci&usb { 388c2ecf20Sopenharmony_ci phys = <&usb2_phy0>, <&usb2_phy1>; 398c2ecf20Sopenharmony_ci phy-names = "usb2-phy0", "usb2-phy1"; 408c2ecf20Sopenharmony_ci}; 418c2ecf20Sopenharmony_ci */ 42