[PATCH v4 7/9] ARM: shmobile: Add PCIe device tree nodes for R8A7791 Koelsch board
Phil Edworthy
phil.edworthy at renesas.com
Fri Mar 21 06:32:46 EDT 2014
This patch adds the device tree nodes for the R8A7791 Koelsch board
Signed-off-by: Phil Edworthy <phil.edworthy at renesas.com>
---
arch/arm/boot/dts/r8a7791-koelsch.dts | 4 ++++
arch/arm/boot/dts/r8a7791.dtsi | 19 +++++++++++++++++++
2 files changed, 23 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts b/arch/arm/boot/dts/r8a7791-koelsch.dts
index e24fed9..17c953f 100644
--- a/arch/arm/boot/dts/r8a7791-koelsch.dts
+++ b/arch/arm/boot/dts/r8a7791-koelsch.dts
@@ -352,3 +352,7 @@
spi-cpha;
};
};
+
+&pcie {
+ status = "okay";
+};
diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi
index ccfba57..915a5a6 100644
--- a/arch/arm/boot/dts/r8a7791.dtsi
+++ b/arch/arm/boot/dts/r8a7791.dtsi
@@ -836,4 +836,23 @@
#size-cells = <0>;
status = "disabled";
};
+
+ pcie: pcie at fe000000 {
+ compatible = "renesas,r8a7791-pcie";
+ reg = <0 0xfe000000 0 0x80000>;
+ #address-cells = <3>;
+ #size-cells = <2>;
+ device_type = "pci";
+ ranges = <0x01000000 0 0x00000000 0 0xfe100000 0 0x00100000
+ 0x02000000 0 0xfe200000 0 0xfe200000 0 0x00200000
+ 0x02000000 0 0x30000000 0 0x30000000 0 0x08000000
+ 0x42000000 0 0x38000000 0 0x38000000 0 0x08000000>;
+ interrupts = <0 116 IRQ_TYPE_LEVEL_HIGH>;
+ #interrupt-cells = <1>;
+ interrupt-map-mask = <0 0 0 0>;
+ interrupt-map = <0 0 0 0 &gic 0 116 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&mstp3_clks R8A7791_CLK_PCIE>;
+ clock-names = "pcie";
+ status = "disabled";
+ };
};
--
1.9.0
More information about the linux-arm-kernel
mailing list