Skip to content
Snippets Groups Projects
Commit 9734104f authored by Wilson Ding's avatar Wilson Ding Committed by Stefan Roese
Browse files

arm64: a37xx: dts: enable pcie port


This patch enabled PCIe port on both devel-board
and espressobin board.

Cc: Simon Glass <sjg@chromium.org>
Cc: Stefan Roese <sr@denx.de>
Signed-off-by: default avatarWilson Ding <dingwei@marvell.com>
Signed-off-by: default avatarKen Ma <make@marvell.com>
Signed-off-by: default avatarStefan Roese <sr@denx.de>
parent f38c0980
No related branches found
No related tags found
No related merge requests found
...@@ -154,3 +154,11 @@ ...@@ -154,3 +154,11 @@
&usb3 { &usb3 {
status = "okay"; status = "okay";
}; };
/* CON17 */
&pcie0 {
pinctrl-names = "default";
pinctrl-0 = <&pcie_pins>;
reset-gpio = <&gpiosb 3 GPIO_ACTIVE_HIGH>;
status = "okay";
};
...@@ -141,3 +141,10 @@ ...@@ -141,3 +141,10 @@
&usb3 { &usb3 {
status = "okay"; status = "okay";
}; };
&pcie0 {
pinctrl-names = "default";
pinctrl-0 = <&pcie_pins>;
reset-gpio = <&gpiosb 3 GPIO_ACTIVE_HIGH>;
status = "okay";
};
...@@ -294,5 +294,21 @@ ...@@ -294,5 +294,21 @@
max-lanes = <2>; max-lanes = <2>;
}; };
}; };
pcie0: pcie@d0070000 {
compatible = "marvell,armada-37xx-pcie";
reg = <0 0xd0070000 0 0x20000>;
#address-cells = <3>;
#size-cells = <2>;
device_type = "pci";
num-lanes = <1>;
status = "disabled";
bus-range = <0 0xff>;
ranges = <0x82000000 0 0xe8000000
0 0xe8000000 0 0x1000000 /* Port 0 MEM */
0x81000000 0 0xe9000000
0 0xe9000000 0 0x10000>; /* Port 0 IO*/
};
}; };
}; };
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment