Unverified Commit 1497f14d authored by Frank Wunderlich's avatar Frank Wunderlich Committed by AngeloGioacchino Del Regno
Browse files

arm64: dts: mediatek: mt7988a-bpi-r4: Add pinctrl subnodes for bpi-r4

parent 7d887c0c
Loading
Loading
Loading
Loading
+189 −0
Original line number Diff line number Diff line
@@ -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";
		};
	};
};