]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: dts: TS-4800: add CAN support
authorDamien Riegel <damien.riegel@savoirfairelinux.com>
Thu, 9 Jun 2016 14:46:50 +0000 (10:46 -0400)
committerShawn Guo <shawnguo@kernel.org>
Thu, 9 Jun 2016 15:13:37 +0000 (23:13 +0800)
This enables support for the CAN controller located in the FPGA.

Signed-off-by: Damien Riegel <damien.riegel@savoirfairelinux.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx51-ts4800.dts

index 0e80fb7bfb2de5f47fd4ae21cbeb8ce0313c44cc..984c71b85561396c683e1fa801ae73e590cf9a78 100644 (file)
                        interrupt-controller;
                        #interrupt-cells = <1>;
                };
+
+               can@1a000 {
+                       compatible = "technologic,sja1000";
+                       reg = <0x1a000 0x100>;
+                       interrupt-parent = <&fpga_irqc>;
+                       interrupts = <1>;
+                       reg-io-width = <2>;
+                       nxp,tx-output-config = <0x06>;
+                       nxp,external-clock-frequency = <24000000>;
+               };
        };
 };