Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1402568 > unrolled thread
| Started by | Damien Riegel <damien.riegel@savoirfairelinux.com> |
|---|---|
| First post | 2016-05-17 22:20 +0200 |
| Last post | 2016-05-17 22:20 +0200 |
| Articles | 2 — 1 participant |
Back to article view | Back to linux.kernel
[PATCH 1/2] ARM: dts: TS-4800: add FPGA's IRQ controller support Damien Riegel <damien.riegel@savoirfairelinux.com> - 2016-05-17 22:20 +0200
[PATCH 2/2] ARM: dts: TS-4800: add CAN support Damien Riegel <damien.riegel@savoirfairelinux.com> - 2016-05-17 22:20 +0200
| From | Damien Riegel <damien.riegel@savoirfairelinux.com> |
|---|---|
| Date | 2016-05-17 22:20 +0200 |
| Subject | [PATCH 1/2] ARM: dts: TS-4800: add FPGA's IRQ controller support |
| Message-ID | <rzTDb-L2-1@gated-at.bofh.it> |
Enable FPGA's IRQ controller. It is in charge of dispatching interrupts
generated by IPs in the FPGA. The SoC is notified that an interrupt
occurred through a GPIO.
Signed-off-by: Damien Riegel <damien.riegel@savoirfairelinux.com>
---
arch/arm/boot/dts/imx51-ts4800.dts | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/arch/arm/boot/dts/imx51-ts4800.dts b/arch/arm/boot/dts/imx51-ts4800.dts
index 0ff76a1..2c89988 100644
--- a/arch/arm/boot/dts/imx51-ts4800.dts
+++ b/arch/arm/boot/dts/imx51-ts4800.dts
@@ -149,6 +149,19 @@
#size-cells = <1>;
ranges = <0 0 0 0x1d000>;
+ fpga_irqc: fpga_irqc@0,15000 {
+ compatible = "technologic,ts4800-irqc";
+ reg = <0x15000 0x1000>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_interrupt_fpga>;
+
+ interrupt-parent = <&gpio2>;
+ interrupts= <9 IRQ_TYPE_LEVEL_HIGH>;
+
+ interrupt-controller;
+ #interrupt-cells = <1>;
+ };
+
syscon: syscon@b0010000 {
compatible = "syscon", "simple-mfd";
reg = <0x10000 0x3d>;
@@ -228,6 +241,12 @@
>;
};
+ pinctrl_interrupt_fpga: fpgaicgrp {
+ fsl,pins = <
+ MX51_PAD_EIM_D27__GPIO2_9 0xe5
+ >;
+ };
+
pinctrl_lcd: lcdgrp {
fsl,pins = <
MX51_PAD_DISP1_DAT0__DISP1_DAT0 0x5
--
2.5.0
[toc] | [next] | [standalone]
| From | Damien Riegel <damien.riegel@savoirfairelinux.com> |
|---|---|
| Date | 2016-05-17 22:20 +0200 |
| Subject | [PATCH 2/2] ARM: dts: TS-4800: add CAN support |
| Message-ID | <rzTDb-L2-11@gated-at.bofh.it> |
| In reply to | #1402568 |
This enables support for the CAN controller located in the FPGA.
Signed-off-by: Damien Riegel <damien.riegel@savoirfairelinux.com>
---
arch/arm/boot/dts/imx51-ts4800.dts | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/boot/dts/imx51-ts4800.dts b/arch/arm/boot/dts/imx51-ts4800.dts
index 2c89988..41be82e 100644
--- a/arch/arm/boot/dts/imx51-ts4800.dts
+++ b/arch/arm/boot/dts/imx51-ts4800.dts
@@ -149,6 +149,16 @@
#size-cells = <1>;
ranges = <0 0 0 0x1d000>;
+ can@0,1a000 {
+ compatible = "technologic,sja1000";
+ reg = <0x1a000 0x00000100>;
+ interrupt-parent = <&fpga_irqc>;
+ interrupts = <1>;
+ reg-io-width = <2>;
+ nxp,tx-output-config = <0x06>;
+ nxp,external-clock-frequency = <24000000>;
+ };
+
fpga_irqc: fpga_irqc@0,15000 {
compatible = "technologic,ts4800-irqc";
reg = <0x15000 0x1000>;
--
2.5.0
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web