2020-10-14 07:47:35 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
|
|
|
|
#include "ar9344_qxwlan_e750x.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Qxwlan E750A v4 8M";
|
|
|
|
compatible = "qxwlan,e750a-v4-8m", "qca,ar9344";
|
|
|
|
};
|
|
|
|
|
|
|
|
&leds {
|
|
|
|
lan {
|
|
|
|
label = "green:lan";
|
|
|
|
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
|
|
|
|
wan {
|
|
|
|
label = "green:wan";
|
|
|
|
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
ð0 {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
phy-handle = <&swphy4>;
|
|
|
|
|
2021-04-02 21:47:31 +00:00
|
|
|
nvmem-cells = <&macaddr_pridata_400>;
|
|
|
|
nvmem-cell-names = "mac-address";
|
2021-07-12 19:42:41 +00:00
|
|
|
mac-address-increment = <1>;
|
2020-10-14 07:47:35 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
ð1 {
|
|
|
|
status = "okay";
|
|
|
|
|
2021-04-02 21:47:31 +00:00
|
|
|
nvmem-cells = <&macaddr_pridata_400>;
|
|
|
|
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 0x790000>;
|
|
|
|
};
|
|
|
|
};
|
2021-04-02 21:47:31 +00:00
|
|
|
|
|
|
|
&pridata {
|
|
|
|
compatible = "nvmem-cells";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
|
|
|
|
macaddr_pridata_400: macaddr@400 {
|
|
|
|
reg = <0x400 0x6>;
|
|
|
|
};
|
|
|
|
};
|