2012-11-14 07:24:47 +07: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-07 04:00:25 +07:00
|
|
|
- clocks : Must contain one entry, for the module clock.
|
|
|
|
See ../clocks/clock-bindings.txt for details.
|
2013-11-08 00:11:27 +07: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-12 03:04:19 +07: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 07:24:47 +07:00
|
|
|
|
|
|
|
Recommended properties:
|
|
|
|
- spi-max-frequency: Definition as per
|
|
|
|
Documentation/devicetree/bindings/spi/spi-bus.txt
|
|
|
|
|
|
|
|
Example:
|
|
|
|
|
2012-12-15 02:05:12 +07:00
|
|
|
spi@7000c380 {
|
2012-11-14 07:24:47 +07:00
|
|
|
compatible = "nvidia,tegra20-sflash";
|
|
|
|
reg = <0x7000c380 0x80>;
|
|
|
|
interrupts = <0 39 0x04>;
|
|
|
|
spi-max-frequency = <25000000>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
2013-11-07 04:00:25 +07:00
|
|
|
clocks = <&tegra_car 43>;
|
2013-11-08 00:11:27 +07:00
|
|
|
resets = <&tegra_car 43>;
|
|
|
|
reset-names = "spi";
|
2013-11-12 03:04:19 +07:00
|
|
|
dmas = <&apbdma 11>, <&apbdma 11>;
|
|
|
|
dma-names = "rx", "tx";
|
2012-11-14 07:24:47 +07:00
|
|
|
};
|