Skip to content

Commit 071ded1

Browse files
committed
PENDING: arm64: dts: qcom: monaco-evk: add overlay for QPS615 ethernet
Add an overlay devicetree for Monaco 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 0690460 commit 071ded1

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
@@ -429,6 +429,8 @@ monaco-camx-el2-dtbs := monaco-evk-el2.dtb monaco-evk-camx.dtbo monaco-camx-el2.
429429

430430
dtb-$(CONFIG_ARCH_QCOM) += monaco-camx-el2.dtb
431431

432+
dtb-$(CONFIG_ARCH_QCOM) += monaco-evk-staging.dtbo
433+
432434
qcs615-ride-camx-dtbs := qcs615-ride.dtb qcs615-ride-camx.dtbo
433435

434436
dtb-$(CONFIG_ARCH_QCOM) += qcs615-ride-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+
&eeprom1 {
13+
nvmem-layout {
14+
mac_addr1: mac-addr@0 {
15+
reg = <0x0 0x6>;
16+
};
17+
18+
mac_addr2: mac-addr@6 {
19+
reg = <0x6 0x6>;
20+
};
21+
};
22+
};
23+
24+
&pcieport0 {
25+
pcie@0,0 {
26+
pcie@3,0 {
27+
pci@0,0 {
28+
interrupts-extended = <&tlmm 40 IRQ_TYPE_EDGE_FALLING>;
29+
interrupt-names = "wol_irq";
30+
nvmem-cells = <&mac_addr1>;
31+
nvmem-cell-names = "mac-address";
32+
pinctrl-names = "default";
33+
pinctrl-0 = <&aqr_intn_wol_sig>;
34+
phy-reset-gpios = <&tlmm 10 GPIO_ACTIVE_HIGH>;
35+
reset-deassert-us = <221000>;
36+
};
37+
38+
pci@0,1 {
39+
interrupts-extended = <&tlmm 39 IRQ_TYPE_EDGE_FALLING>;
40+
interrupt-names = "wol_irq";
41+
nvmem-cells = <&mac_addr2>;
42+
nvmem-cell-names = "mac-address";
43+
pinctrl-names = "default";
44+
pinctrl-0 = <&napa_intn_wol_sig>;
45+
phy-reset-gpios = <&expander5 0 GPIO_ACTIVE_HIGH>;
46+
reset-deassert-us = <20000>;
47+
};
48+
};
49+
};
50+
};
51+
52+
&tlmm {
53+
qps615_intn_wol {
54+
aqr_intn_wol_sig: aqr-intn-wol-sig {
55+
pins = "gpio40";
56+
function = "gpio";
57+
input-enable;
58+
bias-disable;
59+
};
60+
61+
napa_intn_wol_sig: napa-intn-wol-sig {
62+
pins = "gpio39";
63+
function = "gpio";
64+
input-enable;
65+
bias-disable;
66+
};
67+
};
68+
};

0 commit comments

Comments
 (0)