Skip to contentSkip to conversation

arm64: dts: NS2: Add sdio1, PCI phys

PATCH In review Jon Mason 2 participants 4 messages Nov 17, 2016 – Nov 21, 2016 Device tree bindings

lore
Share & tools
lore

Jon Mason

author
#0 lore raw

cover arm64: dts: NS2: Add sdio1, PCI phys

The second SDIO seems to have been forgotten to be enabled in the Northstar2 SVK dts. Also, the PCI PHY entries are missing from the PCI bus device tree entries.

Jon Mason (2):
arm64: dts: NS2: enable sdio1
arm64: dts: NS2: Add PCI PHYs

 arch/arm64/boot/dts/broadcom/ns2-svk.dts | 4 ++++
 arch/arm64/boot/dts/broadcom/ns2.dtsi    | 6 ++++++
 2 files changed, 10 insertions(+)
Signature · 1 line
2.7.4
author
#1 lore raw

PATCH 1/2 arm64: dts: NS2: enable sdio1

Enable sdio1 in the Northstar2 SVK device tree file

---
 arch/arm64/boot/dts/broadcom/ns2-svk.dts | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm64/boot/dts/broadcom/ns2-svk.dts +4 -0
index 07c69a3e..de8d379 100644
@@ -161,6 +161,10 @@
 	status = "ok";
 };
 
+&sdio1 {
+	status = "ok";
+};
+
 &nand {
 	nandcs at 0 {
 		compatible = "brcm,nandcs";
Signature · 1 line
2.7.4
author
#2 lore raw

PATCH 2/2 arm64: dts: NS2: Add PCI PHYs

In reply to Jon Mason

PCI PHYs are missing from the Northstar2 DT entries for the 2 PCI buses. Add them so that PCI devices can be discovered.

---
 arch/arm64/boot/dts/broadcom/ns2.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm64/boot/dts/broadcom/ns2.dtsi +6 -0
index e4cd868..4fcdeca 100644
@@ -133,6 +133,9 @@
 
 		status = "disabled";
 
+		phys = <&pci_phy0>;
+		phy-names = "pcie-phy";
+
 		msi-parent = <&msi0>;
 		msi0: msi at 20020000 {
 			compatible = "brcm,iproc-msi";
@@ -171,6 +174,9 @@
 
 		status = "disabled";
 
+		phys = <&pci_phy1>;
+		phy-names = "pcie-phy";
+
 		msi-parent = <&msi4>;
 		msi4: msi at 50020000 {
 			compatible = "brcm,iproc-msi";
Signature · 1 line
2.7.4
#3 lore raw
In reply to Jon Mason
Quoted 3 lines · Jon Mason

The second SDIO seems to have been forgotten to be enabled in the Northstar2 SVK dts. Also, the PCI PHY entries are missing from the PCI bus device tree entries.

Series applied, thanks Jon

Signature · 1 line
Florian