status = "okay";
};
- ess-psgmii@98000 {
- status = "okay";
- };
-
tcsr@194b000 {
/* select hostmode */
compatible = "qcom,tcsr";
watchdog@b017000 {
status = "okay";
};
-
- ess-switch@c000000 {
- status = "okay";
- };
-
- edma@c080000 {
- status = "okay";
- };
};
keys {
status = "okay";
};
-&gmac0 {
- qcom,phy_mdio_addr = <4>;
- qcom,poll_required = <1>;
- qcom,forced_speed = <1000>;
- qcom,forced_duplex = <1>;
- vlan_tag = <2 0x20>;
-};
-
-&gmac1 {
- qcom,phy_mdio_addr = <3>;
- qcom,poll_required = <1>;
- qcom,forced_speed = <1000>;
- qcom,forced_duplex = <1>;
- vlan_tag = <1 0x10>;
-};
-
&usb2_hs_phy {
status = "okay";
};
pinctrl-names = "default";
};
- ess-psgmii@98000 {
- status = "okay";
- };
-
counter@4a1000 {
compatible = "qcom,qca-gcnt";
reg = <0x4a1000 0x4>;
watchdog@b017000 {
status = "okay";
};
-
- ess-switch@c000000 {
- status = "okay";
-
- switch_lan_bmp = <0x10>;
- switch_wan_bmp = <0x20>;
- };
-
- edma@c080000 {
- status = "okay";
- };
};
};
#gpio-cells = <2>;
};
-&gmac0 {
- qcom,forced_duplex = <1>;
- qcom,forced_speed = <1000>;
- qcom,phy_mdio_addr = <3>;
- qcom,poll_required = <1>;
- vlan_tag = <1 0x10>;
-};
-
-&gmac1 {
- qcom,forced_duplex = <1>;
- qcom,forced_speed = <1000>;
- qcom,phy_mdio_addr = <4>;
- qcom,poll_required = <1>;
- vlan_tag = <2 0x20>;
-};
-
&tlmm {
i2c0_pins: i2c0_pinmux {
mux_i2c {
watchdog@b017000 {
status = "okay";
};
-
- ess-switch@c000000 {
- status = "okay";
- };
-
- edma@c080000 {
- status = "okay";
- qcom,poll_required = <0>;
- qcom,num_gmac = <1>;
- };
};
keys {
status = "okay";
};
-&gmac0 {
- vlan_tag = <0 0x3f>;
-};
-
ðphy3 {
gpio-controller;
#gpio-cells = <2>;
reset-delay-us = <5000>;
};
- ess-psgmii@98000 {
- status = "okay";
- };
-
tcsr@1949000 {
compatible = "qcom,tcsr";
reg = <0x1949000 0x100>;
watchdog@b017000 {
status = "okay";
};
-
- ess-switch@c000000 {
- status = "okay";
- };
-
- edma@c080000 {
- status = "okay";
- };
};
leds {
nvmem-cell-names = "pre-calibration";
nvmem-cells = <&precal_art_5000>;
};
-
-&gmac0 {
- nvmem-cell-names = "mac-address";
- nvmem-cells = <&macaddr_art_6>;
-};
-
-&gmac1 {
- nvmem-cell-names = "mac-address";
- nvmem-cells = <&macaddr_art_0>;
-};
};
soc {
- edma@c080000 {
- qcom,num_gmac = <1>;
- status = "okay";
- };
-
tcsr@1949000 {
compatible = "qcom,tcsr";
reg = <0x1949000 0x100>;
watchdog@b017000 {
status = "okay";
};
-
- ess-switch@c000000 {
- status = "okay";
- switch_lan_bmp = <0x20>;
- switch_wan_bmp = <0x00>;
- };
-
- ess-psgmii@98000 {
- status = "okay";
- };
};
leds {
status = "okay";
};
-&gmac0 {
- qcom,phy_mdio_addr = <4>;
- qcom,poll_required = <1>;
- qcom,forced_speed = <1000>;
- qcom,forced_duplex = <1>;
- vlan_tag = <1 0x20>;
-};
-
&mdio {
status = "okay";
};
status = "okay";
};
- ess-psgmii@98000 {
- status = "okay";
- };
-
tcsr@1949000 {
compatible = "qcom,tcsr";
reg = <0x1949000 0x100>;
watchdog@b017000 {
status = "okay";
};
-
- ess-switch@c000000 {
- status = "okay";
- };
-
- edma@c080000 {
- status = "okay";
- };
};
keys {
status = "okay";
};
- ess-psgmii@98000 {
- status = "okay";
- };
-
tcsr@1949000 {
compatible = "qcom,tcsr";
reg = <0x1949000 0x100>;
watchdog@b017000 {
status = "okay";
};
-
- ess-switch@c000000 {
- status = "okay";
- };
-
- edma@c080000 {
- status = "okay";
- };
};
keys {
status = "okay";
};
-&gmac0 {
- vlan_tag = <2 0x20>;
-};
-
-&gmac1 {
- vlan_tag = <1 0x10>;
-};
-
&wifi0 {
status = "okay";
nvmem-cell-names = "pre-calibration";
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
- label-mac-device = &gmac0;
};
chosen {
status = "okay";
};
- ess-psgmii@98000 {
- status = "okay";
- };
-
counter@4a1000 {
compatible = "qcom,qca-gcnt";
reg = <0x4a1000 0x4>;
watchdog@b017000 {
status = "okay";
};
-
- ess-switch@c000000 {
- status = "okay";
-
- switch_lan_bmp = <0x10>;
- switch_wan_bmp = <0x20>;
- };
-
- edma@c080000 {
- status = "okay";
- };
};
};
pinctrl-names = "default";
};
-&gmac0 {
- qcom,poll_required = <1>;
- qcom,phy_mdio_addr = <4>;
- vlan_tag = <2 0x20>;
-};
-
-&gmac1 {
- qcom,poll_required = <1>;
- qcom,phy_mdio_addr = <3>;
- vlan_tag = <1 0x10>;
-};
-
&wifi0 {
status = "okay";
nvmem-cell-names = "pre-calibration";
status = "okay";
};
- ess-psgmii@98000 {
- status = "okay";
- };
-
tcsr@1949000 {
compatible = "qcom,tcsr";
reg = <0x1949000 0x100>;
watchdog@b017000 {
status = "okay";
};
-
- ess-switch@c000000 {
- status = "okay";
- switch_lan_bmp = <0x20>;
- switch_wan_bmp = <0x00>;
- };
-
- edma@c080000 {
- status = "okay";
- qcom,num_gmac = <1>;
- };
};
keys {
status = "okay";
};
-&gmac0 {
- qcom,phy_mdio_addr = <4>;
- qcom,poll_required = <1>;
- qcom,forced_speed = <1000>;
- qcom,forced_duplex = <1>;
- vlan_tag = <1 0x20>;
-};
-
&cryptobam {
status = "okay";
};
status = "okay";
};
- ess-psgmii@98000 {
- status = "okay";
- };
-
tcsr@1949000 {
compatible = "qcom,tcsr";
reg = <0x1949000 0x100>;
watchdog@b017000 {
status = "okay";
};
-
- ess-switch@c000000 {
- status = "okay";
- };
-
- edma@c080000 {
- status = "okay";
- };
};
keys {
status = "okay";
};
-&gmac0 {
- vlan_tag = <1 0x10>;
-};
-
-&gmac1 {
- vlan_tag = <2 0x20>;
-};
-
&usb2_hs_phy {
status = "okay";
};
status = "okay";
};
- mdio@90000 {
- status = "okay";
- };
-
- ess-psgmii@98000 {
- status = "okay";
- };
-
tcsr@1949000 {
compatible = "qcom,tcsr";
reg = <0x1949000 0x100>;
status = "okay";
};
- ess-switch@c000000 {
- status = "okay";
- };
-
- edma@c080000 {
- status = "okay";
- };
-
/*
* Disable the broken restart as a workaround for the buggy
* 3.0.0/3.0.1 U-boots that ship with the device.
status = "okay";
};
- ess-psgmii@98000 {
- status = "okay";
- };
-
tcsr@1949000 {
compatible = "qcom,tcsr";
reg = <0x1949000 0x100>;
watchdog@b017000 {
status = "okay";
};
-
- ess-switch@c000000 {
- status = "okay";
- };
-
- edma@c080000 {
- status = "okay";
- qcom,num_gmac = <1>;
- };
};
aliases {
led-failsafe = &power_amber;
led-running = &power_green;
led-upgrade = &power_amber;
- label-mac-device = &gmac0;
};
keys {
led-failsafe = &flash;
led-running = &power;
led-upgrade = &flash;
- label-mac-device = &gmac0;
};
soc {
status = "okay";
};
- ess-psgmii@98000 {
- status = "okay";
- };
-
tcsr@1949000 {
compatible = "qcom,tcsr";
reg = <0x1949000 0x100>;
watchdog@b017000 {
status = "okay";
};
-
- ess-switch@c000000 {
- status = "okay";
- };
-
- edma@c080000 {
- status = "okay";
- };
};
keys {
status = "okay";
};
- ess-psgmii@98000 {
- status = "okay";
- };
-
tcsr@1949000 {
compatible = "qcom,tcsr";
reg = <0x1949000 0x100>;
watchdog@b017000 {
status = "okay";
};
-
- ess-switch@c000000 {
- status = "okay";
- switch_lan_bmp = <0x18>;
- switch_wan_bmp = <0x20>;
- };
-
- edma@c080000 {
- status = "okay";
- };
};
keys {
watchdog@b017000 {
status = "okay";
};
-
- ess-switch@c000000 {
- status = "okay";
- };
-
- edma@c080000 {
- status = "okay";
- };
};
keys {
pinctrl-names = "default";
};
- ess-psgmii@98000 {
- status = "okay";
- };
-
counter@4a1000 {
compatible = "qcom,qca-gcnt";
reg = <0x4a1000 0x4>;
watchdog@b017000 {
status = "okay";
};
-
- ess-switch@c000000 {
- status = "okay";
-
- switch_lan_bmp = <0x10>; /* lan port bitmap */
- };
-
- edma@c080000 {
- status = "okay";
- };
};
};
status = "okay";
};
-&gmac0 {
- qcom,poll_required = <1>;
- qcom,poll_required_dynamic = <1>;
- qcom,phy_mdio_addr = <3>;
- vlan_tag = <1 0x10>;
-};
-
-&gmac1 {
- qcom,poll_required = <1>;
- qcom,poll_required_dynamic = <1>;
- qcom,phy_mdio_addr = <4>;
- vlan_tag = <2 0x20>;
-};
-
&wifi0 {
status = "okay";
nvmem-cell-names = "pre-calibration";
/delete-node/ ethernet-phy@1;
};
- ess-psgmii@98000 {
- status = "okay";
- };
-
crypto@8e3a000 {
status = "okay";
};
status = "okay";
};
- ess-switch@c000000 {
- status = "okay";
- switch_lan_bmp = <0x3e>;
- switch_wan_bmp = <0x0>;
- };
-
- edma@c080000 {
- status = "okay";
- qcom,num_gmac = <3>;
-
- gmac0 {
- qcom,phy_mdio_addr = <3>;
- qcom,poll_required = <1>;
- /delete-property/ qcom,forced_speed;
- /delete-property/ qcom,forced_duplex;
- vlan_tag = <1 0x10>;
- };
-
- gmac1 {
- qcom,phy_mdio_addr = <2>;
- qcom,poll_required = <1>;
- /delete-property/ qcom,forced_speed;
- /delete-property/ qcom,forced_duplex;
- vlan_tag = <1 0x08>;
- };
-
- gmac2 {
- local-mac-address = [00 00 00 00 00 00];
- qcom,phy_mdio_addr = <4>;
- qcom,poll_required = <1>;
- /delete-property/ qcom,forced_speed;
- /delete-property/ qcom,forced_duplex;
- vlan_tag = <1 0x20>;
- };
- };
-
gpio_export {
compatible = "gpio-export";
#size-cells = <0>;
status = "okay";
};
- ess-psgmii@98000 {
- status = "okay";
- };
-
tcsr@1949000 {
compatible = "qcom,tcsr";
reg = <0x1949000 0x100>;
watchdog@b017000 {
status = "okay";
};
-
- ess-switch@c000000 {
- status = "okay";
- };
-
- edma@c080000 {
- status = "okay";
- };
};
keys {
status = "okay";
};
- ess-psgmii@98000 {
- status = "okay";
- };
-
tcsr@194b000 {
/* select hostmode */
compatible = "qcom,tcsr";
watchdog@b017000 {
status = "okay";
};
-
- ess-switch@c000000 {
- status = "okay";
- };
-
- edma@c080000 {
- status = "okay";
- };
};
keys {
status = "okay";
};
-&gmac0 {
- qcom,phy_mdio_addr = <4>;
- qcom,poll_required = <1>;
- qcom,forced_speed = <1000>;
- qcom,forced_duplex = <1>;
- vlan_tag = <2 0x20>;
-};
-
-&gmac1 {
- qcom,phy_mdio_addr = <3>;
- qcom,poll_required = <1>;
- qcom,forced_speed = <1000>;
- qcom,forced_duplex = <1>;
- vlan_tag = <1 0x10>;
-};
-
&usb2_hs_phy {
status = "okay";
};
status = "okay";
};
- ess-psgmii@98000 {
- status = "okay";
- };
-
tcsr@1949000 {
compatible = "qcom,tcsr";
reg = <0x1949000 0x100>;
watchdog@b017000 {
status = "okay";
};
-
- ess-switch@c000000 {
- status = "okay";
- };
-
- edma@c080000 {
- status = "okay";
- };
};
keys {
#include <dt-bindings/input/input.h>
/ {
- aliases {
- label-mac-device = &gmac0;
- };
-
memory {
device_type = "memory";
reg = <0x80000000 0x10000000>;
watchdog@b017000 {
status = "okay";
};
-
- ess-psgmii@98000 {
- status = "okay";
- };
-
- edma@c080000 {
- status = "okay";
- phy-mode = "rgmii";
- qcom,num_gmac = <1>;
- qcom,single-phy;
- };
};
keys {
qcom,ath10k-calibration-variant = "MikroTik-SXTsq-5-ac";
};
-&gmac0 {
- qcom,phy_mdio_addr = <4>;
- qcom,poll_required = <1>;
- qcom,forced_speed = <1000>;
- qcom,forced_duplex = <1>;
- vlan_tag = <1 0x20>;
-};
-
&mdio {
status = "okay";
};
led-failsafe = &led_power_amber;
led-running = &led_power_green;
led-upgrade = &led_power_amber;
- label-mac-device = &gmac0;
};
chosen {
status = "okay";
};
- ess-psgmii@98000 {
- status = "okay";
- };
-
counter@4a1000 {
compatible = "qcom,qca-gcnt";
reg = <0x4a1000 0x4>;
watchdog@b017000 {
status = "okay";
};
-
- ess-switch@c000000 {
- status = "okay";
- };
-
- edma@c080000 {
- status = "okay";
- };
};
keys {
reset-delay-us = <2000>;
};
-&gmac0 {
- qcom,forced_duplex = <1>;
- qcom,forced_speed = <1000>;
- qcom,phy_mdio_addr = <3>;
- qcom,poll_required = <1>;
- vlan_tag = <1 0x10>;
-};
-
&wifi0 {
status = "okay";
nvmem-cell-names = "pre-calibration", "mac-address";
reg = <0x1957000 0x100>;
qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
};
-
- ess-switch@c000000 {
- status = "okay";
- };
-
- edma@c080000 {
- status = "okay";
- };
};
keys {
status = "okay";
};
-&gmac0 {
- qcom,phy_mdio_addr = <4>;
- qcom,poll_required = <1>;
- qcom,forced_speed = <1000>;
- qcom,forced_duplex = <1>;
- vlan_tag = <2 0x20>;
-};
-
-&gmac1 {
- qcom,phy_mdio_addr = <3>;
- vlan_tag = <1 0x10>;
-};
-
&wifi0 {
status = "okay";
compatible = "pakedge,wr-1";
aliases {
- label-mac-device = &gmac0;
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
};
soc {
- ess-psgmii@98000 {
- status = "okay";
- };
-
tcsr@1949000 {
compatible = "qcom,tcsr";
reg = <0x1949000 0x100>;
reg = <0x1957000 0x100>;
qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
};
-
- ess-switch@c000000 {
- status = "okay";
- };
-
- edma@c080000 {
- status = "okay";
- };
};
};
status = "okay";
};
- ess-psgmii@98000 {
- status = "okay";
- };
-
tcsr@1949000 {
compatible = "qcom,tcsr";
reg = <0x1949000 0x100>;
watchdog@b017000 {
status = "okay";
};
-
- ess-switch@c000000 {
- status = "okay";
- };
-
- edma@c080000 {
- status = "okay";
- qcom,num_gmac = <1>;
- };
};
leds {
/delete-node/ ethernet-phy@3;
};
- ess-psgmii@98000 {
- status = "okay";
- };
-
tcsr@1949000 {
compatible = "qcom,tcsr";
reg = <0x1949000 0x100>;
watchdog@b017000 {
status = "okay";
};
-
- ess-switch@c000000 {
- status = "okay";
-
- switch_lan_bmp = <0x1e>;
- switch_wan_bmp = <0x20>;
- };
-
- edma@c080000 {
- status = "okay";
- };
};
};
status = "okay";
};
-&gmac0 {
- qcom,phy_mdio_addr = <2>;
- qcom,poll_required = <1>;
- nvmem-cell-names = "mac-address";
- nvmem-cells = <&macaddr_art_6>;
-};
-
-&gmac1 {
- qcom,phy_mdio_addr = <4>;
- qcom,poll_required = <1>;
- nvmem-cell-names = "mac-address";
- nvmem-cells = <&macaddr_art_0>;
-};
-
&tlmm {
serial0_pins: serial0_pinmux {
mux {
status = "okay";
};
- ess-psgmii@98000 {
- status = "okay";
- };
-
tcsr@194b000 {
/* select hostmode */
compatible = "qcom,tcsr";
watchdog@b017000 {
status = "okay";
};
-
- ess-switch@c000000 {
- switch_lan_bmp = <0x10>;
- switch_wan_bmp = <0x20>;
-
- status = "okay";
- };
-
- edma@c080000 {
- status = "okay";
- };
};
keys {
status = "okay";
};
-&gmac0 {
- qcom,phy_mdio_addr = <3>;
- qcom,poll_required = <1>;
- qcom,forced_speed = <1000>;
- qcom,forced_duplex = <1>;
- vlan_tag = <1 0x10>;
-};
-
&usb2_hs_phy {
status = "okay";
};
reset-delay-us = <1000>;
};
- ess-psgmii@98000 {
- status = "okay";
- };
-
tcsr@1949000 {
compatible = "qcom,tcsr";
reg = <0x1949000 0x100>;
watchdog@b017000 {
status = "okay";
};
-
- ess-switch@c000000 {
- status = "okay";
- };
-
- edma@c080000 {
- status = "okay";
- };
};
led_spi {
status = "okay";
};
-&gmac0 {
- nvmem-cells = <&macaddr_art_1006>;
- nvmem-cell-names = "mac-address";
-};
-
-&gmac1 {
- nvmem-cells = <&macaddr_art_5006>;
- nvmem-cell-names = "mac-address";
-};
-
&nand {
pinctrl-0 = <&nand_pins>;
pinctrl-names = "default";
pinctrl-names = "default";
};
- ess-psgmii@98000 {
- status = "okay";
- };
-
tcsr@1949000 {
compatible = "qcom,tcsr";
reg = <0x1949000 0x100>;
status = "okay";
};
- ess-switch@c000000 {
- status = "okay";
- };
-
- edma@c080000 {
- status = "okay";
- };
-
leds {
compatible = "gpio-leds";
status = "okay";
};
- ess-psgmii@98000 {
- status = "okay";
- };
-
crypto@8e3a000 {
status = "okay";
};
watchdog@b017000 {
status = "okay";
};
-
- ess-switch@c000000 {
- status = "okay";
- switch_lan_bmp = <0x10>;
- };
-
- edma@c080000 {
- status = "okay";
- };
};
};
status = "okay";
};
-&gmac0 {
- vlan_tag = <1 0x10>;
-};
-
&nand {
pinctrl-0 = <&nand_pins>;
pinctrl-names = "default";
status = "okay";
};
- ess-psgmii@98000 {
- status = "okay";
- };
-
tcsr@1949000 {
compatible = "qcom,tcsr";
reg = <0x1949000 0x100>;
watchdog@b017000 {
status = "okay";
};
-
- ess-switch@c000000 {
- status = "okay";
- };
-
- edma@c080000 {
- status = "okay";
- qcom,num_gmac = <1>;
- };
};
keys {
watchdog@b017000 {
status = "okay";
};
-
- ess-switch@c000000 {
- switch_mac_mode = <0x3>; /* mac mode for RGMII RMII */
- switch_lan_bmp = <0x0>; /* lan port bitmap */
- switch_wan_bmp = <0x10>; /* wan port bitmap */
- };
-
- edma@c080000 {
- status = "okay";
- phy-mode = "rgmii-id";
- qcom,num_gmac = <1>;
- qcom,single-phy;
- };
};
key {
status = "okay";
qcom,ath10k-calibration-variant = "AVM-FRITZRepeater-1200";
};
-
-&gmac0 {
- qcom,phy_mdio_addr = <0>;
- qcom,poll_required = <1>;
- vlan_tag = <0 0x20>;
-};
status = "okay";
};
- ess-psgmii@98000 {
- status = "okay";
- };
-
tcsr@1949000 {
compatible = "qcom,tcsr";
reg = <0x1949000 0x100>;
watchdog@b017000 {
status = "okay";
};
-
- ess-switch@c000000 {
- status = "okay";
-
- switch_lan_bmp = <0x30>;
- switch_wan_bmp = <0x02>;
- };
-
- edma@c080000 {
- status = "okay";
- qcom,num_gmac = <1>;
- };
};
key {
};
};
-&gmac0 {
- vlan_tag = <1 0x30>;
-};
-
&cryptobam {
status = "okay";
};
status = "okay";
};
- ess-psgmii@98000 {
- status = "okay";
- };
-
tcsr@1949000 {
compatible = "qcom,tcsr";
reg = <0x1949000 0x100>;
crypto@8e3a000 {
status = "okay";
};
-
- ess-switch@c000000 {
- status = "okay";
- switch_lan_bmp = <0x2e>;
- switch_wan_bmp = <0x10>;
- };
-
- edma@c080000 {
- status = "okay";
- };
};
keys {
};
};
-&gmac1 {
- qcom,phy_mdio_addr = <3>;
- qcom,poll_required = <1>;
- qcom,forced_speed = <1000>;
- qcom,forced_duplex = <1>;
- vlan_tag = <2 0x10>;
-};
-
-&gmac0 {
- vlan_tag = <1 0x2e>;
-};
-
&vqmmc {
status = "okay";
};
pinctrl-names = "default";
};
- ess-psgmii@98000 {
- status = "okay";
- };
-
counter@4a1000 {
compatible = "qcom,qca-gcnt";
reg = <0x4a1000 0x4>;
watchdog@b017000 {
status = "okay";
};
-
- ess-switch@c000000 {
- status = "okay";
- };
-
- edma@c080000 {
- status = "okay";
- };
};
keys {
watchdog@b017000 {
status = "okay";
};
-
- ess-switch@c000000 {
- status = "okay";
- };
-
- edma@c080000 {
- status = "okay";
- };
};
keys {
watchdog@b017000 {
status = "okay";
};
-
- ess-switch@c000000 {
- switch_mac_mode = <0x3>; /* mac mode for RGMII RMII */
- switch_lan_bmp = <0x0>; /* lan port bitmap */
- switch_wan_bmp = <0x10>; /* wan port bitmap */
- };
-
- edma@c080000 {
- status = "okay";
- phy-mode = "rgmii-id";
- qcom,num_gmac = <1>;
- qcom,single-phy;
- };
};
keys {
};
};
};
-
-&gmac0 {
- qcom,phy_mdio_addr = <0>;
- qcom,poll_required = <1>;
- vlan_tag = <0 0x20>;
-};
status = "okay";
};
- ess-psgmii@98000 {
- status = "okay";
- };
-
tcsr@1949000 {
compatible = "qcom,tcsr";
reg = <0x1949000 0x100>;
watchdog@b017000 {
status = "okay";
};
-
- ess-switch@c000000 {
- status = "okay";
- };
-
- edma@c080000 {
- status = "okay";
- };
};
keys {
watchdog@b017000 {
status = "okay";
};
-
- ess-switch@c000000 {
- status = "okay";
- };
-
- edma@c080000 {
- status = "okay";
- };
};
};
status = "okay";
};
-&gmac0 {
- nvmem-cell-names = "mac-address";
- nvmem-cells = <&macaddr_config_0>;
-};
-
-&gmac1 {
- nvmem-cell-names = "mac-address";
- nvmem-cells = <&macaddr_config_0>;
- mac-address-increment = <1>;
-};
-
&nand {
pinctrl-0 = <&nand_pins>;
pinctrl-names = "default";
pinctrl-names = "default";
};
- ess-psgmii@98000 {
- status = "okay";
- };
-
tcsr@1949000 {
compatible = "qcom,tcsr";
reg = <0x1949000 0x100>;
watchdog@b017000 {
status = "okay";
};
-
- ess-switch@c000000 {
- status = "okay";
- switch_mac_mode = <0x0>; /* mac mode for RGMII RMII */
- switch_initvlas = <0x0007c 0x54>; /* port0 status */
- switch_lan_bmp = <0x10>;
- };
-
- edma@c080000 {
- status = "okay";
- };
};
key {
pinctrl-names = "default";
};
- ess-psgmii@98000 {
- status = "okay";
- };
-
counter@4a1000 {
compatible = "qcom,qca-gcnt";
reg = <0x4a1000 0x4>;
watchdog@b017000 {
status = "okay";
};
-
- ess-switch@c000000 {
- status = "okay";
-
- switch_lan_bmp = <0x1c>;
- switch_wan_bmp = <0x02>;
- };
-
- edma@c080000 {
- status = "okay";
- };
};
keys {
status = "okay";
};
-&gmac0 {
- vlan_tag = <1 0x1c>;
-};
-
-&gmac1 {
- qcom,phy_mdio_addr = <0>;
- vlan_tag = <2 0x02>;
-};
-
&pcie0 {
status = "okay";
status = "okay";
};
- ess-psgmii@98000 {
- status = "okay";
- };
-
tcsr@1949000 {
compatible = "qcom,tcsr";
reg = <0x1949000 0x100>;
watchdog@b017000 {
status = "okay";
};
-
- ess-switch@c000000 {
- switch_lan_bmp = <0x10>;
- switch_wan_bmp = <0x20>;
-
- status = "okay";
- };
-
- edma@c080000 {
- status = "okay";
- };
};
keys {
status = "okay";
};
-&gmac0 {
- qcom,phy_mdio_addr = <3>;
- qcom,poll_required = <1>;
- qcom,forced_speed = <1000>;
- qcom,forced_duplex = <1>;
- vlan_tag = <1 0x10>;
-};
-
&pcie0 {
status = "okay";
perst-gpio = <&tlmm 38 GPIO_ACTIVE_LOW>;
led-failsafe = &led_sys;
led-running = &led_sys;
led-upgrade = &led_sys;
- label-mac-device = &gmac0;
};
soc {
pinctrl-names = "default";
};
- ess-psgmii@98000 {
- status = "okay";
- };
-
tcsr@1949000 {
compatible = "qcom,tcsr";
reg = <0x1949000 0x100>;
watchdog@b017000 {
status = "okay";
};
-
- ess-switch@c000000 {
- status = "okay";
- };
-
- edma@c080000 {
- status = "okay";
- };
};
leds {
status = "okay";
};
- ess-psgmii@98000 {
- status = "okay";
- };
-
tcsr@1949000 {
compatible = "qcom,tcsr";
reg = <0x1949000 0x100>;
watchdog@b017000 {
status = "okay";
};
-
- ess-switch@c000000 {
- status = "okay";
- };
-
- edma@c080000 {
- status = "okay";
- };
};
};
reset-delay-us = <2000>;
};
- ess-psgmii@98000 {
- status = "okay";
- };
-
tcsr@1949000 {
compatible = "qcom,tcsr";
reg = <0x1949000 0x100>;
status = "okay";
};
- ess-switch@c000000 {
- status = "okay";
- };
-
- edma@c080000 {
- status = "okay";
- };
-
aliases {
led-boot = &led_status;
led-failsafe = &led_status;
device_type = "memory";
reg = <0x80000000 0x20000000>; /* 512MB */
};
-
- soc {
- ess-switch@c000000 {
- status = "okay";
- };
-
- edma@c080000 {
- status = "okay";
- };
-
- ess-psgmii@98000 {
- status = "okay";
- };
- };
};
&tlmm {
status = "okay";
};
-&gmac0 {
- qcom,phy_mdio_addr = <4>;
- qcom,poll_required = <1>;
- qcom,forced_speed = <1000>;
- qcom,forced_duplex = <1>;
- vlan_tag = <2 0x20>;
-};
-
-&gmac1 {
- qcom,phy_mdio_addr = <3>;
- qcom,forced_duplex = <1>;
- vlan_tag = <1 0x10>;
-};
-
&mdio {
status = "okay";
pinctrl-0 = <&mdio_pins>;
reset-delay-us = <5000>;
};
- ess-psgmii@98000 {
- status = "okay";
- };
-
tcsr@194b000 {
/* select hostmode */
compatible = "qcom,tcsr";
status = "okay";
};
- ess-switch@c000000 {
- switch_lan_bmp = <0x1e>;
- switch_wan_bmp = <0x20>;
- status = "okay";
- };
-
- edma@c080000 {
- status = "okay";
- };
-
qpic_bam: dma@7984000 {
status = "okay";
};
status = "okay";
};
-&gmac0 {
- qcom,phy_mdio_addr = <4>;
- qcom,poll_required = <1>;
- qcom,forced_speed = <1000>;
- qcom,forced_duplex = <1>;
- vlan_tag = <2 0x20>;
-};
-
-&gmac1 {
- qcom,phy_mdio_addr = <3>;
- qcom,poll_required = <1>;
- qcom,forced_speed = <1000>;
- qcom,forced_duplex = <1>;
- vlan_tag = <1 0x10>;
-};
-
&wifi0 {
status = "okay";
nvmem-cell-names = "pre-calibration";
led-failsafe = &led_power_orange;
led-running = &led_power_white;
led-upgrade = &led_power_blue;
- label-mac-device = &gmac0;
};
soc {
status = "okay";
};
- ess-switch@c000000 {
- status = "okay";
- switch_lan_bmp = <0x1c>;
- };
-
- ess-psgmii@98000 {
- status = "okay";
- };
-
- edma@c080000 {
- status = "okay";
- };
-
usb3@8af8800 {
status = "okay";
};
reset-gpios = <&tlmm 47 GPIO_ACTIVE_LOW>;
};
-&gmac0 {
- nvmem-cells = <&macaddr_orgdata_20>;
- nvmem-cell-names = "mac-address";
-};
-
-&gmac1 {
- nvmem-cells = <&macaddr_orgdata_20>;
- nvmem-cell-names = "mac-address";
-};
-
&usb3_ss_phy {
status = "okay";
};
};
};
};
-
-&gmac0 {
- status = "okay";
-
- mtd-mac-address = <&art 0x5006>;
- mtd-mac-address-increment = <2>;
-};
-
-&gmac1 {
- status = "okay";
-
- mtd-mac-address = <&art 0x5006>;
- mtd-mac-address-increment = <3>;
-};
reset-delay-us = <2000>;
};
- ess-psgmii@98000 {
- status = "okay";
- };
-
tcsr@1949000 {
compatible = "qcom,tcsr";
reg = <0x1949000 0x100>;
status = "okay";
};
- ess-switch@c000000 {
- status = "okay";
- };
-
- edma@c080000 {
- status = "okay";
- };
-
leds {
compatible = "gpio-leds";
pinctrl-0 = <&led_pins>;
status = "okay";
};
- ess-psgmii@98000 {
- status = "okay";
- };
-
tcsr@1949000 {
compatible = "qcom,tcsr";
reg = <0x1949000 0x100>;
watchdog@b017000 {
status = "okay";
};
-
- ess-switch@c000000 {
- status = "okay";
- };
-
- edma@c080000 {
- status = "okay";
- };
};
};
reset-delay-us = <2000>;
};
- ess-psgmii@98000 {
- status = "okay";
- };
-
tcsr@194b000 {
/* select hostmode */
compatible = "qcom,tcsr";
watchdog@b017000 {
status = "okay";
};
-
- ess-switch@c000000 {
- switch_lan_bmp = <0x10>;
- switch_wan_bmp = <0x20>;
-
- status = "okay";
- };
-
- edma@c080000 {
- status = "okay";
- };
};
keys {
status = "okay";
};
-&gmac0 {
- qcom,phy_mdio_addr = <4>;
- qcom,poll_required = <1>;
- qcom,forced_speed = <1000>;
- qcom,forced_duplex = <1>;
- vlan_tag = <2 0x20>;
-};
-
-&gmac1 {
- qcom,phy_mdio_addr = <3>;
- qcom,poll_required = <1>;
- qcom,forced_speed = <1000>;
- qcom,forced_duplex = <1>;
- vlan_tag = <1 0x10>;
-};
-
&usb3_ss_phy {
status = "okay";
};
status = "okay";
};
- ess-switch@c000000 {
- status = "okay";
- };
-
- edma@c080000 {
- status = "okay";
- };
-
i2c_0: i2c@78b7000 {
pinctrl-0 = <&i2c_0_pins>;
pinctrl-names = "default";
status = "okay";
};
- ess-switch@c000000 {
- switch_mac_mode = <0x3>; /* mac mode for RGMII RMII */
- switch_lan_bmp = <0x0>; /* lan port bitmap */
- switch_wan_bmp = <0x10>; /* wan port bitmap */
- };
-
- edma@c080000 {
- qcom,single-phy;
- qcom,num_gmac = <1>;
- phy-mode = "rgmii-id";
- status = "okay";
- };
-
i2c_0: i2c@78b7000 {
pinctrl-0 = <&i2c_0_pins>;
pinctrl-names = "default";
status = "okay";
};
-&gmac0 {
- qcom,phy_mdio_addr = <5>;
- qcom,poll_required = <1>;
- vlan_tag = <0 0x20>;
-};
-
&qpic_bam {
status = "okay";
};
status = "okay";
};
- ess-psgmii@98000 {
- status = "okay";
- };
-
tcsr@1949000 {
compatible = "qcom,tcsr";
reg = <0x1949000 0x100>;
watchdog@b017000 {
status = "okay";
};
-
- ess-switch@c000000 {
- status = "okay";
- switch_lan_bmp = <0x18>;
- switch_wan_bmp = <0x20>;
- };
-
- edma@c080000 {
- status = "okay";
- };
};
keys {
status = "okay";
};
- ess-psgmii@98000 {
- status = "okay";
- };
-
tcsr@1949000 {
compatible = "qcom,tcsr";
reg = <0x1949000 0x100>;
watchdog@b017000 {
status = "okay";
};
-
- ess-switch@c000000 {
- status = "okay";
- switch_lan_bmp = <0x18>;
- switch_wan_bmp = <0x20>;
- };
-
- edma@c080000 {
- status = "okay";
- };
};
keys {
watchdog@b017000 {
status = "okay";
};
-
- ess-switch@c000000 {
- switch_mac_mode = <0x3>; /* mac mode for RGMII RMII */
- switch_lan_bmp = <0x0>; /* lan port bitmap */
- switch_wan_bmp = <0x10>; /* wan port bitmap */
- };
-
- edma@c080000 {
- qcom,single-phy;
- qcom,num_gmac = <1>;
- phy-mode = "rgmii-rxid";
- status = "okay";
- };
};
keys {
status = "okay";
};
-&gmac0 {
- qcom,phy_mdio_addr = <1>;
- qcom,poll_required = <1>;
- vlan_tag = <0 0x20>;
-};
-
&blsp1_i2c3 {
pinctrl-0 = <&i2c_0_pins>;
pinctrl-names = "default";
led-failsafe = &led_system_amber;
led-running = &led_system_green;
led-upgrade = &led_system_amber;
- label-mac-device = &gmac0;
};
soc {
pinctrl-names = "default";
};
- ess-psgmii@98000 {
- status = "okay";
- };
-
tcsr@1949000 {
compatible = "qcom,tcsr";
reg = <0x1949000 0x100>;
watchdog@b017000 {
status = "okay";
};
-
- ess-switch@c000000 {
- status = "okay";
- switch_lan_bmp = <0x20>;
- switch_wan_bmp = <0x00>;
- };
-
- edma@c080000 {
- status = "okay";
- qcom,num_gmac = <1>;
- };
};
leds {
};
};
};
-
-&gmac0 {
- qcom,phy_mdio_addr = <4>;
- qcom,poll_required = <1>;
- qcom,forced_speed = <1000>;
- qcom,forced_duplex = <1>;
- vlan_tag = <1 0x20>;
-};