From 6c9be420e167ee7ce45c0309586f09ddab28ac15 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Thu, 30 Nov 2023 08:55:53 +0000
Subject: [PATCH] enable can1
---
kernel/arch/arm64/boot/dts/rockchip/NK-R36S0.dtsi | 26 ++++++++++++++++++++------
1 files changed, 20 insertions(+), 6 deletions(-)
diff --git a/kernel/arch/arm64/boot/dts/rockchip/NK-R36S0.dtsi b/kernel/arch/arm64/boot/dts/rockchip/NK-R36S0.dtsi
index cc114b1..823f0f7 100755
--- a/kernel/arch/arm64/boot/dts/rockchip/NK-R36S0.dtsi
+++ b/kernel/arch/arm64/boot/dts/rockchip/NK-R36S0.dtsi
@@ -146,6 +146,11 @@
gpio_function = <0>;
};
+ m2_wifi_pwr {
+ gpio_num = <&gpio3 RK_PC6 GPIO_ACTIVE_HIGH>;//WIFI_PWREN_GPIO3_C6_1V8
+ gpio_function = <0>;
+ };
+
#if 0
do1 {
@@ -388,7 +393,9 @@
rx_delay = <0x2f>;
phy-handle = <&rgmii_phy0>;
- status = "disabled";
+
+ status = "okay";
+
};
&gmac1 {
@@ -533,7 +540,7 @@
};
&pcie30phy {
- status = "disabled";
+ status = "okay";
};
&pcie2x1 {
@@ -543,7 +550,14 @@
};
&pcie3x2 {
- reset-gpios = <&gpio2 RK_PD6 GPIO_ACTIVE_HIGH>;
+ reset-gpios = <&gpio3 RK_PA1 GPIO_ACTIVE_HIGH>;
+ vpcie3v3-supply = <&vcc3v3_pcie>;
+ status = "disabled";
+};
+
+&pcie3x1 {
+ rockchip,bifurcation;
+ reset-gpios = <&gpio3 RK_PA1 GPIO_ACTIVE_HIGH>;
vpcie3v3-supply = <&vcc3v3_pcie>;
status = "okay";
};
@@ -681,7 +695,7 @@
};
&uart0 {
- status = "okay";
+ status = "disabled";
};
&uart1 {
@@ -706,11 +720,11 @@
};
&uart7 {
- status = "okay";
+ status = "disabled";
pinctrl-0 = <&uart7m1_xfer>;
};
&uart9 {
- status = "okay";
+ status = "disabled";
pinctrl-0 = <&uart9m1_xfer>;
};
\ No newline at end of file
--
Gitblit v1.6.2