Skip to contentSkip to conversation

Add support for NetCube Systems Kumquat

PATCH Superseded Lukas Schmid 1 participant 5 messages Jan 7, 2025

Subsystems (2)

v6 of 9 Superseded Latest is v9 →

lore
Share & tools
lore
#2 lore raw

PATCH v6 2/4 dt-bindings: arm: sunxi: Add NetCube Systems Kumquat board

In reply to Lukas Schmid

The NetCube Systems Kumquat is an Embedded Controller based on the Allwinner V3s SoC. It is intended for Smart Home or Industrial automation without the need for a traditional PLC

---
 Documentation/devicetree/bindings/arm/sunxi.yaml | 5 +++++
 1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/arm/sunxi.yaml +5 -0
index 046536d02706..f536cdd2c1a6 100644
@@ -589,6 +589,11 @@ properties:
           - const: emlid,neutis-n5h3
           - const: allwinner,sun8i-h3
 
+      - description: NetCube Systems Kumquat
+        items:
+          - const: netcube,kumquat
+          - const: allwinner,sun8i-v3s
+
       - description: NextThing Co. CHIP
         items:
           - const: nextthing,chip
Signature · 1 line
2.47.1
#3 lore raw

PATCH v6 3/4 ARM: dts: sunxi: add uart1_pe pinctrl for sun8i-v3s

In reply to Lukas Schmid

Added the uart1_pe_pins pinctrl for use by the NetCube Systems Kumquat board

---
 arch/arm/boot/dts/allwinner/sun8i-v3s.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm/boot/dts/allwinner/sun8i-v3s.dtsi +6 -0
index 9e13c2aa8911..f909b1d4dbca 100644
@@ -416,6 +416,12 @@ uart0_pb_pins: uart0-pb-pins {
 				function = "uart0";
 			};
 
+			/omit-if-no-ref/
+			uart1_pe_pins: uart1-pe-pins {
+				pins = "PE21", "PE22";
+				function = "uart1";
+			};
+
 			uart2_pins: uart2-pins {
 				pins = "PB0", "PB1";
 				function = "uart2";
Signature · 1 line
2.47.1
#0 lore raw

v6 cover Add support for NetCube Systems Kumquat

This series adds dt-bindings and dt's for the NetCube Systems Kumquat board.

Changes in v2:
Fix the devicetrees according to the
"dt-schema" and "make dtbs_check W=1"
Fix the License of the devicetree as requested
Create a cover letter for the patch series

Changes in v3:
Disable rtc inside the SoC again, as the rtc does not work on the
board
Add the gpio-reserved-ranges property to the pinctrl bindings Reorder the nodes in the devicetree to match the order of the nodes
in the sun8i-v3s.dtsi file

Changes in v4:
Moved the dtsi change into a sperate patch
Update commit messages to include better descriptions Add descriptions to the uarts and mmc nodes in the dts file Add missing newline at the end of the dts file Removed the gpio-reserved-ranges property from the dts and
from the pinctrl bindings
Remove the rtc status property from the dts file

Changes in v5:
Remove the unused lradc node and it's regualtor, as they
are not used on the board
Add another alias for the SoC's rtc as 'rtc1'

Changes in v6:
Add reason why DS3232+ is preferred over internal rtc Remove redundant pinctrls from mmc0, mmc1 and i2c0 Reordered eeprom0 and spi0/flash@0 properties Reordered nodes by their node name alias

---
Lukas Schmid (4):
dt-bindings: vendor-prefixes: Add NetCube Systems Austria name
dt-bindings: arm: sunxi: Add NetCube Systems Kumquat board
ARM: dts: sunxi: add uart1_pe pinctrl for sun8i-v3s
ARM: dts: sunxi: add support for NetCube Systems Kumquat

 .../devicetree/bindings/arm/sunxi.yaml        |   5 +
 .../devicetree/bindings/vendor-prefixes.yaml  |   2 +
 arch/arm/boot/dts/allwinner/Makefile          |   2 +
 .../allwinner/sun8i-v3s-netcube-kumquat.dts   | 268 ++++++++++++++++++
 arch/arm/boot/dts/allwinner/sun8i-v3s.dtsi    |   6 +
 5 files changed, 283 insertions(+)
 create mode 100644 arch/arm/boot/dts/allwinner/sun8i-v3s-netcube-kumquat.dts
Signature · 1 line
2.47.1
#4 lore raw

PATCH v6 4/4 ARM: dts: sunxi: add support for NetCube Systems Kumquat

NetCube Systems Kumquat is a board based on the Allwinner V3s SoC, including:

- 64MB DDR2 included in SoC
- 10/100 Mbps Ethernet
- USB-C DRD
- Audio Codec
- Isolated CAN-FD
- ESP32 over SDIO
- 8MB SPI-NOR Flash for bootloader
- I2C EEPROM for MAC addresses
- SDIO Connector for eMMC or SD-Card
- 8x 12/24V IOs, 4x normally open relays
- DS3232 RTC
- QWIIC connectors for external I2C devices

---
 arch/arm/boot/dts/allwinner/Makefile          |   2 +
 .../allwinner/sun8i-v3s-netcube-kumquat.dts   | 268 ++++++++++++++++++
 2 files changed, 270 insertions(+)
 create mode 100644 arch/arm/boot/dts/allwinner/sun8i-v3s-netcube-kumquat.dts
arch/arm/boot/dts/allwinner/Makefile +2 -0
index 48666f73e638..d799ad153b37 100644
@@ -199,6 +199,7 @@ DTC_FLAGS_sun8i-h3-nanopi-r1 := -@
 DTC_FLAGS_sun8i-h3-orangepi-pc := -@
 DTC_FLAGS_sun8i-h3-bananapi-m2-plus-v1.2 := -@
 DTC_FLAGS_sun8i-h3-orangepi-pc-plus := -@
+DTC_FLAGS_sun8i-v3s-netcube-kumquat := -@
 dtb-$(CONFIG_MACH_SUN8I) += \
 	sun8i-a23-evb.dtb \
 	sun8i-a23-gt90h-v4.dtb \
@@ -261,6 +262,7 @@ dtb-$(CONFIG_MACH_SUN8I) += \
 	sun8i-v3s-anbernic-rg-nano.dtb \
 	sun8i-v3s-licheepi-zero.dtb \
 	sun8i-v3s-licheepi-zero-dock.dtb \
+	sun8i-v3s-netcube-kumquat.dtb \
 	sun8i-v40-bananapi-m2-berry.dtb
 dtb-$(CONFIG_MACH_SUN9I) += \
 	sun9i-a80-optimus.dtb \
arch/arm/boot/dts/allwinner/sun8i-v3s-netcube-kumquat.dts new file +268 -0

268 lines not on this page · raw message

Signature · 1 line
2.47.1
#1 lore raw

PATCH v6 1/4 dt-bindings: vendor-prefixes: Add NetCube Systems Austria name

In reply to Lukas Schmid

NetCube Systems Austria builds Embedded Systems for use in IoT, IIoT, or Smart Home scenarios.

Website is still WIP, but the Links on it are active:
https://netcubesystems.at/

---
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
index da01616802c7..a30ed9547098 100644
@@ -1027,6 +1027,8 @@ patternProperties:
     description: Neofidelity Inc.
   "^neonode,.*":
     description: Neonode Inc.
+  "^netcube,.*":
+    description: NetCube Systems Austria
   "^netgear,.*":
     description: NETGEAR
   "^netlogic,.*":
Signature · 1 line
2.47.1