| 1 |
// SPDX-License-Identifier: GPL-2.0 |
| 2 |
/* |
| 3 |
* IOT2050 M.2 variant, overlay for B-key PCIE0_LANE0 + E-key PCIE1_LANE0 |
| 4 |
* Copyright (c) Siemens AG, 2022-2024 |
| 5 |
* |
| 6 |
* Authors: |
| 7 |
* Chao Zeng <[email protected]> |
| 8 |
* Jan Kiszka <[email protected]> |
| 9 |
*/ |
| 10 |
|
| 11 |
/dts-v1/; |
| 12 |
/plugin/; |
| 13 |
|
| 14 |
#include <dt-bindings/phy/phy.h> |
| 15 |
#include <dt-bindings/gpio/gpio.h> |
| 16 |
|
| 17 |
&pcie0_rc { |
| 18 |
num-lanes = <1>; |
| 19 |
phys = <&serdes0 PHY_TYPE_PCIE 1>; |
| 20 |
phy-names = "pcie-phy0"; |
| 21 |
reset-gpios = <&main_gpio1 15 GPIO_ACTIVE_HIGH>; |
| 22 |
status = "okay"; |
| 23 |
}; |
| 24 |
|
| 25 |
&pcie1_rc { |
| 26 |
status = "okay"; |
| 27 |
}; |