Skip to content

Commit 0690460

Browse files
committed
PENDING: arm64: dts: qcom: lemans-evk: add overlay for QPS615 ethernet
Add an overlay devicetree for Lemans EVK for temporary enablement of the QPS615 PCIE switch's 10GbE and 2.5Gbe ethernet ports. Signed-off-by: Mohd Ayaan Anwar <mohd.anwar@oss.qualcomm.com>
1 parent ab4c8c4 commit 0690460

2 files changed

Lines changed: 70 additions & 0 deletions

File tree

arch/arm64/boot/dts/qcom/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,8 @@ lemans-camx-el2-dtbs := lemans-evk-el2.dtb lemans-evk-camx.dtbo lemans-camx-el2.
419419

420420
dtb-$(CONFIG_ARCH_QCOM) += lemans-camx-el2.dtb
421421

422+
dtb-$(CONFIG_ARCH_QCOM) += lemans-evk-staging.dtbo
423+
422424
monaco-evk-camx-dtbs := monaco-evk.dtb monaco-evk-camx.dtbo
423425

424426
dtb-$(CONFIG_ARCH_QCOM) += monaco-evk-camx.dtb
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
// SPDX-License-Identifier: BSD-3-Clause
2+
/*
3+
* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
4+
*/
5+
6+
/dts-v1/;
7+
/plugin/;
8+
9+
#include <dt-bindings/gpio/gpio.h>
10+
#include <dt-bindings/interrupt-controller/irq.h>
11+
12+
&i2c18 {
13+
eeprom@52 {
14+
nvmem-layout {
15+
mac_addr2: mac-addr@6 {
16+
reg = <0x6 0x6>;
17+
};
18+
mac_addr3: mac-addr@c {
19+
reg = <0xc 0x6>;
20+
};
21+
};
22+
};
23+
};
24+
25+
&pcieport0 {
26+
pcie@0,0 {
27+
pcie@3,0 {
28+
pci@0,0 {
29+
interrupts-extended = <&tlmm 56 IRQ_TYPE_EDGE_FALLING>;
30+
interrupt-names = "wol_irq";
31+
nvmem-cells = <&mac_addr2>;
32+
nvmem-cell-names = "mac-address";
33+
pinctrl-names = "default";
34+
pinctrl-0 = <&aqr_intn_wol_sig>;
35+
phy-reset-gpios = <&tlmm 76 GPIO_ACTIVE_HIGH>;
36+
reset-deassert-us = <221000>;
37+
};
38+
39+
pci@0,1 {
40+
interrupts-extended = <&tlmm 57 IRQ_TYPE_EDGE_FALLING>;
41+
interrupt-names = "wol_irq";
42+
nvmem-cells = <&mac_addr3>;
43+
nvmem-cell-names = "mac-address";
44+
pinctrl-names = "default";
45+
pinctrl-0 = <&napa_intn_wol_sig>;
46+
phy-reset-gpios = <&tlmm 77 GPIO_ACTIVE_HIGH>;
47+
reset-deassert-us = <20000>;
48+
};
49+
};
50+
};
51+
};
52+
53+
&tlmm {
54+
qps615_intn_wol {
55+
aqr_intn_wol_sig: aqr-intn-wol-sig {
56+
pins = "gpio56";
57+
function = "gpio";
58+
input-enable;
59+
bias-disable;
60+
};
61+
napa_intn_wol_sig: napa-intn-wol-sig {
62+
pins = "gpio57";
63+
function = "gpio";
64+
input-enable;
65+
bias-disable;
66+
};
67+
};
68+
};

0 commit comments

Comments
 (0)