Commit 9424e7f0 authored by Adam Ford's avatar Adam Ford Committed by Shawn Guo

arm64: dts: imx8mp: Enable spba-bus on AIPS3

There is an SPBA bus on AIPS3 which includes ecspi1-3,
UART1-3, and Flexcan1-2 according to the TRM.
Signed-off-by: default avatarAdam Ford <aford173@gmail.com>
Reviewed-by: default avatarMarco Felsch <m.felsch@pengutronix.de>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 3d6e48e8
...@@ -730,121 +730,129 @@ aips3: bus@30800000 { ...@@ -730,121 +730,129 @@ aips3: bus@30800000 {
#size-cells = <1>; #size-cells = <1>;
ranges; ranges;
ecspi1: spi@30820000 { spba-bus@30800000 {
compatible = "fsl,spba-bus", "simple-bus";
reg = <0x30800000 0x100000>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <1>;
compatible = "fsl,imx8mp-ecspi", "fsl,imx6ul-ecspi"; ranges;
reg = <0x30820000 0x10000>;
interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk IMX8MP_CLK_ECSPI1_ROOT>,
<&clk IMX8MP_CLK_ECSPI1_ROOT>;
clock-names = "ipg", "per";
assigned-clock-rates = <80000000>;
assigned-clocks = <&clk IMX8MP_CLK_ECSPI1>;
assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_800M>;
dmas = <&sdma1 0 7 1>, <&sdma1 1 7 2>;
dma-names = "rx", "tx";
status = "disabled";
};
ecspi2: spi@30830000 { ecspi1: spi@30820000 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
compatible = "fsl,imx8mp-ecspi", "fsl,imx6ul-ecspi"; compatible = "fsl,imx8mp-ecspi", "fsl,imx6ul-ecspi";
reg = <0x30830000 0x10000>; reg = <0x30820000 0x10000>;
interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk IMX8MP_CLK_ECSPI2_ROOT>, clocks = <&clk IMX8MP_CLK_ECSPI1_ROOT>,
<&clk IMX8MP_CLK_ECSPI2_ROOT>; <&clk IMX8MP_CLK_ECSPI1_ROOT>;
clock-names = "ipg", "per"; clock-names = "ipg", "per";
assigned-clock-rates = <80000000>; assigned-clock-rates = <80000000>;
assigned-clocks = <&clk IMX8MP_CLK_ECSPI2>; assigned-clocks = <&clk IMX8MP_CLK_ECSPI1>;
assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_800M>; assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_800M>;
dmas = <&sdma1 2 7 1>, <&sdma1 3 7 2>; dmas = <&sdma1 0 7 1>, <&sdma1 1 7 2>;
dma-names = "rx", "tx"; dma-names = "rx", "tx";
status = "disabled"; status = "disabled";
}; };
ecspi3: spi@30840000 { ecspi2: spi@30830000 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
compatible = "fsl,imx8mp-ecspi", "fsl,imx6ul-ecspi"; compatible = "fsl,imx8mp-ecspi", "fsl,imx6ul-ecspi";
reg = <0x30840000 0x10000>; reg = <0x30830000 0x10000>;
interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk IMX8MP_CLK_ECSPI3_ROOT>, clocks = <&clk IMX8MP_CLK_ECSPI2_ROOT>,
<&clk IMX8MP_CLK_ECSPI3_ROOT>; <&clk IMX8MP_CLK_ECSPI2_ROOT>;
clock-names = "ipg", "per"; clock-names = "ipg", "per";
assigned-clock-rates = <80000000>; assigned-clock-rates = <80000000>;
assigned-clocks = <&clk IMX8MP_CLK_ECSPI3>; assigned-clocks = <&clk IMX8MP_CLK_ECSPI2>;
assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_800M>; assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_800M>;
dmas = <&sdma1 4 7 1>, <&sdma1 5 7 2>; dmas = <&sdma1 2 7 1>, <&sdma1 3 7 2>;
dma-names = "rx", "tx"; dma-names = "rx", "tx";
status = "disabled"; status = "disabled";
}; };
uart1: serial@30860000 { ecspi3: spi@30840000 {
compatible = "fsl,imx8mp-uart", "fsl,imx6q-uart"; #address-cells = <1>;
reg = <0x30860000 0x10000>; #size-cells = <0>;
interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>; compatible = "fsl,imx8mp-ecspi", "fsl,imx6ul-ecspi";
clocks = <&clk IMX8MP_CLK_UART1_ROOT>, reg = <0x30840000 0x10000>;
<&clk IMX8MP_CLK_UART1_ROOT>; interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
clock-names = "ipg", "per"; clocks = <&clk IMX8MP_CLK_ECSPI3_ROOT>,
dmas = <&sdma1 22 4 0>, <&sdma1 23 4 0>; <&clk IMX8MP_CLK_ECSPI3_ROOT>;
dma-names = "rx", "tx"; clock-names = "ipg", "per";
status = "disabled"; assigned-clock-rates = <80000000>;
}; assigned-clocks = <&clk IMX8MP_CLK_ECSPI3>;
assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_800M>;
dmas = <&sdma1 4 7 1>, <&sdma1 5 7 2>;
dma-names = "rx", "tx";
status = "disabled";
};
uart3: serial@30880000 { uart1: serial@30860000 {
compatible = "fsl,imx8mp-uart", "fsl,imx6q-uart"; compatible = "fsl,imx8mp-uart", "fsl,imx6q-uart";
reg = <0x30880000 0x10000>; reg = <0x30860000 0x10000>;
interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk IMX8MP_CLK_UART3_ROOT>, clocks = <&clk IMX8MP_CLK_UART1_ROOT>,
<&clk IMX8MP_CLK_UART3_ROOT>; <&clk IMX8MP_CLK_UART1_ROOT>;
clock-names = "ipg", "per"; clock-names = "ipg", "per";
dmas = <&sdma1 26 4 0>, <&sdma1 27 4 0>; dmas = <&sdma1 22 4 0>, <&sdma1 23 4 0>;
dma-names = "rx", "tx"; dma-names = "rx", "tx";
status = "disabled"; status = "disabled";
}; };
uart2: serial@30890000 { uart3: serial@30880000 {
compatible = "fsl,imx8mp-uart", "fsl,imx6q-uart"; compatible = "fsl,imx8mp-uart", "fsl,imx6q-uart";
reg = <0x30890000 0x10000>; reg = <0x30880000 0x10000>;
interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk IMX8MP_CLK_UART2_ROOT>, clocks = <&clk IMX8MP_CLK_UART3_ROOT>,
<&clk IMX8MP_CLK_UART2_ROOT>; <&clk IMX8MP_CLK_UART3_ROOT>;
clock-names = "ipg", "per"; clock-names = "ipg", "per";
dmas = <&sdma1 24 4 0>, <&sdma1 25 4 0>; dmas = <&sdma1 26 4 0>, <&sdma1 27 4 0>;
dma-names = "rx", "tx"; dma-names = "rx", "tx";
status = "disabled"; status = "disabled";
}; };
flexcan1: can@308c0000 { uart2: serial@30890000 {
compatible = "fsl,imx8mp-flexcan"; compatible = "fsl,imx8mp-uart", "fsl,imx6q-uart";
reg = <0x308c0000 0x10000>; reg = <0x30890000 0x10000>;
interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk IMX8MP_CLK_IPG_ROOT>, clocks = <&clk IMX8MP_CLK_UART2_ROOT>,
<&clk IMX8MP_CLK_CAN1_ROOT>; <&clk IMX8MP_CLK_UART2_ROOT>;
clock-names = "ipg", "per"; clock-names = "ipg", "per";
assigned-clocks = <&clk IMX8MP_CLK_CAN1>; dmas = <&sdma1 24 4 0>, <&sdma1 25 4 0>;
assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_40M>; dma-names = "rx", "tx";
assigned-clock-rates = <40000000>; status = "disabled";
fsl,clk-source = /bits/ 8 <0>; };
fsl,stop-mode = <&gpr 0x10 4>;
status = "disabled";
};
flexcan2: can@308d0000 { flexcan1: can@308c0000 {
compatible = "fsl,imx8mp-flexcan"; compatible = "fsl,imx8mp-flexcan";
reg = <0x308d0000 0x10000>; reg = <0x308c0000 0x10000>;
interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk IMX8MP_CLK_IPG_ROOT>, clocks = <&clk IMX8MP_CLK_IPG_ROOT>,
<&clk IMX8MP_CLK_CAN2_ROOT>; <&clk IMX8MP_CLK_CAN1_ROOT>;
clock-names = "ipg", "per"; clock-names = "ipg", "per";
assigned-clocks = <&clk IMX8MP_CLK_CAN2>; assigned-clocks = <&clk IMX8MP_CLK_CAN1>;
assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_40M>; assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_40M>;
assigned-clock-rates = <40000000>; assigned-clock-rates = <40000000>;
fsl,clk-source = /bits/ 8 <0>; fsl,clk-source = /bits/ 8 <0>;
fsl,stop-mode = <&gpr 0x10 5>; fsl,stop-mode = <&gpr 0x10 4>;
status = "disabled"; status = "disabled";
};
flexcan2: can@308d0000 {
compatible = "fsl,imx8mp-flexcan";
reg = <0x308d0000 0x10000>;
interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk IMX8MP_CLK_IPG_ROOT>,
<&clk IMX8MP_CLK_CAN2_ROOT>;
clock-names = "ipg", "per";
assigned-clocks = <&clk IMX8MP_CLK_CAN2>;
assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_40M>;
assigned-clock-rates = <40000000>;
fsl,clk-source = /bits/ 8 <0>;
fsl,stop-mode = <&gpr 0x10 5>;
status = "disabled";
};
}; };
crypto: crypto@30900000 { crypto: crypto@30900000 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment