2012-11-14 00:24:47 +00:00
|
|
|
NVIDIA Tegra20 SFLASH controller.
|
|
|
|
|
|
|
|
Required properties:
|
|
|
|
- compatible : should be "nvidia,tegra20-sflash".
|
|
|
|
- reg: Should contain SFLASH registers location and length.
|
|
|
|
- interrupts: Should contain SFLASH interrupts.
|
2013-11-06 21:00:25 +00:00
|
|
|
- clocks : Must contain one entry, for the module clock.
|
|
|
|
See ../clocks/clock-bindings.txt for details.
|
2013-11-07 17:11:27 +00:00
|
|
|
- resets : Must contain an entry for each entry in reset-names.
|
|
|
|
See ../reset/reset.txt for details.
|
|
|
|
- reset-names : Must include the following entries:
|
|
|
|
- spi
|
2013-11-11 20:04:19 +00:00
|
|
|
- dmas : Must contain an entry for each entry in clock-names.
|
|
|
|
See ../dma/dma.txt for details.
|
|
|
|
- dma-names : Must include the following entries:
|
|
|
|
- rx
|
|
|
|
- tx
|
2012-11-14 00:24:47 +00:00
|
|
|
|
|
|
|
Recommended properties:
|
|
|
|
- spi-max-frequency: Definition as per
|
|
|
|
Documentation/devicetree/bindings/spi/spi-bus.txt
|
|
|
|
|
|
|
|
Example:
|
|
|
|
|
2012-12-14 19:05:12 +00:00
|
|
|
spi@7000c380 {
|
2012-11-14 00:24:47 +00:00
|
|
|
compatible = "nvidia,tegra20-sflash";
|
|
|
|
reg = <0x7000c380 0x80>;
|
|
|
|
interrupts = <0 39 0x04>;
|
|
|
|
spi-max-frequency = <25000000>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
2013-11-06 21:00:25 +00:00
|
|
|
clocks = <&tegra_car 43>;
|
2013-11-07 17:11:27 +00:00
|
|
|
resets = <&tegra_car 43>;
|
|
|
|
reset-names = "spi";
|
2013-11-11 20:04:19 +00:00
|
|
|
dmas = <&apbdma 11>, <&apbdma 11>;
|
|
|
|
dma-names = "rx", "tx";
|
2012-11-14 00:24:47 +00:00
|
|
|
status = "disabled";
|
|
|
|
};
|