sunxi-6.6: Add i2c3_pa, all pwm pins

This commit is contained in:
The-going 2025-02-22 10:25:13 +03:00 committed by Igor
parent 16d34e346b
commit ecfde0c3d7
3 changed files with 78 additions and 0 deletions

View File

@ -0,0 +1,76 @@
From 4b1a9e607e47f2005a3b6cdc5c834bfc66c903ee Mon Sep 17 00:00:00 2001
From: The-going <48602507+The-going@users.noreply.github.com>
Date: Sat, 22 Feb 2025 10:16:51 +0300
Subject: [PATCH] arm64: dts: sun50i-h616: add i2c3_pa, all pwm pins
---
.../arm64/boot/dts/allwinner/sun50i-h616.dtsi | 46 +++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi
index 4c1b61b3c64f..fc1f15193d80 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi
@@ -420,6 +420,11 @@ i2c2_ph_pins: i2c2-ph-pins {
function = "i2c2";
};
+ i2c3_pa_pins: i2c3-pa-pins {
+ pins = "PA10", "PA11";
+ function = "i2c3";
+ };
+
i2c3_ph_pins: i2c3-ph-pins {
pins = "PH4", "PH5";
function = "i2c3";
@@ -468,6 +473,47 @@ rmii_pins: rmii-pins {
drive-strength = <40>;
};
+ /omit-if-no-ref/
+ pwm0_pd_pin: pwm0-pd-pin {
+ pins = "PD28";
+ function = "pwm0";
+ };
+
+ /omit-if-no-ref/
+ pwm1_pg_pin: pwm1-pg-pin {
+ pins = "PG19";
+ function = "pwm1";
+ };
+
+ /omit-if-no-ref/
+ pwm1_ph_pin: pwm1-ph-pin {
+ pins = "PH3";
+ };
+
+ /omit-if-no-ref/
+ pwm2_ph_pin: pwm2-ph-pin {
+ pins = "PH2";
+ function = "pwm2";
+ };
+
+ /omit-if-no-ref/
+ pwm3_ph_pin: pwm3-ph-pin {
+ pins = "PH0";
+ function = "pwm3";
+ };
+
+ /omit-if-no-ref/
+ pwm4_ph_pin: pwm4-ph-pin {
+ pins = "PH1";
+ function = "pwm4";
+ };
+
+ /omit-if-no-ref/
+ pwm5_pin: pwm5-pin {
+ pins = "PA12";
+ function = "pwm5";
+ };
+
/omit-if-no-ref/
spi0_pins: spi0-pins {
pins = "PC0", "PC2", "PC4";
--
2.35.3

View File

@ -204,3 +204,4 @@
patches.armbian/Fix-ghost-touches-on-tsc2007-tft-screen.patch
patches.armbian/bigtereetech-cb1-i2c-gpio-and-ws2812.patch
patches.armbian/arm64-dts-Add-BananaPi-M4-Berry-support.patch
patches.armbian/arm64-dts-sun50i-h616-add-i2c3_pa-all-pwm-pins.patch

View File

@ -453,3 +453,4 @@
patches.armbian/Fix-ghost-touches-on-tsc2007-tft-screen.patch
patches.armbian/bigtereetech-cb1-i2c-gpio-and-ws2812.patch
patches.armbian/arm64-dts-Add-BananaPi-M4-Berry-support.patch
patches.armbian/arm64-dts-sun50i-h616-add-i2c3_pa-all-pwm-pins.patch