Skip to contentSkip to conversation

arm64: mvebu: Armada-8K family patches

PATCH New kostap at marvell.com 2 participants 8 messages Dec 8, 2016 – Dec 12, 2016

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

v3 cover arm64: mvebu: Armada-8K family patches

From: Konstantin Porotchkin <[email protected]>

This set of patches is adding more features for bards based on new Marvell MoChi platforms - Armada-70x0 and Armada-80x0.
The patches were applied on top of Stefan's mvebu-related patch set v2 with the last patch named
"dm: core: Add dev_get_addr_size_index() to retrieve addr and size".

The test was done on Armada-70x0 and Armada-80x0 development boards equipped with SoC release A1.
Since the SPI and I2C channels mapping between A0 and A1 releases were changed, the execution of added features on A0 boards will fail.

Currently 2 major features were added:
- BUBT command support
- Pin controller driver for A8K family

Changes for v3:
- Move patch change log to comments section (all files)
- Fix the bubt command implementation:
- Minor syntax fixes
- Replace zero function pointers with stubs
- Replace board-specific macros with platform-specific ones

Konstantin Porotchkin (6):
arm64: mvebu: Modify the A8K SPI and I2C config in DTS
arm64: mvebu: Add bubt command for flash image burn
arm64: mvebu: pinctrl: Add pin control driver for A8K family
arm64: mvebu: Add pin control nodes to A8K family DTS files
arm64: mvebu: Enable BUBT command support in A8K default config
arm64: mvebu: Enable pin control support in A8K default config

 arch/arm/dts/armada-7040-db.dts                    |  64 +-
 arch/arm/dts/armada-8040-db.dts                    | 114 ++-
 arch/arm/dts/armada-ap806.dtsi                     |  18 +
 arch/arm/dts/armada-cp110-master.dtsi              |  32 +
 arch/arm/dts/armada-cp110-slave.dtsi               |  19 +
 arch/arm/include/asm/arch-armada8k/soc-info.h      |  17 +
 cmd/Kconfig                                        |   3 +
 cmd/Makefile                                       |   2 +
 cmd/mvebu/Kconfig                                  |  52 ++
 cmd/mvebu/Makefile                                 |   8 +
 cmd/mvebu/bubt.c                                   | 767 +++++++++++++++++++++
 configs/mvebu_db-88f7040_defconfig                 |   2 +
 configs/mvebu_db-88f8040_defconfig                 |   2 +
 .../pinctrl/marvell,armada-apn806-pinctrl.txt      |  25 +
 .../pinctrl/marvell,armada-cp110-pinctrl.txt       | 270 ++++++++
 .../pinctrl/marvell,mvebu-pinctrl.txt              | 113 +++
 doc/mvebu/cmd/bubt.txt                             |  64 ++
 drivers/pinctrl/Kconfig                            |   1 +
 drivers/pinctrl/Makefile                           |   1 +
 drivers/pinctrl/mvebu/Kconfig                      |   7 +
 drivers/pinctrl/mvebu/Makefile                     |   7 +
 drivers/pinctrl/mvebu/pinctrl-mvebu.c              | 179 +++++
 drivers/pinctrl/mvebu/pinctrl-mvebu.h              |  31 +
 23 files changed, 1734 insertions(+), 64 deletions(-)
 create mode 100644 arch/arm/include/asm/arch-armada8k/soc-info.h
 create mode 100644 cmd/mvebu/Kconfig
 create mode 100644 cmd/mvebu/Makefile
 create mode 100644 cmd/mvebu/bubt.c
 create mode 100644 doc/device-tree-bindings/pinctrl/marvell,armada-apn806-pinctrl.txt
 create mode 100644 doc/device-tree-bindings/pinctrl/marvell,armada-cp110-pinctrl.txt
 create mode 100644 doc/device-tree-bindings/pinctrl/marvell,mvebu-pinctrl.txt
 create mode 100644 doc/mvebu/cmd/bubt.txt
 create mode 100644 drivers/pinctrl/mvebu/Kconfig
 create mode 100644 drivers/pinctrl/mvebu/Makefile
 create mode 100644 drivers/pinctrl/mvebu/pinctrl-mvebu.c
 create mode 100644 drivers/pinctrl/mvebu/pinctrl-mvebu.h
