xref: /freebsd/sys/contrib/device-tree/src/arm64/rockchip/rk3588-rock-5b-pcie-ep.dtso (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
1*0e8011faSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2*0e8011faSEmmanuel Vadot/*
3*0e8011faSEmmanuel Vadot * DT-overlay to run the PCIe3_4L Dual Mode controller in Endpoint mode
4*0e8011faSEmmanuel Vadot * in the SRNS (Separate Reference Clock No Spread) configuration.
5*0e8011faSEmmanuel Vadot *
6*0e8011faSEmmanuel Vadot * NOTE: If using a setup with two ROCK 5B:s, with one board running in
7*0e8011faSEmmanuel Vadot * RC mode and the other board running in EP mode, see also the device
8*0e8011faSEmmanuel Vadot * tree overlay: rk3588-rock-5b-pcie-srns.dtso.
9*0e8011faSEmmanuel Vadot */
10*0e8011faSEmmanuel Vadot
11*0e8011faSEmmanuel Vadot/dts-v1/;
12*0e8011faSEmmanuel Vadot/plugin/;
13*0e8011faSEmmanuel Vadot
14*0e8011faSEmmanuel Vadot&pcie30phy {
15*0e8011faSEmmanuel Vadot	rockchip,rx-common-refclk-mode = <0 0 0 0>;
16*0e8011faSEmmanuel Vadot};
17*0e8011faSEmmanuel Vadot
18*0e8011faSEmmanuel Vadot&pcie3x4 {
19*0e8011faSEmmanuel Vadot	status = "disabled";
20*0e8011faSEmmanuel Vadot};
21*0e8011faSEmmanuel Vadot
22*0e8011faSEmmanuel Vadot&pcie3x4_ep {
23*0e8011faSEmmanuel Vadot	vpcie3v3-supply = <&vcc3v3_pcie30>;
24*0e8011faSEmmanuel Vadot	status = "okay";
25*0e8011faSEmmanuel Vadot};
26