Add SPI nodes to Altera SOCFPGA DT
Subsystems (2)
PATCH v4 1/1 Add SPI nodes to Altera SOCFPGA DT
From: Thor Thayer <[email protected]>
This patch adds the SPI nodes to the SOCFPGA device tree. Both nodes are left in the disabled state since no devices are present on the development boards.
Thor Thayer (1):
arm: dts: socfpga: Add SPI nodes to SOCFPGA DT.
arch/arm/boot/dts/socfpga.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+)
Signature · 6 lines
1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
PATCH v4 1/1 arm: dts: socfpga: Add SPI nodes to SOCFPGA DT.
In reply to a message not in the archiveFrom: Thor Thayer <[email protected]>
Add 2 SPI nodes to SOCFPGA device tree.
---
v2: Remove extra files. Move SPIDEV into board specific file.
v3: Remove dts file since SPIDEV is not allowed.
v4: Remove bus-num since it is unused and not defined in bindings.
--- arch/arm/boot/dts/socfpga.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+)
arch/arm/boot/dts/socfpga.dtsi +22 -0
@@ -628,6 +628,28 @@ clock-names = "biu", "ciu"; }; + spi0: spi@fff00000 { + compatible = "snps,dw-apb-ssi"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0xfff00000 0x1000>; + interrupts = <0 154 4>; + num-cs = <4>; + clocks = <&spi_m_clk>; + status = "disabled"; + }; + + spi1: spi@fff01000 { + compatible = "snps,dw-apb-ssi"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0xfff01000 0x1000>; + interrupts = <0 156 4>; + num-cs = <4>; + clocks = <&spi_m_clk>; + status = "disabled"; + }; + /* Local timer */ timer@fffec600 { compatible = "arm,cortex-a9-twd-timer";
Signature · 6 lines
1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Dinh Nguyen
AppliedRe: [PATCHv4] arm: dts: socfpga: Add SPI nodes to SOCFPGA DT.
In reply to a message not in the archiveQuoted 50 lines · On Tue, 21 Oct 2014, [email protected]…
From: Thor Thayer <[email protected]>
Add 2 SPI nodes to SOCFPGA device tree.
Signed-off-by Thor Thayer <[email protected]>---
v2: Remove extra files. Move SPIDEV into board specific file.v3: Remove dts file since SPIDEV is not allowed.
v4: Remove bus-num since it is unused and not defined in bindings.
--- arch/arm/boot/dts/socfpga.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+)arch/arm/boot/dts/socfpga.dtsi +22
-0@@ -628,6 +628,28 @@ clock-names = "biu", "ciu"; }; + spi0: spi@fff00000 { + compatible = "snps,dw-apb-ssi"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0xfff00000 0x1000>; + interrupts = <0 154 4>; + num-cs = <4>; + clocks = <&spi_m_clk>; + status = "disabled"; + }; + + spi1: spi@fff01000 { + compatible = "snps,dw-apb-ssi"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0xfff01000 0x1000>; + interrupts = <0 156 4>; + num-cs = <4>; + clocks = <&spi_m_clk>; + status = "disabled"; + }; + /* Local timer */ timer@fffec600 { compatible = "arm,cortex-a9-twd-timer";Signature · 1 line
1.7.9.5
Applied to git.rocketboards.org/linux-socfpga-next.git next-dt.
BR,
Dinh
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html