Signature · 1 line
2.7.4
#1 lore raw

PATCH v3 1/6 arm64: mvebu: Modify the A8K SPI and I2C config in DTS

From: Konstantin Porotchkin <[email protected]>

Align the Armada-8040-db and Armada-7040-db SPI and I2C DTS settings with latest DB settings:
- 8040-db: disable i2c0 and spi0 on AP (MPPs are reserved for SDIO)
- 8040-db: disable cps_i2c0 on CP1
- 8040-db: enable spi1 on CP1 (the new location of the boot flash) The spi1 on CP1 is aliased as spi0 since this is the way the driver enumerates it.

Cc Stefan Roese <[email protected]>
Cc Nadav Haklai <[email protected]>
Cc Neta Zur Hershkovits <[email protected]>
Cc Omri Itach <[email protected]>
Cc Igal Liberman <[email protected]>
Cc Haim Boot <[email protected]>
Cc Hanna Hawa <[email protected]>

---
Changes for v3:
- Move patch change log to comments section

 arch/arm/dts/armada-7040-db.dts | 32 ----------------------
 arch/arm/dts/armada-8040-db.dts | 60 +++++++++++++++++------------------------
 2 files changed, 25 insertions(+), 67 deletions(-)
arch/arm/dts/armada-7040-db.dts +0 -32
index b8fe5a9..1e4d676 100644
@@ -66,38 +66,6 @@
 	};
 };
 
-&i2c0 {
-	status = "okay";
-	clock-frequency = <100000>;
-};
-
-&spi0 {
-	status = "okay";
-
-	spi-flash at 0 {
-		#address-cells = <1>;
-		#size-cells = <1>;
-		compatible = "jedec,spi-nor";
-		reg = <0>;
-		spi-max-frequency = <10000000>;
-
-		partitions {
-			compatible = "fixed-partitions";
-			#address-cells = <1>;
-			#size-cells = <1>;
-
-			partition at 0 {
-				label = "U-Boot";
-				reg = <0 0x200000>;
-			};
-			partition at 400000 {
-				label = "Filesystem";
-				reg = <0x200000 0xce0000>;
-			};
-		};
-	};
-};
-
 &uart0 {
 	status = "okay";
 };
arch/arm/dts/armada-8040-db.dts +25 -35

79 lines not on this page · raw message

Signature · 1 line
2.7.4
#3 lore raw

PATCH v3 2/6 arm64: mvebu: Add bubt command for flash image burn

In reply to kostap at marvell.com

From: Konstantin Porotchkin <[email protected]>

Add support for mvebu bubt command for flash image load, check and burn on boot device.

Cc Stefan Roese <[email protected]>
Cc Nadav Haklai <[email protected]>
Cc Neta Zur Hershkovits <[email protected]>
Cc Omri Itach <[email protected]>
Cc Igal Liberman <[email protected]>
Cc Haim Boot <[email protected]>
Cc Hanna Hawa <[email protected]>

---
Changes for v3:
- Move patch change log to comments section
- Move configuration options to cmd/mvebu/Kconfig
- Minor syntax fixes
- Replace zero function pointers with stubs
- Replace board-specific macros with platform-specific ones

 cmd/Kconfig            |   3 +
 cmd/Makefile           |   2 +
 cmd/mvebu/Kconfig      |  52 ++++
 cmd/mvebu/Makefile     |   8 +
 cmd/mvebu/bubt.c       | 767 +++++++++++++++++++++++++++++++++++++++++++++++++
 doc/mvebu/cmd/bubt.txt |  64 +++++
 6 files changed, 896 insertions(+)
 create mode 100644 cmd/mvebu/Kconfig
 create mode 100644 cmd/mvebu/Makefile
 create mode 100644 cmd/mvebu/bubt.c
 create mode 100644 doc/mvebu/cmd/bubt.txt
cmd/Kconfig +3 -0
index b16c603..b38d285 100644
@@ -632,6 +632,9 @@ config CMD_QFW
 	  This provides access to the QEMU firmware interface.  The main
 	  feature is to allow easy loading of files passed to qemu-system
 	  via -kernel / -initrd
