]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi
Merge tag 'omap-for-v5.1/dt-cpsw-phy' of git://git.kernel.org/pub/scm/linux/kernel...
[mirror_ubuntu-hirsute-kernel.git] / arch / arm / boot / dts / imx6qdl-phytec-pfla02.dtsi
index 1b50b01e9bac8334cbe41a9dd7aaf9e5fa440221..433bf09a1954c5ff05e1f3b3255c326fb69bf615 100644 (file)
 &fec {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_enet>;
+       phy-handle = <&ethphy>;
        phy-mode = "rgmii";
        phy-reset-gpios = <&gpio3 23 GPIO_ACTIVE_LOW>;
        phy-supply = <&vdd_eth_io_reg>;
        status = "disabled";
+
+       fec_mdio: mdio {
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               ethphy: ethernet-phy@0 {
+                       compatible = "ethernet-phy-ieee802.3-c22";
+                       reg = <0>;
+                       txc-skew-ps = <1680>;
+                       rxc-skew-ps = <1860>;
+               };
+       };
 };
 
 &gpmi {
                reg = <0x58>;
                interrupt-parent = <&gpio2>;
                interrupts = <9 IRQ_TYPE_LEVEL_LOW>; /* active-low GPIO2_9 */
+               interrupt-controller;
 
                regulators {
                        vddcore_reg: bcore1 {