2020-10-14 07:47:35 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
|
2024-02-07 13:48:34 +00:00
|
|
|
#include <dt-bindings/leds/common.h>
|
|
|
|
|
2020-10-14 07:47:35 +00:00
|
|
|
#include "ar9344_qxwlan_e750x.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Qxwlan E750A v4 16M";
|
|
|
|
compatible = "qxwlan,e750a-v4-16m", "qca,ar9344";
|
|
|
|
};
|
|
|
|
|
|
|
|
&leds {
|
|
|
|
lan {
|
2024-02-07 13:48:34 +00:00
|
|
|
function = LED_FUNCTION_LAN;
|
|
|
|
color = <LED_COLOR_ID_GREEN>;
|
2020-10-14 07:47:35 +00:00
|
|
|
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
|
|
|
|
wan {
|
2024-02-07 13:48:34 +00:00
|
|
|
function = LED_FUNCTION_WAN;
|
|
|
|
color = <LED_COLOR_ID_GREEN>;
|
2020-10-14 07:47:35 +00:00
|
|
|
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
ð0 {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
phy-handle = <&swphy4>;
|
|
|
|
|
2023-11-26 04:36:49 +00:00
|
|
|
nvmem-cells = <&macaddr_pridata_400 1>;
|
2021-04-02 21:47:31 +00:00
|
|
|
nvmem-cell-names = "mac-address";
|
2020-10-14 07:47:35 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
ð1 {
|
|
|
|
status = "okay";
|
|
|
|
|
2023-11-26 04:36:49 +00:00
|
|
|
nvmem-cells = <&macaddr_pridata_400 0>;
|
2021-04-02 21:47:31 +00:00
|
|
|
nvmem-cell-names = "mac-address";
|
2020-10-14 07:47:35 +00:00
|
|
|
|
|
|
|
gmac-config {
|
|
|
|
device = <&gmac>;
|
|
|
|
switch-phy-swap = <0>;
|
|
|
|
switch-only-mode = <1>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&partitions {
|
|
|
|
partition@70000 {
|
|
|
|
compatible = "denx,uimage";
|
|
|
|
label = "firmware";
|
|
|
|
reg = <0x070000 0xf90000>;
|
|
|
|
};
|
|
|
|
};
|