]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM64: dts: marvell: cn9310: Use appropriate label for spi1 pins
authorChris Packham <judge.packham@gmail.com>
Sun, 20 Aug 2023 23:31:04 +0000 (11:31 +1200)
committerStefan Roese <sr@denx.de>
Mon, 16 Oct 2023 09:10:32 +0000 (11:10 +0200)
The CN9130-DB uses the SPI1 interface but had the pinctrl node labelled
as "cp0_spi0_pins". Use the label "cp0_spi1_pins" and update the node
name to "cp0-spi-pins-1" to avoid confusion with the pinctrl options for
SPI0.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/arm/dts/cn9130-db.dtsi
arch/arm/dts/cn9130.dtsi

index 1b28732ee7528ad774b4db5b8027abace89b1782..4b21ff46d507f9e9050c2613aa0bf59abda80931 100644 (file)
 /* U55 */
 &cp0_spi1 {
        pinctrl-names = "default";
-       pinctrl-0 = <&cp0_spi0_pins>;
+       pinctrl-0 = <&cp0_spi1_pins>;
        reg = <0x700680 0x50>,          /* control */
              <0x2000000 0x1000000>,    /* CS0 */
              <0 0xffffffff>,           /* CS1 */
index 68b767a70639b87625210334dd56bd3a9c0ea89e..efcb2e906b91d9f28bd0ba44244b522259682181 100644 (file)
@@ -66,7 +66,7 @@
                marvell,pins = < 56 57 58 59 60 61 >;
                marvell,function = <14>;
        };
-       cp0_spi0_pins: cp0-spi-pins-0 {
+       cp0_spi1_pins: cp0-spi-pins-1 {
                marvell,pins = < 13 14 15 16 >;
                marvell,function = <3>;
        };