diff options
author | Romain Perier <romain.perier@free-electrons.com> | 2016-12-08 09:58:47 -0500 |
---|---|---|
committer | Gregory CLEMENT <gregory.clement@free-electrons.com> | 2017-01-03 10:12:52 -0500 |
commit | bc35739354583053e4a3835f2991d0d52798b87f (patch) | |
tree | d81fa3f55c938e89b5d74475ecd9109f2060462c | |
parent | e09dfa8fa57aac3f66581b8f5c7fa43d152eaa4f (diff) |
arm64: dts: marvell: Enable spi0 on the board Armada-3720-db
This commit enables the device node spi0 on the official development
board for the Marvell Armada 3700. It also adds sub-node for the 128Mb
SPI-NOR present on the board.
Signed-off-by: Romain Perier <romain.perier@free-electrons.com>
Tested-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
-rw-r--r-- | arch/arm64/boot/dts/marvell/armada-3720-db.dts | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/marvell/armada-3720-db.dts b/arch/arm64/boot/dts/marvell/armada-3720-db.dts index 89de0a751093..0c236d8306fc 100644 --- a/arch/arm64/boot/dts/marvell/armada-3720-db.dts +++ b/arch/arm64/boot/dts/marvell/armada-3720-db.dts | |||
@@ -67,6 +67,36 @@ | |||
67 | status = "okay"; | 67 | status = "okay"; |
68 | }; | 68 | }; |
69 | 69 | ||
70 | &spi0 { | ||
71 | status = "okay"; | ||
72 | |||
73 | m25p80@0 { | ||
74 | compatible = "jedec,spi-nor"; | ||
75 | reg = <0>; | ||
76 | spi-max-frequency = <108000000>; | ||
77 | spi-rx-bus-width = <4>; | ||
78 | spi-tx-bus-width = <4>; | ||
79 | |||
80 | partitions { | ||
81 | compatible = "fixed-partitions"; | ||
82 | #address-cells = <1>; | ||
83 | #size-cells = <1>; | ||
84 | partition@0 { | ||
85 | label = "bootloader"; | ||
86 | reg = <0x0 0x200000>; | ||
87 | }; | ||
88 | partition@200000 { | ||
89 | label = "U-boot Env"; | ||
90 | reg = <0x200000 0x10000>; | ||
91 | }; | ||
92 | partition@210000 { | ||
93 | label = "Linux"; | ||
94 | reg = <0x210000 0xDF0000>; | ||
95 | }; | ||
96 | }; | ||
97 | }; | ||
98 | }; | ||
99 | |||
70 | /* Exported on the micro USB connector CON32 through an FTDI */ | 100 | /* Exported on the micro USB connector CON32 through an FTDI */ |
71 | &uart0 { | 101 | &uart0 { |
72 | status = "okay"; | 102 | status = "okay"; |