From: Yangbo Lu <yangbo.lu@nxp.com>
To: <netdev@vger.kernel.org>
Cc: Rob Herring <robh+dt@kernel.org>,
Andy Fleming <afleming@gmail.com>,
Kumar Gala <galak@codeaurora.org>,
Claudiu Manoil <claudiu.manoil@freescale.com>,
Richard Cochran <richardcochran@gmail.com>,
Yangbo Lu <yangbo.lu@nxp.com>
Subject: [v2, 1/3] ARM: dts: ls1021a: add 1588 timer node
Date: Wed, 24 Feb 2016 17:26:54 +0800 [thread overview]
Message-ID: <1456306016-29723-2-git-send-email-yangbo.lu@nxp.com> (raw)
In-Reply-To: <1456306016-29723-1-git-send-email-yangbo.lu@nxp.com>
Add the 1588 timer node for ls1021a platform to
support gianfar ptp driver.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
---
Changes for v2:
- Modified commit message
---
arch/arm/boot/dts/ls1021a.dtsi | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi
index 2c84ca2..ecf12dc 100644
--- a/arch/arm/boot/dts/ls1021a.dtsi
+++ b/arch/arm/boot/dts/ls1021a.dtsi
@@ -457,6 +457,18 @@
reg = <0x0 0x2d24000 0x0 0x4000>;
};
+ ptp_clock@2d10e00 {
+ compatible = "fsl,etsec-ptp";
+ reg = <0x0 0x2d10e00 0x0 0xb0>;
+ interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
+ fsl,tclk-period = <5>;
+ fsl,tmr-prsc = <2>;
+ fsl,tmr-add = <0xaaaaaaab>;
+ fsl,tmr-fiper1 = <999999990>;
+ fsl,tmr-fiper2 = <99990>;
+ fsl,max-adj = <499999999>;
+ };
+
enet0: ethernet@2d10000 {
compatible = "fsl,etsec2";
device_type = "network";
--
2.1.0.27.g96db324
next prev parent reply other threads:[~2016-02-24 9:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-24 9:26 [v2, 0/3] Add PTP support for ls1021a platform Yangbo Lu
2016-02-24 9:26 ` Yangbo Lu [this message]
2016-02-24 9:26 ` [v2, 2/3] gianfar_ptp: replace get_of_u32 with of_property_read_u32 Yangbo Lu
2016-02-24 9:26 ` [v2, 3/3] gianfar: fix endianness for hardware timestamp Yangbo Lu
2016-02-25 21:22 ` [v2, 0/3] Add PTP support for ls1021a platform David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1456306016-29723-2-git-send-email-yangbo.lu@nxp.com \
--to=yangbo.lu@nxp.com \
--cc=afleming@gmail.com \
--cc=claudiu.manoil@freescale.com \
--cc=galak@codeaurora.org \
--cc=netdev@vger.kernel.org \
--cc=richardcochran@gmail.com \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).