[openwrt/openwrt] mediatek: Cetron CT3003: fixes typo for spi properties

LEDE Commits lede-commits at lists.infradead.org
Sun Mar 3 06:38:31 PST 2024


dangole pushed a commit to openwrt/openwrt.git, branch openwrt-23.05:
https://git.openwrt.org/9627654277ca307597028e0b8c2c449ab35bbd5e

commit 9627654277ca307597028e0b8c2c449ab35bbd5e
Author: Chukun Pan <amadeus at jmu.edu.cn>
AuthorDate: Sat Nov 4 23:50:20 2023 +0800

    mediatek: Cetron CT3003: fixes typo for spi properties
    
    Same as commit 3674689, correct 'buswidth' to 'bus-width'.
    Also move the nmbm properties outside the partition definition.
    
    Signed-off-by: Chukun Pan <amadeus at jmu.edu.cn>
    (cherry picked from commit 1be6347b7d5cbbe944c9e5bab29aea4ec7de6349)
---
 target/linux/mediatek/dts/mt7981b-cetron-ct3003.dts | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/target/linux/mediatek/dts/mt7981b-cetron-ct3003.dts b/target/linux/mediatek/dts/mt7981b-cetron-ct3003.dts
index ae4404466e..aea6f02da2 100644
--- a/target/linux/mediatek/dts/mt7981b-cetron-ct3003.dts
+++ b/target/linux/mediatek/dts/mt7981b-cetron-ct3003.dts
@@ -100,18 +100,18 @@
 		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 at 0 {
 				label = "BL2";
 				reg = <0x0000000 0x0100000>;




More information about the lede-commits mailing list