diff options
author | Sowjanya Komatineni <skomatineni@nvidia.com> | 2020-12-21 13:17:37 -0800 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2021-01-27 00:11:50 +0100 |
commit | 07910a79fc340881eb8e3ed9e47654574fa83d3f (patch) | |
tree | 9585e67a92bbb96a20231fc6766e537039004107 /arch/arm64/boot/dts/nvidia | |
parent | b0b4e286f9aa97faeea3d54469bc5b042ee1f518 (diff) | |
download | lwn-07910a79fc340881eb8e3ed9e47654574fa83d3f.tar.gz lwn-07910a79fc340881eb8e3ed9e47654574fa83d3f.zip |
arm64: tegra: Enable QSPI on Jetson Nano
This patch enables QSPI on Jetson Nano.
Signed-off-by: Sowjanya Komatineni <skomatineni@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'arch/arm64/boot/dts/nvidia')
-rw-r--r-- | arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts | 12 | ||||
-rw-r--r-- | arch/arm64/boot/dts/nvidia/tegra210.dtsi | 5 |
2 files changed, 15 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts b/arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts index 1170f33f46d5..14c128a5e248 100644 --- a/arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts +++ b/arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts @@ -782,6 +782,18 @@ }; }; + spi@70410000 { + status = "okay"; + + flash@0 { + compatible = "spi-nor"; + reg = <0>; + spi-max-frequency = <104000000>; + spi-tx-bus-width = <2>; + spi-rx-bus-width = <2>; + }; + }; + clk32k_in: clock@0 { compatible = "fixed-clock"; clock-frequency = <32768>; diff --git a/arch/arm64/boot/dts/nvidia/tegra210.dtsi b/arch/arm64/boot/dts/nvidia/tegra210.dtsi index 6e6cdb229e01..26b3f98a211c 100644 --- a/arch/arm64/boot/dts/nvidia/tegra210.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra210.dtsi @@ -1732,8 +1732,9 @@ interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; #address-cells = <1>; #size-cells = <0>; - clocks = <&tegra_car TEGRA210_CLK_QSPI>; - clock-names = "qspi"; + clocks = <&tegra_car TEGRA210_CLK_QSPI>, + <&tegra_car TEGRA210_CLK_QSPI_PM>; + clock-names = "qspi", "qspi_out"; resets = <&tegra_car 211>; reset-names = "qspi"; dmas = <&apbdma 5>, <&apbdma 5>; |