]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: aspeed: Rename flash-controller nodes
authorJoel Stanley <joel@jms.id.au>
Fri, 5 Apr 2019 03:32:30 +0000 (14:02 +1030)
committerJoel Stanley <joel@jms.id.au>
Fri, 24 May 2019 04:25:15 +0000 (13:55 +0930)
The device tree compiler has started spitting out warnings about these
names, insisting they be called 'spi':

 ../arch/arm/boot/dts/aspeed-g5.dtsi:108.35-128.5: Warning
 (spi_bus_bridge): /ahb/flash-controller@1e631000: node name for SPI
 buses should be 'spi'

Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-g4.dtsi
arch/arm/boot/dts/aspeed-g5.dtsi

index 5d7050d00874299b5b264b2732eaf333342b2874..27a1da78f5c039e080a056f74f83d56ffc98a0de 100644 (file)
@@ -53,7 +53,7 @@ ahb {
                #size-cells = <1>;
                ranges;
 
-               fmc: flash-controller@1e620000 {
+               fmc: spi@1e620000 {
                        reg = < 0x1e620000 0x94
                                0x20000000 0x10000000 >;
                        #address-cells = <1>;
@@ -69,7 +69,7 @@ flash@0 {
                        };
                };
 
-               spi: flash-controller@1e630000 {
+               spi: spi@1e630000 {
                        reg = < 0x1e630000 0x18
                                0x30000000 0x10000000 >;
                        #address-cells = <1>;
index 4345c3153ca74cf73b2703b9aa0a87fc3f0005f3..de0bb6f25bbfef089c5176057103c87fb44b5256 100644 (file)
@@ -60,7 +60,7 @@ ahb {
                #size-cells = <1>;
                ranges;
 
-               fmc: flash-controller@1e620000 {
+               fmc: spi@1e620000 {
                        reg = < 0x1e620000 0xc4
                                0x20000000 0x10000000 >;
                        #address-cells = <1>;
@@ -86,7 +86,7 @@ flash@2 {
                        };
                };
 
-               spi1: flash-controller@1e630000 {
+               spi1: spi@1e630000 {
                        reg = < 0x1e630000 0xc4
                                0x30000000 0x08000000 >;
                        #address-cells = <1>;
@@ -106,7 +106,7 @@ flash@1 {
                        };
                };
 
-               spi2: flash-controller@1e631000 {
+               spi2: spi@1e631000 {
                        reg = < 0x1e631000 0xc4
                                0x38000000 0x08000000 >;
                        #address-cells = <1>;