diff options
author | Yangbo Lu <yangbo.lu@nxp.com> | 2017-06-17 08:16:58 (GMT) |
---|---|---|
committer | Xie Xiaobo <xiaobo.xie@nxp.com> | 2017-09-25 07:25:47 (GMT) |
commit | a507f3d1cc2dbbb628fea45ee2b524e15d69b193 (patch) | |
tree | 3563659e949b3eb7dec83c07968db3023feb7d50 | |
parent | 49959577f83bdc48fc8c9f306dc6f5a3887689b7 (diff) | |
download | linux-a507f3d1cc2dbbb628fea45ee2b524e15d69b193.tar.xz |
dpaa_eth: use ptp-timer phandle instead of ptimer-handle
Layerscape DPAA platforms have updated dts to use ptp-timer phandle
instead of ptimer-handle for Fman RTC node. This patch is to
update it in driver.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
-rw-r--r-- | drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_common.c b/drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_common.c index e6c47a8..fbe61da 100644 --- a/drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_common.c +++ b/drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_common.c @@ -575,7 +575,7 @@ dpa_mac_probe(struct platform_device *_of_dev) } #ifdef CONFIG_FSL_DPAA_1588 - phandle_prop = of_get_property(mac_node, "ptimer-handle", &lenp); + phandle_prop = of_get_property(mac_node, "ptp-timer", &lenp); if (phandle_prop && ((mac_dev->phy_if != PHY_INTERFACE_MODE_SGMII) || ((mac_dev->phy_if == PHY_INTERFACE_MODE_SGMII) && (mac_dev->speed == SPEED_1000)))) { @@ -595,7 +595,7 @@ dpa_mac_probe(struct platform_device *_of_dev) if ((mac_dev->phy_if != PHY_INTERFACE_MODE_SGMII) || ((mac_dev->phy_if == PHY_INTERFACE_MODE_SGMII) && (mac_dev->speed == SPEED_1000))) { - ptp_priv.node = of_parse_phandle(mac_node, "ptimer-handle", 0); + ptp_priv.node = of_parse_phandle(mac_node, "ptp-timer", 0); if (ptp_priv.node) { ptp_priv.of_dev = of_find_device_by_node(ptp_priv.node); if (unlikely(ptp_priv.of_dev == NULL)) { |