+
+source "cmd/mvebu/Kconfig"
+
 endmenu
 
 config CMD_BOOTSTAGE
cmd/Makefile +2 -0
index 9c9a9d1..34bc544 100644
@@ -163,3 +163,5 @@ obj-$(CONFIG_CMD_BLOB) += blob.o
 
 # core command
 obj-y += nvedit.o
+
+obj-$(CONFIG_ARCH_MVEBU) += mvebu/
cmd/mvebu/Kconfig new file +52 -0

52 lines not on this page · raw message

cmd/mvebu/Makefile new file +8 -0
new file mode 100644
index 0000000..03de53e
@@ -0,0 +1,8 @@
+#
+# Copyright (C) 2016 Marvell International Ltd.
+#
+# SPDX-License-Identifier:	GPL-2.0
+# https://spdx.org/licenses
+
+
+obj-$(CONFIG_CMD_MVEBU_BUBT) += bubt.o
cmd/mvebu/bubt.c new file +767 -0

767 lines not on this page · raw message

doc/mvebu/cmd/bubt.txt new file +64 -0

64 lines not on this page · raw message

Signature · 1 line
2.7.4
#4 lore raw

PATCH v3 3/6 arm64: mvebu: pinctrl: Add pin control driver for A8K family

In reply to kostap at marvell.com

From: Konstantin Porotchkin <[email protected]>

Add a DM port of Marvell pin control driver.
The A8K SoC family contains several silicone dies interconnected in a single package. Every die is normally equipped with its own pin controller unit.
There are 2 pin controllers in A70x0 SoC and 3 in A80x0 SoC.

Cc Simon Glass <[email protected]>
Cc Stefan Roese <[email protected]>
Cc Nadav Haklai <[email protected]>
Cc Neta Zur Hershkovits <[email protected]>
Cc Omri Itach <[email protected]>
Cc Igal Liberman <[email protected]>
Cc Haim Boot <[email protected]>
Cc Hanna Hawa <[email protected]>

---
Changes for v3:
- Extend the Kconfig help for pin control driver
- Move patch change log to comments section

 arch/arm/include/asm/arch-armada8k/soc-info.h      |  17 ++
 .../pinctrl/marvell,armada-apn806-pinctrl.txt      |  25 ++
 .../pinctrl/marvell,armada-cp110-pinctrl.txt       | 270 +++++++++++++++++++++
 .../pinctrl/marvell,mvebu-pinctrl.txt              | 113 +++++++++
 drivers/pinctrl/Kconfig                            |   1 +
 drivers/pinctrl/Makefile                           |   1 +
 drivers/pinctrl/mvebu/Kconfig                      |   7 +
 drivers/pinctrl/mvebu/Makefile                     |   7 +
 drivers/pinctrl/mvebu/pinctrl-mvebu.c              | 179 ++++++++++++++
 drivers/pinctrl/mvebu/pinctrl-mvebu.h              |  31 +++
 10 files changed, 651 insertions(+)
 create mode 100644 arch/arm/include/asm/arch-armada8k/soc-info.h
 create mode 100644 doc/device-tree-bindings/pinctrl/marvell,armada-apn806-pinctrl.txt
 create mode 100644 doc/device-tree-bindings/pinctrl/marvell,armada-cp110-pinctrl.txt
 create mode 100644 doc/device-tree-bindings/pinctrl/marvell,mvebu-pinctrl.txt
 create mode 100644 drivers/pinctrl/mvebu/Kconfig
 create mode 100644 drivers/pinctrl/mvebu/Makefile
 create mode 100644 drivers/pinctrl/mvebu/pinctrl-mvebu.c
 create mode 100644 drivers/pinctrl/mvebu/pinctrl-mvebu.h
