Skip to contentSkip to conversation

arm64: dts: marvell: 7040-db: Document the gpio expander

PATCH New Gregory CLEMENT 1 participant 2 messages Oct 5, 2017 – Oct 12, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: marvell: 7040-db: Document the gpio expander

Document all the GPIO of the expander based on the schematics

---
 arch/arm64/boot/dts/marvell/armada-7040-db.dts | 10 ++++++++++
 1 file changed, 10 insertions(+)
arch/arm64/boot/dts/marvell/armada-7040-db.dts +10 -0
index 8f3b395c786c..18a75fad1e8d 100644
@@ -143,6 +143,16 @@
 		gpio-controller;
 		#gpio-cells = <2>;
 		reg = <0x21>;
+		/*
+		 * IO0_0: USB3_PWR_EN0	IO1_0: USB_3_1_Dev_Detect
+		 * IO0_1: USB3_PWR_EN1	IO1_1: USB2_1_current_limit
+		 * IO0_2: DDR3_4_Detect	IO1_2: Hcon_IO_RstN
+		 * IO0_3: USB2_DEVICE_DETECT
+		 * IO0_4: GPIO_0	IO1_4: SD_Status
+		 * IO0_5: GPIO_1	IO1_5: LDO_5V_Enable
+		 * IO0_6: IHB_5V_Enable	IO1_6: PWR_EN_eMMC
+		 * IO0_7:		IO1_7: SDIO_Vcntrl
+		 */
 	};
 };
 
Signature · 1 line
2.14.2
#1 lore raw

PATCH 1/1 arm64: dts: marvell: 7040-db: Document the gpio expander

Hi,

Quoted 2 lines · Gregory CLEMENT

Document all the GPIO of the expander based on the schematics

Applied on mvebu/dt64

Gregory

Quoted 34 lines
---
 arch/arm64/boot/dts/marvell/armada-7040-db.dts | 10 ++++++++++
 1 file changed, 10 insertions(+)
arch/arm64/boot/dts/marvell/armada-7040-db.dts +10 -0
index 8f3b395c786c..18a75fad1e8d 100644
@@ -143,6 +143,16 @@
 		gpio-controller;
 		#gpio-cells = <2>;
 		reg = <0x21>;
+		/*
+		 * IO0_0: USB3_PWR_EN0	IO1_0: USB_3_1_Dev_Detect
+		 * IO0_1: USB3_PWR_EN1	IO1_1: USB2_1_current_limit
+		 * IO0_2: DDR3_4_Detect	IO1_2: Hcon_IO_RstN
+		 * IO0_3: USB2_DEVICE_DETECT
+		 * IO0_4: GPIO_0	IO1_4: SD_Status
+		 * IO0_5: GPIO_1	IO1_5: LDO_5V_Enable
+		 * IO0_6: IHB_5V_Enable	IO1_6: PWR_EN_eMMC
+		 * IO0_7:		IO1_7: SDIO_Vcntrl
+		 */
 	};
 };
 
Signature · 7 lines
2.14.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Signature · 4 lines
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com