mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-06-09 07:52:07 +08:00
212 lines
3.6 KiB
Diff
212 lines
3.6 KiB
Diff
From 6b116c43782a153bcde18bd54d3220d81b476859 Mon Sep 17 00:00:00 2001
|
|
From: Frank Wunderlich <frank-w@public-files.de>
|
|
Date: Tue, 17 Dec 2024 09:54:30 +0100
|
|
Subject: [PATCH 13/32] arm64: dts: mediatek: mt7988a-bpi-r4: Add pinctrl
|
|
subnodes for bpi-r4
|
|
|
|
Add board specific pinctrl configurations on Bananapi R4.
|
|
|
|
Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
|
|
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
|
|
Link: https://lore.kernel.org/r/20241217085435.9586-6-linux@fw-web.de
|
|
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
|
|
---
|
|
.../dts/mediatek/mt7988a-bananapi-bpi-r4.dts | 189 ++++++++++++++++++
|
|
1 file changed, 189 insertions(+)
|
|
|
|
--- a/arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4.dts
|
|
+++ b/arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4.dts
|
|
@@ -9,3 +9,192 @@
|
|
model = "Banana Pi BPI-R4";
|
|
chassis-type = "embedded";
|
|
};
|
|
+
|
|
+&pio {
|
|
+ mdio0_pins: mdio0-pins {
|
|
+ mux {
|
|
+ function = "eth";
|
|
+ groups = "mdc_mdio0";
|
|
+ };
|
|
+
|
|
+ conf {
|
|
+ pins = "SMI_0_MDC", "SMI_0_MDIO";
|
|
+ drive-strength = <8>;
|
|
+ };
|
|
+ };
|
|
+
|
|
+ i2c0_pins: i2c0-g0-pins {
|
|
+ mux {
|
|
+ function = "i2c";
|
|
+ groups = "i2c0_1";
|
|
+ };
|
|
+ };
|
|
+
|
|
+ i2c1_pins: i2c1-g0-pins {
|
|
+ mux {
|
|
+ function = "i2c";
|
|
+ groups = "i2c1_0";
|
|
+ };
|
|
+ };
|
|
+
|
|
+ i2c1_sfp_pins: i2c1-sfp-g0-pins {
|
|
+ mux {
|
|
+ function = "i2c";
|
|
+ groups = "i2c1_sfp";
|
|
+ };
|
|
+ };
|
|
+
|
|
+ i2c2_0_pins: i2c2-g0-pins {
|
|
+ mux {
|
|
+ function = "i2c";
|
|
+ groups = "i2c2_0";
|
|
+ };
|
|
+ };
|
|
+
|
|
+ i2c2_1_pins: i2c2-g1-pins {
|
|
+ mux {
|
|
+ function = "i2c";
|
|
+ groups = "i2c2_1";
|
|
+ };
|
|
+ };
|
|
+
|
|
+ gbe0_led0_pins: gbe0-led0-pins {
|
|
+ mux {
|
|
+ function = "led";
|
|
+ groups = "gbe0_led0";
|
|
+ };
|
|
+ };
|
|
+
|
|
+ gbe1_led0_pins: gbe1-led0-pins {
|
|
+ mux {
|
|
+ function = "led";
|
|
+ groups = "gbe1_led0";
|
|
+ };
|
|
+ };
|
|
+
|
|
+ gbe2_led0_pins: gbe2-led0-pins {
|
|
+ mux {
|
|
+ function = "led";
|
|
+ groups = "gbe2_led0";
|
|
+ };
|
|
+ };
|
|
+
|
|
+ gbe3_led0_pins: gbe3-led0-pins {
|
|
+ mux {
|
|
+ function = "led";
|
|
+ groups = "gbe3_led0";
|
|
+ };
|
|
+ };
|
|
+
|
|
+ gbe0_led1_pins: gbe0-led1-pins {
|
|
+ mux {
|
|
+ function = "led";
|
|
+ groups = "gbe0_led1";
|
|
+ };
|
|
+ };
|
|
+
|
|
+ gbe1_led1_pins: gbe1-led1-pins {
|
|
+ mux {
|
|
+ function = "led";
|
|
+ groups = "gbe1_led1";
|
|
+ };
|
|
+ };
|
|
+
|
|
+ gbe2_led1_pins: gbe2-led1-pins {
|
|
+ mux {
|
|
+ function = "led";
|
|
+ groups = "gbe2_led1";
|
|
+ };
|
|
+ };
|
|
+
|
|
+ gbe3_led1_pins: gbe3-led1-pins {
|
|
+ mux {
|
|
+ function = "led";
|
|
+ groups = "gbe3_led1";
|
|
+ };
|
|
+ };
|
|
+
|
|
+ i2p5gbe_led0_pins: 2p5gbe-led0-pins {
|
|
+ mux {
|
|
+ function = "led";
|
|
+ groups = "2p5gbe_led0";
|
|
+ };
|
|
+ };
|
|
+
|
|
+ i2p5gbe_led1_pins: 2p5gbe-led1-pins {
|
|
+ mux {
|
|
+ function = "led";
|
|
+ groups = "2p5gbe_led1";
|
|
+ };
|
|
+ };
|
|
+
|
|
+ mmc0_pins_emmc_45: mmc0-emmc-45-pins {
|
|
+ mux {
|
|
+ function = "flash";
|
|
+ groups = "emmc_45";
|
|
+ };
|
|
+ };
|
|
+
|
|
+ mmc0_pins_emmc_51: mmc0-emmc-51-pins {
|
|
+ mux {
|
|
+ function = "flash";
|
|
+ groups = "emmc_51";
|
|
+ };
|
|
+ };
|
|
+
|
|
+ mmc0_pins_sdcard: mmc0-sdcard-pins {
|
|
+ mux {
|
|
+ function = "flash";
|
|
+ groups = "sdcard";
|
|
+ };
|
|
+ };
|
|
+
|
|
+ uart0_pins: uart0-pins {
|
|
+ mux {
|
|
+ function = "uart";
|
|
+ groups = "uart0";
|
|
+ };
|
|
+ };
|
|
+
|
|
+ snfi_pins: snfi-pins {
|
|
+ mux {
|
|
+ function = "flash";
|
|
+ groups = "snfi";
|
|
+ };
|
|
+ };
|
|
+
|
|
+ spi0_pins: spi0-pins {
|
|
+ mux {
|
|
+ function = "spi";
|
|
+ groups = "spi0";
|
|
+ };
|
|
+ };
|
|
+
|
|
+ spi0_flash_pins: spi0-flash-pins {
|
|
+ mux {
|
|
+ function = "spi";
|
|
+ groups = "spi0", "spi0_wp_hold";
|
|
+ };
|
|
+ };
|
|
+
|
|
+ spi1_pins: spi1-pins {
|
|
+ mux {
|
|
+ function = "spi";
|
|
+ groups = "spi1";
|
|
+ };
|
|
+ };
|
|
+
|
|
+ spi2_pins: spi2-pins {
|
|
+ mux {
|
|
+ function = "spi";
|
|
+ groups = "spi2";
|
|
+ };
|
|
+ };
|
|
+
|
|
+ spi2_flash_pins: spi2-flash-pins {
|
|
+ mux {
|
|
+ function = "spi";
|
|
+ groups = "spi2", "spi2_wp_hold";
|
|
+ };
|
|
+ };
|
|
+};
|