arch/arm/include/asm/arch-armada8k/soc-info.h new file +17 -0
new file mode 100644
index 0000000..bae3995
@@ -0,0 +1,17 @@
+/*
+ * Copyright (C) 2016 Marvell International Ltd.
+ *
+ * SPDX-License-Identifier:	GPL-2.0
+ * https://spdx.org/licenses
+ */
+
+#ifndef _SOC_INFO_H_
+#define _SOC_INFO_H_
+
+/* Pin Ctrl driver definitions */
+#define BITS_PER_PIN		4
+#define PIN_FUNC_MASK		((1 << BITS_PER_PIN) - 1)
+#define PIN_REG_SHIFT		3
+#define PIN_FIELD_MASK		((1 << PIN_REG_SHIFT) - 1)
+
+#endif	/* _SOC_INFO_H_ */
doc/device-tree-bindings/pinctrl/marvell,armada-apn806-pinctrl.txt new file +25 -0
new file mode 100644
index 0000000..51f2f2c
@@ -0,0 +1,25 @@
+	Functions of Armada APN806 pin controller
+	Function 0x0 for any MPP ID activates GPIO pin mode
+----------------------------------------------------------------------
+MPP#	0x1			0x2		0x3		0x4
+----------------------------------------------------------------------
+0	SDIO_CLK		-		SPI0_CLK 	-
+1	SDIO_CMD		-		SPI0_MISO	-
+2	SDIO_D[0]		-		SPI0_MOSI 	-
+3	SDIO_D[1]		-		SPI0_CS0n 	-
+4	SDIO_D[2]		-		I2C0_SDA	SPI0_CS1n
+5	SDIO_D[3]		-		I2C0_SCK	-
+6	SDIO_DS			-		-		-
+7	SDIO_D[4]		-		UART1_RXD	-
+8	SDIO_D[5]		-		UART1_TXD 	-
+9	SDIO_D[6]		-		SPI0_CS1n 	-
+10	SDIO_D[7]		-		-		-
+11	-			-		UART0_TXD 	-
+12	SDIO_CARD_PW_OFF 	SDIO_HW_RST 	-		-
+13	-			-		-		-
+14	-			-		-		-
+15	-			-		-		-
+16	-			-		-		-
+17	-			-		-		-
+18	-			-		-		-
+19	-			-		UART0_RXD	-
doc/device-tree-bindings/pinctrl/marvell,armada-cp110-pinctrl.txt new file +270 -0

270 lines not on this page · raw message

doc/device-tree-bindings/pinctrl/marvell,mvebu-pinctrl.txt new file +113 -0

113 lines not on this page · raw message

drivers/pinctrl/Kconfig +1 -0
index 12be3cf..efcb4c0 100644
@@ -181,5 +181,6 @@ source "drivers/pinctrl/meson/Kconfig"
 source "drivers/pinctrl/nxp/Kconfig"
 source "drivers/pinctrl/uniphier/Kconfig"
 source "drivers/pinctrl/exynos/Kconfig"
+source "drivers/pinctrl/mvebu/Kconfig"
 
 endmenu
drivers/pinctrl/Makefile +1 -0
index f28b5c1..512112a 100644
@@ -15,3 +15,4 @@ obj-$(CONFIG_PINCTRL_UNIPHIER)	+= uniphier/
 obj-$(CONFIG_PIC32_PINCTRL)	+= pinctrl_pic32.o
 obj-$(CONFIG_PINCTRL_EXYNOS)	+= exynos/
 obj-$(CONFIG_PINCTRL_MESON)	+= meson/
+obj-$(CONFIG_PINCTRL_MVEBU)	+= mvebu/
drivers/pinctrl/mvebu/Kconfig new file +7 -0
new file mode 100644
index 0000000..cf9c299
@@ -0,0 +1,7 @@
+config PINCTRL_MVEBU
+	depends on ARCH_MVEBU
+	bool
+	default y
+	help
+	   Support pin multiplexing and pin configuration control on
+	   Marvell's Armada-8K SoC.
drivers/pinctrl/mvebu/Makefile new file +7 -0
new file mode 100644
index 0000000..f4f7864
@@ -0,0 +1,7 @@
+#
+# Copyright (C) 2016 Marvell International Ltd.
+#
+# SPDX-License-Identifier:	GPL-2.0
+# https://spdx.org/licenses
+
+obj-$(CONFIG_PINCTRL_MVEBU)	+= pinctrl-mvebu.o
drivers/pinctrl/mvebu/pinctrl-mvebu.c new file +179 -0

179 lines not on this page · raw message

