This commit is contained in:
coolsnowwolf 2021-07-20 20:06:43 +08:00
commit a9f078bb1a
3 changed files with 33 additions and 2 deletions

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>;

View File

@ -1,7 +1,7 @@
define Device/generic
DEVICE_TITLE := Generic x86/64
DEVICE_PACKAGES += kmod-amazon-ena kmod-bnx2 kmod-e1000e kmod-e1000 \
kmod-forcedeth kmod-igb kmod-ixgbe kmod-amd-xgbe kmod-r8168
kmod-forcedeth kmod-igb kmod-ixgbe kmod-amd-xgbe kmod-r8168 kmod-fs-vfat
GRUB2_VARIANT := generic
endef
TARGET_DEVICES += generic

View File

@ -2,7 +2,7 @@ define Device/generic
DEVICE_TITLE := Generic x86
DEVICE_PACKAGES += kmod-3c59x kmod-8139too kmod-e100 kmod-e1000 kmod-natsemi \
kmod-ne2k-pci kmod-pcnet32 kmod-r8168 kmod-sis900 kmod-tg3 \
kmod-via-rhine kmod-via-velocity kmod-forcedeth
kmod-via-rhine kmod-via-velocity kmod-forcedeth kmod-fs-vfat
GRUB2_VARIANT := generic
endef
TARGET_DEVICES += generic