summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2018-12-04 10:37:01 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2019-01-30 19:19:56 +0100
commitcb9c09a669be79db5214ac557cab6240198ccaf2 (patch)
tree3df5856b94f36b4257955762b8541aa5696ccd0c
parent25120bbbc9031583c52ebf98939ffa531b0ccbca (diff)
fsl-imx8qm-device.dtsi: lpspi2: add node
While at it set the assigned clock to 24 MHz, as that it what results with the 20 MHz currently used. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 8fff1693a6be6b0401a5da6cadfd9325f22becc8)
-rw-r--r--arch/arm64/boot/dts/freescale/fsl-imx8qm-device.dtsi16
1 files changed, 15 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8qm-device.dtsi b/arch/arm64/boot/dts/freescale/fsl-imx8qm-device.dtsi
index 6d2fb4f5644e..bfe898a4a4c0 100644
--- a/arch/arm64/boot/dts/freescale/fsl-imx8qm-device.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-imx8qm-device.dtsi
@@ -2971,11 +2971,25 @@
<&clk IMX8QM_SPI0_IPG_CLK>;
clock-names = "per", "ipg";
assigned-clocks = <&clk IMX8QM_SPI0_CLK>;
- assigned-clock-rates = <20000000>;
+ assigned-clock-rates = <24000000>;
power-domains = <&pd_dma_lpspi0>;
status = "disabled";
};
+ lpspi2: lpspi@5a020000 {
+ compatible = "fsl,imx7ulp-spi";
+ reg = <0x0 0x5a020000 0x0 0x10000>;
+ interrupts = <GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-parent = <&gic>;
+ clocks = <&clk IMX8QM_SPI2_CLK>,
+ <&clk IMX8QM_SPI2_IPG_CLK>;
+ clock-names = "per", "ipg";
+ assigned-clocks = <&clk IMX8QM_SPI2_CLK>;
+ assigned-clock-rates = <24000000>;
+ power-domains = <&pd_dma_lpspi2>;
+ status = "disabled";
+ };
+
lpuart0: serial@5a060000 {
compatible = "fsl,imx8qm-lpuart";
reg = <0x0 0x5a060000 0x0 0x1000>;