]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
tegra20: fdt: add SPI SFLASH node
authorAllen Martin <amartin@nvidia.com>
Tue, 29 Jan 2013 13:51:23 +0000 (13:51 +0000)
committerTom Warren <twarren@nvidia.com>
Mon, 11 Feb 2013 17:35:24 +0000 (10:35 -0700)
Add node for tegra20 SPI SFLASH controller to fdt.

Signed-off-by: Allen Martin <amartin@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/dts/tegra20.dtsi
board/compulab/dts/tegra20-trimslice.dts

index 12049fd6936cbc7c7f7363880eab4e56bc2fd69b..9a8968522e47702f3736b1f38f65dbf021943161 100644 (file)
                clocks = <&tegra_car 12>, <&tegra_car 124>;
        };
 
+       spi@7000c380 {
+               compatible = "nvidia,tegra20-sflash";
+               reg = <0x7000c380 0x80>;
+               interrupts = <0 39 0x04>;
+               nvidia,dma-request-selector = <&apbdma 11>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+               status = "disabled";
+               /* PERIPH_ID_SPI1, PLLP_OUT0 */
+               clocks = <&tegra_car 43>;
+       };
+
        i2c@7000c400 {
                #address-cells = <1>;
                #size-cells = <0>;
index c8a4dd4e4111f82ce7505e7fa6c6f141ce4ab23b..7aeed670db0594478a336049b04c4e418253f754 100644 (file)
                status = "disabled";
        };
 
+       spi@7000c380 {
+               status = "okay";
+               spi-max-frequency = <25000000>;
+       };
+
        i2c@7000c400 {
                status = "disabled";
        };