Skip to content

Commit 233cbff

Browse files
lkundrakarndb
authored andcommitted
ARM: dts: mmp3-dell-ariel: Fix the SPI devices
I've managed to get about everything wrong while digging these out of OEM's board file. Correct the bus numbers, the exact model of the NOR flash, polarity of the chip selects and align the SPI frequency with the data sheet. Tested that it works now, with a slight fix to the PXA SSP driver. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lubomir Rintel <[email protected]> Cc: <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]>
1 parent ec7d12f commit 233cbff

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

arch/arm/boot/dts/mmp3-dell-ariel.dts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -98,19 +98,19 @@
9898
status = "okay";
9999
};
100100

101-
&ssp3 {
101+
&ssp1 {
102102
status = "okay";
103-
cs-gpios = <&gpio 46 GPIO_ACTIVE_HIGH>;
103+
cs-gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
104104

105105
firmware-flash@0 {
106-
compatible = "st,m25p80", "jedec,spi-nor";
106+
compatible = "winbond,w25q32", "jedec,spi-nor";
107107
reg = <0>;
108-
spi-max-frequency = <40000000>;
108+
spi-max-frequency = <104000000>;
109109
m25p,fast-read;
110110
};
111111
};
112112

113-
&ssp4 {
114-
cs-gpios = <&gpio 56 GPIO_ACTIVE_HIGH>;
113+
&ssp2 {
114+
cs-gpios = <&gpio 56 GPIO_ACTIVE_LOW>;
115115
status = "okay";
116116
};

0 commit comments

Comments
 (0)