diff --git a/hardware/nvidia-spiri/platform/t18x/quill/kernel-dts/tegra186-tx2-spiri-base.dts b/hardware/nvidia-spiri/platform/t18x/quill/kernel-dts/tegra186-tx2-spiri-base.dts index 3a09797..995c7a3 100644 --- a/hardware/nvidia-spiri/platform/t18x/quill/kernel-dts/tegra186-tx2-spiri-base.dts +++ b/hardware/nvidia-spiri/platform/t18x/quill/kernel-dts/tegra186-tx2-spiri-base.dts @@ -17,8 +17,7 @@ / { model = "quill"; - compatible = "nvidia,quill", "nvidia,tegra186"; - + compatible = "nvidia,quill", "nvidia,p2597-0000+p3310-1000", "nvidia,tegra186"; nvidia,boardids = "3310:0000:C03"; nvidia,proc-boardid = "3310:0000:C03"; @@ -79,11 +78,14 @@ /* gpio@74{ status = "disabled"; + /delete-node/ touch-rails; + }; */ /* gpio@77{ status = "disabled"; + /delete-node/ lcd-bias-rails; }; */ @@ -96,6 +98,10 @@ i2c@c240000 { clock-frequency = <400000>; }; + + spi@3240000 { + status = "disabled"; + }; cpus { status = "disabled"; @@ -216,7 +222,60 @@ fixed-regulators { regulator@1 { gpio = <&tegra_main_gpio TEGRA_MAIN_GPIO(P, 6) 0>; - }; + }; + regulator@2 { + regulator-always-on; + /delete-property/ gpio; + /delete-property/ enable-active-high; + }; + regulator@3 { + regulator-always-on; + /delete-property/ gpio; + }; + regulator@6 { + regulator-always-on; + /delete-property/ gpio; + }; + regulator@7 { + regulator-always-on; + /delete-property/ gpio; + }; + regulator@8 { + regulator-always-on; + /delete-property/ gpio; + }; + regulator@9 { + regulator-always-on; + /delete-property/ gpio; + }; + regulator@10 { + regulator-always-on; + /delete-property/ gpio; + }; + regulator@11 { + regulator-always-on; + /delete-property/ gpio; + }; + regulator@12 { + regulator-always-on; + /delete-property/ gpio; + }; + regulator@13 { //fixes PWM fan + regulator-always-on; + /delete-property/ gpio; + }; + regulator@15 { + regulator-always-on; + /delete-property/ gpio; + }; + regulator@17 { + regulator-always-on; + /delete-property/ gpio; + }; + regulator@118 { + regulator-always-on; + /delete-property/ gpio; + }; }; bpmp_i2c { diff --git a/hardware/nvidia-spiri/platform/t18x/quill/kernel-dts/tegra186-tx2-spiri-revF+.dts b/hardware/nvidia-spiri/platform/t18x/quill/kernel-dts/tegra186-tx2-spiri-revF+.dts index 820460f..a5273c8 100644 --- a/hardware/nvidia-spiri/platform/t18x/quill/kernel-dts/tegra186-tx2-spiri-revF+.dts +++ b/hardware/nvidia-spiri/platform/t18x/quill/kernel-dts/tegra186-tx2-spiri-revF+.dts @@ -128,6 +128,19 @@ status = "okay"; }; }; - + + spi@3210000 { + status = "okay"; + spi@0 { + compatible = "spidev"; + reg = <0x0>; + spi-max-frequency = <33000000>; + controller-data { + nvidia,enable-hw-based-cs; + nvidia,rx-clk-tap-delay = <0x8>; + nvidia,tx-clk-tap-delay = <0x16>; + }; + }; + }; };