summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/hisilicon/hi3798cv200-poplar.dts
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2018-05-11 05:03:38 +0300
committerWei Xu <xuwei5@hisilicon.com>2018-05-15 16:53:46 +0300
commit32fa01761bd9423653b3de4c8b87328276b97733 (patch)
treee9f8d781f942eccbb6f869508c8308604261e194 /arch/arm64/boot/dts/hisilicon/hi3798cv200-poplar.dts
parentd2a1606c29963f64c6566ffc9e62c387ba88c49c (diff)
downloadlinux-32fa01761bd9423653b3de4c8b87328276b97733.tar.xz
arm64: dts: hi3798cv200: enable PCIe support for poplar board
It adds combophy devices under peripheral controller and enables PCIe support for Hi3798CV200 Poplar board. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
Diffstat (limited to 'arch/arm64/boot/dts/hisilicon/hi3798cv200-poplar.dts')
-rw-r--r--arch/arm64/boot/dts/hisilicon/hi3798cv200-poplar.dts15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/hisilicon/hi3798cv200-poplar.dts b/arch/arm64/boot/dts/hisilicon/hi3798cv200-poplar.dts
index 4d5d644abb12..c4382e1f3c92 100644
--- a/arch/arm64/boot/dts/hisilicon/hi3798cv200-poplar.dts
+++ b/arch/arm64/boot/dts/hisilicon/hi3798cv200-poplar.dts
@@ -61,6 +61,15 @@
default-state = "off";
};
};
+
+ reg_pcie: regulator-pcie {
+ compatible = "regulator-fixed";
+ regulator-name = "3V3_PCIE0";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ gpio = <&gpio6 7 0>;
+ enable-active-high;
+ };
};
&gmac1 {
@@ -146,6 +155,12 @@
status = "okay";
};
+&pcie {
+ reset-gpios = <&gpio4 4 GPIO_ACTIVE_HIGH>;
+ vpcie-supply = <&reg_pcie>;
+ status = "okay";
+};
+
&sd0 {
bus-width = <4>;
cap-sd-highspeed;