ipq806x: RT4230W add NSS Hardware Offloading support (#7452)

This commit is contained in:
Hugo Yuan 2021-07-20 18:47:57 +08:00 committed by GitHub
parent e34e5b584e
commit fb430b48e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -244,12 +244,29 @@
0x00054 0xc832c832 /* LED_CTRL_1 */
>;
};
phy4: ethernet-phy@4 {
reg = <4>;
};
};
&gmac0 {
status = "okay";
compatible = "qcom,nss-gmac";
reg = <0x37000000 0x200000>;
interrupts = <GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>;
phy-mode = "rgmii";
qcom,id = <0>;
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>;
mtd-mac-address = <&ART 0x0>;
@ -264,8 +281,22 @@
&gmac1 {
status = "okay";
compatible = "qcom,nss-gmac";
reg = <0x37200000 0x200000>;
interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>;
phy-mode = "sgmii";
qcom,id = <1>;
qcom,pcs-chanid = <1>;
qcom,phy-mdio-addr = <4>;
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>;
mtd-mac-address = <&ART 0x6>;