drivers/pinctrl/mvebu/pinctrl-mvebu.h new file +31 -0
new file mode 100644
index 0000000..1a1d3ef
@@ -0,0 +1,31 @@
+/*
+ * Copyright (C) 2016 Marvell International Ltd.
+ *
+ * SPDX-License-Identifier:	GPL-2.0
+ * https://spdx.org/licenses
+ */
+
+ #ifndef __PINCTRL_MVEBU_H_
+ #define __PINCTRL_MVEBU_H_
+
+ #define MVEBU_MAX_PINCTL_BANKS		4
+ #define MVEBU_MAX_PINS_PER_BANK	100
+ #define MVEBU_MAX_FUNC			0xF
+
+/*
+ * struct mvebu_pin_bank_data: mvebu-pinctrl bank data
+ * @base_reg: controller base address for this bank
+ * @pin_cnt:  number of pins included in this bank
+ * @max_func: maximum configurable function value for pins in this bank
+ * @reg_direction:
+ * @bank_name: the pin's bank name
+ */
+struct mvebu_pinctrl_priv {
+	void		*base_reg;
+	uint		pin_cnt;
+	uint		max_func;
+	int		reg_direction;
+	const char	*bank_name;
+};
+
+#endif /* __PINCTRL_MVEBU_H_ */
Signature · 1 line
2.7.4
#5 lore raw

PATCH v3 4/6 arm64: mvebu: Add pin control nodes to A8K family DTS files

In reply to kostap at marvell.com

From: Konstantin Porotchkin <[email protected]>

Add pin control nodes to APN806, CP-master, CP-slave and Armada-7040 and Armada-8040 boards DTS files

Cc Stefan Roese <[email protected]>
Cc Nadav Haklai <[email protected]>
Cc Neta Zur Hershkovits <[email protected]>
Cc Omri Itach <[email protected]>
Cc Igal Liberman <[email protected]>
Cc Haim Boot <[email protected]>
Cc Hanna Hawa <[email protected]>

---
Changes for v3:
- Move patch change log to comments section

 arch/arm/dts/armada-7040-db.dts                    | 36 ++++++++++++++
 arch/arm/dts/armada-8040-db.dts                    | 56 ++++++++++++++++++++++
 arch/arm/dts/armada-ap806.dtsi                     | 18 +++++++
 arch/arm/dts/armada-cp110-master.dtsi              | 32 +++++++++++++
 arch/arm/dts/armada-cp110-slave.dtsi               | 19 ++++++++
 .../pinctrl/marvell,mvebu-pinctrl.txt              | 44 ++++++++---------
 6 files changed, 183 insertions(+), 22 deletions(-)
arch/arm/dts/armada-7040-db.dts +36 -0
index 1e4d676..466c6dc 100644
@@ -66,6 +66,16 @@
 	};
 };
 
+&ap_pinctl {
+	   /* MPP Bus:
+	    * SDIO  [0-5]
+	    * UART0 [11,19]
+	    */
+		  /* 0 1 2 3 4 5 6 7 8 9 */
+	pin-func = < 1 1 1 1 1 1 0 0 0 0
+		     0 3 0 0 0 0 0 0 0 3 >;
+};
+
 &uart0 {
 	status = "okay";
 };
@@ -76,11 +86,37 @@
 };
 
 &cpm_i2c0 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&cpm_i2c0_pins>;
 	status = "okay";
 	clock-frequency = <100000>;
 };
 
+&cpm_pinctl {
+		/* MPP Bus:
+		 * TDM	 [0-11]
+		 * SPI   [13-16]
+		 * SATA1 [28]
+		 * UART0 [29-30]
+		 * SMI	 [32,34]
+		 * XSMI  [35-36]
+		 * I2C	 [37-38]
+		 * RGMII1[44-55]
+		 * SD	 [56-62]
+		 */
+		/*   0   1   2   3   4   5   6   7   8   9 */
+	pin-func = < 4   4   4   4   4   4   4   4   4   4
+		     4   4   0   3   3   3   3   0   0   0
+		     0   0   0   0   0   0   0   0   9   0xA
+		     0xA 0   7   0   7   7   7   2   2   0
+		     0   0   0   0   1   1   1   1   1   1
+		     1   1   1   1   1   1   0xE 0xE 0xE 0xE
+		     0xE 0xE 0xE >;
+};
+
 &cpm_spi1 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&cpm_spi0_pins>;
 	status = "okay";
 
 	spi-flash at 0 {
arch/arm/dts/armada-8040-db.dts +56 -0

80 lines not on this page · raw message

arch/arm/dts/armada-ap806.dtsi +18 -0
index d315b29..efb383b 100644
@@ -140,6 +140,24 @@
 				marvell,spi-base = <128>, <136>, <144>, <152>;
 			};
 
