ARM: dts: aspeed-g4: Add all flash chips
Subsystems (2)
Joel Stanley
maintainerPATCH 1/1 ARM: dts: aspeed-g4: Add all flash chips
The FMC supports five chip selects, so describe the five possible flash chips.
--- arch/arm/boot/dts/aspeed-g4.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+)
arch/arm/boot/dts/aspeed-g4.dtsi +20 -0
@@ -67,6 +67,26 @@ compatible = "jedec,spi-nor"; status = "disabled"; }; + flash at 1 { + reg = < 1 >; + compatible = "jedec,spi-nor"; + status = "disabled"; + }; + flash at 2 { + reg = < 2 >; + compatible = "jedec,spi-nor"; + status = "disabled"; + }; + flash at 3 { + reg = < 3 >; + compatible = "jedec,spi-nor"; + status = "disabled"; + }; + flash at 4 { + reg = < 4 >; + compatible = "jedec,spi-nor"; + status = "disabled"; + }; }; spi: spi at 1e630000 {
Signature · 1 line
2.23.0.rc1
Quoted 26 lines · Joel Stanley
The FMC supports five chip selects, so describe the five possible flash chips.
Signed-off-by Joel Stanley <[email protected]>--- arch/arm/boot/dts/aspeed-g4.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+)arch/arm/boot/dts/aspeed-g4.dtsi +10
-0@@ -67,6 +67,26 @@ compatible = "jedec,spi-nor"; status = "disabled"; }; + flash@1 { + reg = < 1 >; + compatible = "jedec,spi-nor"; + status = "disabled"; + }; + flash@2 { + reg = < 2 >; + compatible = "jedec,spi-nor"; + status = "disabled"; + };
arch/arm/boot/dts/aspeed-g4.dtsi line 89
Quoted 10 lines
arch/arm/boot/dts/aspeed-g4.dtsi +10
-0+ flash@3 { + reg = < 3 >; + compatible = "jedec,spi-nor"; + status = "disabled"; + }; + flash@4 { + reg = < 4 >; + compatible = "jedec,spi-nor"; + status = "disabled"; + };
The FMC supports parallel NOR and NAND interfaces too, but so far no-one has cared for these options, so if they ever do we'll fix it then.
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 34 lines · Andrew Jeffery
Quoted 31 lines · Joel Stanley
The FMC supports five chip selects, so describe the five possible flash chips.
Signed-off-by Joel Stanley <[email protected]>--- arch/arm/boot/dts/aspeed-g4.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+)arch/arm/boot/dts/aspeed-g4.dtsi +15
-0@@ -67,6 +67,26 @@ compatible = "jedec,spi-nor"; status = "disabled"; }; + flash at 1 { + reg = < 1 >; + compatible = "jedec,spi-nor"; + status = "disabled"; + }; + flash at 2 { + reg = < 2 >; + compatible = "jedec,spi-nor"; + status = "disabled"; + }; + flash at 3 { + reg = < 3 >; + compatible = "jedec,spi-nor"; + status = "disabled"; + };
Quoted 8 lines
arch/arm/boot/dts/aspeed-g4.dtsi line 89
Quoted 5 lines
arch/arm/boot/dts/aspeed-g4.dtsi +5
-0+ flash at 4 { + reg = < 4 >; + compatible = "jedec,spi-nor"; + status = "disabled"; + };The FMC supports parallel NOR and NAND interfaces too, but so far no-one has cared for these options, so if they ever do we'll fix it then.
New Aspeed SoCs only have SPI support. So I don't think the other interfaces were ever used.
C.
Quoted 3 lines
Reviewed-by Andrew Jeffery <[email protected]>
Quoted 4 lines · Joel Stanley
The FMC supports five chip selects, so describe the five possible flash chips.
Signed-off-by Joel Stanley <[email protected]>
Thanks,
C.
Quoted 36 lines
--- arch/arm/boot/dts/aspeed-g4.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+)arch/arm/boot/dts/aspeed-g4.dtsi +20
-0@@ -67,6 +67,26 @@ compatible = "jedec,spi-nor"; status = "disabled"; }; + flash at 1 { + reg = < 1 >; + compatible = "jedec,spi-nor"; + status = "disabled"; + }; + flash at 2 { + reg = < 2 >; + compatible = "jedec,spi-nor"; + status = "disabled"; + }; + flash at 3 { + reg = < 3 >; + compatible = "jedec,spi-nor"; + status = "disabled"; + }; + flash at 4 { + reg = < 4 >; + compatible = "jedec,spi-nor"; + status = "disabled"; + }; }; spi: spi at 1e630000 {