[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20260115-ten64-dts-updates-2025-12-v1-3-a56380bbb2ac@traverse.com.au>
Date: Thu, 15 Jan 2026 17:26:45 +1100
From: Mathew McBride <matt@...verse.com.au>
To: Shawn Guo <shawnguo@...nel.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>
Cc: linux-arm-kernel@...ts.infradead.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, Mathew McBride <matt@...verse.com.au>
Subject: [PATCH 3/3] arm64: dts: ten64: provide gpio-line-names for all
system gpios
There are GPIOs on the Ten64 board which are intended to be
user controlled, as well as some that are used for system functions
(such as SFP control lines and associated LEDs).
Providing the gpio-line-names will be useful to users of the board,
for example, in the /sys/kernel/debug/gpio listing.
The master GPIO list for the board can be viewed here:
https://ten64doc.traverse.com.au/hardware/gpio/
Signed-off-by: Mathew McBride <matt@...verse.com.au>
---
.../arm64/boot/dts/freescale/fsl-ls1088a-ten64.dts | 60 ++++++++++++++++++++++
1 file changed, 60 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a-ten64.dts b/arch/arm64/boot/dts/freescale/fsl-ls1088a-ten64.dts
index 0a460eebd636..f35889b80fe2 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1088a-ten64.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a-ten64.dts
@@ -264,6 +264,48 @@ &esdhc {
max-frequency = <25000000>;
};
+&gpio1 {
+ /* Only GPIO 17 is utilised on this controller */
+ gpio-line-names =
+ "", "", "", "", "", "", "", "",
+ "", "", "", "", "", "", "", "",
+ "",
+ "EXT_PWR_DWN",
+ "", "", "", "", "", "",
+ "", "", "", "", "", "", "", "";
+};
+
+&gpio2 {
+ /* Only GPIO 27,28,29 are utilised on this controller */
+ gpio-line-names =
+ "", "", "", "", "", "", "", "",
+ "", "", "", "", "", "", "", "",
+ "", "", "", "", "", "", "", "",
+ "", "", "",
+ "P6_GPIO_A",
+ "P6_GPIO_B",
+ "P6_GPIO_C",
+ "", "";
+};
+
+&gpio3 {
+ /* Only GPIO4-9, 11-13 are utilised on this controller */
+ gpio-line-names =
+ "", "", "", "",
+ "P6_GPIO_D",
+ "P6_GPIO_E",
+ "P6_GPIO_F",
+ "P6_GPIO_G",
+ "P6_GPIO_H_ADMIN_BTN",
+ "",
+ "TCA9539_INT",
+ "SFP_XG0_ACT_LED",
+ "SFP_XG1_ACT_LED",
+ "SIM_SD_TRAY_STATUS",
+ "", "", "", "", "", "", "", "", "", "",
+ "", "", "", "", "", "", "", "";
+};
+
&i2c0 {
status = "okay";
@@ -273,6 +315,24 @@ sfpgpio: gpio@76 {
#gpio-cells = <2>;
gpio-controller;
+ gpio-line-names =
+ "XG1_TX_FAULT", /* Upper SFP+ signals */
+ "XG1_TX_DISABLE",
+ "XG1_PRESENT",
+ "XG1_LOS",
+ "XG0_TX_FAULT", /* Lower SFP+ signals */
+ "XG0_TX_DISABLE",
+ "XG0_PRESENT",
+ "XG0_LOS",
+ "CELLULAR_RESET",
+ "CELLULAR_POWER_OFF",
+ "CELLULAR_DISABLE",
+ "CELLULAR_GNSS_DISABLE",
+ "ADMIN_LED_P",
+ "ADMIN_LED_N",
+ "USER_SWITCH",
+ "ATX_HD_ACT_LED";
+
admin-led-lower-hog {
gpio-hog;
gpios = <13 GPIO_ACTIVE_HIGH>;
--
2.51.2
Powered by blists - more mailing lists