+			ap_pinctl: ap-pinctl at 6F4000 {
+				compatible = "marvell,armada-ap806-pinctrl";
+				bank-name ="apn-806";
+				reg = <0x6F4000 0x10>;
+				pin-count = <20>;
+				max-func = <3>;
+
+				ap_i2c0_pins: i2c-pins-0 {
+					marvell,pins = < 4 5 >;
+					marvell,function = <3>;
+				};
+				ap_emmc_pins: emmc-pins-0 {
+					marvell,pins = < 0 1 2 3 4 5 6 7
+							 8 9 10 >;
+					marvell,function = <1>;
+				};
+			};
+
 			xor at 400000 {
 				compatible = "marvell,mv-xor-v2";
 				reg = <0x400000 0x1000>,
arch/arm/dts/armada-cp110-master.dtsi +32 -0
index 422d754..d637867 100644
@@ -81,6 +81,38 @@
 					"cpm-usb3dev", "cpm-eip150", "cpm-eip197";
 			};
 
+			cpm_pinctl: cpm-pinctl at 440000 {
+				compatible = "marvell,mvebu-pinctrl",
+					     "marvell,a70x0-pinctrl",
+					     "marvell,a80x0-cp0-pinctrl";
+				bank-name ="cp0-110";
+				reg = <0x440000 0x20>;
+				pin-count = <63>;
+				max-func = <0xf>;
+
+				cpm_i2c0_pins: cpm-i2c-pins-0 {
+					marvell,pins = < 37 38 >;
+					marvell,function = <2>;
+				};
+				cpm_ge2_rgmii_pins: cpm-ge-rgmii-pins-0 {
+					marvell,pins = < 44 45 46 47 48 49 50 51
+							 52 53 54 55 >;
+					marvell,function = <1>;
+				};
+				pca0_pins: cpm-pca0_pins {
+					marvell,pins = <62>;
+					marvell,function = <0>;
+				};
+				cpm_sdhci_pins: cpm-sdhi-pins-0 {
+					marvell,pins = < 56 57 58 59 60 61 >;
+					marvell,function = <14>;
+				};
+				cpm_spi0_pins: cpm-spi-pins-0 {
+					marvell,pins = < 13 14 15 16 >;
+					marvell,function = <3>;
+				};
+			};
+
 			cpm_sata0: sata at 540000 {
 				compatible = "marvell,armada-8k-ahci";
 				reg = <0x540000 0x30000>;
arch/arm/dts/armada-cp110-slave.dtsi +19 -0
index a7f77b9..92ef55c 100644
@@ -81,6 +81,25 @@
 					"cps-usb3dev", "cps-eip150", "cps-eip197";
 			};
 
