arm: dts: mvebu: Update DTS for Thecus N2350 board

- Change the spi-max-frequency to 50000000 (50 Mhz). According to the
data sheet[1], the MX25L3205D max frequency is 86 Mhz. Using 50 Mhz in
the DTS to ensure u-boot is consistent with what Linux kernel expected.
- Update GPIO fan to conform to the latest DT binding.

[1]
https://www.macronix.com/Lists/Datasheet/Attachments/8575/MX25L3205D,%203V,%2032Mb,%20v1.5.pdf

Signed-off-by: Tony Dinh <mibodhi@gmail.com>
This commit is contained in:
Tony Dinh 2024-06-09 17:34:31 -07:00 committed by Stefan Roese
parent 061dcf16f3
commit 11558bf251

View file

@ -2,7 +2,7 @@
/* /*
* Device Tree file for Thecus N2350 board * Device Tree file for Thecus N2350 board
* *
* Copyright (C) 2018-2023 Tony Dinh <mibodhi@gmail.com> * Copyright (C) 2018-2024 Tony Dinh <mibodhi@gmail.com>
* Copyright (C) 2018 Manuel Jung <manuel.jung@hotmail.com> * Copyright (C) 2018 Manuel Jung <manuel.jung@hotmail.com>
*/ */
@ -143,9 +143,9 @@
fan { fan {
compatible = "gpio-fan"; compatible = "gpio-fan";
gpios = <&gpio1 16 GPIO_ACTIVE_HIGH>; gpios = <&gpio1 16 GPIO_ACTIVE_HIGH>;
gpio-fan,speed-map = < 0 0 gpio-fan,speed-map = < 0 0>,
600 1 <600 1>,
3000 2 >; <3000 2 >;
pinctrl-0 = <&pmx_fan>; pinctrl-0 = <&pmx_fan>;
pinctrl-names = "default"; pinctrl-names = "default";
}; };
@ -415,7 +415,7 @@
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <108000000>; spi-max-frequency = <50000000>;
spi-cpha; spi-cpha;
partition@0 { partition@0 {