Laxman Dewangan | 8528547 | 2012-11-14 05:54:47 +0530 | [diff] [blame] | 1 | NVIDIA Tegra20 SFLASH controller. |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible : should be "nvidia,tegra20-sflash". |
| 5 | - reg: Should contain SFLASH registers location and length. |
| 6 | - interrupts: Should contain SFLASH interrupts. |
| 7 | - nvidia,dma-request-selector : The Tegra DMA controller's phandle and |
| 8 | request selector for this SFLASH controller. |
| 9 | |
| 10 | Recommended properties: |
| 11 | - spi-max-frequency: Definition as per |
| 12 | Documentation/devicetree/bindings/spi/spi-bus.txt |
| 13 | |
| 14 | Example: |
| 15 | |
Allen Martin | 6a79131 | 2012-12-14 11:05:12 -0800 | [diff] [blame] | 16 | spi@7000c380 { |
Laxman Dewangan | 8528547 | 2012-11-14 05:54:47 +0530 | [diff] [blame] | 17 | compatible = "nvidia,tegra20-sflash"; |
| 18 | reg = <0x7000c380 0x80>; |
| 19 | interrupts = <0 39 0x04>; |
| 20 | nvidia,dma-request-selector = <&apbdma 16>; |
| 21 | spi-max-frequency = <25000000>; |
| 22 | #address-cells = <1>; |
| 23 | #size-cells = <0>; |
| 24 | status = "disabled"; |
| 25 | }; |
| 26 | |