From 5e8555e3ea324daaf0e38422bcba48c4df33a0d9 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Tue, 07 Nov 2023 06:17:58 +0000
Subject: [PATCH] gmac read mac form eeprom
---
kernel/arch/arm64/boot/dts/rockchip/rk3568-evb.dtsi | 21 ++++++++-------------
1 files changed, 8 insertions(+), 13 deletions(-)
diff --git a/kernel/arch/arm64/boot/dts/rockchip/rk3568-evb.dtsi b/kernel/arch/arm64/boot/dts/rockchip/rk3568-evb.dtsi
old mode 100644
new mode 100755
index f5802f1..8e41761
--- a/kernel/arch/arm64/boot/dts/rockchip/rk3568-evb.dtsi
+++ b/kernel/arch/arm64/boot/dts/rockchip/rk3568-evb.dtsi
@@ -103,7 +103,7 @@
backlight1: backlight1 {
compatible = "pwm-backlight";
- pwms = <&pwm5 0 25000 0>;
+ pwms = <&pwm6 0 25000 0>;
brightness-levels = <
0 20 20 21 21 22 22 23
23 24 24 25 25 26 26 27
@@ -182,8 +182,8 @@
leds: leds {
compatible = "gpio-leds";
- work_led: work {
- gpios = <&gpio0 RK_PC0 GPIO_ACTIVE_HIGH>;
+ sys_led: sys_led {
+ gpios = <&gpio3 RK_PD0 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat";
};
};
@@ -308,7 +308,7 @@
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
enable-active-high;
- gpio = <&gpio0 RK_PC7 GPIO_ACTIVE_HIGH>;
+ gpio = <&gpio0 RK_PC4 GPIO_ACTIVE_HIGH>; //VCC3_IO_EN_GPIO0_C4_3V3
vin-supply = <&vcc3v3_sys>;
regulator-state-mem {
@@ -1398,15 +1398,6 @@
&i2c1 {
status = "okay";
-
- gt1x: gt1x@14 {
- compatible = "goodix,gt1x";
- reg = <0x14>;
- pinctrl-names = "default";
- pinctrl-0 = <&touch_gpio>;
- goodix,rst-gpio = <&gpio0 RK_PB6 GPIO_ACTIVE_HIGH>;
- goodix,irq-gpio = <&gpio0 RK_PB5 IRQ_TYPE_LEVEL_LOW>;
- };
};
&i2c5 {
@@ -1579,6 +1570,10 @@
status = "okay";
};
+&pwm6 {
+ status = "okay";
+};
+
&pwm5 {
status = "okay";
};
--
Gitblit v1.6.2