From 6d442ea3b42f3e21f423019b397694c63c065631 Mon Sep 17 00:00:00 2001 From: Vishwaroop A Date: Wed, 21 Jun 2023 09:51:57 +0000 Subject: [PATCH] p3701: overlay: add spi device nodes Add support for SPI device nodes for spi controllers. Bug 4159700 Change-Id: I09f1557a7dd4e87201605075235a58710171d85a Signed-off-by: Vishwaroop A Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2925735 Reviewed-by: svcacv Reviewed-by: Laxman Dewangan GVS: Gerrit_Virtual_Submit --- overlay/tegra234-p3737-0000.dtsi | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/overlay/tegra234-p3737-0000.dtsi b/overlay/tegra234-p3737-0000.dtsi index 69f38f5..164f3e6 100644 --- a/overlay/tegra234-p3737-0000.dtsi +++ b/overlay/tegra234-p3737-0000.dtsi @@ -6,6 +6,32 @@ target-path = "/"; __overlay__ { bus@0 { + spi@3210000{ /* SPI1 in 40 pin conn */ + spi@0 { /* chip select 0 */ + compatible = "tegra-spidev"; + reg = <0x0>; + spi-max-frequency = <50000000>; + }; + spi@1 { /* chips select 1 */ + compatible = "tegra-spidev"; + reg = <0x1>; + spi-max-frequency = <50000000>; + }; + }; + + spi@3230000{ /* SPI3 in 40 pin conn */ + spi@0 { /* chip select 0 */ + compatible = "tegra-spidev"; + reg = <0x0>; + spi-max-frequency = <50000000>; + }; + spi@1 { /* chips select 1 */ + compatible = "tegra-spidev"; + reg = <0x1>; + spi-max-frequency = <50000000>; + }; + }; + padctl@3520000 { ports { usb2-0 {