mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-01 16:58:22 +00:00
apm821xx: MX60W: enumerate PCIe in device-tree
This patch adds the pcie-switch and bridge configuration for the Meraki MX60W. Signed-off-by: Christian Lamparter <chunkeey@gmail.com> Signed-off-by: maurerr <mariusd84@gmail.com>
This commit is contained in:
parent
a4c039b3ae
commit
1bc0aafbc0
@ -175,6 +175,25 @@
|
|||||||
&PCIE0 {
|
&PCIE0 {
|
||||||
/* Leave this enabled as u-boot on the MX60 will disable it for us */
|
/* Leave this enabled as u-boot on the MX60 will disable it for us */
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
|
/*
|
||||||
|
* relevant lspci topology:
|
||||||
|
*
|
||||||
|
* -+-[0000:40]---00.0-[41-7f]----00.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
bridge@64,0 {
|
||||||
|
reg = <0x00400000 0 0 0 0>;
|
||||||
|
#address-cells = <3>;
|
||||||
|
#size-cells = <2>;
|
||||||
|
ranges;
|
||||||
|
|
||||||
|
wifi0: wifi@65,0 {
|
||||||
|
/* Atheros AR9380 2.4/5GHz */
|
||||||
|
compatible = "pci168c,0030";
|
||||||
|
reg = <0x00410000 0 0 0 0>;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&MSI {
|
&MSI {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user