From: Christian Lamparter Date: Fri, 8 Mar 2019 18:11:28 +0000 (+0100) Subject: ipq40xx: extend DT mdio node to be more accessible X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=ef4bea0b519b75a258a737cd6ffe31518f061bba;p=openwrt%2Fstaging%2Fdangole.git ipq40xx: extend DT mdio node to be more accessible The MDIO node will become more important in the future. Hence, this patch adds DT labels to make the properties inside the various subnodes more accessible. Signed-off-by: Christian Lamparter --- diff --git a/target/linux/ipq40xx/patches-4.19/701-dts-ipq4019-add-mdio-node.patch b/target/linux/ipq40xx/patches-4.19/701-dts-ipq4019-add-mdio-node.patch index 0298644d22..316e60f221 100644 --- a/target/linux/ipq40xx/patches-4.19/701-dts-ipq4019-add-mdio-node.patch +++ b/target/linux/ipq40xx/patches-4.19/701-dts-ipq4019-add-mdio-node.patch @@ -19,30 +19,30 @@ so the info might change. status = "disabled"; }; -+ mdio@90000 { ++ mdio: mdio@90000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "qcom,ipq4019-mdio"; + reg = <0x90000 0x64>; + status = "disabled"; + -+ ethernet-phy@0 { ++ ethphy0: ethernet-phy@0 { + reg = <0>; + }; + -+ ethernet-phy@1 { ++ ethphy1: ethernet-phy@1 { + reg = <1>; + }; + -+ ethernet-phy@2 { ++ ethphy2: ethernet-phy@2 { + reg = <2>; + }; + -+ ethernet-phy@3 { ++ ethphy3: ethernet-phy@3 { + reg = <3>; + }; + -+ ethernet-phy@4 { ++ ethphy4: ethernet-phy@4 { + reg = <4>; + }; + };