Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: aspeed: Adjust "reg" property of FMC/SPI controllers

This is compatible with the current driver and addresses issues when
running 'make dt_binding_check'.

Cc: Chin-Ting Kuo <chin-ting_kuo@aspeedtech.com>
Tested-by: Joel Stanley <joel@jms.id.au>
Tested-by: Tao Ren <rentao.bupt@gmail.com>
Tested-by: Jae Hyun Yoo <quic_jaehyoo@quicinc.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Link: https://lore.kernel.org/r/20220509175616.1089346-2-clg@kaod.org
Signed-off-by: Joel Stanley <joel@jms.id.au>

authored by

Cédric Le Goater and committed by
Joel Stanley
651b79e8 4d338ee4

+8 -16
+2 -4
arch/arm/boot/dts/aspeed-g4.dtsi
··· 54 54 ranges; 55 55 56 56 fmc: spi@1e620000 { 57 - reg = < 0x1e620000 0x94 58 - 0x20000000 0x10000000 >; 57 + reg = <0x1e620000 0x94>, <0x20000000 0x10000000>; 59 58 #address-cells = <1>; 60 59 #size-cells = <0>; 61 60 compatible = "aspeed,ast2400-fmc"; ··· 90 91 }; 91 92 92 93 spi: spi@1e630000 { 93 - reg = < 0x1e630000 0x18 94 - 0x30000000 0x10000000 >; 94 + reg = <0x1e630000 0x18>, <0x30000000 0x10000000>; 95 95 #address-cells = <1>; 96 96 #size-cells = <0>; 97 97 compatible = "aspeed,ast2400-spi";
+3 -6
arch/arm/boot/dts/aspeed-g5.dtsi
··· 55 55 ranges; 56 56 57 57 fmc: spi@1e620000 { 58 - reg = < 0x1e620000 0xc4 59 - 0x20000000 0x10000000 >; 58 + reg = <0x1e620000 0xc4>, <0x20000000 0x10000000>; 60 59 #address-cells = <1>; 61 60 #size-cells = <0>; 62 61 compatible = "aspeed,ast2500-fmc"; ··· 83 84 }; 84 85 85 86 spi1: spi@1e630000 { 86 - reg = < 0x1e630000 0xc4 87 - 0x30000000 0x08000000 >; 87 + reg = <0x1e630000 0xc4>, <0x30000000 0x08000000>; 88 88 #address-cells = <1>; 89 89 #size-cells = <0>; 90 90 compatible = "aspeed,ast2500-spi"; ··· 104 106 }; 105 107 106 108 spi2: spi@1e631000 { 107 - reg = < 0x1e631000 0xc4 108 - 0x38000000 0x08000000 >; 109 + reg = <0x1e631000 0xc4>, <0x38000000 0x08000000>; 109 110 #address-cells = <1>; 110 111 #size-cells = <0>; 111 112 compatible = "aspeed,ast2500-spi";
+3 -6
arch/arm/boot/dts/aspeed-g6.dtsi
··· 95 95 }; 96 96 97 97 fmc: spi@1e620000 { 98 - reg = < 0x1e620000 0xc4 99 - 0x20000000 0x10000000 >; 98 + reg = <0x1e620000 0xc4>, <0x20000000 0x10000000>; 100 99 #address-cells = <1>; 101 100 #size-cells = <0>; 102 101 compatible = "aspeed,ast2600-fmc"; ··· 123 124 }; 124 125 125 126 spi1: spi@1e630000 { 126 - reg = < 0x1e630000 0xc4 127 - 0x30000000 0x10000000 >; 127 + reg = <0x1e630000 0xc4>, <0x30000000 0x10000000>; 128 128 #address-cells = <1>; 129 129 #size-cells = <0>; 130 130 compatible = "aspeed,ast2600-spi"; ··· 144 146 }; 145 147 146 148 spi2: spi@1e631000 { 147 - reg = < 0x1e631000 0xc4 148 - 0x50000000 0x10000000 >; 149 + reg = <0x1e631000 0xc4>, <0x50000000 0x10000000>; 149 150 #address-cells = <1>; 150 151 #size-cells = <0>; 151 152 compatible = "aspeed,ast2600-spi";