hc
2023-11-20 5a4414d1fd83d52b073fc27f6e12dc9fe3b32766
add pcie r8169 driver
2 files modified
13 ■■■■ changed files
kernel/arch/arm64/boot/dts/rockchip/NK-R36S0.dtsi 6 ●●●●● patch | view | raw | blame | history
kernel/arch/arm64/configs/rockchip_linux_defconfig 7 ●●●● patch | view | raw | blame | history
kernel/arch/arm64/boot/dts/rockchip/NK-R36S0.dtsi
....@@ -524,6 +524,12 @@
524524 };
525525
526526 &pcie30phy {
527
+ status = "disabled";
528
+};
529
+
530
+&pcie2x1 {
531
+ reset-gpios = <&gpio3 RK_PC1 GPIO_ACTIVE_HIGH>;
532
+ vpcie3v3-supply = <&vcc3v3_pcie>;
527533 status = "okay";
528534 };
529535
kernel/arch/arm64/configs/rockchip_linux_defconfig
....@@ -1567,7 +1567,10 @@
15671567 # CONFIG_NET_VENDOR_QLOGIC is not set
15681568 # CONFIG_NET_VENDOR_QUALCOMM is not set
15691569 # CONFIG_NET_VENDOR_RDC is not set
1570
-# CONFIG_NET_VENDOR_REALTEK is not set
1570
+CONFIG_NET_VENDOR_REALTEK=y
1571
+# CONFIG_8139CP is not set
1572
+# CONFIG_8139TOO is not set
1573
+CONFIG_R8169=y
15711574 # CONFIG_NET_VENDOR_RENESAS is not set
15721575 # CONFIG_NET_VENDOR_ROCKER is not set
15731576 # CONFIG_NET_VENDOR_SAMSUNG is not set
....@@ -1644,7 +1647,7 @@
16441647 CONFIG_MOTORCOMM_PHY=y
16451648 # CONFIG_NATIONAL_PHY is not set
16461649 # CONFIG_QSEMI_PHY is not set
1647
-# CONFIG_REALTEK_PHY is not set
1650
+CONFIG_REALTEK_PHY=y
16481651 # CONFIG_RENESAS_PHY is not set
16491652 CONFIG_ROCKCHIP_PHY=y
16501653 CONFIG_RK630_PHY=y