Skip to contentSkip to conversation

ARM: dts: use 'status' property for PCIe nodes

PATCH In review Jingoo Han 3 participants 3 messages Oct 29, 2013

Subsystems (2)
lore
Share & tools
lore

Jingoo Han

author
#0 lore raw

PATCH 1/1 ARM: dts: use 'status' property for PCIe nodes

Set the default status for PCIe to disabled in the exynos5440.dtsi file and let the board dts files such as exynos5440-ssdk5440.dts enable the PCIe. However, keep the PCIe for SD5v1 board disabled, because there is no PCIe slot on SD5v1 board.

---
Tested on SSDK5440 board.

 arch/arm/boot/dts/exynos5440-ssdk5440.dts |    2 ++
 arch/arm/boot/dts/exynos5440.dtsi         |    2 ++
 2 files changed, 4 insertions(+)
arch/arm/boot/dts/exynos5440-ssdk5440.dts +2 -0
index a7cb848..d58cb78 100644
@@ -68,9 +68,11 @@
 
 	pcie@290000 {
 		reset-gpio = <&pin_ctrl 5 0>;
+		status = "okay";
 	};
 
 	pcie@2a0000 {
 		reset-gpio = <&pin_ctrl 22 0>;
+		status = "okay";
 	};
 };
arch/arm/boot/dts/exynos5440.dtsi +2 -0
index 5d6cf49..8da1070 100644
@@ -276,6 +276,7 @@
 		interrupt-map-mask = <0 0 0 0>;
 		interrupt-map = <0x0 0 &gic 53>;
 		num-lanes = <4>;
+		status = "disabled";
 	};
 
 	pcie@2a0000 {
@@ -296,5 +297,6 @@
 		interrupt-map-mask = <0 0 0 0>;
 		interrupt-map = <0x0 0 &gic 56>;
 		num-lanes = <4>;
+		status = "disabled";
 	};
 };
Signature · 1 line
1.7.10.4
Acked-by on v1 1/1
#1 lore raw
Quoted 6 lines · Jingoo Han

Set the default status for PCIe to disabled in the exynos5440.dtsi file and let the board dts files such as exynos5440-ssdk5440.dts enable the PCIe. However, keep the PCIe for SD5v1 board disabled, because there is no PCIe slot on SD5v1 board.

Olof, please pick this into your tree directly :-)

If any problems, please kindly let me know.

Thanks,
Kukjin

Quoted 42 lines

---
Tested on SSDK5440 board.

  arch/arm/boot/dts/exynos5440-ssdk5440.dts |    2 ++
  arch/arm/boot/dts/exynos5440.dtsi         |    2 ++
  2 files changed, 4 insertions(+)
arch/arm/boot/dts/exynos5440-ssdk5440.dts +2 -0
index a7cb848..d58cb78 100644
@@ -68,9 +68,11 @@
 
  	pcie@290000 {
  		reset-gpio =<&pin_ctrl 5 0>;
+		status = "okay";
  	};
 
  	pcie@2a0000 {
  		reset-gpio =<&pin_ctrl 22 0>;
+		status = "okay";
  	};
  };
arch/arm/boot/dts/exynos5440.dtsi +2 -0
index 5d6cf49..8da1070 100644
@@ -276,6 +276,7 @@
  		interrupt-map-mask =<0 0 0 0>;
  		interrupt-map =<0x0 0&gic 53>;
  		num-lanes =<4>;
+		status = "disabled";
  	};
 
  	pcie@2a0000 {
@@ -296,5 +297,6 @@
  		interrupt-map-mask =<0 0 0 0>;
  		interrupt-map =<0x0 0&gic 56>;
  		num-lanes =<4>;
+		status = "disabled";
  	};
  };
#2 lore raw
Quoted 6 lines · Kukjin Kim
Quoted 5 lines · Jingoo Han

Set the default status for PCIe to disabled in the exynos5440.dtsi file and let the board dts files such as exynos5440-ssdk5440.dts enable the PCIe. However, keep the PCIe for SD5v1 board disabled, because there is no PCIe slot on SD5v1 board.

Quoted 7 lines
Quoted 1 line

Olof, please pick this into your tree directly :-)

If any problems, please kindly let me know.

Done, thanks.

-Olof