ipq806x: NSS Hardware Offloading Support ipq8064 Devices
This commit is contained in:
@@ -288,8 +288,22 @@
|
|||||||
|
|
||||||
&gmac1 {
|
&gmac1 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
compatible = "qcom,nss-gmac";
|
||||||
|
reg = <0x37200000 0x200000>;
|
||||||
|
interrupts = <GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
phy-mode = "rgmii";
|
phy-mode = "rgmii";
|
||||||
qcom,id = <1>;
|
qcom,id = <1>;
|
||||||
|
qcom,pcs-chanid = <0>;
|
||||||
|
qcom,phy-mdio-addr = <4>;
|
||||||
|
qcom,poll-required = <0>;
|
||||||
|
qcom,rgmii-delay = <1>;
|
||||||
|
qcom,phy_mii_type = <0>;
|
||||||
|
qcom,emulation = <0>;
|
||||||
|
qcom,forced-speed = <1000>;
|
||||||
|
qcom,forced-duplex = <1>;
|
||||||
|
qcom,socver = <0>;
|
||||||
|
qcom,irq = <255>;
|
||||||
|
mdiobus = <&mdio0>;
|
||||||
|
|
||||||
pinctrl-0 = <&rgmii2_pins>;
|
pinctrl-0 = <&rgmii2_pins>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
@@ -306,12 +320,26 @@
|
|||||||
|
|
||||||
&gmac2 {
|
&gmac2 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
compatible = "qcom,nss-gmac";
|
||||||
|
reg = <0x37400000 0x200000>;
|
||||||
|
interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
phy-mode = "sgmii";
|
phy-mode = "sgmii";
|
||||||
qcom,id = <2>;
|
qcom,id = <2>;
|
||||||
|
qcom,pcs-chanid = <1>;
|
||||||
|
qcom,phy-mdio-addr = <0>; /* none */
|
||||||
|
qcom,poll-required = <0>; /* no polling */
|
||||||
|
qcom,rgmii-delay = <0>;
|
||||||
|
qcom,phy_mii_type = <1>;
|
||||||
|
qcom,emulation = <0>;
|
||||||
|
qcom,forced-speed = <1000>;
|
||||||
|
qcom,forced-duplex = <1>;
|
||||||
|
qcom,socver = <0>;
|
||||||
|
qcom,irq = <258>;
|
||||||
|
mdiobus = <&mdio0>;
|
||||||
|
|
||||||
nvmem-cells = <&macaddr_defaultmac_8>;
|
nvmem-cells = <&macaddr_defaultmac_8>;
|
||||||
nvmem-cell-names = "mac-address";
|
nvmem-cell-names = "mac-address";
|
||||||
|
|
||||||
fixed-link {
|
fixed-link {
|
||||||
speed = <1000>;
|
speed = <1000>;
|
||||||
full-duplex;
|
full-duplex;
|
||||||
|
|||||||
@@ -291,8 +291,22 @@
|
|||||||
|
|
||||||
&gmac1 {
|
&gmac1 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
compatible = "qcom,nss-gmac";
|
||||||
|
reg = <0x37200000 0x200000>;
|
||||||
|
interrupts = <GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
phy-mode = "rgmii";
|
phy-mode = "rgmii";
|
||||||
qcom,id = <1>;
|
qcom,id = <1>;
|
||||||
|
qcom,pcs-chanid = <0>;
|
||||||
|
qcom,phy-mdio-addr = <4>;
|
||||||
|
qcom,poll-required = <0>;
|
||||||
|
qcom,rgmii-delay = <1>;
|
||||||
|
qcom,phy_mii_type = <0>;
|
||||||
|
qcom,emulation = <0>;
|
||||||
|
qcom,forced-speed = <1000>;
|
||||||
|
qcom,forced-duplex = <1>;
|
||||||
|
qcom,socver = <0>;
|
||||||
|
qcom,irq = <255>;
|
||||||
|
mdiobus = <&mdio0>;
|
||||||
|
|
||||||
pinctrl-0 = <&rgmii2_pins>;
|
pinctrl-0 = <&rgmii2_pins>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
@@ -308,8 +322,22 @@
|
|||||||
|
|
||||||
&gmac2 {
|
&gmac2 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
compatible = "qcom,nss-gmac";
|
||||||
|
reg = <0x37400000 0x200000>;
|
||||||
|
interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
phy-mode = "sgmii";
|
phy-mode = "sgmii";
|
||||||
qcom,id = <2>;
|
qcom,id = <2>;
|
||||||
|
qcom,pcs-chanid = <1>;
|
||||||
|
qcom,phy-mdio-addr = <0>; /* none */
|
||||||
|
qcom,poll-required = <0>; /* no polling */
|
||||||
|
qcom,rgmii-delay = <0>;
|
||||||
|
qcom,phy_mii_type = <1>;
|
||||||
|
qcom,emulation = <0>;
|
||||||
|
qcom,forced-speed = <1000>;
|
||||||
|
qcom,forced-duplex = <1>;
|
||||||
|
qcom,socver = <0>;
|
||||||
|
qcom,irq = <258>;
|
||||||
|
mdiobus = <&mdio0>;
|
||||||
|
|
||||||
nvmem-cells = <&macaddr_art_0>;
|
nvmem-cells = <&macaddr_art_0>;
|
||||||
nvmem-cell-names = "mac-address";
|
nvmem-cell-names = "mac-address";
|
||||||
|
|||||||
@@ -173,13 +173,30 @@
|
|||||||
0x00094 0x4e /* PORT6_STATUS */
|
0x00094 0x4e /* PORT6_STATUS */
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
phy4: ethernet-phy@4 {
|
||||||
|
reg = <4>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&gmac1 {
|
&gmac1 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
compatible = "qcom,nss-gmac";
|
||||||
|
reg = <0x37200000 0x200000>;
|
||||||
|
interrupts = <GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
phy-mode = "rgmii";
|
phy-mode = "rgmii";
|
||||||
qcom,id = <1>;
|
qcom,id = <1>;
|
||||||
|
qcom,pcs-chanid = <0>;
|
||||||
|
qcom,phy-mdio-addr = <0>;
|
||||||
|
qcom,poll-required = <0>;
|
||||||
|
qcom,rgmii-delay = <1>;
|
||||||
|
qcom,phy_mii_type = <0>;
|
||||||
|
qcom,emulation = <0>;
|
||||||
|
qcom,forced-speed = <1000>;
|
||||||
|
qcom,forced-duplex = <1>;
|
||||||
|
qcom,socver = <0>;
|
||||||
|
qcom,irq = <255>;
|
||||||
|
mdiobus = <&mdio0>;
|
||||||
|
|
||||||
pinctrl-0 = <&rgmii2_pins>;
|
pinctrl-0 = <&rgmii2_pins>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
@@ -192,9 +209,22 @@
|
|||||||
|
|
||||||
&gmac2 {
|
&gmac2 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
compatible = "qcom,nss-gmac";
|
||||||
|
reg = <0x37400000 0x200000>;
|
||||||
|
interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
phy-mode = "sgmii";
|
phy-mode = "sgmii";
|
||||||
qcom,id = <2>;
|
qcom,id = <2>;
|
||||||
|
qcom,pcs-chanid = <1>;
|
||||||
|
qcom,phy-mdio-addr = <0>;
|
||||||
|
qcom,poll-required = <0>; /* no polling */
|
||||||
|
qcom,rgmii-delay = <0>;
|
||||||
|
qcom,phy_mii_type = <1>;
|
||||||
|
qcom,emulation = <0>;
|
||||||
|
qcom,forced-speed = <1000>;
|
||||||
|
qcom,forced-duplex = <1>;
|
||||||
|
qcom,socver = <0>;
|
||||||
|
qcom,irq = <258>;
|
||||||
|
mdiobus = <&mdio0>;
|
||||||
|
|
||||||
fixed-link {
|
fixed-link {
|
||||||
speed = <1000>;
|
speed = <1000>;
|
||||||
|
|||||||
@@ -122,13 +122,26 @@
|
|||||||
|
|
||||||
&gmac1 {
|
&gmac1 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
compatible = "qcom,nss-gmac";
|
||||||
|
reg = <0x37200000 0x200000>;
|
||||||
|
interrupts = <GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
phy-mode = "rgmii";
|
||||||
|
qcom,id = <1>;
|
||||||
|
qcom,pcs-chanid = <0>;
|
||||||
|
qcom,phy-mdio-addr = <4>;
|
||||||
|
qcom,poll-required = <0>;
|
||||||
|
qcom,rgmii-delay = <1>;
|
||||||
|
qcom,phy_mii_type = <0>;
|
||||||
|
qcom,emulation = <0>;
|
||||||
|
qcom,forced-speed = <1000>;
|
||||||
|
qcom,forced-duplex = <1>;
|
||||||
|
qcom,socver = <0>;
|
||||||
|
qcom,irq = <255>;
|
||||||
|
mdiobus = <&mdio0>;
|
||||||
|
|
||||||
pinctrl-0 = <&rgmii2_pins>;
|
pinctrl-0 = <&rgmii2_pins>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
|
|
||||||
phy-mode = "rgmii";
|
|
||||||
qcom,id = <1>;
|
|
||||||
|
|
||||||
fixed-link {
|
fixed-link {
|
||||||
speed = <1000>;
|
speed = <1000>;
|
||||||
full-duplex;
|
full-duplex;
|
||||||
@@ -137,9 +150,22 @@
|
|||||||
|
|
||||||
&gmac2 {
|
&gmac2 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
compatible = "qcom,nss-gmac";
|
||||||
|
reg = <0x37400000 0x200000>;
|
||||||
|
interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
phy-mode = "sgmii";
|
phy-mode = "sgmii";
|
||||||
qcom,id = <2>;
|
qcom,id = <2>;
|
||||||
|
qcom,pcs-chanid = <1>;
|
||||||
|
qcom,phy-mdio-addr = <0>;
|
||||||
|
qcom,poll-required = <0>; /* no polling */
|
||||||
|
qcom,rgmii-delay = <0>;
|
||||||
|
qcom,phy_mii_type = <1>;
|
||||||
|
qcom,emulation = <0>;
|
||||||
|
qcom,forced-speed = <1000>;
|
||||||
|
qcom,forced-duplex = <1>;
|
||||||
|
qcom,socver = <0>;
|
||||||
|
qcom,irq = <258>;
|
||||||
|
mdiobus = <&mdio0>;
|
||||||
|
|
||||||
fixed-link {
|
fixed-link {
|
||||||
speed = <1000>;
|
speed = <1000>;
|
||||||
@@ -170,6 +196,10 @@
|
|||||||
0x00094 0x4e /* PORT6_STATUS */
|
0x00094 0x4e /* PORT6_STATUS */
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
ethernet-phy@4 {
|
||||||
|
reg = <4>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&nand_controller {
|
&nand_controller {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#include "qcom-ipq8064-v1.0.dtsi"
|
#include "qcom-ipq8064-v2.0.dtsi"
|
||||||
|
|
||||||
#include <dt-bindings/input/input.h>
|
#include <dt-bindings/input/input.h>
|
||||||
#include <dt-bindings/soc/qcom,tcsr.h>
|
#include <dt-bindings/soc/qcom,tcsr.h>
|
||||||
@@ -263,8 +263,22 @@
|
|||||||
|
|
||||||
&gmac1 {
|
&gmac1 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
compatible = "qcom,nss-gmac";
|
||||||
|
reg = <0x37200000 0x200000>;
|
||||||
|
interrupts = <GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
phy-mode = "rgmii";
|
phy-mode = "rgmii";
|
||||||
qcom,id = <1>;
|
qcom,id = <1>;
|
||||||
|
qcom,pcs-chanid = <0>;
|
||||||
|
qcom,phy-mdio-addr = <4>;
|
||||||
|
qcom,poll-required = <0>;
|
||||||
|
qcom,rgmii-delay = <1>;
|
||||||
|
qcom,phy_mii_type = <0>;
|
||||||
|
qcom,emulation = <0>;
|
||||||
|
qcom,forced-speed = <1000>;
|
||||||
|
qcom,forced-duplex = <1>;
|
||||||
|
qcom,socver = <0>;
|
||||||
|
qcom,irq = <255>;
|
||||||
|
mdiobus = <&mdio0>;
|
||||||
|
|
||||||
pinctrl-0 = <&rgmii2_pins>;
|
pinctrl-0 = <&rgmii2_pins>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
@@ -280,8 +294,22 @@
|
|||||||
|
|
||||||
&gmac2 {
|
&gmac2 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
compatible = "qcom,nss-gmac";
|
||||||
|
reg = <0x37400000 0x200000>;
|
||||||
|
interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
phy-mode = "sgmii";
|
phy-mode = "sgmii";
|
||||||
qcom,id = <2>;
|
qcom,id = <2>;
|
||||||
|
qcom,pcs-chanid = <1>;
|
||||||
|
qcom,phy-mdio-addr = <0>; /* none */
|
||||||
|
qcom,poll-required = <0>; /* no polling */
|
||||||
|
qcom,rgmii-delay = <0>;
|
||||||
|
qcom,phy_mii_type = <1>;
|
||||||
|
qcom,emulation = <0>;
|
||||||
|
qcom,forced-speed = <1000>;
|
||||||
|
qcom,forced-duplex = <1>;
|
||||||
|
qcom,socver = <0>;
|
||||||
|
qcom,irq = <258>;
|
||||||
|
mdiobus = <&mdio0>;
|
||||||
|
|
||||||
nvmem-cells = <&macaddr_art_0>;
|
nvmem-cells = <&macaddr_art_0>;
|
||||||
nvmem-cell-names = "mac-address";
|
nvmem-cell-names = "mac-address";
|
||||||
|
|||||||
@@ -293,8 +293,22 @@
|
|||||||
|
|
||||||
&gmac1 {
|
&gmac1 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
compatible = "qcom,nss-gmac";
|
||||||
|
reg = <0x37200000 0x200000>;
|
||||||
|
interrupts = <GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
phy-mode = "rgmii";
|
phy-mode = "rgmii";
|
||||||
qcom,id = <1>;
|
qcom,id = <1>;
|
||||||
|
qcom,pcs-chanid = <0>;
|
||||||
|
qcom,phy-mdio-addr = <4>;
|
||||||
|
qcom,poll-required = <0>;
|
||||||
|
qcom,rgmii-delay = <1>;
|
||||||
|
qcom,phy_mii_type = <0>;
|
||||||
|
qcom,emulation = <0>;
|
||||||
|
qcom,forced-speed = <1000>;
|
||||||
|
qcom,forced-duplex = <1>;
|
||||||
|
qcom,socver = <0>;
|
||||||
|
qcom,irq = <255>;
|
||||||
|
mdiobus = <&mdio0>;
|
||||||
|
|
||||||
pinctrl-0 = <&rgmii2_pins>;
|
pinctrl-0 = <&rgmii2_pins>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
@@ -310,8 +324,22 @@
|
|||||||
|
|
||||||
&gmac2 {
|
&gmac2 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
compatible = "qcom,nss-gmac";
|
||||||
|
reg = <0x37400000 0x200000>;
|
||||||
|
interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
phy-mode = "sgmii";
|
phy-mode = "sgmii";
|
||||||
qcom,id = <2>;
|
qcom,id = <2>;
|
||||||
|
qcom,pcs-chanid = <1>;
|
||||||
|
qcom,phy-mdio-addr = <0>; /* none */
|
||||||
|
qcom,poll-required = <0>; /* no polling */
|
||||||
|
qcom,rgmii-delay = <0>;
|
||||||
|
qcom,phy_mii_type = <1>;
|
||||||
|
qcom,emulation = <0>;
|
||||||
|
qcom,forced-speed = <1000>;
|
||||||
|
qcom,forced-duplex = <1>;
|
||||||
|
qcom,socver = <0>;
|
||||||
|
qcom,irq = <258>;
|
||||||
|
mdiobus = <&mdio0>;
|
||||||
|
|
||||||
nvmem-cells = <&macaddr_art_0>;
|
nvmem-cells = <&macaddr_art_0>;
|
||||||
nvmem-cell-names = "mac-address";
|
nvmem-cell-names = "mac-address";
|
||||||
|
|||||||
Reference in New Issue
Block a user