Skip to contentSkip to conversation

Add Geniatech XPI-3128 board

PATCH Applied Alex Bee 2 participants 5 messages Nov 19, 2023 – Nov 20, 2023

Subsystems (2)
lore
Share & tools
lore

Alex Bee

author
#0 lore raw

v2 cover Add Geniatech XPI-3128 board

This series adds RK3128 based Geniatech XPI-3128 SBC board.

Please see commit messages of the individual patches for details.

These patches have been part of the pretty huge RK3128 bring-up/fix-up series [0] which I've splitted-up now, as suggested.

[0] https://lore.kernel.org/linux-rockchip/[email protected]

Changes in v2:
- drop nodes from board DT that have been part of the initial series that are not upstream yet
- rephrase some board DT comments
- refine commit messages
- added mmc-ddr-3_3v property for eMMC

Alex Bee (3):
dt-bindings: arm: rockchip: Add Geniatech XPI-3128
ARM: dts: rockchip: Add sdmmc_det pinctrl for RK3128
ARM: dts: Add Geniatech XPI-3128 RK3128 board

 .../devicetree/bindings/arm/rockchip.yaml     |   5 +
 arch/arm/boot/dts/rockchip/Makefile           |   1 +
 .../arm/boot/dts/rockchip/rk3128-xpi-3128.dts | 397 ++++++++++++++++++
 arch/arm/boot/dts/rockchip/rk3128.dtsi        |   4 +
 4 files changed, 407 insertions(+)
 create mode 100644 arch/arm/boot/dts/rockchip/rk3128-xpi-3128.dts
Signature · 1 line
2.42.0
author
#1 lore raw

PATCH v2 1/3 dt-bindings: arm: rockchip: Add Geniatech XPI-3128

Add Geniatech XPI-3128, a RK3128 based single board computer.

---
 Documentation/devicetree/bindings/arm/rockchip.yaml | 5 +++++
 1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/arm/rockchip.yaml +5 -0
index 5f7c6c4aad8f..d3c5b25fc2fd 100644
@@ -237,6 +237,11 @@ properties:
           - const: geekbuying,geekbox
           - const: rockchip,rk3368
 
+      - description: Geniatech XPI-3128
+        items:
+          - const: geniatech,xpi-3128
+          - const: rockchip,rk3128
+
       - description: Google Bob (Asus Chromebook Flip C101PA)
         items:
           - const: google,bob-rev13
Signature · 1 line
2.42.0
author
#2 lore raw

PATCH v2 2/3 ARM: dts: rockchip: Add sdmmc_det pinctrl for RK3128

In reply to Alex Bee

The pincontrol for sd card detection is currently missing. Add it.

---
 arch/arm/boot/dts/rockchip/rk3128.dtsi | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/boot/dts/rockchip/rk3128.dtsi +4 -0
index 7bf557c99561..797906ba321d 100644
@@ -843,6 +843,10 @@ sdmmc_cmd: sdmmc-cmd {
 				rockchip,pins = <1 RK_PB7 1 &pcfg_pull_default>;
 			};
 
+			sdmmc_det: sdmmc-det {
+				rockchip,pins = <1 RK_PC1 1 &pcfg_pull_default>;
+			};
+
 			sdmmc_wp: sdmmc-wp {
 				rockchip,pins = <1 RK_PA7 1 &pcfg_pull_default>;
 			};
Signature · 1 line
2.42.0
author
#3 lore raw

PATCH v2 3/3 ARM: dts: Add Geniatech XPI-3128 RK3128 board

In reply to Alex Bee

XPI-3128 is RK3128 based SBC form Geniatec in RPi form factor

Specs:
- Rockchip RK3128
- 512MB/1 GB DDR3 DRAM
- 8/16 GB eMMC
- TF card slot
- 100 MBit ethernet / RJ45 (TI DP83848C phy)
- optional Marvell 88W8897 (USB version)
- 3 x USB host (onboard GL852G hub connected to SoC ehci host)
- 1 x USB otg
- 1 x Type-C (solely for powering the board)
- HDMI 1.4 out
- ADC button
- IR receiver
- Artasie AM1805 RTC
- 40 pin header

---
 arch/arm/boot/dts/rockchip/Makefile           |   1 +
 .../arm/boot/dts/rockchip/rk3128-xpi-3128.dts | 397 ++++++++++++++++++
 2 files changed, 398 insertions(+)
 create mode 100644 arch/arm/boot/dts/rockchip/rk3128-xpi-3128.dts
arch/arm/boot/dts/rockchip/Makefile +1 -0
index 0f46e18fe275..58868cf0510b 100644
@@ -10,6 +10,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += \
 	rk3066a-mk808.dtb \
 	rk3066a-rayeager.dtb \
 	rk3128-evb.dtb \
+	rk3128-xpi-3128.dtb \
 	rk3188-bqedison2qc.dtb \
 	rk3188-px3-evb.dtb \
 	rk3188-radxarock.dtb \
arch/arm/boot/dts/rockchip/rk3128-xpi-3128.dts new file +397 -0

397 lines not on this page · raw message

Signature · 1 line
2.42.0
maintainer Applied
#4 lore raw
In reply to Alex Bee
Quoted 8 lines · Alex Bee

This series adds RK3128 based Geniatech XPI-3128 SBC board.

Please see commit messages of the individual patches for details.

These patches have been part of the pretty huge RK3128 bring-up/fix-up series [0] which I've splitted-up now, as suggested.

[...]

Applied, thanks!

[1/3] dt-bindings: arm: rockchip: Add Geniatech XPI-3128

      commit: e5fc1f038355634087f6a178454341dcfd50b89b
[2/3] ARM: dts: rockchip: Add sdmmc_det pinctrl for RK3128
      commit: cdc86eeebbd26c60bcee1c81598ecf684852a733
[3/3] ARM: dts: Add Geniatech XPI-3128 RK3128 board
      commit: 6135ac43309f5ef91ad60c688931027226779fed

Best regards,

Signature · 1 line
Heiko Stuebner <[email protected]>