+			cps_pinctl: cps-pinctl at 440000 {
+				compatible = "marvell,mvebu-pinctrl",
+					     "marvell,a80x0-cp1-pinctrl";
+				bank-name ="cp1-110";
+				reg = <0x440000 0x20>;
+				pin-count = <63>;
+				max-func = <0xf>;
+
+				cps_ge1_rgmii_pins: cps-ge-rgmii-pins-0 {
+					marvell,pins = < 0  1  2  3  4  5  6  7
+							 8  9  10 11 >;
+					marvell,function = <3>;
+				};
+				cps_spi1_pins: cps-spi-pins-1 {
+					marvell,pins = < 13 14 15 16 >;
+					marvell,function = <3>;
+				};
+			};
+
 			cps_sata0: sata at 540000 {
 				compatible = "marvell,armada-8k-ahci";
 				reg = <0x540000 0x30000>;
doc/device-tree-bindings/pinctrl/marvell,mvebu-pinctrl.txt +22 -22

62 lines not on this page · raw message

Signature · 1 line
2.7.4
#6 lore raw

PATCH v3 5/6 arm64: mvebu: Enable BUBT command support in A8K default config

In reply to kostap at marvell.com

From: Konstantin Porotchkin <[email protected]>

Enable mvebu "bubt" command support in the default configuration file for Armada-7040 and Armada-8040 development boards

Cc Stefan Roese <[email protected]>
Cc Nadav Haklai <[email protected]>
Cc Neta Zur Hershkovits <[email protected]>
Cc Omri Itach <[email protected]>
Cc Igal Liberman <[email protected]>
Cc Haim Boot <[email protected]>
Cc Hanna Hawa <[email protected]>

---
Changes for v3:
- Move patch change log to comments section

 configs/mvebu_db-88f7040_defconfig | 1 +
 configs/mvebu_db-88f8040_defconfig | 1 +
 2 files changed, 2 insertions(+)
configs/mvebu_db-88f7040_defconfig +1 -0
index f153b9c..ed61f78 100644
@@ -27,6 +27,7 @@ CONFIG_CMD_EXT4=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
+CONFIG_CMD_MVEBU_BUBT=y
 CONFIG_BLOCK_CACHE=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
configs/mvebu_db-88f8040_defconfig +1 -0
index 61d58b5..fa2f597 100644
@@ -27,6 +27,7 @@ CONFIG_CMD_EXT4=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
+CONFIG_CMD_MVEBU_BUBT=y
 CONFIG_BLOCK_CACHE=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
Signature · 1 line
2.7.4
#7 lore raw

PATCH v3 6/6 arm64: mvebu: Enable pin control support in A8K default config

In reply to kostap at marvell.com

From: Konstantin Porotchkin <[email protected]>

Enable mvebu pin control support in the default configuration files for Armada-7040 and Armada-8040 development boards

Cc Stefan Roese <[email protected]>
Cc Nadav Haklai <[email protected]>
Cc Neta Zur Hershkovits <[email protected]>
Cc Omri Itach <[email protected]>
Cc Igal Liberman <[email protected]>
Cc Haim Boot <[email protected]>
Cc Hanna Hawa <[email protected]>

---
Changes for v3:
- Move patch change log to comments section

 configs/mvebu_db-88f7040_defconfig | 1 +
 configs/mvebu_db-88f8040_defconfig | 1 +
 2 files changed, 2 insertions(+)
configs/mvebu_db-88f7040_defconfig +1 -0
index ed61f78..e3bdda6 100644
@@ -51,3 +51,4 @@ CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_STORAGE=y
 CONFIG_SMBIOS_MANUFACTURER=""
+CONFIG_PINCTRL=y
configs/mvebu_db-88f8040_defconfig +1 -0
index fa2f597..5d5be64 100644
@@ -54,3 +54,4 @@ CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_STORAGE=y
 CONFIG_SMBIOS_MANUFACTURER=""
+CONFIG_PINCTRL=y
Signature · 1 line
2.7.4
#2 lore raw

PATCH v3 1/6 arm64: mvebu: Modify the A8K SPI and I2C config in DTS

In reply to kostap at marvell.com
Quoted 10 lines · kostap at marvell.com

From: Konstantin Porotchkin <[email protected]>

Align the Armada-8040-db and Armada-7040-db SPI and I2C DTS settings with latest DB settings:
- 8040-db: disable i2c0 and spi0 on AP (MPPs are reserved for SDIO)
- 8040-db: disable cps_i2c0 on CP1
- 8040-db: enable spi1 on CP1 (the new location of the boot flash) The spi1 on CP1 is aliased as spi0 since this is the way the driver enumerates it.

Quoted 9 lines
Cc Stefan Roese <[email protected]>
Cc Nadav Haklai <[email protected]>
Cc Neta Zur Hershkovits <[email protected]>
Cc Omri Itach <[email protected]>
Cc Igal Liberman <[email protected]>
Cc Haim Boot <[email protected]>
Cc Hanna Hawa <[email protected]>

Patchset applied to u-boot-marvell/master.

Thanks,
Stefan