mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-27 20:38:52 +09:00
![Thierry Reding](/assets/img/avatar_default.png)
Recent versions of DTC have checks for PCI host bridge device tree nodes that are named something other than "pci" or "pcie". Fix all occurrences of such nodes for Tegra boards to avoid potential warnings from DTC. Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com>
33 lines
568 B
Plaintext
33 lines
568 B
Plaintext
/dts-v1/;
|
|
|
|
#include "tegra186-p2771-0000.dtsi"
|
|
|
|
/ {
|
|
model = "NVIDIA P2771-0000-500";
|
|
compatible = "nvidia,p2771-0000-500", "nvidia,p2771-0000", "nvidia,tegra186";
|
|
|
|
sdhci@3400000 {
|
|
cd-gpios = <&gpio_main TEGRA_MAIN_GPIO(P, 5) GPIO_ACTIVE_LOW>;
|
|
power-gpios = <&gpio_main TEGRA_MAIN_GPIO(P, 6) GPIO_ACTIVE_HIGH>;
|
|
};
|
|
|
|
pcie@10003000 {
|
|
status = "okay";
|
|
|
|
pci@1,0 {
|
|
status = "okay";
|
|
nvidia,num-lanes = <4>;
|
|
};
|
|
|
|
pci@2,0 {
|
|
status = "disabled";
|
|
nvidia,num-lanes = <0>;
|
|
};
|
|
|
|
pci@3,0 {
|
|
status = "disabled";
|
|
nvidia,num-lanes = <1>;
|
|
};
|
|
};
|
|
};
|