aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2023-08-21 11:31:04 +1200
committerStefan Roese <sr@denx.de>2023-10-16 11:10:32 +0200
commit6b8efc66eab2ac3ed2c258d6445a2cdbd3246c9d (patch)
tree33536645b61d3c1c06aa9bfc83044a84eb1d1654
parentfec546264797022be2d70c441bd2d07fe9045056 (diff)
downloadu-boot-6b8efc66eab2ac3ed2c258d6445a2cdbd3246c9d.zip
u-boot-6b8efc66eab2ac3ed2c258d6445a2cdbd3246c9d.tar.gz
u-boot-6b8efc66eab2ac3ed2c258d6445a2cdbd3246c9d.tar.bz2
ARM64: dts: marvell: cn9310: Use appropriate label for spi1 pins
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>
-rw-r--r--arch/arm/dts/cn9130-db.dtsi2
-rw-r--r--arch/arm/dts/cn9130.dtsi2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/dts/cn9130-db.dtsi b/arch/arm/dts/cn9130-db.dtsi
index 1b28732..4b21ff4 100644
--- a/arch/arm/dts/cn9130-db.dtsi
+++ b/arch/arm/dts/cn9130-db.dtsi
@@ -183,7 +183,7 @@
/* 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 */
diff --git a/arch/arm/dts/cn9130.dtsi b/arch/arm/dts/cn9130.dtsi
index 68b767a..efcb2e9 100644
--- a/arch/arm/dts/cn9130.dtsi
+++ b/arch/arm/dts/cn9130.dtsi
@@ -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>;
};