ARM: dts: aspeed: Enable Dual SPI RX transfers
authorCédric Le Goater <clg@kaod.org>
Mon, 9 May 2022 17:56:14 +0000 (19:56 +0200)
committerJoel Stanley <joel@jms.id.au>
Thu, 19 May 2022 03:39:47 +0000 (13:09 +0930)
All these controllers support at least Dual SPI. Update the DTs.

Reviewed-by: Joel Stanley <joel@jms.id.au>
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-10-clg@kaod.org
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-g4.dtsi
arch/arm/boot/dts/aspeed-g5.dtsi
arch/arm/boot/dts/aspeed-g6.dtsi

index 3b7b98e787e77da44934d8128f4740d60ef26e82..1c6354cec9f29b3faa4a1d66a19dbbcd620b22e5 100644 (file)
                        flash@0 {
                                reg = < 0 >;
                                compatible = "jedec,spi-nor";
+                               spi-rx-bus-width = <2>;
                                spi-max-frequency = <50000000>;
                                status = "disabled";
                        };
                        flash@1 {
                                reg = < 1 >;
                                compatible = "jedec,spi-nor";
+                               spi-rx-bus-width = <2>;
                                status = "disabled";
                        };
                        flash@2 {
                                reg = < 2 >;
                                compatible = "jedec,spi-nor";
+                               spi-rx-bus-width = <2>;
                                status = "disabled";
                        };
                        flash@3 {
                                reg = < 3 >;
                                compatible = "jedec,spi-nor";
+                               spi-rx-bus-width = <2>;
                                status = "disabled";
                        };
                        flash@4 {
                                reg = < 4 >;
                                compatible = "jedec,spi-nor";
+                               spi-rx-bus-width = <2>;
                                status = "disabled";
                        };
                };
                                reg = < 0 >;
                                compatible = "jedec,spi-nor";
                                spi-max-frequency = <50000000>;
+                               spi-rx-bus-width = <2>;
                                status = "disabled";
                        };
                };
index 1e727cbaab143c58e2cdff56d08680c15d1cd0af..c89092c3905b58792b2eda42a820d8331d23f007 100644 (file)
                                reg = < 0 >;
                                compatible = "jedec,spi-nor";
                                spi-max-frequency = <50000000>;
+                               spi-rx-bus-width = <2>;
                                status = "disabled";
                        };
                        flash@1 {
                                reg = < 1 >;
                                compatible = "jedec,spi-nor";
                                spi-max-frequency = <50000000>;
+                               spi-rx-bus-width = <2>;
                                status = "disabled";
                        };
                        flash@2 {
                                reg = < 2 >;
                                compatible = "jedec,spi-nor";
                                spi-max-frequency = <50000000>;
+                               spi-rx-bus-width = <2>;
                                status = "disabled";
                        };
                };
                                reg = < 0 >;
                                compatible = "jedec,spi-nor";
                                spi-max-frequency = <50000000>;
+                               spi-rx-bus-width = <2>;
                                status = "disabled";
                        };
                        flash@1 {
                                reg = < 1 >;
                                compatible = "jedec,spi-nor";
                                spi-max-frequency = <50000000>;
+                               spi-rx-bus-width = <2>;
                                status = "disabled";
                        };
                };
                                reg = < 0 >;
                                compatible = "jedec,spi-nor";
                                spi-max-frequency = <50000000>;
+                               spi-rx-bus-width = <2>;
                                status = "disabled";
                        };
                        flash@1 {
                                reg = < 1 >;
                                compatible = "jedec,spi-nor";
                                spi-max-frequency = <50000000>;
+                               spi-rx-bus-width = <2>;
                                status = "disabled";
                        };
                };
index ff76c29965e11b82f7b6d23f8ab1d416d3612f4b..19c15e7fde6056e70d0d8d0a97b6994a65659b6f 100644 (file)
                                reg = < 0 >;
                                compatible = "jedec,spi-nor";
                                spi-max-frequency = <50000000>;
+                               spi-rx-bus-width = <2>;
                                status = "disabled";
                        };
                        flash@1 {
                                reg = < 1 >;
                                compatible = "jedec,spi-nor";
                                spi-max-frequency = <50000000>;
+                               spi-rx-bus-width = <2>;
                                status = "disabled";
                        };
                        flash@2 {
                                reg = < 2 >;
                                compatible = "jedec,spi-nor";
                                spi-max-frequency = <50000000>;
+                               spi-rx-bus-width = <2>;
                                status = "disabled";
                        };
                };
                                reg = < 0 >;
                                compatible = "jedec,spi-nor";
                                spi-max-frequency = <50000000>;
+                               spi-rx-bus-width = <2>;
                                status = "disabled";
                        };
                        flash@1 {
                                reg = < 1 >;
                                compatible = "jedec,spi-nor";
                                spi-max-frequency = <50000000>;
+                               spi-rx-bus-width = <2>;
                                status = "disabled";
                        };
                };
                                reg = < 0 >;
                                compatible = "jedec,spi-nor";
                                spi-max-frequency = <50000000>;
+                               spi-rx-bus-width = <2>;
                                status = "disabled";
                        };
                        flash@1 {
                                reg = < 1 >;
                                compatible = "jedec,spi-nor";
                                spi-max-frequency = <50000000>;
+                               spi-rx-bus-width = <2>;
                                status = "disabled";
                        };
                        flash@2 {
                                reg = < 2 >;
                                compatible = "jedec,spi-nor";
                                spi-max-frequency = <50000000>;
+                               spi-rx-bus-width = <2>;
                                status = "disabled";
                        };
                };