[PATCH linux dev-4.7 10/12] ARM: dts: aspeed: update SMC controller nodes supporting DMAs
Cédric Le Goater
clg at kaod.org
Fri Oct 14 23:38:02 AEDT 2016
Signed-off-by: Cédric Le Goater <clg at kaod.org>
---
Documentation/devicetree/bindings/mtd/aspeed-smc.txt | 4 +++-
arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts | 2 ++
arch/arm/boot/dts/aspeed-g5.dtsi | 2 ++
3 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/mtd/aspeed-smc.txt b/Documentation/devicetree/bindings/mtd/aspeed-smc.txt
index 6ef55b5db3dc..9154d2a2e66c 100644
--- a/Documentation/devicetree/bindings/mtd/aspeed-smc.txt
+++ b/Documentation/devicetree/bindings/mtd/aspeed-smc.txt
@@ -17,11 +17,13 @@ Required properties:
"aspeed,ast2500-smc" for the AST2500 SPI Flash Controllers
- reg : the first contains the control register location and length,
the second contains the memory window mapping address and length
- - interrupts : Should contain the interrupt for the dma device if an fmc
- clocks : The APB clock input to the controller
- #address-cells : must be 1 corresponding to chip select child binding
- #size-cells : must be 0 corresponding to chip select child binding
+Optional properties:
+ - aspeed,fmc-has-dma : controller supports DMA transfers
+ - interrupts : Should contain the interrupt for the dma device if an fmc
Child node required properties:
- reg : must contain chip select number in first cell of address, must
diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts b/arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts
index 5c689613e5bd..a6ebab1bfe2b 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts
@@ -43,6 +43,8 @@
#address-cells = <1>;
#size-cells = <0>;
compatible = "aspeed,ast2400-fmc";
+ aspeed,fmc-has-dma;
+ interrupts = <19>;
flash at 0 {
reg = < 0 >;
compatible = "jedec,spi-nor" ;
diff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi
index eeeb5d1505f1..3f64ba212faf 100644
--- a/arch/arm/boot/dts/aspeed-g5.dtsi
+++ b/arch/arm/boot/dts/aspeed-g5.dtsi
@@ -31,6 +31,8 @@
#size-cells = <0>;
compatible = "aspeed,ast2500-fmc";
status = "disabled";
+ aspeed,fmc-has-dma;
+ interrupts = <19>;
flash at 0 {
reg = < 0 >;
compatible = "jedec,spi-nor";
--
2.7.4
More information about the openbmc
mailing list