Skip to contentSkip to conversation

Introduction of STiH418 based 4KOpen board

PATCH Superseded Alain Volmat 1 participant 4 messages Jan 29, 2021

Subsystems (2)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

v2 cover Introduction of STiH418 based 4KOpen board

This serie introduces the 4KOpen (stih418-b2264) board based on a stih418 soc. Since it is the first board to use the spi-fsm SPI NOR controller available since stih407, the controller is also added within the stih407-family DT.
It also contains a fix within the stih418 DT since the rng11 is not available on this platform and is thus disabled.

Alain Volmat (3):
ARM: dts: sti: add the spinor controller node within stih407-family
ARM: dts: sti: disable rng11 on the stih418 platform
ARM: dts: sti: Introduce 4KOpen (stih418-b2264) board

 arch/arm/boot/dts/Makefile            |   3 +-
 arch/arm/boot/dts/stih407-family.dtsi |  15 ++++
 arch/arm/boot/dts/stih418-b2264.dts   | 123 ++++++++++++++++++++++++++
 arch/arm/boot/dts/stih418.dtsi        |   4 +
 4 files changed, 144 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/boot/dts/stih418-b2264.dts

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#1 lore raw

PATCH v2 1/3 ARM: dts: sti: add the spinor controller node within stih407-family

The STiH407 family (and further versions STiH410/STiH418) embedded a serial flash controller allowing fast access to SPI-NOR. This commit adds the corresponding node, relying on the st-spi-fsm drivers.

---
v2: commit log improvement

 arch/arm/boot/dts/stih407-family.dtsi | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
arch/arm/boot/dts/stih407-family.dtsi +15 -0
index 23a1746f3baa..21f3347a91d6 100644
@@ -616,6 +616,21 @@
 			st,lpc-mode = <ST_LPC_MODE_CLKSRC>;
 		};
 
+		spifsm: spifsm@9022000{
+			compatible = "st,spi-fsm";
+			reg = <0x9022000 0x1000>;
+			reg-names = "spi-fsm";
+			clocks = <&clk_s_c0_flexgen CLK_FLASH_PROMIP>;
+			clock-names = "emi_clk";
+			pinctrl-names = "default";
+			pinctrl-0 = <&pinctrl_fsm>;
+			st,syscfg = <&syscfg_core>;
+			st,boot-device-reg = <0x8c4>;
+			st,boot-device-spi = <0x68>;
+
+			status = "disabled";
+		};
+
 		sata0: sata@9b20000 {
 			compatible = "st,ahci";
 			reg = <0x9b20000 0x1000>;
Signature · 1 line
2.17.1
#2 lore raw

PATCH v2 2/3 ARM: dts: sti: disable rng11 on the stih418 platform

In reply to Alain Volmat

The rng11 is not available on the STiH418 hence is disabled in the stih418.dtsi

---
 arch/arm/boot/dts/stih418.dtsi | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/boot/dts/stih418.dtsi +4 -0
index a05e2278b448..39a249983496 100644
@@ -27,6 +27,10 @@
 	};
 
 	soc {
+		rng11: rng@8a8a000 {
+			status = "disabled";
+		};
+
 		usb2_picophy1: phy2@0 {
 			compatible = "st,stih407-usb2-phy";
 			reg = <0 0>;
Signature · 1 line
2.17.1
#3 lore raw

PATCH v2 3/3 ARM: dts: sti: Introduce 4KOpen (stih418-b2264) board

In reply to Alain Volmat

4KOpen (B2264) is a board based on the STMicroelectronics STiH418 soc:
- 2GB DDR
- HDMI
- Ethernet 1000-BaseT
- PCIe (mini PCIe connector)
- MicroSD slot
- USB2 and USB3 connectors
- Sata
- 40 pins GPIO header

---
v2: fix bootargs (removal of console=)
removal of rng11 node, moved into stih418.dtsi

 arch/arm/boot/dts/Makefile          |   3 +-
 arch/arm/boot/dts/stih418-b2264.dts | 123 ++++++++++++++++++++++++++++
 2 files changed, 125 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/boot/dts/stih418-b2264.dts
arch/arm/boot/dts/Makefile +2 -1
index 3d1ea0b25168..5ad1b0854b66 100644
@@ -1059,7 +1059,8 @@ dtb-$(CONFIG_ARCH_STI) += \
 	stih407-b2120.dtb \
 	stih410-b2120.dtb \
 	stih410-b2260.dtb \
-	stih418-b2199.dtb
+	stih418-b2199.dtb \
+	stih418-b2264.dtb
 dtb-$(CONFIG_ARCH_STM32) += \
 	stm32f429-disco.dtb \
 	stm32f469-disco.dtb \
arch/arm/boot/dts/stih418-b2264.dts new file +123 -0

123 lines not on this page · raw message

Signature · 7 lines
2.17.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel