]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: tegra: apalis_t30: annotate/clean-up pcie controller/port nodes
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>
Fri, 31 Aug 2018 16:37:47 +0000 (18:37 +0200)
committerThierry Reding <treding@nvidia.com>
Wed, 26 Sep 2018 14:45:41 +0000 (16:45 +0200)
Annotate PCIe port nodes and clean-up PCIe controller/port status' with
respect to carrier board vs. module level device trees. As port 3
connects to the on-module Gigabit Ethernet MACPHY it is always enabled
together with the PCIe controller itself.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm/boot/dts/tegra30-apalis-eval.dts
arch/arm/boot/dts/tegra30-apalis.dtsi

index 0dc85a20bd4535ccfe5945a2194a9e0dee5d3f9c..e3c70e7d8d37b91000ad7854991650ea35cbf722 100644 (file)
@@ -23,8 +23,6 @@ chosen {
        };
 
        pcie@3000 {
-               status = "okay";
-
                pci@1,0 {
                        status = "okay";
                };
@@ -32,10 +30,6 @@ pci@1,0 {
                pci@2,0 {
                        status = "okay";
                };
-
-               pci@3,0 {
-                       status = "okay";
-               };
        };
 
        host1x@50000000 {
index fc279a073ac50774919e7fa67647b702d49d9c54..c810c044025a8031c29e730674e64f4230f66ad2 100644 (file)
@@ -15,6 +15,7 @@ memory@80000000 {
        };
 
        pcie@3000 {
+               status = "okay";
                avdd-pexa-supply = <&vdd2_reg>;
                avdd-pexb-supply = <&vdd2_reg>;
                avdd-pex-pll-supply = <&vdd2_reg>;
@@ -24,15 +25,19 @@ pcie@3000 {
                vdd-pexa-supply = <&vdd2_reg>;
                vdd-pexb-supply = <&vdd2_reg>;
 
+               /* Apalis type specific */
                pci@1,0 {
                        nvidia,num-lanes = <4>;
                };
 
+               /* Apalis PCIe */
                pci@2,0 {
                        nvidia,num-lanes = <1>;
                };
 
+               /* I210/I211 Gigabit Ethernet Controller (on-module) */
                pci@3,0 {
+                       status = "okay";
                        nvidia,num-lanes = <1>;
                        pcie@0 {
                                reg = <0 0 0 0 0>;