Skip to contentSkip to conversation

Add support for NetCube Systems Kumquat

PATCH Applied Lukas Schmid 2 participants 6 messages Feb 5, 2025 – Feb 9, 2025

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

v9 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+

Changes in v7:
- Disable the external 32kHz crystal oscillator, as it does not work on the board

Changes in v8:
- Update the commit messages and cover letter according to the Linux coding style

Changes in v9:
- Change interrupts to interrupts-extended for tusb320 and can
- Rebased patches on latest master

---
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   | 276 ++++++++++++++++++
 arch/arm/boot/dts/allwinner/sun8i-v3s.dtsi    |   6 +
 5 files changed, 291 insertions(+)
 create mode 100644 arch/arm/boot/dts/allwinner/sun8i-v3s-netcube-kumquat.dts
Signature · 1 line
2.39.5
#1 lore raw

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

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 5079ca6ce1d1..499ab972f9d2 100644
@@ -1031,6 +1031,8 @@ patternProperties:
     description: Neofidelity Inc.
   "^neonode,.*":
     description: Neonode Inc.
+  "^netcube,.*":
+    description: NetCube Systems Austria
   "^netgear,.*":
     description: NETGEAR
   "^netlogic,.*":
Signature · 1 line
2.39.5
#2 lore raw

PATCH v9 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.39.5
#3 lore raw

PATCH v9 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.39.5
#4 lore raw

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

In reply to Lukas Schmid

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 with Battery Backup
- QWIIC connectors for external I2C devices

---
 arch/arm/boot/dts/allwinner/Makefile          |   2 +
 .../allwinner/sun8i-v3s-netcube-kumquat.dts   | 276 ++++++++++++++++++
 2 files changed, 278 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 +276 -0

276 lines not on this page · raw message

Signature · 1 line
2.39.5
Applied
#5 lore raw
In reply to Lukas Schmid
Quoted 9 lines · Lukas Schmid

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

[...]

Applied to dt-for-6.15 in [email protected]:linux-sunxi/linux-sunxi.git, thanks!

[1/4] dt-bindings: vendor-prefixes: Add NetCube Systems Austria name

      commit: 9a8463c68e0d1144e6af492a920796fcc373fef8
[2/4] dt-bindings: arm: sunxi: Add NetCube Systems Kumquat board
      commit: 2a120293fb8fc84017cfab3994ad4fe338148288
[3/4] ARM: dts: sunxi: add uart1_pe pinctrl for sun8i-v3s
      commit: 3199ed9b375870079c1bb857a10c55a95f90fdbd
[4/4] ARM: dts: sunxi: add support for NetCube Systems Kumquat
      commit: 6e085e64a2907bb9467360b7607d1257874c2626

Best regards,

Signature · 1 line
Chen-Yu Tsai <[email protected]>