| 5a97a38c | 05-Nov-2025 |
Troy Mitchell <troy.mitchell@linux.spacemit.com> |
riscv: dts: spacemit: define all missing I2C controller nodes
SpacemiT K1 SoC is equipped with a total of nine I2C controllers, ranging from I2C0 to I2C8.
Prior to this change, only I2C2 and I2C8 w
riscv: dts: spacemit: define all missing I2C controller nodes
SpacemiT K1 SoC is equipped with a total of nine I2C controllers, ranging from I2C0 to I2C8.
Prior to this change, only I2C2 and I2C8 were explicitly defined within the device tree. This patch comprehensively adds the device tree node definitions for I2C controller 0, 1, 4 to 7.
The I2C3 node is not added because it belongs exclusively to the secure domain which not used in the linux realm.
All newly added I2C nodes are set to "disabled" status by default, allowing future board-specific device tree to enable and configure.
Signed-off-by: Troy Mitchell <troy.mitchell@linux.spacemit.com> Link: https://lore.kernel.org/r/20251105-k1-add-i2c-node-v1-2-d18dae246137@linux.spacemit.com Signed-off-by: Yixun Lan <dlan@gentoo.org>
show more ...
|
| 3b70f972 | 05-Nov-2025 |
Troy Mitchell <troy.mitchell@linux.spacemit.com> |
riscv: dts: spacemit: reorder i2c2 node
Reorder the i2c2 node to its correct position according to its register address.This improves the readability and maintainability of the device tree file by a
riscv: dts: spacemit: reorder i2c2 node
Reorder the i2c2 node to its correct position according to its register address.This improves the readability and maintainability of the device tree file by adhering to the established ordering convention.
No functional change is introduced by this reordering.
Signed-off-by: Troy Mitchell <troy.mitchell@linux.spacemit.com> Link: https://lore.kernel.org/r/20251105-k1-add-i2c-node-v1-1-d18dae246137@linux.spacemit.com Signed-off-by: Yixun Lan <dlan@gentoo.org>
show more ...
|
| 63e572b1 | 12-Nov-2025 |
Michael Opdenacker <michael.opdenacker@rootcommit.com> |
riscv: dts: spacemit: Add OrangePi R2S board device tree
Add initial device tree support for the OrangePi RV2 board [1], which is marketed as using the Ky X1 SoC but is identical in die and package
riscv: dts: spacemit: Add OrangePi R2S board device tree
Add initial device tree support for the OrangePi RV2 board [1], which is marketed as using the Ky X1 SoC but is identical in die and package to the SpacemiT K1 SoC [2].
Enable UART0, to boot into a serial console
Two Gigabit Ethernet ports with RGMII interface standard support are enabled, each port is connected to an external Motorcomm YT8531C PHY chip which uses the GPIO for reset control.
Enable PDMA.
Enable 8 GB eMMC chip for storage.
Link: http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-R2S.html [1] Link: https://www.spacemit.com/en/key-stone-k1 [2] Signed-off-by: Michael Opdenacker <michael.opdenacker@rootcommit.com> Reviewed-by: Yixun Lan <dlan@gentoo.org> Link: https://lore.kernel.org/r/20251112044426.2351999-3-michael.opdenacker@rootcommit.com Signed-off-by: Yixun Lan <dlan@gentoo.org>
show more ...
|
| 41d34e0b | 27-Oct-2025 |
Alex Elder <elder@riscstar.com> |
riscv: dts: spacemit: enable K1 SoC QSPI on BPI-F3
Define DTS nodes to enable support for QSPI on the K1 SoC, including the pin control configuration used. Enable QSPI on the Banana Pi BPI-F3 board
riscv: dts: spacemit: enable K1 SoC QSPI on BPI-F3
Define DTS nodes to enable support for QSPI on the K1 SoC, including the pin control configuration used. Enable QSPI on the Banana Pi BPI-F3 board.
Signed-off-by: Alex Elder <elder@riscstar.com> Link: https://lore.kernel.org/r/20251027133008.360237-9-elder@riscstar.com Signed-off-by: Yixun Lan <dlan@gentoo.org>
show more ...
|
| 0ee59934 | 23-Oct-2025 |
Troy Mitchell <troy.mitchell@linux.spacemit.com> |
riscv: dts: spacemit: add MusePi Pro board device tree
Add initial device tree support for the MusePi Pro board [1]. The board is using the SpacemiT K1/M1 SoC.
This device tree is adapted from the
riscv: dts: spacemit: add MusePi Pro board device tree
Add initial device tree support for the MusePi Pro board [1]. The board is using the SpacemiT K1/M1 SoC.
This device tree is adapted from the SpacemiT vendor tree [2] and enables basic board functionality, including UART console, LED, eMMC, Ethernet, and PDMA.
Link: https://developer.spacemit.com/documentation?token=YJtdwnvvViPVcmkoPDpcvwfVnrh&type=pdf [1] Link: https://gitee.com/bianbu-linux/linux-6.6/blob/k1-bl-v2.2.y/arch/riscv/boot/dts/spacemit/k1-x_MUSE-Pi-Pro.dts [2] Signed-off-by: Troy Mitchell <troy.mitchell@linux.spacemit.com> Link: https://lore.kernel.org/r/20251023-k1-musepi-pro-dts-v4-2-01836303e10f@linux.spacemit.com Signed-off-by: Yixun Lan <dlan@gentoo.org>
show more ...
|
| 98133950 | 22-Oct-2025 |
Michael Opdenacker <michael.opdenacker@rootcommit.com> |
riscv: dts: spacemit: add Ethernet and PDMA to OrangePi RV2
The OrangePi RV2 board ships two RGMII ethernet ports. Each has an external Motorcomm YT8531C PHY attached, the PHY uses GPIO for reset pi
riscv: dts: spacemit: add Ethernet and PDMA to OrangePi RV2
The OrangePi RV2 board ships two RGMII ethernet ports. Each has an external Motorcomm YT8531C PHY attached, the PHY uses GPIO for reset pin control.
Enable PDMA for the SpacemiT K1-based SoC in the OrangePi RV2 board.
Signed-off-by: Michael Opdenacker <michael.opdenacker@rootcommit.com> Reviewed-by: Yixun Lan <dlan@gentoo.org> Link: https://lore.kernel.org/r/20251022201807.1474789-2-michael.opdenacker@rootcommit.com Signed-off-by: Yixun Lan <dlan@gentoo.org>
show more ...
|
| 859ce382 | 26-Sep-2025 |
Aurelien Jarno <aurelien@aurel32.net> |
riscv: dts: spacemit: add i2c aliases on BPI-F3
Add i2c aliases for i2c2 and i2c8 on BPI-F3. This is useful to keep a stable number for the /dev entries after loading the i2c-dev module.
Signed-off
riscv: dts: spacemit: add i2c aliases on BPI-F3
Add i2c aliases for i2c2 and i2c8 on BPI-F3. This is useful to keep a stable number for the /dev entries after loading the i2c-dev module.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Reviewed-by: Troy Mitchell <troy.mitchell@linux.spacemit.com> Reviewed-by: Vivian Wang <wangruikang@iscas.ac.cn> Reviewed-by: Yixun Lan <dlan@gentoo.org> Link: https://lore.kernel.org/r/20250926175833.3048516-4-aurelien@aurel32.net Signed-off-by: Yixun Lan <dlan@gentoo.org>
show more ...
|
| bfce75e2 | 26-Sep-2025 |
Aurelien Jarno <aurelien@aurel32.net> |
riscv: dts: spacemit: add 24c02 eeprom on BPI-F3
The BPI-F3 board includes a 24c02 eeprom, that stores the MAC addresses of the two network interfaces and the board's serial number. These values are
riscv: dts: spacemit: add 24c02 eeprom on BPI-F3
The BPI-F3 board includes a 24c02 eeprom, that stores the MAC addresses of the two network interfaces and the board's serial number. These values are also exposed via an onie,tlv-layout nvmem layout.
The eeprom is marked as read-only since its contents are not supposed to be modified.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Reviewed-by: Troy Mitchell <troy.mitchell@linux.spacemit.com> Reviewed-by: Vivian Wang <wangruikang@iscas.ac.cn> Reviewed-by: Yixun Lan <dlan@gentoo.org> Link: https://lore.kernel.org/r/20250926175833.3048516-3-aurelien@aurel32.net Signed-off-by: Yixun Lan <dlan@gentoo.org>
show more ...
|
| dcca2287 | 26-Sep-2025 |
Aurelien Jarno <aurelien@aurel32.net> |
riscv: dts: spacemit: enable the i2c2 adapter on BPI-F3
Define properties for the I2C adapter, and enable it on the BPI-F3. It will be used by the 24c02 eeprom.
Signed-off-by: Aurelien Jarno <aurel
riscv: dts: spacemit: enable the i2c2 adapter on BPI-F3
Define properties for the I2C adapter, and enable it on the BPI-F3. It will be used by the 24c02 eeprom.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Reviewed-by: Troy Mitchell <troy.mitchell@linux.spacemit.com> Reviewed-by: Vivian Wang <wangruikang@iscas.ac.cn> Reviewed-by: Yixun Lan <dlan@gentoo.org> Link: https://lore.kernel.org/r/20250926175833.3048516-2-aurelien@aurel32.net Signed-off-by: Yixun Lan <dlan@gentoo.org>
show more ...
|
| 09a412d3 | 25-Aug-2025 |
Alex Elder <elder@riscstar.com> |
riscv: dts: spacemit: define regulator constraints
Define basic constraints for the regulators in the SpacemiT P1 PMIC, as implemented in the Banana Pi BPI-F3.
Signed-off-by: Alex Elder <elder@risc
riscv: dts: spacemit: define regulator constraints
Define basic constraints for the regulators in the SpacemiT P1 PMIC, as implemented in the Banana Pi BPI-F3.
Signed-off-by: Alex Elder <elder@riscstar.com> Link: https://lore.kernel.org/r/20250825172057.163883-8-elder@riscstar.com Signed-off-by: Yixun Lan <dlan@gentoo.org>
show more ...
|
| 1df07a40 | 25-Aug-2025 |
Alex Elder <elder@riscstar.com> |
riscv: dts: spacemit: define fixed regulators
Define the DC power input and the 4v power as fixed supplies in the Banana Pi BPI-F3.
Signed-off-by: Alex Elder <elder@riscstar.com> Link: https://lore
riscv: dts: spacemit: define fixed regulators
Define the DC power input and the 4v power as fixed supplies in the Banana Pi BPI-F3.
Signed-off-by: Alex Elder <elder@riscstar.com> Link: https://lore.kernel.org/r/20250825172057.163883-7-elder@riscstar.com Signed-off-by: Yixun Lan <dlan@gentoo.org>
show more ...
|
| e32dc7a9 | 14-Sep-2025 |
Vivian Wang <wangruikang@iscas.ac.cn> |
riscv: dts: spacemit: Add Ethernet support for Jupiter
Milk-V Jupiter uses an RGMII PHY for each port and uses GPIO for PHY reset.
Signed-off-by: Vivian Wang <wangruikang@iscas.ac.cn> Reviewed-by:
riscv: dts: spacemit: Add Ethernet support for Jupiter
Milk-V Jupiter uses an RGMII PHY for each port and uses GPIO for PHY reset.
Signed-off-by: Vivian Wang <wangruikang@iscas.ac.cn> Reviewed-by: Yixun Lan <dlan@gentoo.org> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://patch.msgid.link/20250914-net-k1-emac-v12-5-65b31b398f44@iscas.ac.cn Signed-off-by: Paolo Abeni <pabeni@redhat.com>
show more ...
|
| 3c247a63 | 14-Sep-2025 |
Vivian Wang <wangruikang@iscas.ac.cn> |
riscv: dts: spacemit: Add Ethernet support for BPI-F3
Banana Pi BPI-F3 uses an RGMII PHY for each port and uses GPIO for PHY reset.
Tested-by: Hendrik Hamerlinck <hendrik.hamerlinck@hammernet.be> S
riscv: dts: spacemit: Add Ethernet support for BPI-F3
Banana Pi BPI-F3 uses an RGMII PHY for each port and uses GPIO for PHY reset.
Tested-by: Hendrik Hamerlinck <hendrik.hamerlinck@hammernet.be> Signed-off-by: Vivian Wang <wangruikang@iscas.ac.cn> Reviewed-by: Yixun Lan <dlan@gentoo.org> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://patch.msgid.link/20250914-net-k1-emac-v12-4-65b31b398f44@iscas.ac.cn Signed-off-by: Paolo Abeni <pabeni@redhat.com>
show more ...
|
| 0f084b22 | 02-Sep-2025 |
Yixun Lan <dlan@gentoo.org> |
riscv: dts: spacemit: uart: remove sec_uart1 device node
sec_uart1 is not available from Linux, and no clock is implemented in CCF framework, thus 'make dtbs_check' will pop up this warning message:
riscv: dts: spacemit: uart: remove sec_uart1 device node
sec_uart1 is not available from Linux, and no clock is implemented in CCF framework, thus 'make dtbs_check' will pop up this warning message:
serial@f0612000: 'clock-names' is a required property
Removing the node from device tree to silence the DT check warning.
Link: https://lore.kernel.org/r/20250902-02-k1-uart-clock-v2-1-f146918d44f6@gentoo.org Signed-off-by: Yixun Lan <dlan@gentoo.org>
show more ...
|
| 81d79ad0 | 22-Aug-2025 |
Guodong Xu <guodong@riscstar.com> |
riscv: dts: spacemit: Add PDMA node for K1 SoC
Add PDMA dma-controller node under dma_bus for SpacemiT K1 SoC.
The PDMA node is marked as disabled by default, allowing board-specific device trees t
riscv: dts: spacemit: Add PDMA node for K1 SoC
Add PDMA dma-controller node under dma_bus for SpacemiT K1 SoC.
The PDMA node is marked as disabled by default, allowing board-specific device trees to enable it as needed.
Signed-off-by: Guodong Xu <guodong@riscstar.com> Reviewed-by: Troy Mitchell <troy.mitchell@linux.spacemit.com> Link: https://lore.kernel.org/r/20250822-working_dma_0701_v2-v5-6-f5c0eda734cc@riscstar.com Signed-off-by: Yixun Lan <dlan@gentoo.org>
show more ...
|
| eba84c94 | 21-Aug-2025 |
Hendrik Hamerlinck <hendrik.hamerlinck@hammernet.be> |
riscv: dts: spacemit: add UART resets for Soc K1
The UARTs in the SpacemiT K1 device tree are probed by the 8250_of driver, but without reset lines they remain non-functional.
Add reset control ent
riscv: dts: spacemit: add UART resets for Soc K1
The UARTs in the SpacemiT K1 device tree are probed by the 8250_of driver, but without reset lines they remain non-functional.
Add reset control entries so that the UARTs can operate when mapped to devices. UART0 is already de-asserted by the bootloader, but include its reset as well to avoid relying on bootloader state.
Tested on Orange Pi RV2 and Banana Pi BPI-F3 boards, with UART9 enabled and verified functional.
Signed-off-by: Hendrik Hamerlinck <hendrik.hamerlinck@hammernet.be> Reviewed-by: Yixun Lan <dlan@gentoo.org> Link: https://lore.kernel.org/r/20250821152619.597051-1-hendrik.hamerlinck@hammernet.be Signed-off-by: Yixun Lan <dlan@gentoo.org>
show more ...
|
| 57fa4ba6 | 23-Jun-2025 |
Vivian Wang <wangruikang@iscas.ac.cn> |
riscv: dts: spacemit: Move eMMC under storage-bus for K1
SDHCI devices in Spacemit K1 use storage-bus translations. Move the node emmc under storage-bus to reflect this fact.
Signed-off-by: Vivian
riscv: dts: spacemit: Move eMMC under storage-bus for K1
SDHCI devices in Spacemit K1 use storage-bus translations. Move the node emmc under storage-bus to reflect this fact.
Signed-off-by: Vivian Wang <wangruikang@iscas.ac.cn> Link: https://lore.kernel.org/r/20250623-k1-dma-buses-rfc-wip-v1-3-c0144082061f@iscas.ac.cn Signed-off-by: Yixun Lan <dlan@gentoo.org>
show more ...
|
| 277f8525 | 23-Jun-2025 |
Vivian Wang <wangruikang@iscas.ac.cn> |
riscv: dts: spacemit: Move UARTs under dma-bus for K1
UART devices in Spacemit K1 use dma-bus DMA translations. Move these nodes under dma-bus to reflect this fact.
Signed-off-by: Vivian Wang <wang
riscv: dts: spacemit: Move UARTs under dma-bus for K1
UART devices in Spacemit K1 use dma-bus DMA translations. Move these nodes under dma-bus to reflect this fact.
Signed-off-by: Vivian Wang <wangruikang@iscas.ac.cn> Reviewed-by: Guodong Xu <guodong@riscstar.com> Link: https://lore.kernel.org/r/20250623-k1-dma-buses-rfc-wip-v1-2-c0144082061f@iscas.ac.cn Signed-off-by: Yixun Lan <dlan@gentoo.org>
show more ...
|
| 2f793d0f | 23-Jun-2025 |
Vivian Wang <wangruikang@iscas.ac.cn> |
riscv: dts: spacemit: Add DMA translation buses for K1
The SpacemiT K1 has various static translations of DMA accesses. Add these as simple-bus nodes with dma-ranges. Devices actually using these tr
riscv: dts: spacemit: Add DMA translation buses for K1
The SpacemiT K1 has various static translations of DMA accesses. Add these as simple-bus nodes with dma-ranges. Devices actually using these translations will be added to or moved inside the bus nodes in later patches.
The bus names are assigned according to consensus with SpacemiT [1].
Link: https://lore.kernel.org/r/CAH1PCMaC+imcMZCFYtRdmH6ge=dPgnANn_GqVfsGRS=+YhyJCw@mail.gmail.com [1] Signed-off-by: Vivian Wang <wangruikang@iscas.ac.cn> Reviewed-by: Guodong Xu <guodong@riscstar.com> Link: https://lore.kernel.org/r/20250623-k1-dma-buses-rfc-wip-v1-1-c0144082061f@iscas.ac.cn Signed-off-by: Yixun Lan <dlan@gentoo.org>
show more ...
|