dt-bindings: spi: Add fsl,ls1028a-dspi compatible
Subsystems (3)
PATCH v2 1/2 dt-bindings: spi: Add fsl,ls1028a-dspi compatible
---
changes since v1:
- none, this is a new patch
Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt +1 -0
@@ -7,6 +7,7 @@ Required properties: "fsl,ls2080a-dspi" followed by "fsl,ls2085a-dspi" "fsl,ls1012a-dspi" followed by "fsl,ls1021a-v1.0-dspi" "fsl,ls1088a-dspi" followed by "fsl,ls1021a-v1.0-dspi" + "fsl,ls1028a-dspi" followed by "fsl,ls1021a-v1.0-dspi" - reg : Offset and length of the register set for the device - interrupts : Should contain SPI controller interrupt - clocks: from common clock binding: handle to dspi clock.
Signature · 1 line
2.20.1
PATCH v2 2/2 arm64: dts: ls1028a: add missing SPI nodes
The LS1028A has three (dual) SPI controller. These are compatible with the ones from the LS1021A. Add the nodes.
The third controller was tested on a custom board.
---
changes since v1:
- add "fsl,ls1028a-dspi" compatible string
.../arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+)
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +39 -0
@@ -290,6 +290,45 @@ status = "disabled"; }; + dspi0: spi@2100000 { + compatible = "fsl,ls1028a-dspi", "fsl,ls1021a-v1.0-dspi"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x0 0x2100000 0x0 0x10000>; + interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>; + clock-names = "dspi"; + clocks = <&clockgen 4 1>; + spi-num-chipselects = <4>; + little-endian; + status = "disabled"; + }; + + dspi1: spi@2110000 { + compatible = "fsl,ls1028a-dspi", "fsl,ls1021a-v1.0-dspi"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x0 0x2110000 0x0 0x10000>; + interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>; + clock-names = "dspi"; + clocks = <&clockgen 4 1>; + spi-num-chipselects = <4>; + little-endian; + status = "disabled"; + }; + + dspi2: spi@2120000 { + compatible = "fsl,ls1028a-dspi", "fsl,ls1021a-v1.0-dspi"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x0 0x2120000 0x0 0x10000>; + interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>; + clock-names = "dspi"; + clocks = <&clockgen 4 1>; + spi-num-chipselects = <3>; + little-endian; + status = "disabled"; + }; + esdhc: mmc@2140000 { compatible = "fsl,ls1028a-esdhc", "fsl,esdhc"; reg = <0x0 0x2140000 0x0 0x10000>;
Signature · 1 line
2.20.1
Re: [PATCH v2 2/2] arm64: dts: ls1028a: add missing SPI nodes
Quoted 6 lines · Michael Walle
The LS1028A has three (dual) SPI controller. These are compatible with the ones from the LS1021A. Add the nodes.
The third controller was tested on a custom board.
Signed-off-by Michael Walle <[email protected]>
Applied this version, instead.
Shawn
Quoted 8 lines · Michael Walle
Signed-off-by Michael Walle <[email protected]>---
changes since v1:
- none, this is a new patchDocumentation/devicetree/bindings/spi/spi-fsl-dspi.txt | 1 + 1 file changed, 1 insertion(+)
Am 2020-02-18 18:14, schrieb Michael Walle:
Quoted 14 lines
Signed-off-by Michael Walle <[email protected]>---
changes since v1:
- none, this is a new patchDocumentation/devicetree/bindings/spi/spi-fsl-dspi.txt | 1 + 1 file changed, 1 insertion(+)Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt +0
-0
Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt Required properties: · line 13
Quoted 7 lines
Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt +1
-0@@ -7,6 +7,7 @@ Required properties: "fsl,ls2080a-dspi" followed by "fsl,ls2085a-dspi" "fsl,ls1012a-dspi" followed by "fsl,ls1021a-v1.0-dspi" "fsl,ls1088a-dspi" followed by "fsl,ls1021a-v1.0-dspi" + "fsl,ls1028a-dspi" followed by "fsl,ls1021a-v1.0-dspi" - reg : Offset and length of the register set for the device - interrupts : Should contain SPI controller interrupt - clocks: from common clock binding: handle to dspi clock.
This patch is be superseeded by
https://lore.kernel.org/lkml/[email protected]/
-michael