]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: mvebu: Update DTS for Thecus N2350 board
authorTony Dinh <mibodhi@gmail.com>
Mon, 10 Jun 2024 00:34:31 +0000 (17:34 -0700)
committerStefan Roese <sr@denx.de>
Mon, 8 Jul 2024 06:20:37 +0000 (08:20 +0200)
- 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>
arch/arm/dts/armada-385-thecus-n2350.dts

index 253cf011308162a5f3539787c5ef303ba1aa86bc..fdaa444e510882ab14f0c1e78e3c3cde83767578 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * 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>
  */
 
        fan {
                compatible = "gpio-fan";
                gpios = <&gpio1 16 GPIO_ACTIVE_HIGH>;
-               gpio-fan,speed-map = <    0  0
-                                       600  1
-                                       3000 2 >;
+               gpio-fan,speed-map = <    0  0>,
+                                       <600  1>,
+                                       <3000 2 >;
                pinctrl-0 = <&pmx_fan>;
                pinctrl-names = "default";
        };
                compatible = "jedec,spi-nor";
                reg = <0>;
 
-               spi-max-frequency = <108000000>;
+               spi-max-frequency = <50000000>;
                spi-cpha;
 
                partition@0 {