arm64: dts: ls1028a: add missing CAN nodes
authorMichael Walle <michael@walle.cc>
Thu, 1 Oct 2020 09:11:30 +0000 (11:11 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Oct 2021 08:04:27 +0000 (10:04 +0200)
[ Upstream commit 04fa4f03e3533f51b4db19cb487435f5862a0514 ]

The LS1028A has two FlexCAN controller. These are compatible with
the ones from the LX2160A. Add the nodes.

The first controller was tested on the Kontron sl28 board.

Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi

index 5f42904d53ab6d420d474270d54d5367c5ee6a59..580690057601c546b030cdb33a447f30b464edcc 100644 (file)
                        status = "disabled";
                };
 
+               can0: can@2180000 {
+                       compatible = "fsl,ls1028ar1-flexcan", "fsl,lx2160ar1-flexcan";
+                       reg = <0x0 0x2180000 0x0 0x10000>;
+                       interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&sysclk>, <&clockgen 4 1>;
+                       clock-names = "ipg", "per";
+                       status = "disabled";
+               };
+
+               can1: can@2190000 {
+                       compatible = "fsl,ls1028ar1-flexcan", "fsl,lx2160ar1-flexcan";
+                       reg = <0x0 0x2190000 0x0 0x10000>;
+                       interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&sysclk>, <&clockgen 4 1>;
+                       clock-names = "ipg", "per";
+                       status = "disabled";
+               };
+
                duart0: serial@21c0500 {
                        compatible = "fsl,ns16550", "ns16550a";
                        reg = <0x00 0x21c0500 0x0 0x100>;