summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx6qdl.dtsi
diff options
context:
space:
mode:
authorDong Aisheng <b29396@freescale.com>2014-02-24 14:25:12 +0800
committerNitin Garg <nitin.garg@freescale.com>2015-01-15 21:17:30 -0600
commite66123214cdfdcbe4dbfe6a93c9572281299bbaa (patch)
tree78c6d58dd5ff44f24845fb8f1c0c09118f061f66 /arch/arm/boot/dts/imx6qdl.dtsi
parentab1843096323070396a0adec016c5d67c07eb9ad (diff)
ENGR00300439-5 can: flexcan: parse stop mode control bits from device tree
Starting from IMX6, the flexcan stop mode control bits is SoC specific, move it out of IP driver and parse it from devicetree. It's good from maintain perspective and can avoid adding too many SoC specifi bits in driver but with no IP changes when the IMX SoC series keep growing. Signed-off-by: Dong Aisheng <b29396@freescale.com> (cherry picked from commit 97b99b59c9f09d58ea35f3c0cf58665c20f2e292)
Diffstat (limited to 'arch/arm/boot/dts/imx6qdl.dtsi')
-rw-r--r--arch/arm/boot/dts/imx6qdl.dtsi6
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi
index a0d8bf59d878..a1d98493d7e0 100644
--- a/arch/arm/boot/dts/imx6qdl.dtsi
+++ b/arch/arm/boot/dts/imx6qdl.dtsi
@@ -17,8 +17,6 @@
/ {
aliases {
- flexcan0 = &flexcan1;
- flexcan1 = &flexcan2;
gpio0 = &gpio1;
gpio1 = &gpio2;
gpio2 = &gpio3;
@@ -417,7 +415,7 @@
clocks = <&clks IMX6QDL_CLK_CAN1_IPG>,
<&clks IMX6QDL_CLK_CAN1_SERIAL>;
clock-names = "ipg", "per";
- gpr = <&gpr>;
+ stop-mode = <&gpr 0x34 28 0x10 17>;
status = "disabled";
};
@@ -428,7 +426,7 @@
clocks = <&clks IMX6QDL_CLK_CAN2_IPG>,
<&clks IMX6QDL_CLK_CAN2_SERIAL>;
clock-names = "ipg", "per";
- gpr = <&gpr>;
+ stop-mode = <&gpr 0x34 29 0x10 18>;
status = "disabled";
};