提交 1929d0b5 编写于 作者: V Vignesh R 提交者: Tony Lindgren

ARM: dts: DRA7: add entry for qspi mmap region

Add qspi memory mapped region entries for DRA7xx based SoCs. Also,
update the binding documents for the controller to document this change.
Signed-off-by: NVignesh R <vigneshr@ti.com>
Acked-by: NRob Herring <robh@kernel.org>
Signed-off-by: NTony Lindgren <tony@atomide.com>
上级 d01d8799
...@@ -15,6 +15,10 @@ Recommended properties: ...@@ -15,6 +15,10 @@ Recommended properties:
- spi-max-frequency: Definition as per - spi-max-frequency: Definition as per
Documentation/devicetree/bindings/spi/spi-bus.txt Documentation/devicetree/bindings/spi/spi-bus.txt
Optional properties:
- syscon-chipselects: Handle to system control region contains QSPI
chipselect register and offset of that register.
Example: Example:
qspi: qspi@4b300000 { qspi: qspi@4b300000 {
...@@ -26,3 +30,16 @@ qspi: qspi@4b300000 { ...@@ -26,3 +30,16 @@ qspi: qspi@4b300000 {
spi-max-frequency = <25000000>; spi-max-frequency = <25000000>;
ti,hwmods = "qspi"; ti,hwmods = "qspi";
}; };
For dra7xx:
qspi: qspi@4b300000 {
compatible = "ti,dra7xxx-qspi";
reg = <0x4b300000 0x100>,
<0x5c000000 0x4000000>,
reg-names = "qspi_base", "qspi_mmap";
syscon-chipselects = <&scm_conf 0x558>;
#address-cells = <1>;
#size-cells = <0>;
spi-max-frequency = <48000000>;
ti,hwmods = "qspi";
};
...@@ -1154,8 +1154,10 @@ ...@@ -1154,8 +1154,10 @@
qspi: qspi@4b300000 { qspi: qspi@4b300000 {
compatible = "ti,dra7xxx-qspi"; compatible = "ti,dra7xxx-qspi";
reg = <0x4b300000 0x100>; reg = <0x4b300000 0x100>,
reg-names = "qspi_base"; <0x5c000000 0x4000000>;
reg-names = "qspi_base", "qspi_mmap";
syscon-chipselects = <&scm_conf 0x558>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
ti,hwmods = "qspi"; ti,hwmods = "qspi";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册