mediatek: Cetron CT3003: fixes typo for spi properties
authorChukun Pan <amadeus@jmu.edu.cn>
Sat, 4 Nov 2023 15:50:20 +0000 (23:50 +0800)
committerChristian Marangi <ansuelsmth@gmail.com>
Sat, 25 Nov 2023 22:16:34 +0000 (23:16 +0100)
Same as commit 3674689, correct 'buswidth' to 'bus-width'.
Also move the nmbm properties outside the partition definition.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
target/linux/mediatek/dts/mt7981b-cetron-ct3003.dts

index ae4404466e8e64cc011936c7efeb74003278ddd5..aea6f02da24a7f54cf76bbdb59d1856739d5dcfb 100644 (file)
                reg = <0>;
 
                spi-max-frequency = <52000000>;
-               spi-tx-buswidth = <4>;
-               spi-rx-buswidth = <4>;
+               spi-tx-bus-width = <4>;
+               spi-rx-bus-width = <4>;
+
+               mediatek,nmbm;
+               mediatek,bmt-max-ratio = <1>;
+               mediatek,bmt-max-reserved-blocks = <64>;
 
                partitions {
                        compatible = "fixed-partitions";
                        #address-cells = <1>;
                        #size-cells = <1>;
 
-                       mediatek,nmbm;
-                       mediatek,bmt-max-ratio = <1>;
-                       mediatek,bmt-max-reserved-blocks = <64>;
-
                        partition@0 {
                                label = "BL2";
                                reg = <0x0000000 0x0100000>;