[U-Boot] [PATCH 2/3] arm: socfpga: dts: Add bank-name property to each GPIO bank
Marek Vasut
marex at denx.de
Mon Aug 10 17:30:29 CEST 2015
Add "bank-name" property to each GPIO bank to give it unique name.
The approach here is exactly the same as with the "regulator-name"
property for regulators.
Signed-off-by: Marek Vasut <marex at denx.de>
Cc: Simon Glass <sjg at chromium.org>
---
arch/arm/dts/socfpga.dtsi | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/dts/socfpga.dtsi b/arch/arm/dts/socfpga.dtsi
index e17e9f4..125034b 100644
--- a/arch/arm/dts/socfpga.dtsi
+++ b/arch/arm/dts/socfpga.dtsi
@@ -550,6 +550,7 @@
porta: gpio-controller at 0 {
compatible = "snps,dw-apb-gpio-port";
+ bank-name = "porta";
gpio-controller;
#gpio-cells = <2>;
snps,nr-gpios = <29>;
@@ -570,6 +571,7 @@
portb: gpio-controller at 0 {
compatible = "snps,dw-apb-gpio-port";
+ bank-name = "portb";
gpio-controller;
#gpio-cells = <2>;
snps,nr-gpios = <29>;
@@ -590,6 +592,7 @@
portc: gpio-controller at 0 {
compatible = "snps,dw-apb-gpio-port";
+ bank-name = "portc";
gpio-controller;
#gpio-cells = <2>;
snps,nr-gpios = <27>;
--
2.1.4
More information about the U-Boot
mailing list