mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
mediatek: fix the name of buswidth to bus-width
Fix the issue of dts buswidth cannot be applied properly with spi driver. Fix the name of buswidth to bus-width in dts in order to fit the format in linux spi kernel so that spi-tx-bus-width & spi-rx-bus-width can be parsed properly. Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
This commit is contained in:
parent
02b57804f8
commit
b28274ea5f
@ -100,8 +100,8 @@
|
|||||||
reg = <0>;
|
reg = <0>;
|
||||||
|
|
||||||
spi-max-frequency = <52000000>;
|
spi-max-frequency = <52000000>;
|
||||||
spi-tx-buswidth = <4>;
|
spi-tx-bus-width = <4>;
|
||||||
spi-rx-buswidth = <4>;
|
spi-rx-bus-width = <4>;
|
||||||
|
|
||||||
mediatek,nmbm;
|
mediatek,nmbm;
|
||||||
mediatek,bmt-max-ratio = <1>;
|
mediatek,bmt-max-ratio = <1>;
|
||||||
|
@ -151,8 +151,8 @@
|
|||||||
spi-cal-addrlen = <5>;
|
spi-cal-addrlen = <5>;
|
||||||
spi-cal-addr = /bits/ 32 <0x0 0x0 0x0 0x0 0x0>;
|
spi-cal-addr = /bits/ 32 <0x0 0x0 0x0 0x0 0x0>;
|
||||||
|
|
||||||
spi-tx-buswidth = <4>;
|
spi-tx-bus-width = <4>;
|
||||||
spi-rx-buswidth = <4>;
|
spi-rx-bus-width = <4>;
|
||||||
mediatek,nmbm;
|
mediatek,nmbm;
|
||||||
mediatek,bmt-max-ratio = <1>;
|
mediatek,bmt-max-ratio = <1>;
|
||||||
mediatek,bmt-max-reserved-blocks = <64>;
|
mediatek,bmt-max-reserved-blocks = <64>;
|
||||||
|
@ -105,8 +105,8 @@
|
|||||||
reg = <0>;
|
reg = <0>;
|
||||||
|
|
||||||
spi-max-frequency = <52000000>;
|
spi-max-frequency = <52000000>;
|
||||||
spi-tx-buswidth = <4>;
|
spi-tx-bus-width = <4>;
|
||||||
spi-rx-buswidth = <4>;
|
spi-rx-bus-width = <4>;
|
||||||
|
|
||||||
mediatek,nmbm;
|
mediatek,nmbm;
|
||||||
mediatek,bmt-max-ratio = <1>;
|
mediatek,bmt-max-ratio = <1>;
|
||||||
|
@ -95,8 +95,8 @@
|
|||||||
reg = <0>;
|
reg = <0>;
|
||||||
|
|
||||||
spi-max-frequency = <52000000>;
|
spi-max-frequency = <52000000>;
|
||||||
spi-tx-buswidth = <4>;
|
spi-tx-bus-width = <4>;
|
||||||
spi-rx-buswidth = <4>;
|
spi-rx-bus-width = <4>;
|
||||||
|
|
||||||
mediatek,nmbm;
|
mediatek,nmbm;
|
||||||
mediatek,bmt-max-ratio = <1>;
|
mediatek,bmt-max-ratio = <1>;
|
||||||
|
@ -98,8 +98,8 @@
|
|||||||
reg = <0>;
|
reg = <0>;
|
||||||
|
|
||||||
spi-max-frequency = <52000000>;
|
spi-max-frequency = <52000000>;
|
||||||
spi-tx-buswidth = <4>;
|
spi-tx-bus-width = <4>;
|
||||||
spi-rx-buswidth = <4>;
|
spi-rx-bus-width = <4>;
|
||||||
|
|
||||||
mediatek,nmbm;
|
mediatek,nmbm;
|
||||||
mediatek,bmt-max-ratio = <1>;
|
mediatek,bmt-max-ratio = <1>;
|
||||||
|
@ -94,8 +94,8 @@
|
|||||||
reg = <0>;
|
reg = <0>;
|
||||||
|
|
||||||
spi-max-frequency = <52000000>;
|
spi-max-frequency = <52000000>;
|
||||||
spi-tx-buswidth = <4>;
|
spi-tx-bus-width = <4>;
|
||||||
spi-rx-buswidth = <4>;
|
spi-rx-bus-width = <4>;
|
||||||
|
|
||||||
mediatek,nmbm;
|
mediatek,nmbm;
|
||||||
mediatek,bmt-max-ratio = <1>;
|
mediatek,bmt-max-ratio = <1>;
|
||||||
|
@ -207,8 +207,8 @@
|
|||||||
reg = <0>;
|
reg = <0>;
|
||||||
|
|
||||||
spi-max-frequency = <20000000>;
|
spi-max-frequency = <20000000>;
|
||||||
spi-tx-buswidth = <4>;
|
spi-tx-bus-width = <4>;
|
||||||
spi-rx-buswidth = <4>;
|
spi-rx-bus-width = <4>;
|
||||||
|
|
||||||
partitions: partitions {
|
partitions: partitions {
|
||||||
compatible = "fixed-partitions";
|
compatible = "fixed-partitions";
|
||||||
|
@ -35,8 +35,8 @@
|
|||||||
compatible = "spi-nand";
|
compatible = "spi-nand";
|
||||||
reg = <0>;
|
reg = <0>;
|
||||||
spi-max-frequency = <10000000>;
|
spi-max-frequency = <10000000>;
|
||||||
spi-tx-buswidth = <4>;
|
spi-tx-bus-width = <4>;
|
||||||
spi-rx-buswidth = <4>;
|
spi-rx-bus-width = <4>;
|
||||||
|
|
||||||
partitions {
|
partitions {
|
||||||
compatible = "fixed-partitions";
|
compatible = "fixed-partitions";
|
||||||
|
@ -13,8 +13,8 @@
|
|||||||
compatible = "spi-nand";
|
compatible = "spi-nand";
|
||||||
reg = <0>;
|
reg = <0>;
|
||||||
spi-max-frequency = <10000000>;
|
spi-max-frequency = <10000000>;
|
||||||
spi-tx-buswidth = <4>;
|
spi-tx-bus-width = <4>;
|
||||||
spi-rx-buswidth = <4>;
|
spi-rx-bus-width = <4>;
|
||||||
|
|
||||||
partitions {
|
partitions {
|
||||||
compatible = "fixed-partitions";
|
compatible = "fixed-partitions";
|
||||||
|
@ -163,8 +163,8 @@
|
|||||||
reg = <0>;
|
reg = <0>;
|
||||||
|
|
||||||
spi-max-frequency = <20000000>;
|
spi-max-frequency = <20000000>;
|
||||||
spi-tx-buswidth = <4>;
|
spi-tx-bus-width = <4>;
|
||||||
spi-rx-buswidth = <4>;
|
spi-rx-bus-width = <4>;
|
||||||
|
|
||||||
partitions {
|
partitions {
|
||||||
compatible = "fixed-partitions";
|
compatible = "fixed-partitions";
|
||||||
|
@ -138,8 +138,8 @@
|
|||||||
reg = <0>;
|
reg = <0>;
|
||||||
|
|
||||||
spi-max-frequency = <20000000>;
|
spi-max-frequency = <20000000>;
|
||||||
spi-tx-buswidth = <4>;
|
spi-tx-bus-width = <4>;
|
||||||
spi-rx-buswidth = <4>;
|
spi-rx-bus-width = <4>;
|
||||||
|
|
||||||
mediatek,nmbm;
|
mediatek,nmbm;
|
||||||
mediatek,bmt-max-ratio = <1>;
|
mediatek,bmt-max-ratio = <1>;
|
||||||
|
@ -16,8 +16,8 @@
|
|||||||
compatible = "spi-nand";
|
compatible = "spi-nand";
|
||||||
reg = <1>;
|
reg = <1>;
|
||||||
spi-max-frequency = <10000000>;
|
spi-max-frequency = <10000000>;
|
||||||
spi-tx-buswidth = <4>;
|
spi-tx-bus-width = <4>;
|
||||||
spi-rx-buswidth = <4>;
|
spi-rx-bus-width = <4>;
|
||||||
|
|
||||||
partitions {
|
partitions {
|
||||||
compatible = "fixed-partitions";
|
compatible = "fixed-partitions";
|
||||||
|
@ -16,8 +16,8 @@
|
|||||||
compatible = "jedec,spi-nor";
|
compatible = "jedec,spi-nor";
|
||||||
reg = <0>;
|
reg = <0>;
|
||||||
spi-max-frequency = <52000000>;
|
spi-max-frequency = <52000000>;
|
||||||
spi-tx-buswidth = <4>;
|
spi-tx-bus-width = <4>;
|
||||||
spi-rx-buswidth = <4>;
|
spi-rx-bus-width = <4>;
|
||||||
partitions {
|
partitions {
|
||||||
compatible = "fixed-partitions";
|
compatible = "fixed-partitions";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
|
Loading…
Reference in New Issue
Block a user