// SPDX-License-Identifier: GPL-2.0 OR X11 /* * Device Tree Source for TQ-Systems TQMa7D board on MBa7 carrier board. * * Copyright (C) 2016 TQ-Systems GmbH * Author: Markus Niebel * Copyright (C) 2019 Bruno Thomsen */ /dts-v1/; #include "imx7d-tqma7.dtsi" #include "imx7-mba7.dtsi" / { model = "TQ-Systems TQMa7D board on MBa7 carrier board"; compatible = "tq,imx7d-mba7", "tq,imx7d-tqma7", "fsl,imx7d"; }; &fec2 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_enet2>; phy-mode = "rgmii-id"; phy-supply = <®_fec2_pwdn>; phy-handle = <ðphy2_0>; fsl,magic-packet; status = "okay"; mdio { #address-cells = <1>; #size-cells = <0>; ethphy2_0: ethernet-phy@0 { compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_enet2_phy>; ti,rx-internal-delay = ; ti,tx-internal-delay = ; ti,fifo-depth = ; ti,clk-output-sel = ; reset-gpios = <&gpio2 28 GPIO_ACTIVE_LOW>; reset-assert-us = <1000>; reset-deassert-us = <500>; }; }; }; &gpio2 { pcie-dis-hog { gpio-hog; gpios = <29 GPIO_ACTIVE_HIGH>; output-high; line-name = "pcie-dis"; }; pcie-rst-hog { gpio-hog; gpios = <12 GPIO_ACTIVE_HIGH>; output-high; line-name = "pcie-rst"; }; }; &iomuxc { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_hog_mba7_1>, <&pinctrl_hog_pcie>; pinctrl_enet2: enet2grp { fsl,pins = , , , , , , , , , , , , , ; }; pinctrl_enet2_phy: enet2phygrp { fsl,pins = /* Reset: SION, 100kPU, SRE_FAST, DSE_X1 */ , /* INT/PWDN: SION, 100kPU, HYS, SRE_FAST, DSE_X1 */ ; }; pinctrl_hog_pcie: hogpciegrp { fsl,pins = /* #pcie_rst */ , /* #pcie_dis */ ; }; pinctrl_pcie: pciegrp { fsl,pins = /* #pcie_wake */ ; }; }; &iomuxc_lpsr { pinctrl_usbotg2: usbotg2grp { fsl,pins = , ; }; }; &pcie { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pcie>; /* 1.5V logically from 3.3V */ /* probe deferral not supported */ /* pcie-bus-supply = <®_mpcie_1v5>; */ reset-gpio = <&gpio5 12 GPIO_ACTIVE_LOW>; status = "disabled"; }; &usbotg2 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usbotg2>; vbus-supply = <®_usb_otg2_vbus>; disable-over-current; dr_mode = "host"; status = "okay"; };