diff options
author | Geert Uytterhoeven <geert+renesas@linux-m68k.org> | 2014-02-10 05:47:30 -0500 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2014-02-13 00:32:24 -0500 |
commit | 9fe7c4f810a7e82c4a1a9765017f9cb2c2b40a65 (patch) | |
tree | da98fc0af1e3fc70398a216daa194f7ef1fe024d | |
parent | 7053e134a17d29e023dd4c55643ea4af9c534ccf (diff) |
ARM: shmobile: lager dts: Add QSPI nodes
Add pinctrl and SPI devices for QSPI on Lager.
Add Spansion s25fl512s SPI FLASH and MTD partitions.
Signed-off-by: Geert Uytterhoeven <geert+renesas@linux-m68k.org>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
-rw-r--r-- | arch/arm/boot/dts/r8a7790-lager.dts | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts index 1081c5e91ac4..adff2dc4012d 100644 --- a/arch/arm/boot/dts/r8a7790-lager.dts +++ b/arch/arm/boot/dts/r8a7790-lager.dts | |||
@@ -80,6 +80,11 @@ | |||
80 | renesas,groups = "mmc1_data8", "mmc1_ctrl"; | 80 | renesas,groups = "mmc1_data8", "mmc1_ctrl"; |
81 | renesas,function = "mmc1"; | 81 | renesas,function = "mmc1"; |
82 | }; | 82 | }; |
83 | |||
84 | qspi_pins: spi { | ||
85 | renesas,groups = "qspi_ctrl", "qspi_data4"; | ||
86 | renesas,function = "qspi"; | ||
87 | }; | ||
83 | }; | 88 | }; |
84 | 89 | ||
85 | &mmcif1 { | 90 | &mmcif1 { |
@@ -95,3 +100,34 @@ | |||
95 | &sata1 { | 100 | &sata1 { |
96 | status = "okay"; | 101 | status = "okay"; |
97 | }; | 102 | }; |
103 | |||
104 | &spi { | ||
105 | pinctrl-0 = <&qspi_pins>; | ||
106 | pinctrl-names = "default"; | ||
107 | |||
108 | status = "okay"; | ||
109 | |||
110 | flash: flash@0 { | ||
111 | #address-cells = <1>; | ||
112 | #size-cells = <1>; | ||
113 | compatible = "spansion,s25fl512s"; | ||
114 | reg = <0>; | ||
115 | spi-max-frequency = <30000000>; | ||
116 | m25p,fast-read; | ||
117 | |||
118 | partition@0 { | ||
119 | label = "loader"; | ||
120 | reg = <0x00000000 0x00040000>; | ||
121 | read-only; | ||
122 | }; | ||
123 | partition@40000 { | ||
124 | label = "user"; | ||
125 | reg = <0x00040000 0x00400000>; | ||
126 | read-only; | ||
127 | }; | ||
128 | partition@440000 { | ||
129 | label = "flash"; | ||
130 | reg = <0x00440000 0x03bc0000>; | ||
131 | }; | ||
132 | }; | ||
133 | }; | ||