]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: socfpga: dts: Add bank-name property to each GPIO bank
authorMarek Vasut <marex@denx.de>
Mon, 10 Aug 2015 15:20:23 +0000 (17:20 +0200)
committerMarek Vasut <marex@denx.de>
Sun, 23 Aug 2015 09:56:20 +0000 (11:56 +0200)
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@denx.de>
arch/arm/dts/socfpga.dtsi

index ded3093a6be35ab70fb02244ad0d6fab3fb664aa..8588221e572f83a9f68fb668cb123902846b3bb9 100644 (file)
 
                        porta: gpio-controller@0 {
                                compatible = "snps,dw-apb-gpio-port";
+                               bank-name = "porta";
                                gpio-controller;
                                #gpio-cells = <2>;
                                snps,nr-gpios = <29>;
 
                        portb: gpio-controller@0 {
                                compatible = "snps,dw-apb-gpio-port";
+                               bank-name = "portb";
                                gpio-controller;
                                #gpio-cells = <2>;
                                snps,nr-gpios = <29>;
 
                        portc: gpio-controller@0 {
                                compatible = "snps,dw-apb-gpio-port";
+                               bank-name = "portc";
                                gpio-controller;
                                #gpio-cells = <2>;
                                snps,nr-gpios = <27>;