1// SPDX-License-Identifier: GPL-2.0+ 2/* 3 * Copyright (C) 2023 Josua Mayer <[email protected]> 4 * 5 * DTS for SolidRun AM642 HummingBoard-T, 6 * running on Cortex A53, with PCI-E. 7 * 8 */ 9 10#include "k3-am642-hummingboard-t.dts" 11 12#include "k3-serdes.h" 13 14/ { 15 model = "SolidRun AM642 HummingBoard-T with PCI-E"; 16}; 17 18&pcie0_rc { 19 pinctrl-names = "default"; 20 pinctrl-0 = <&pcie0_default_pins>; 21 reset-gpios = <&main_gpio1 15 GPIO_ACTIVE_HIGH>; 22 phys = <&serdes0_link>; 23 phy-names = "pcie-phy"; 24 num-lanes = <1>; 25 status = "okay"; 26}; 27 28&serdes0 { 29 #address-cells = <1>; 30 #size-cells = <0>; 31 32 serdes0_link: phy@0 { 33 reg = <0>; 34 cdns,num-lanes = <1>; 35 cdns,phy-type = <PHY_TYPE_PCIE>; 36 #phy-cells = <0>; 37 resets = <&serdes_wiz0 1>; 38 }; 39}; 40 41&serdes_ln_ctrl { 42 idle-states = <AM64_SERDES0_LANE0_PCIE0>; 43}; 44 45&serdes_mux { 46 idle-state = <1>; 47}; 48