summaryrefslogtreecommitdiff
path: root/Silicon/Socionext/SynQuacer/DeviceTree/DeveloperBox.dts
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2017-12-23 10:58:18 +0000
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2018-01-25 13:08:48 +0000
commit43467f4ee926acdadc1c6481a3d3407044ccc56d (patch)
tree1f72582dd412f8ffbf9d313ca1f1dc2a33d85f97 /Silicon/Socionext/SynQuacer/DeviceTree/DeveloperBox.dts
parent59e41cf53d885bc62f29b6ddef99a3b6893a8d60 (diff)
downloadedk2-platforms-43467f4ee926acdadc1c6481a3d3407044ccc56d.tar.xz
Silicon/SynQuacer/DeviceTree: update NETSEC DT node to latest binding
The upstream version of the Linux NETSEC driver expects the PHY DT node to appear under a MDIO subnode, so fix this in the device tree. Fix the node name as well, this should be 'ethernet' not 'netsec', and add a clock-names property describing the single clock reference as 'phy_ref_clk'. Also, move the PHY subnode into the per-platform .dts file so we can set the unit address in the node name. This is necessary because recent versions of the DT compiler are more finicky about this. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'Silicon/Socionext/SynQuacer/DeviceTree/DeveloperBox.dts')
-rw-r--r--Silicon/Socionext/SynQuacer/DeviceTree/DeveloperBox.dts7
1 files changed, 7 insertions, 0 deletions
diff --git a/Silicon/Socionext/SynQuacer/DeviceTree/DeveloperBox.dts b/Silicon/Socionext/SynQuacer/DeviceTree/DeveloperBox.dts
index d2cd7ef90e..488c51a0f7 100644
--- a/Silicon/Socionext/SynQuacer/DeviceTree/DeveloperBox.dts
+++ b/Silicon/Socionext/SynQuacer/DeviceTree/DeveloperBox.dts
@@ -44,3 +44,10 @@
"GPIO-K", "GPIO-L", "PEC-PD26", "PEC-PD27",
"PEC-PD28", "PEC-PD29", "PEC-PD30", "PEC-PD31";
};
+
+&mdio_netsec {
+ phy_netsec: ethernet-phy@7 {
+ compatible = "ethernet-phy-ieee802.3-c22";
+ reg = <7>;
+ };
+};