[PATCH v2 2/5] arm/dts: Add nodes for flexcan devices present on LS1021A SoC
Bhupesh Sharma
bhupesh.sharma at freescale.com
Thu May 14 04:33:32 PDT 2015
From: Sakar Arora <Sakar.Arora at freescale.com>
This patch adds the device nodes for flexcan controller(s) present
on LS1021A SoC.
Signed-off-by: Bhupesh Sharma <bhupesh.sharma at freescale.com>
Signed-off-by: Sakar Arora <Sakar.Arora at freescale.com>
---
arch/arm/boot/dts/ls1021a-qds.dts | 8 ++++++++
arch/arm/boot/dts/ls1021a.dtsi | 18 ++++++++++++++++++
2 files changed, 26 insertions(+)
diff --git a/arch/arm/boot/dts/ls1021a-qds.dts b/arch/arm/boot/dts/ls1021a-qds.dts
index 9c5e16b..1641a04 100644
--- a/arch/arm/boot/dts/ls1021a-qds.dts
+++ b/arch/arm/boot/dts/ls1021a-qds.dts
@@ -238,3 +238,11 @@
&uart1 {
status = "okay";
};
+
+&can0 {
+ status = "okay";
+};
+
+&can1 {
+ status = "okay";
+};
diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi
index c70bb27..3fb7b52 100644
--- a/arch/arm/boot/dts/ls1021a.dtsi
+++ b/arch/arm/boot/dts/ls1021a.dtsi
@@ -332,6 +332,24 @@
status = "disabled";
};
+ can0: can at 2a70000 {
+ compatible = "fsl,ls1021a-flexcan";
+ reg = <0x0 0x2a70000 0x0 0x1000>;
+ interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&platform_clk 1>, <&platform_clk 1>;;
+ clock-names = "ipg", "per";
+ little-endian;
+ };
+
+ can1: can at 2a80000 {
+ compatible = "fsl,ls1021a-flexcan";
+ reg = <0x0 0x2a80000 0x0 0x1000>;
+ interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&platform_clk 1>, <&platform_clk 1>;;
+ clock-names = "ipg", "per";
+ little-endian;
+ };
+
wdog0: watchdog at 2ad0000 {
compatible = "fsl,imx21-wdt";
reg = <0x0 0x2ad0000 0x0 0x10000>;
--
1.7.9.5
More information about the linux-arm-kernel
mailing list