Update all the Tegra DT bindings to require resets/reset-names properties where the HW module has reset inputs. Remove any entries from clocks or clock-names that were only required to identify reset inputs, rather than referring to real clocks. This is a DT-ABI-incompatible change. It is the first of two changes required for me to consider the Tegra DT bindings as stable, the other being conversion to the common DMA DT bindings. Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-By: Terje Bergstrom <tbergstrom@nvidia.com>
35 lines
1.0 KiB
Plaintext
35 lines
1.0 KiB
Plaintext
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.
|
|
- nvidia,dma-request-selector : The Tegra DMA controller's phandle and
|
|
request selector for this SFLASH controller.
|
|
- clocks : Must contain one entry, for the module clock.
|
|
See ../clocks/clock-bindings.txt for details.
|
|
- 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
|
|
|
|
Recommended properties:
|
|
- spi-max-frequency: Definition as per
|
|
Documentation/devicetree/bindings/spi/spi-bus.txt
|
|
|
|
Example:
|
|
|
|
spi@7000c380 {
|
|
compatible = "nvidia,tegra20-sflash";
|
|
reg = <0x7000c380 0x80>;
|
|
interrupts = <0 39 0x04>;
|
|
nvidia,dma-request-selector = <&apbdma 16>;
|
|
spi-max-frequency = <25000000>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
clocks = <&tegra_car 43>;
|
|
resets = <&tegra_car 43>;
|
|
reset-names = "spi";
|
|
status = "disabled";
|
|
};
|