Resguardo inicial

This commit is contained in:
lastdragon
2026-09-06 12:53:21 -06:00
parent 662efe3c2a
commit ad2088d178
94853 changed files with 43200404 additions and 0 deletions
@@ -0,0 +1,9 @@
# SPDX-License-Identifier: GPL-2.0
dtb-$(CONFIG_ARCH_SPACEMIT) += k1-bananapi-f3.dtb
dtb-$(CONFIG_ARCH_SPACEMIT) += k1-milkv-jupiter.dtb
dtb-$(CONFIG_ARCH_SPACEMIT) += k1-musepi-pro.dtb
dtb-$(CONFIG_ARCH_SPACEMIT) += k1-orangepi-r2s.dtb
dtb-$(CONFIG_ARCH_SPACEMIT) += k1-orangepi-rv2.dtb
dtb-$(CONFIG_ARCH_SPACEMIT) += k3-com260-ifx.dtb
dtb-$(CONFIG_ARCH_SPACEMIT) += k3-deepcomputing-fml13v05.dtb
dtb-$(CONFIG_ARCH_SPACEMIT) += k3-pico-itx.dtb
@@ -0,0 +1,396 @@
// SPDX-License-Identifier: GPL-2.0 OR MIT
/*
* Copyright (C) 2024 Yangyu Chen <cyy@cyyself.name>
*/
#include "k1.dtsi"
#include "k1-pinctrl.dtsi"
/ {
model = "Banana Pi BPI-F3";
compatible = "bananapi,bpi-f3", "spacemit,k1";
aliases {
ethernet0 = &eth0;
ethernet1 = &eth1;
serial0 = &uart0;
spi3 = &spi3;
i2c2 = &i2c2;
i2c8 = &i2c8;
mmc0 = &emmc;
mmc1 = &sdhci0;
};
chosen {
stdout-path = "serial0:115200n8";
};
leds {
compatible = "gpio-leds";
led1 {
label = "sys-led";
gpios = <&gpio K1_GPIO(96) GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat";
default-state = "on";
};
};
pcie_vcc_3v3: regulator-pcie-vcc3v3 {
compatible = "regulator-fixed";
regulator-name = "PCIE_VCC3V3";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
reg_dc_in: regulator-dc-in-12v {
compatible = "regulator-fixed";
regulator-name = "dc_in_12v";
regulator-min-microvolt = <12000000>;
regulator-max-microvolt = <12000000>;
regulator-boot-on;
regulator-always-on;
};
reg_vcc_4v: regulator-vcc-4v {
compatible = "regulator-fixed";
regulator-name = "vcc_4v";
regulator-min-microvolt = <4000000>;
regulator-max-microvolt = <4000000>;
regulator-boot-on;
regulator-always-on;
vin-supply = <&reg_dc_in>;
};
regulator-usb3-vbus-5v {
compatible = "regulator-fixed";
regulator-name = "USB30_VBUS";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
gpio = <&gpio K1_GPIO(97) GPIO_ACTIVE_HIGH>;
enable-active-high;
};
usb3_hub_5v: regulator-usb3-hub-5v {
compatible = "regulator-fixed";
regulator-name = "USB30_HUB";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&gpio K1_GPIO(123) GPIO_ACTIVE_HIGH>;
enable-active-high;
};
};
&combo_phy {
status = "okay";
};
&emmc {
bus-width = <8>;
mmc-hs400-1_8v;
mmc-hs400-enhanced-strobe;
non-removable;
no-sd;
no-sdio;
status = "okay";
};
&eth0 {
phy-handle = <&rgmii0>;
phy-mode = "rgmii-id";
pinctrl-names = "default";
pinctrl-0 = <&gmac0_cfg>;
rx-internal-delay-ps = <0>;
tx-internal-delay-ps = <0>;
status = "okay";
mdio-bus {
#address-cells = <0x1>;
#size-cells = <0x0>;
reset-gpios = <&gpio K1_GPIO(110) GPIO_ACTIVE_LOW>;
reset-delay-us = <10000>;
reset-post-delay-us = <100000>;
rgmii0: phy@1 {
reg = <0x1>;
};
};
};
&eth1 {
phy-handle = <&rgmii1>;
phy-mode = "rgmii-id";
pinctrl-names = "default";
pinctrl-0 = <&gmac1_cfg>;
rx-internal-delay-ps = <0>;
tx-internal-delay-ps = <250>;
status = "okay";
mdio-bus {
#address-cells = <0x1>;
#size-cells = <0x0>;
reset-gpios = <&gpio K1_GPIO(115) GPIO_ACTIVE_LOW>;
reset-delay-us = <10000>;
reset-post-delay-us = <100000>;
rgmii1: phy@1 {
reg = <0x1>;
};
};
};
&pdma {
status = "okay";
};
&qspi {
pinctrl-names = "default";
pinctrl-0 = <&qspi_cfg>;
status = "okay";
};
&i2c2 {
pinctrl-0 = <&i2c2_0_cfg>;
pinctrl-names = "default";
status = "okay";
eeprom@50 {
compatible = "atmel,24c02";
reg = <0x50>;
vcc-supply = <&buck3_1v8>; /* EEPROM_VCC1V8 */
pagesize = <16>;
read-only;
size = <256>;
nvmem-layout {
compatible = "onie,tlv-layout";
mac-address {
#nvmem-cell-cells = <1>;
};
num-macs {
};
serial-number {
};
};
};
};
&i2c8 {
pinctrl-0 = <&i2c8_cfg>;
pinctrl-names = "default";
status = "okay";
pmic@41 {
compatible = "spacemit,p1";
reg = <0x41>;
interrupts = <64>;
vin1-supply = <&reg_vcc_4v>;
vin2-supply = <&reg_vcc_4v>;
vin3-supply = <&reg_vcc_4v>;
vin4-supply = <&reg_vcc_4v>;
vin5-supply = <&reg_vcc_4v>;
vin6-supply = <&reg_vcc_4v>;
aldoin-supply = <&reg_vcc_4v>;
dldoin1-supply = <&buck5>;
dldoin2-supply = <&buck5>;
regulators {
buck1 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3450000>;
regulator-ramp-delay = <5000>;
regulator-always-on;
};
buck2 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3450000>;
regulator-ramp-delay = <5000>;
regulator-always-on;
};
buck3_1v8: buck3 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <1800000>;
regulator-ramp-delay = <5000>;
regulator-always-on;
};
buck4: buck4 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3300000>;
regulator-ramp-delay = <5000>;
regulator-always-on;
};
buck5: buck5 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3450000>;
regulator-ramp-delay = <5000>;
regulator-always-on;
};
buck6 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3450000>;
regulator-ramp-delay = <5000>;
regulator-always-on;
};
aldo1: aldo1 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
regulator-boot-on;
};
aldo2 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
};
aldo3 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
};
aldo4 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
};
dldo1 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
regulator-boot-on;
};
dldo2 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
};
dldo3 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
};
dldo4 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
regulator-always-on;
};
dldo5 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
};
dldo6 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
regulator-always-on;
};
dldo7 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
};
};
};
};
&pcie1_phy {
pinctrl-names = "default";
pinctrl-0 = <&pcie1_3_cfg>;
status = "okay";
};
&pcie1_port {
phys = <&pcie1_phy>;
vpcie3v3-supply = <&pcie_vcc_3v3>;
};
&pcie1 {
vpcie3v3-supply = <&pcie_vcc_3v3>;
status = "okay";
};
&pcie2_phy {
pinctrl-names = "default";
pinctrl-0 = <&pcie2_4_cfg>;
status = "okay";
};
&pcie2_port {
phys = <&pcie2_phy>;
vpcie3v3-supply = <&pcie_vcc_3v3>;
};
&pcie2 {
vpcie3v3-supply = <&pcie_vcc_3v3>;
status = "okay";
};
&spi3 {
pinctrl-0 = <&ssp3_0_cfg>;
pinctrl-names = "default";
status = "okay";
};
&uart0 {
pinctrl-names = "default";
pinctrl-0 = <&uart0_2_cfg>;
status = "okay";
};
&usbphy2 {
status = "okay";
};
&usb_dwc3 {
dr_mode = "host";
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
hub_2_0: hub@1 {
compatible = "usb2109,2817";
reg = <0x1>;
vdd-supply = <&usb3_hub_5v>;
peer-hub = <&hub_3_0>;
reset-gpios = <&gpio K1_GPIO(124) GPIO_ACTIVE_LOW>;
};
hub_3_0: hub@2 {
compatible = "usb2109,817";
reg = <0x2>;
vdd-supply = <&usb3_hub_5v>;
peer-hub = <&hub_2_0>;
reset-gpios = <&gpio K1_GPIO(124) GPIO_ACTIVE_LOW>;
};
};
&sdhci0 {
pinctrl-names = "default", "uhs";
pinctrl-0 = <&mmc1_cfg>;
pinctrl-1 = <&mmc1_uhs_cfg>;
bus-width = <4>;
cd-gpios = <&gpio K1_GPIO(80) (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
no-mmc;
no-sdio;
disable-wp;
cap-sd-highspeed;
vmmc-supply = <&buck4>;
vqmmc-supply = <&aldo1>;
sd-uhs-sdr25;
sd-uhs-sdr50;
sd-uhs-sdr104;
status = "okay";
};
@@ -0,0 +1,438 @@
// SPDX-License-Identifier: GPL-2.0 OR MIT
/*
* Copyright (C) 2024 Yangyu Chen <cyy@cyyself.name>
* Copyright (C) 2025 Javier Martinez Canillas <javierm@redhat.com>
*/
#include "k1.dtsi"
#include "k1-pinctrl.dtsi"
/ {
model = "Milk-V Jupiter (K1)";
compatible = "milkv,jupiter", "spacemit,k1";
aliases {
ethernet0 = &eth0;
ethernet1 = &eth1;
i2c2 = &i2c2;
i2c8 = &i2c8;
mmc0 = &emmc;
mmc1 = &sdhci0;
serial0 = &uart0;
};
chosen {
stdout-path = "serial0:115200n8";
};
leds {
compatible = "gpio-leds";
led1 {
label = "pwr-led";
gpios = <&gpio K1_GPIO(96) GPIO_ACTIVE_HIGH>;
linux,default-trigger = "default-on";
default-state = "on";
};
led2 {
label = "hdd-led";
gpios = <&gpio K1_GPIO(92) GPIO_ACTIVE_HIGH>;
linux,default-trigger = "disk-activity";
};
};
pcie_vcc_3v3: regulator-pcie-vcc3v3 {
compatible = "regulator-fixed";
regulator-name = "pcie_vcc3v3";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
vin-supply = <&reg_dc_in>;
};
reg_dc_in: regulator-dc-in-12v {
compatible = "regulator-fixed";
regulator-name = "dc_in_12v";
regulator-min-microvolt = <12000000>;
regulator-max-microvolt = <12000000>;
regulator-boot-on;
regulator-always-on;
};
reg_vcc_4v: regulator-vcc-4v {
compatible = "regulator-fixed";
regulator-name = "vcc_4v";
regulator-min-microvolt = <4000000>;
regulator-max-microvolt = <4000000>;
regulator-boot-on;
regulator-always-on;
vin-supply = <&reg_dc_in>;
};
reg_vcc_5v: regulator-vcc-5v {
compatible = "regulator-fixed";
regulator-name = "vcc_5v";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-boot-on;
regulator-always-on;
vin-supply = <&reg_dc_in>;
};
regulator-usb3-vbus-5v {
compatible = "regulator-fixed";
regulator-name = "USB30_VBUS";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
vin-supply = <&reg_vcc_5v>;
gpio = <&gpio K1_GPIO(97) GPIO_ACTIVE_HIGH>;
enable-active-high;
};
usb3_hub_5v: regulator-usb3-hub-5v {
compatible = "regulator-fixed";
regulator-name = "USB30_HUB";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
vin-supply = <&reg_vcc_5v>;
gpio = <&gpio K1_GPIO(123) GPIO_ACTIVE_HIGH>;
enable-active-high;
};
};
&combo_phy {
status = "okay";
};
&emmc {
bus-width = <8>;
mmc-hs400-1_8v;
mmc-hs400-enhanced-strobe;
non-removable;
no-sd;
no-sdio;
status = "okay";
};
&eth0 {
phy-handle = <&rgmii0>;
phy-mode = "rgmii-id";
pinctrl-names = "default";
pinctrl-0 = <&gmac0_cfg>;
rx-internal-delay-ps = <0>;
tx-internal-delay-ps = <0>;
status = "okay";
mdio-bus {
#address-cells = <0x1>;
#size-cells = <0x0>;
reset-gpios = <&gpio K1_GPIO(110) GPIO_ACTIVE_LOW>;
reset-delay-us = <10000>;
reset-post-delay-us = <100000>;
rgmii0: phy@1 {
reg = <0x1>;
};
};
};
&eth1 {
phy-handle = <&rgmii1>;
phy-mode = "rgmii-id";
pinctrl-names = "default";
pinctrl-0 = <&gmac1_cfg>;
rx-internal-delay-ps = <0>;
tx-internal-delay-ps = <250>;
status = "okay";
mdio-bus {
#address-cells = <0x1>;
#size-cells = <0x0>;
reset-gpios = <&gpio K1_GPIO(115) GPIO_ACTIVE_LOW>;
reset-delay-us = <10000>;
reset-post-delay-us = <100000>;
rgmii1: phy@1 {
reg = <0x1>;
};
};
};
&pdma {
status = "okay";
};
&i2c2 {
pinctrl-0 = <&i2c2_0_cfg>;
pinctrl-names = "default";
status = "okay";
eeprom@50 {
compatible = "atmel,24c04";
reg = <0x50>;
vcc-supply = <&buck3_1v8>; /* EEPROM_VCC18 */
pagesize = <16>;
read-only;
size = <512>;
nvmem-layout {
compatible = "onie,tlv-layout";
product-name {
};
};
};
};
&i2c8 {
pinctrl-0 = <&i2c8_cfg>;
pinctrl-names = "default";
status = "okay";
pmic@41 {
compatible = "spacemit,p1";
reg = <0x41>;
interrupts = <64>;
vin1-supply = <&reg_vcc_4v>;
vin2-supply = <&reg_vcc_4v>;
vin3-supply = <&reg_vcc_4v>;
vin4-supply = <&reg_vcc_4v>;
vin5-supply = <&reg_vcc_4v>;
vin6-supply = <&reg_vcc_4v>;
aldoin-supply = <&reg_vcc_4v>;
dldoin1-supply = <&buck5>;
dldoin2-supply = <&buck5>;
regulators {
buck1 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3450000>;
regulator-ramp-delay = <5000>;
regulator-always-on;
};
buck2 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3450000>;
regulator-ramp-delay = <5000>;
regulator-always-on;
};
buck3_1v8: buck3 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <1800000>;
regulator-ramp-delay = <5000>;
regulator-always-on;
};
buck4_3v3: buck4 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3300000>;
regulator-ramp-delay = <5000>;
regulator-always-on;
};
buck5: buck5 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3450000>;
regulator-ramp-delay = <5000>;
regulator-always-on;
};
buck6 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3450000>;
regulator-ramp-delay = <5000>;
regulator-always-on;
};
aldo1: aldo1 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
regulator-boot-on;
};
aldo2 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
};
aldo3 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
};
aldo4 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
};
dldo1 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
regulator-boot-on;
};
dldo2 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
};
dldo3 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
};
dldo4 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
regulator-always-on;
};
dldo5 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
};
dldo6 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
regulator-always-on;
};
dldo7 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
};
};
};
};
&pcie1_phy {
pinctrl-names = "default";
pinctrl-0 = <&pcie1_3_cfg>;
status = "okay";
};
&pcie1_port {
phys = <&pcie1_phy>;
vpcie3v3-supply = <&pcie_vcc_3v3>;
};
&pcie1 {
vpcie3v3-supply = <&pcie_vcc_3v3>;
status = "okay";
};
&pcie2_phy {
pinctrl-names = "default";
pinctrl-0 = <&pcie2_4_cfg>;
status = "okay";
};
&pcie2_port {
phys = <&pcie2_phy>;
vpcie3v3-supply = <&pcie_vcc_3v3>;
};
&pcie2 {
vpcie3v3-supply = <&pcie_vcc_3v3>;
status = "okay";
};
&qspi {
pinctrl-names = "default";
pinctrl-0 = <&qspi_cfg>;
status = "okay";
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <26500000>;
spi-rx-bus-width = <4>;
spi-tx-bus-width = <4>;
vcc-supply = <&buck4_3v3>; /* QSPI_VCC1833 */
m25p,fast-read;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
bootinfo@0 {
reg = <0x0 0x10000>;
};
private@10000 {
reg = <0x10000 0x10000>;
};
fsbl@20000 {
reg = <0x20000 0x40000>;
};
env@60000 {
reg = <0x60000 0x10000>;
};
opensbi@70000 {
reg = <0x70000 0x30000>;
};
uboot@a0000 {
reg = <0xa0000 0x760000>;
};
};
};
};
&sdhci0 {
pinctrl-names = "default", "uhs";
pinctrl-0 = <&mmc1_cfg>;
pinctrl-1 = <&mmc1_uhs_cfg>;
bus-width = <4>;
cd-gpios = <&gpio K1_GPIO(80) (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
no-mmc;
no-sdio;
disable-wp;
cap-sd-highspeed;
vmmc-supply = <&buck4_3v3>;
vqmmc-supply = <&aldo1>;
sd-uhs-sdr25;
sd-uhs-sdr50;
sd-uhs-sdr104;
status = "okay";
};
&uart0 {
pinctrl-names = "default";
pinctrl-0 = <&uart0_2_cfg>;
status = "okay";
};
&usbphy2 {
status = "okay";
};
&usb_dwc3 {
dr_mode = "host";
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
hub_2_0: hub@1 {
compatible = "usb2109,2817";
reg = <0x1>;
vdd-supply = <&usb3_hub_5v>;
peer-hub = <&hub_3_0>;
reset-gpios = <&gpio K1_GPIO(124) GPIO_ACTIVE_LOW>;
};
hub_3_0: hub@2 {
compatible = "usb2109,817";
reg = <0x2>;
vdd-supply = <&usb3_hub_5v>;
peer-hub = <&hub_2_0>;
reset-gpios = <&gpio K1_GPIO(124) GPIO_ACTIVE_LOW>;
};
};
@@ -0,0 +1,406 @@
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
/*
* Copyright (C) 2024 Yangyu Chen <cyy@cyyself.name>
* Copyright (C) 2025 SpacemiT, Inc
* Copyright (C) 2025 Troy Mitchell <troy.mitchell@linux.spacemit.com>
*/
/dts-v1/;
#include "k1.dtsi"
#include "k1-pinctrl.dtsi"
/ {
model = "SpacemiT MusePi Pro";
compatible = "spacemit,musepi-pro", "spacemit,k1";
aliases {
ethernet0 = &eth0;
serial0 = &uart0;
i2c2 = &i2c2;
i2c8 = &i2c8;
mmc0 = &emmc;
mmc1 = &sdhci0;
};
chosen {
stdout-path = "serial0:115200n8";
};
leds {
compatible = "gpio-leds";
led1 {
label = "sys-led";
gpios = <&gpio K1_GPIO(96) GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat";
default-state = "on";
};
};
reg_pcie_vcc_3v3: regulator-pcie-vcc3v3 {
compatible = "regulator-fixed";
regulator-name = "PCIE_VCC3V3";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
reg_vcc_4v: regulator-vcc-4v {
compatible = "regulator-fixed";
regulator-name = "VCC4V0";
regulator-min-microvolt = <4000000>;
regulator-max-microvolt = <4000000>;
regulator-boot-on;
regulator-always-on;
};
reg_qspi_vcc1v833: regulator-qspi-vcc1v833 {
compatible = "regulator-fixed";
regulator-name = "QSPI_VCC1833";
regulator-min-microvolt = <1833000>;
regulator-max-microvolt = <1833000>;
regulator-always-on;
vin-supply = <&buck4_3v3>;
};
reg_5v_vbus: regulator-5v-vbus {
compatible = "regulator-fixed";
regulator-name = "5V_VBUS";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
gpio = <&gpio K1_GPIO(79) GPIO_ACTIVE_HIGH>; /* USB3_PWREN */
enable-active-high;
};
reg_vcc5v_hub: regulator-vcc5v-hub {
compatible = "regulator-fixed";
regulator-name = "VCC5V0_HUB";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
gpio = <&gpio K1_GPIO(127) GPIO_ACTIVE_HIGH>; /* HUB_PWREN */
enable-active-high;
};
};
&emmc {
bus-width = <8>;
mmc-hs400-1_8v;
mmc-hs400-enhanced-strobe;
non-removable;
no-sd;
no-sdio;
status = "okay";
};
&combo_phy {
status = "okay";
};
&eth0 {
phy-handle = <&rgmii0>;
phy-mode = "rgmii-id";
pinctrl-0 = <&gmac0_cfg>;
pinctrl-names = "default";
rx-internal-delay-ps = <0>;
tx-internal-delay-ps = <0>;
status = "okay";
mdio-bus {
#address-cells = <0x1>;
#size-cells = <0x0>;
reset-gpios = <&gpio K1_GPIO(110) GPIO_ACTIVE_LOW>;
reset-delay-us = <10000>;
reset-post-delay-us = <100000>;
rgmii0: phy@1 {
reg = <0x1>;
};
};
};
&pdma {
status = "okay";
};
&i2c2 {
pinctrl-0 = <&i2c2_0_cfg>;
pinctrl-names = "default";
status = "okay";
eeprom@50 {
compatible = "atmel,24c02";
reg = <0x50>;
vcc-supply = <&buck3_1v8>; /* EEPROM_VCC1V8 */
pagesize = <8>;
read-only;
size = <256>;
nvmem-layout {
compatible = "onie,tlv-layout";
product-name {
};
serial-number {
};
mac-address {
#nvmem-cell-cells = <1>;
};
num-macs {
};
};
};
};
&i2c8 {
pinctrl-0 = <&i2c8_cfg>;
pinctrl-names = "default";
status = "okay";
pmic@41 {
compatible = "spacemit,p1";
reg = <0x41>;
interrupts = <64>;
vin1-supply = <&reg_vcc_4v>;
vin2-supply = <&reg_vcc_4v>;
vin3-supply = <&reg_vcc_4v>;
vin4-supply = <&reg_vcc_4v>;
vin5-supply = <&reg_vcc_4v>;
vin6-supply = <&reg_vcc_4v>;
aldoin-supply = <&reg_vcc_4v>;
dldoin1-supply = <&buck5>;
dldoin2-supply = <&buck5>;
regulators {
buck1 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3450000>;
regulator-ramp-delay = <5000>;
regulator-always-on;
};
buck2 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3450000>;
regulator-ramp-delay = <5000>;
regulator-always-on;
};
buck3_1v8: buck3 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <1800000>;
regulator-ramp-delay = <5000>;
regulator-always-on;
};
buck4_3v3: buck4 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3300000>;
regulator-ramp-delay = <5000>;
regulator-always-on;
};
buck5: buck5 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3450000>;
regulator-ramp-delay = <5000>;
regulator-always-on;
};
buck6 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3450000>;
regulator-ramp-delay = <5000>;
regulator-always-on;
};
aldo1: aldo1 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
regulator-boot-on;
};
aldo2 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
};
aldo3 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
};
aldo4 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
};
dldo1 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
regulator-boot-on;
};
dldo2 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
};
dldo3 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
};
dldo4 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
regulator-always-on;
};
dldo5 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
};
dldo6 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
regulator-always-on;
};
dldo7 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
};
};
};
};
&pcie1_phy {
pinctrl-names = "default";
pinctrl-0 = <&pcie1_3_cfg>;
status = "okay";
};
&pcie1_port {
phys = <&pcie1_phy>;
vpcie3v3-supply = <&reg_pcie_vcc_3v3>;
};
&pcie1 {
status = "okay";
};
&pcie2_phy {
pinctrl-names = "default";
pinctrl-0 = <&pcie2_4_cfg>;
status = "okay";
};
&pcie2_port {
phys = <&pcie2_phy>;
vpcie3v3-supply = <&reg_pcie_vcc_3v3>;
};
&pcie2 {
status = "okay";
};
&qspi {
pinctrl-names = "default";
pinctrl-0 = <&qspi_cfg>;
status = "okay";
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <26500000>;
spi-rx-bus-width = <4>;
spi-tx-bus-width = <4>;
vcc-supply = <&reg_qspi_vcc1v833>;
m25p,fast-read;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
bootinfo@0 {
reg = <0x0 0x10000>;
};
private@10000 {
reg = <0x10000 0x10000>;
};
fsbl@20000 {
reg = <0x20000 0x40000>;
};
env@60000 {
reg = <0x60000 0x10000>;
};
opensbi@70000 {
reg = <0x70000 0x30000>;
};
uboot@a0000 {
reg = <0xa0000 0x760000>;
};
};
};
};
&uart0 {
pinctrl-0 = <&uart0_2_cfg>;
pinctrl-names = "default";
status = "okay";
};
&usbphy2 {
status = "okay";
};
&usb_dwc3 {
dr_mode = "host";
#address-cells = <1>;
#size-cells = <0>;
vbus-supply = <&reg_5v_vbus>;
status = "okay";
hub_2_0: hub@1 {
compatible = "usb2109,2817";
reg = <0x1>;
vdd-supply = <&reg_vcc5v_hub>;
peer-hub = <&hub_3_0>;
reset-gpios = <&gpio K1_GPIO(123) GPIO_ACTIVE_LOW>; /* HUB_RST */
};
hub_3_0: hub@2 {
compatible = "usb2109,817";
reg = <0x2>;
vdd-supply = <&reg_vcc5v_hub>;
peer-hub = <&hub_2_0>;
reset-gpios = <&gpio K1_GPIO(123) GPIO_ACTIVE_LOW>; /* HUB_RST */
};
};
&sdhci0 {
pinctrl-names = "default", "uhs";
pinctrl-0 = <&mmc1_cfg>;
pinctrl-1 = <&mmc1_uhs_cfg>;
bus-width = <4>;
cd-gpios = <&gpio K1_GPIO(80) (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>;
no-mmc;
no-sdio;
disable-wp;
cap-sd-highspeed;
vmmc-supply = <&buck4_3v3>;
vqmmc-supply = <&aldo1>;
sd-uhs-sdr25;
sd-uhs-sdr50;
sd-uhs-sdr104;
status = "okay";
};
@@ -0,0 +1,249 @@
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
/*
* Copyright (C) 2025 Michael Opdenacker <michael.opdenacker@rootcommit.com>
*/
/dts-v1/;
#include "k1.dtsi"
#include "k1-pinctrl.dtsi"
/ {
model = "OrangePi R2S";
compatible = "xunlong,orangepi-r2s", "spacemit,k1";
aliases {
i2c8 = &i2c8;
serial0 = &uart0;
ethernet0 = &eth0;
ethernet1 = &eth1;
};
chosen {
stdout-path = "serial0";
};
vcc4v0: regulator-vcc4v0 {
compatible = "regulator-fixed";
regulator-name = "vcc4v0";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <4000000>;
regulator-max-microvolt = <4000000>;
};
vcc5v0_usb: regulator-vcc5v0-usb {
compatible = "regulator-fixed";
enable-active-high;
gpios = <&gpio K1_GPIO(126) GPIO_ACTIVE_HIGH>;
regulator-name = "vcc5v0_usb";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
};
};
&combo_phy {
status = "okay";
};
&emmc {
bus-width = <8>;
mmc-hs400-1_8v;
mmc-hs400-enhanced-strobe;
non-removable;
no-sd;
no-sdio;
status = "okay";
};
&eth0 {
phy-handle = <&rgmii0>;
phy-mode = "rgmii-id";
pinctrl-names = "default";
pinctrl-0 = <&gmac0_cfg>;
rx-internal-delay-ps = <0>;
tx-internal-delay-ps = <0>;
status = "okay";
mdio-bus {
#address-cells = <0x1>;
#size-cells = <0x0>;
reset-gpios = <&gpio K1_GPIO(110) GPIO_ACTIVE_LOW>;
reset-delay-us = <10000>;
reset-post-delay-us = <100000>;
rgmii0: phy@1 {
reg = <0x1>;
motorcomm,auto-sleep-disabled;
};
};
};
&eth1 {
phy-handle = <&rgmii1>;
phy-mode = "rgmii-id";
pinctrl-names = "default";
pinctrl-0 = <&gmac1_cfg>;
rx-internal-delay-ps = <0>;
tx-internal-delay-ps = <250>;
status = "okay";
mdio-bus {
#address-cells = <0x1>;
#size-cells = <0x0>;
reset-gpios = <&gpio K1_GPIO(115) GPIO_ACTIVE_LOW>;
reset-delay-us = <10000>;
reset-post-delay-us = <100000>;
rgmii1: phy@1 {
reg = <0x1>;
motorcomm,auto-sleep-disabled;
};
};
};
&i2c8 {
pinctrl-names = "default";
pinctrl-0 = <&i2c8_cfg>;
status = "okay";
pmic@41 {
compatible = "spacemit,p1";
reg = <0x41>;
interrupts = <64>;
vin1-supply = <&vcc4v0>;
vin2-supply = <&vcc4v0>;
vin3-supply = <&vcc4v0>;
vin4-supply = <&vcc4v0>;
vin5-supply = <&vcc4v0>;
vin6-supply = <&vcc4v0>;
aldoin-supply = <&vcc4v0>;
dldoin1-supply = <&buck5>;
dldoin2-supply = <&buck5>;
regulators {
buck1 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3450000>;
regulator-ramp-delay = <5000>;
regulator-always-on;
};
buck2 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3450000>;
regulator-ramp-delay = <5000>;
regulator-always-on;
};
buck3_1v8: buck3 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <1800000>;
regulator-ramp-delay = <5000>;
regulator-always-on;
};
buck4_3v3: buck4 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3300000>;
regulator-ramp-delay = <5000>;
regulator-always-on;
};
buck5: buck5 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3450000>;
regulator-ramp-delay = <5000>;
regulator-always-on;
};
buck6 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3450000>;
regulator-ramp-delay = <5000>;
regulator-always-on;
};
aldo1_3v3: aldo1 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
regulator-boot-on;
};
aldo2 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
};
aldo3 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
};
aldo4 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
};
dldo1 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
regulator-boot-on;
};
dldo2 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
};
dldo3 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
};
dldo4 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
regulator-always-on;
};
dldo5 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
};
dldo6 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
regulator-always-on;
};
dldo7 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
};
};
};
};
&pdma {
status = "okay";
};
&uart0 {
pinctrl-names = "default";
pinctrl-0 = <&uart0_2_cfg>;
status = "okay";
};
&usbphy2 {
status = "okay";
};
&usb_dwc3 {
dr_mode = "host";
vbus-supply = <&vcc5v0_usb>;
status = "okay";
};
@@ -0,0 +1,386 @@
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
/*
* Copyright (C) 2024 Yangyu Chen <cyy@cyyself.name>
* Copyright (C) 2025 Hendrik Hamerlinck <hendrik.hamerlinck@hammernet.be>
*/
/dts-v1/;
#include "k1.dtsi"
#include "k1-pinctrl.dtsi"
/ {
model = "OrangePi RV2";
compatible = "xunlong,orangepi-rv2", "spacemit,k1";
aliases {
serial0 = &uart0;
ethernet0 = &eth0;
ethernet1 = &eth1;
mmc0 = &emmc;
mmc1 = &sdhci0;
};
chosen {
stdout-path = "serial0";
};
pcie_vcc3v3: regulator-pcie-vcc3v3 {
compatible = "regulator-fixed";
enable-active-high;
gpios = <&gpio K1_GPIO(116) GPIO_ACTIVE_HIGH>;
regulator-name = "pcie_vcc3v3";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
vin-supply = <&vcc_5v0>;
};
vcc_5v0: regulator-vcc-5v0 {
compatible = "regulator-fixed";
regulator-name = "vcc_5v0";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
};
vcc4v0: regulator-vcc4v0 {
compatible = "regulator-fixed";
regulator-name = "vcc4v0";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <4000000>;
regulator-max-microvolt = <4000000>;
vin-supply = <&vcc_5v0>;
};
vcc5v0_usb30: regulator-vcc5v0-usb30 {
compatible = "regulator-fixed";
enable-active-high;
gpios = <&gpio K1_GPIO(123) GPIO_ACTIVE_HIGH>;
regulator-name = "vcc5v0_usb30";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
vin-supply = <&vcc_5v0>;
};
leds {
compatible = "gpio-leds";
led1 {
label = "sys-led";
gpios = <&gpio K1_GPIO(96) GPIO_ACTIVE_LOW>;
linux,default-trigger = "heartbeat";
default-state = "on";
};
};
};
&combo_phy {
status = "okay";
};
&emmc {
bus-width = <8>;
mmc-hs400-1_8v;
mmc-hs400-enhanced-strobe;
no-sd;
no-sdio;
non-removable;
status = "okay";
};
&eth0 {
phy-handle = <&rgmii0>;
phy-mode = "rgmii-id";
pinctrl-names = "default";
pinctrl-0 = <&gmac0_cfg>;
rx-internal-delay-ps = <0>;
tx-internal-delay-ps = <0>;
status = "okay";
mdio-bus {
#address-cells = <0x1>;
#size-cells = <0x0>;
reset-gpios = <&gpio K1_GPIO(110) GPIO_ACTIVE_LOW>;
reset-delay-us = <10000>;
reset-post-delay-us = <100000>;
rgmii0: phy@1 {
reg = <0x1>;
motorcomm,auto-sleep-disabled;
};
};
};
&eth1 {
phy-handle = <&rgmii1>;
phy-mode = "rgmii-id";
pinctrl-names = "default";
pinctrl-0 = <&gmac1_cfg>;
rx-internal-delay-ps = <0>;
tx-internal-delay-ps = <250>;
status = "okay";
mdio-bus {
#address-cells = <0x1>;
#size-cells = <0x0>;
reset-gpios = <&gpio K1_GPIO(115) GPIO_ACTIVE_LOW>;
reset-delay-us = <10000>;
reset-post-delay-us = <100000>;
rgmii1: phy@1 {
reg = <0x1>;
motorcomm,auto-sleep-disabled;
};
};
};
&pdma {
status = "okay";
};
&i2c8 {
pinctrl-names = "default";
pinctrl-0 = <&i2c8_cfg>;
status = "okay";
pmic@41 {
compatible = "spacemit,p1";
reg = <0x41>;
interrupts = <64>;
vin1-supply = <&vcc4v0>;
vin2-supply = <&vcc4v0>;
vin3-supply = <&vcc4v0>;
vin4-supply = <&vcc4v0>;
vin5-supply = <&vcc4v0>;
vin6-supply = <&vcc4v0>;
aldoin-supply = <&vcc4v0>;
dldoin1-supply = <&buck5>;
dldoin2-supply = <&buck5>;
regulators {
buck1 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3450000>;
regulator-ramp-delay = <5000>;
regulator-always-on;
};
buck2 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3450000>;
regulator-ramp-delay = <5000>;
regulator-always-on;
};
buck3_1v8: buck3 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <1800000>;
regulator-ramp-delay = <5000>;
regulator-always-on;
};
buck4_3v3: buck4 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3300000>;
regulator-ramp-delay = <5000>;
regulator-always-on;
};
buck5: buck5 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3450000>;
regulator-ramp-delay = <5000>;
regulator-always-on;
};
buck6 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3450000>;
regulator-ramp-delay = <5000>;
regulator-always-on;
};
aldo1: aldo1 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
regulator-boot-on;
};
aldo2 {
/* not connected */
};
aldo3 {
/* not connected */
};
aldo4 {
/* not connected */
};
dldo1 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
regulator-boot-on;
};
dldo2 {
/* not connected */
};
dldo3 {
/* not connected */
};
dldo4 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
regulator-always-on;
};
dldo5 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
};
dldo6 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
regulator-always-on;
};
dldo7 {
/* not connected */
};
};
};
};
&pcie1_phy {
pinctrl-names = "default";
pinctrl-0 = <&pcie1_3_cfg>;
status = "okay";
};
&pcie1_port {
phys = <&pcie1_phy>;
vpcie3v3-supply = <&pcie_vcc3v3>;
};
&pcie1 {
status = "okay";
};
&pcie2_phy {
pinctrl-names = "default";
pinctrl-0 = <&pcie2_4_cfg>;
status = "okay";
};
&pcie2_port {
phys = <&pcie2_phy>;
vpcie3v3-supply = <&pcie_vcc3v3>;
};
&pcie2 {
status = "okay";
};
&qspi {
pinctrl-names = "default";
pinctrl-0 = <&qspi_cfg>;
status = "okay";
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <26500000>;
spi-rx-bus-width = <4>;
spi-tx-bus-width = <4>;
vcc-supply = <&buck3_1v8>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
bootinfo@0 {
reg = <0x00000 0x010000>;
};
private@10000 {
reg = <0x10000 0x010000>;
};
fsbl@20000 {
reg = <0x20000 0x040000>;
};
env@60000 {
reg = <0x60000 0x010000>;
};
opensbi@70000 {
reg = <0x70000 0x030000>;
};
uboot@a0000 {
reg = <0xa0000 0x760000>;
};
};
};
};
&uart0 {
pinctrl-names = "default";
pinctrl-0 = <&uart0_2_cfg>;
status = "okay";
};
&usbphy2 {
status = "okay";
};
&usb_dwc3 {
dr_mode = "host";
#address-cells = <1>;
#size-cells = <0>;
vbus-supply = <&vcc5v0_usb30>;
status = "okay";
hub_2_0: hub@1 {
compatible = "usb5e3,610";
reg = <0x1>;
peer-hub = <&hub_3_0>;
vdd-supply = <&vcc_5v0>;
};
hub_3_0: hub@2 {
compatible = "usb5e3,620";
reg = <0x2>;
peer-hub = <&hub_2_0>;
vdd-supply = <&vcc_5v0>;
};
};
&sdhci0 {
pinctrl-names = "default", "uhs";
pinctrl-0 = <&mmc1_cfg>;
pinctrl-1 = <&mmc1_uhs_cfg>;
bus-width = <4>;
cd-gpios = <&gpio K1_GPIO(80) GPIO_ACTIVE_LOW>;
no-mmc;
no-sdio;
disable-wp;
cap-sd-highspeed;
vmmc-supply = <&buck4_3v3>;
vqmmc-supply = <&aldo1>;
sd-uhs-sdr25;
sd-uhs-sdr50;
sd-uhs-sdr104;
status = "okay";
};
@@ -0,0 +1,633 @@
// SPDX-License-Identifier: GPL-2.0 OR MIT
/*
* Copyright (c) 2024 Yixun Lan <dlan@gentoo.org>
*/
#include <dt-bindings/gpio/gpio.h>
#define K1_PADCONF(pin, func) (((pin) << 16) | (func))
/* Map GPIO pin to each bank's <index, offset> */
#define K1_GPIO(x) (x / 32) (x % 32)
&pinctrl {
gmac0_cfg: gmac0-cfg {
gmac0-pins {
pinmux = <K1_PADCONF(0, 1)>, /* gmac0_rxdv */
<K1_PADCONF(1, 1)>, /* gmac0_rx_d0 */
<K1_PADCONF(2, 1)>, /* gmac0_rx_d1 */
<K1_PADCONF(3, 1)>, /* gmac0_rx_clk */
<K1_PADCONF(4, 1)>, /* gmac0_rx_d2 */
<K1_PADCONF(5, 1)>, /* gmac0_rx_d3 */
<K1_PADCONF(6, 1)>, /* gmac0_tx_d0 */
<K1_PADCONF(7, 1)>, /* gmac0_tx_d1 */
<K1_PADCONF(8, 1)>, /* gmac0_tx */
<K1_PADCONF(9, 1)>, /* gmac0_tx_d2 */
<K1_PADCONF(10, 1)>, /* gmac0_tx_d3 */
<K1_PADCONF(11, 1)>, /* gmac0_tx_en */
<K1_PADCONF(12, 1)>, /* gmac0_mdc */
<K1_PADCONF(13, 1)>, /* gmac0_mdio */
<K1_PADCONF(14, 1)>, /* gmac0_int_n */
<K1_PADCONF(45, 1)>; /* gmac0_clk_ref */
bias-pull-up = <0>;
drive-strength = <21>;
};
};
gmac1_cfg: gmac1-cfg {
gmac1-pins {
pinmux = <K1_PADCONF(29, 1)>, /* gmac1_rxdv */
<K1_PADCONF(30, 1)>, /* gmac1_rx_d0 */
<K1_PADCONF(31, 1)>, /* gmac1_rx_d1 */
<K1_PADCONF(32, 1)>, /* gmac1_rx_clk */
<K1_PADCONF(33, 1)>, /* gmac1_rx_d2 */
<K1_PADCONF(34, 1)>, /* gmac1_rx_d3 */
<K1_PADCONF(35, 1)>, /* gmac1_tx_d0 */
<K1_PADCONF(36, 1)>, /* gmac1_tx_d1 */
<K1_PADCONF(37, 1)>, /* gmac1_tx */
<K1_PADCONF(38, 1)>, /* gmac1_tx_d2 */
<K1_PADCONF(39, 1)>, /* gmac1_tx_d3 */
<K1_PADCONF(40, 1)>, /* gmac1_tx_en */
<K1_PADCONF(41, 1)>, /* gmac1_mdc */
<K1_PADCONF(42, 1)>, /* gmac1_mdio */
<K1_PADCONF(43, 1)>, /* gmac1_int_n */
<K1_PADCONF(46, 1)>; /* gmac1_clk_ref */
bias-pull-up = <0>;
drive-strength = <21>;
};
};
i2c2_0_cfg: i2c2-0-cfg {
i2c2-0-pins {
pinmux = <K1_PADCONF(84, 4)>, /* I2C2_SCL */
<K1_PADCONF(85, 4)>; /* I2C2_SDA */
};
};
i2c8_cfg: i2c8-cfg {
i2c8-0-pins {
pinmux = <K1_PADCONF(93, 0)>, /* PWR_SCL */
<K1_PADCONF(94, 0)>; /* PWR_SDA */
};
};
qspi_cfg: qspi-cfg {
qspi-pins {
pinmux = <K1_PADCONF(98, 0)>, /* QSPI_DATA3 */
<K1_PADCONF(99, 0)>, /* QSPI_DATA2 */
<K1_PADCONF(100, 0)>, /* QSPI_DATA1 */
<K1_PADCONF(101, 0)>, /* QSPI_DATA0 */
<K1_PADCONF(102, 0)>; /* QSPI_CLK */
bias-disable;
drive-strength = <19>;
power-source = <3300>;
};
qspi-cs1-pins {
pinmux = <K1_PADCONF(103, 0)>; /* QSPI_CS1 */
bias-pull-up = <0>;
drive-strength = <19>;
power-source = <3300>;
};
};
/omit-if-no-ref/
uart0_0_cfg: uart0-0-cfg {
uart0-0-pins {
pinmux = <K1_PADCONF(104, 3)>, /* uart0_txd */
<K1_PADCONF(105, 3)>; /* uart0_rxd */
power-source = <3300>;
bias-pull-up = <0>;
drive-strength = <19>;
};
};
/omit-if-no-ref/
uart0_1_cfg: uart0-1-cfg {
uart0-1-pins {
pinmux = <K1_PADCONF(108, 1)>, /* uart0_txd */
<K1_PADCONF(80, 3)>; /* uart0_rxd */
power-source = <3300>;
bias-pull-up = <0>;
drive-strength = <19>;
};
};
/omit-if-no-ref/
uart0_2_cfg: uart0-2-cfg {
uart0-2-pins {
pinmux = <K1_PADCONF(68, 2)>, /* uart0_txd */
<K1_PADCONF(69, 2)>; /* uart0_rxd */
bias-pull-up = <0>;
drive-strength = <32>;
};
};
/omit-if-no-ref/
uart2_0_cfg: uart2-0-cfg {
uart2-0-pins {
pinmux = <K1_PADCONF(21, 1)>, /* uart2_txd */
<K1_PADCONF(22, 1)>; /* uart2_rxd */
bias-pull-up = <0>;
drive-strength = <32>;
};
};
/omit-if-no-ref/
uart2_0_cts_rts_cfg: uart2-0-cts-rts-cfg {
uart2-0-pins {
pinmux = <K1_PADCONF(23, 1)>, /* uart2_cts */
<K1_PADCONF(24, 1)>; /* uart2_rts */
bias-pull-up = <0>;
drive-strength = <32>;
};
};
/omit-if-no-ref/
uart3_0_cfg: uart3-0-cfg {
uart3-0-pins {
pinmux = <K1_PADCONF(81, 2)>, /* uart3_txd */
<K1_PADCONF(82, 2)>; /* uart3_rxd */
bias-pull-up = <0>;
drive-strength = <32>;
};
};
/omit-if-no-ref/
uart3_0_cts_rts_cfg: uart3-0-cts-rts-cfg {
uart3-0-pins {
pinmux = <K1_PADCONF(83, 2)>, /* uart3_cts */
<K1_PADCONF(84, 2)>; /* uart3_rts */
bias-pull-up = <0>;
drive-strength = <32>;
};
};
/omit-if-no-ref/
uart3_1_cfg: uart3-1-cfg {
uart3-1-pins {
pinmux = <K1_PADCONF(18, 2)>, /* uart3_txd */
<K1_PADCONF(19, 2)>; /* uart3_rxd */
bias-pull-up = <0>;
drive-strength = <32>;
};
};
/omit-if-no-ref/
uart3_1_cts_rts_cfg: uart3-1-cts-rts-cfg {
uart3-1-pins {
pinmux = <K1_PADCONF(20, 2)>, /* uart3_cts */
<K1_PADCONF(21, 2)>; /* uart3_rts */
bias-pull-up = <0>;
drive-strength = <32>;
};
};
/omit-if-no-ref/
uart3_2_cfg: uart3-2-cfg {
uart3-2-pins {
pinmux = <K1_PADCONF(53, 4)>, /* uart3_txd */
<K1_PADCONF(54, 4)>; /* uart3_rxd */
bias-pull-up = <0>;
drive-strength = <32>;
};
};
/omit-if-no-ref/
uart3_2_cts_rts_cfg: uart3-2-cts-rts-cfg {
uart3-2-pins {
pinmux = <K1_PADCONF(55, 4)>, /* uart3_cts */
<K1_PADCONF(56, 4)>; /* uart3_rts */
bias-pull-up = <0>;
drive-strength = <32>;
};
};
/omit-if-no-ref/
uart4_0_cfg: uart4-0-cfg {
uart4-0-pins {
pinmux = <K1_PADCONF(100, 4)>, /* uart4_txd */
<K1_PADCONF(101, 4)>; /* uart4_rxd */
power-source = <3300>;
bias-pull-up = <0>;
drive-strength = <19>;
};
};
/omit-if-no-ref/
uart4_1_cfg: uart4-1-cfg {
uart4-1-pins {
pinmux = <K1_PADCONF(83, 3)>, /* uart4_txd */
<K1_PADCONF(84, 3)>; /* uart4_rxd */
bias-pull-up = <0>;
drive-strength = <32>;
};
};
/omit-if-no-ref/
uart4_1_cts_rts_cfg: uart4-1-cts-rts-cfg {
uart4-1-pins {
pinmux = <K1_PADCONF(81, 3)>, /* uart4_cts */
<K1_PADCONF(82, 3)>; /* uart4_rts */
bias-pull-up = <0>;
drive-strength = <32>;
};
};
/omit-if-no-ref/
uart4_2_cfg: uart4-2-cfg {
uart4-2-pins {
pinmux = <K1_PADCONF(23, 2)>, /* uart4_txd */
<K1_PADCONF(24, 2)>; /* uart4_rxd */
bias-pull-up = <0>;
drive-strength = <32>;
};
};
/omit-if-no-ref/
uart4_3_cfg: uart4-3-cfg {
uart4-3-pins {
pinmux = <K1_PADCONF(33, 2)>, /* uart4_txd */
<K1_PADCONF(34, 2)>; /* uart4_rxd */
bias-pull-up = <0>;
drive-strength = <32>;
};
};
/omit-if-no-ref/
uart4_3_cts_rts_cfg: uart4-3-cts-rts-cfg {
uart4-3-pins {
pinmux = <K1_PADCONF(35, 2)>, /* uart4_cts */
<K1_PADCONF(36, 2)>; /* uart4_rts */
bias-pull-up = <0>;
drive-strength = <32>;
};
};
/omit-if-no-ref/
uart4_4_cfg: uart4-4-cfg {
uart4-4-pins {
pinmux = <K1_PADCONF(111, 4)>, /* uart4_txd */
<K1_PADCONF(112, 4)>; /* uart4_rxd */
bias-pull-up = <0>;
drive-strength = <32>;
};
};
/omit-if-no-ref/
uart4_4_cts_rts_cfg: uart4-4-cts-rts-cfg {
uart4-4-pins {
pinmux = <K1_PADCONF(113, 4)>, /* uart4_cts */
<K1_PADCONF(114, 4)>; /* uart4_rts */
bias-pull-up = <0>;
drive-strength = <32>;
};
};
/omit-if-no-ref/
uart5_0_cfg: uart5-0-cfg {
uart5-0-pins {
pinmux = <K1_PADCONF(102, 3)>, /* uart5_txd */
<K1_PADCONF(103, 3)>; /* uart5_rxd */
power-source = <3300>;
bias-pull-up = <0>;
drive-strength = <19>;
};
};
/omit-if-no-ref/
uart5_1_cfg: uart5-1-cfg {
uart5-1-pins {
pinmux = <K1_PADCONF(25, 2)>, /* uart5_txd */
<K1_PADCONF(26, 2)>; /* uart5_rxd */
bias-pull-up = <0>;
drive-strength = <32>;
};
};
/omit-if-no-ref/
uart5_1_cts_rts_cfg: uart5-1-cts-rts-cfg {
uart5-1-pins {
pinmux = <K1_PADCONF(27, 2)>, /* uart5_cts */
<K1_PADCONF(28, 2)>; /* uart5_rts */
bias-pull-up = <0>;
drive-strength = <32>;
};
};
/omit-if-no-ref/
uart5_2_cfg: uart5-2-cfg {
uart5-2-pins {
pinmux = <K1_PADCONF(42, 2)>, /* uart5_txd */
<K1_PADCONF(43, 2)>; /* uart5_rxd */
bias-pull-up = <0>;
drive-strength = <32>;
};
};
/omit-if-no-ref/
uart5_2_cts_rts_cfg: uart5-2-cts-rts-cfg {
uart5-2-pins {
pinmux = <K1_PADCONF(44, 2)>, /* uart5_cts */
<K1_PADCONF(45, 2)>; /* uart5_rts */
bias-pull-up = <0>;
drive-strength = <32>;
};
};
/omit-if-no-ref/
uart5_3_cfg: uart5-3-cfg {
uart5-3-pins {
pinmux = <K1_PADCONF(70, 4)>, /* uart5_txd */
<K1_PADCONF(71, 4)>; /* uart5_rxd */
bias-pull-up = <0>;
drive-strength = <32>;
};
};
/omit-if-no-ref/
uart5_3_cts_rts_cfg: uart5-3-cts-rts-cfg {
uart5-3-pins {
pinmux = <K1_PADCONF(72, 4)>, /* uart5_cts */
<K1_PADCONF(73, 4)>; /* uart5_rts */
bias-pull-up = <0>;
drive-strength = <32>;
};
};
/omit-if-no-ref/
uart6_0_cfg: uart6-0-cfg {
uart6-0-pins {
pinmux = <K1_PADCONF(86, 2)>, /* uart6_txd */
<K1_PADCONF(87, 2)>; /* uart6_rxd */
bias-pull-up = <0>;
drive-strength = <32>;
};
};
/omit-if-no-ref/
uart6_0_cts_rts_cfg: uart6-0-cts-rts-cfg {
uart6-0-pins {
pinmux = <K1_PADCONF(85, 2)>, /* uart6_cts */
<K1_PADCONF(90, 2)>; /* uart6_rts */
bias-pull-up = <0>;
drive-strength = <32>;
};
};
/omit-if-no-ref/
uart6_1_cfg: uart6-1-cfg {
uart6-1-pins {
pinmux = <K1_PADCONF(0, 2)>, /* uart6_txd */
<K1_PADCONF(1, 2)>; /* uart6_rxd */
bias-pull-up = <0>;
drive-strength = <32>;
};
};
/omit-if-no-ref/
uart6_1_cts_rts_cfg: uart6-1-cts-rts-cfg {
uart6-1-pins {
pinmux = <K1_PADCONF(2, 2)>, /* uart6_cts */
<K1_PADCONF(3, 2)>; /* uart6_rts */
bias-pull-up = <0>;
drive-strength = <32>;
};
};
/omit-if-no-ref/
uart6_2_cfg: uart6-2-cfg {
uart6-2-pins {
pinmux = <K1_PADCONF(56, 2)>, /* uart6_txd */
<K1_PADCONF(57, 2)>; /* uart6_rxd */
bias-pull-up = <0>;
drive-strength = <32>;
};
};
/omit-if-no-ref/
uart7_0_cfg: uart7-0-cfg {
uart7-0-pins {
pinmux = <K1_PADCONF(88, 2)>, /* uart7_txd */
<K1_PADCONF(89, 2)>; /* uart7_rxd */
bias-pull-up = <0>;
drive-strength = <32>;
};
};
/omit-if-no-ref/
uart7_1_cfg: uart7-1-cfg {
uart7-1-pins {
pinmux = <K1_PADCONF(4, 2)>, /* uart7_txd */
<K1_PADCONF(5, 2)>; /* uart7_rxd */
bias-pull-up = <0>;
drive-strength = <32>;
};
};
/omit-if-no-ref/
uart7_1_cts_rts_cfg: uart7-1-cts-rts-cfg {
uart7-1-pins {
pinmux = <K1_PADCONF(6, 2)>, /* uart7_cts */
<K1_PADCONF(7, 2)>; /* uart7_rts */
bias-pull-up = <0>;
drive-strength = <32>;
};
};
/omit-if-no-ref/
uart8_0_cfg: uart8-0-cfg {
uart8-0-pins {
pinmux = <K1_PADCONF(82, 4)>, /* uart8_txd */
<K1_PADCONF(83, 4)>; /* uart8_rxd */
bias-pull-up = <0>;
drive-strength = <32>;
};
};
/omit-if-no-ref/
uart8_1_cfg: uart8-1-cfg {
uart8-1-pins {
pinmux = <K1_PADCONF(8, 2)>, /* uart8_txd */
<K1_PADCONF(9, 2)>; /* uart8_rxd */
bias-pull-up = <0>;
drive-strength = <32>;
};
};
/omit-if-no-ref/
uart8_1_cts_rts_cfg: uart8-1-cts-rts-cfg {
uart8-1-pins {
pinmux = <K1_PADCONF(10, 2)>, /* uart8_cts */
<K1_PADCONF(11, 2)>; /* uart8_rts */
bias-pull-up = <0>;
drive-strength = <32>;
};
};
/omit-if-no-ref/
uart8_2_cfg: uart8-2-cfg {
uart8-2-pins {
pinmux = <K1_PADCONF(75, 4)>, /* uart8_txd */
<K1_PADCONF(76, 4)>; /* uart8_rxd */
power-source = <3300>;
bias-pull-up = <0>;
drive-strength = <19>;
};
};
/omit-if-no-ref/
uart8_2_cts_rts_cfg: uart8-2-cts-rts-cfg {
uart8-2-pins {
pinmux = <K1_PADCONF(77, 4)>, /* uart8_cts */
<K1_PADCONF(78, 4)>; /* uart8_rts */
power-source = <3300>;
bias-pull-up = <0>;
drive-strength = <19>;
};
};
/omit-if-no-ref/
uart9_0_cfg: uart9-0-cfg {
uart9-0-pins {
pinmux = <K1_PADCONF(12, 2)>, /* uart9_txd */
<K1_PADCONF(13, 2)>; /* uart9_rxd */
bias-pull-up = <0>;
drive-strength = <32>;
};
};
/omit-if-no-ref/
uart9_1_cfg: uart9-1-cfg {
uart9-1-pins {
pinmux = <K1_PADCONF(116, 3)>, /* uart9_txd */
<K1_PADCONF(117, 3)>; /* uart9_rxd */
bias-pull-up = <0>;
drive-strength = <32>;
};
};
/omit-if-no-ref/
uart9_1_cts_rts_cfg: uart9-1-cts-rts-cfg {
uart9-1-pins {
pinmux = <K1_PADCONF(110, 3)>, /* uart9_cts */
<K1_PADCONF(115, 3)>; /* uart9_rts */
bias-pull-up = <0>;
drive-strength = <32>;
};
};
/omit-if-no-ref/
uart9_2_cfg: uart9-2-cfg {
uart9-2-pins {
pinmux = <K1_PADCONF(72, 2)>, /* uart9_txd */
<K1_PADCONF(73, 2)>; /* uart9_rxd */
bias-pull-up = <0>;
drive-strength = <32>;
};
};
pcie0_3_cfg: pcie0-3-cfg {
pcie0-3-pins {
pinmux = <K1_PADCONF(54, 3)>, /* PERST# */
<K1_PADCONF(55, 3)>, /* WAKE# */
<K1_PADCONF(53, 3)>; /* CLKREQ# */
bias-pull-up = <0>;
drive-strength = <21>;
};
};
pcie1_3_cfg: pcie1-3-cfg {
pcie1-3-pins {
pinmux = <K1_PADCONF(59, 4)>, /* PERST# */
<K1_PADCONF(60, 4)>, /* WAKE# */
<K1_PADCONF(61, 4)>; /* CLKREQ# */
bias-pull-up = <0>;
drive-strength = <21>;
};
};
pcie2_4_cfg: pcie2-4-cfg {
pcie2-4-pins {
pinmux = <K1_PADCONF(62, 4)>, /* PERST# */
<K1_PADCONF(112, 3)>, /* WAKE# */
<K1_PADCONF(117, 4)>; /* CLKREQ# */
bias-pull-up = <0>;
drive-strength = <21>;
};
};
pwm14_1_cfg: pwm14-1-cfg {
pwm14-1-pins {
pinmux = <K1_PADCONF(44, 4)>;
bias-pull-up = <0>;
drive-strength = <32>;
};
};
ssp3_0_cfg: ssp3-0-cfg {
ssp3-0-pins {
pinmux = <K1_PADCONF(75, 2)>, /* SCLK */
<K1_PADCONF(77, 2)>, /* MOSI */
<K1_PADCONF(78, 2)>; /* MISO */
bias-disable;
drive-strength = <19>;
power-source = <3300>;
};
ssp3-0-frm-pins {
pinmux = <K1_PADCONF(76, 2)>; /* FRM (frame) */
bias-pull-up = <0>;
drive-strength = <19>;
power-source = <3300>;
};
};
mmc1_cfg: mmc1-cfg {
mmc1-data-cmd-pins {
pinmux = <K1_PADCONF(104, 0)>, /* mmc1_d3 */
<K1_PADCONF(105, 0)>, /* mmc1_d2 */
<K1_PADCONF(106, 0)>, /* mmc1_d1 */
<K1_PADCONF(107, 0)>, /* mmc1_d0 */
<K1_PADCONF(108, 0)>; /* mmc1_cmd */
bias-pull-up = <1>;
drive-strength = <19>;
power-source = <3300>;
};
mmc1-clk-pins {
pinmux = <K1_PADCONF(109, 0)>; /* mmc1_clk */
bias-pull-down = <1>;
drive-strength = <19>;
power-source = <3300>;
};
};
mmc1_uhs_cfg: mmc1-uhs-cfg {
mmc1-data-cmd-pins {
pinmux = <K1_PADCONF(104, 0)>, /* mmc1_d3 */
<K1_PADCONF(105, 0)>, /* mmc1_d2 */
<K1_PADCONF(106, 0)>, /* mmc1_d1 */
<K1_PADCONF(107, 0)>, /* mmc1_d0 */
<K1_PADCONF(108, 0)>; /* mmc1_cmd */
bias-pull-up = <1>;
drive-strength = <42>;
power-source = <1800>;
};
mmc1-clk-pins {
pinmux = <K1_PADCONF(109, 0)>; /* mmc1_clk */
bias-pull-down = <1>;
drive-strength = <42>;
power-source = <1800>;
};
};
};
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,21 @@
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
/*
* Copyright (c) 2026 SpacemiT (Hangzhou) Technology Co. Ltd
* Copyright (c) 2026 Yixun Lan <dlan@kernel.org>
*/
#include "k3-com260.dtsi"
/ {
model = "SpacemiT K3 CoM260 IFX";
compatible = "spacemit,k3-com260-ifx", "spacemit,k3-com260", "spacemit,k3";
aliases {
serial0 = &uart0;
ethernet0 = &eth1;
};
chosen {
stdout-path = "serial0:115200n8";
};
};
@@ -0,0 +1,190 @@
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
/*
* Copyright (c) 2026 SpacemiT (Hangzhou) Technology Co. Ltd
* Copyright (c) 2026 Yixun Lan <dlan@kernel.org>
*/
#include <dt-bindings/gpio/gpio.h>
#include "k3.dtsi"
#include "k3-pinctrl.dtsi"
/ {
model = "SpacemiT K3 CoM260 Module";
compatible = "spacemit,k3-com260", "spacemit,k3";
memory@100000000 {
device_type = "memory";
reg = <0x1 0x00000000 0x4 0x00000000>;
};
reg_5v_sys: regulator-5v-sys {
compatible = "regulator-fixed";
regulator-name = "P5V0_SYS";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
};
};
&i2c8 {
pinctrl-names = "default";
pinctrl-0 = <&i2c8_cfg>;
status = "okay";
pmic@41 {
compatible = "spacemit,p1";
reg = <0x41>;
interrupts = <64 IRQ_TYPE_LEVEL_HIGH>;
vin1-supply = <&reg_5v_sys>;
vin2-supply = <&reg_5v_sys>;
vin3-supply = <&reg_5v_sys>;
vin4-supply = <&reg_5v_sys>;
vin5-supply = <&reg_5v_sys>;
vin6-supply = <&reg_5v_sys>;
aldoin-supply = <&reg_5v_sys>;
dldoin1-supply = <&buck4>;
dldoin2-supply = <&buck4>;
regulators {
buck1: buck1 {
regulator-min-microvolt = <1050000>;
regulator-max-microvolt = <1050000>;
regulator-ramp-delay = <5000>;
regulator-always-on;
};
buck2: buck2 {
regulator-min-microvolt = <1050000>;
regulator-max-microvolt = <1050000>;
regulator-ramp-delay = <5000>;
regulator-always-on;
};
buck3: buck3 {
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <800000>;
regulator-ramp-delay = <5000>;
regulator-always-on;
};
buck4: buck4 {
regulator-min-microvolt = <2100000>;
regulator-max-microvolt = <2100000>;
regulator-ramp-delay = <5000>;
regulator-always-on;
};
buck5: buck5 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-ramp-delay = <5000>;
regulator-always-on;
};
buck6: buck6 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <500000>;
regulator-ramp-delay = <5000>;
regulator-always-on;
};
aldo1: aldo1 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-boot-on;
};
aldo2: aldo2 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
regulator-boot-on;
};
aldo3: aldo3 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
};
aldo4: aldo4 {
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-boot-on;
};
dldo1: dldo1 {
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
regulator-always-on;
regulator-boot-on;
};
dldo2: dldo2 {
regulator-min-microvolt = <900000>;
regulator-max-microvolt = <900000>;
regulator-always-on;
regulator-boot-on;
};
dldo3: dldo3 {
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <800000>;
regulator-always-on;
regulator-boot-on;
};
dldo4: dldo4 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-boot-on;
};
dldo5: dldo5 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
regulator-boot-on;
};
dldo6: dldo6 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
regulator-boot-on;
};
dldo7: dldo7 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
regulator-boot-on;
};
};
};
};
&eth1 {
pinctrl-names = "default";
pinctrl-0 = <&gmac1_rgmii_0_cfg>, <&gmac1_phy_0_cfg>;
phy-mode = "rgmii-id";
phy-handle = <&phy1>;
status = "okay";
mdio {
phy1: phy@1 {
compatible = "ethernet-phy-ieee802.3-c22";
reg = <1>;
reset-gpios = <&gpio 1 5 GPIO_ACTIVE_LOW>;
reset-assert-us = <10000>;
reset-deassert-us = <10000>;
};
};
};
&uart0 {
pinctrl-names = "default";
pinctrl-0 = <&uart0_0_cfg>;
status = "okay";
};
@@ -0,0 +1,31 @@
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
/*
* Copyright (C) 2026 DeepComputing (HK) Limited
*/
#include "k3.dtsi"
#include "k3-pinctrl.dtsi"
/ {
model = "DeepComputing FML13V05";
compatible = "deepcomputing,fml13v05", "spacemit,k3";
aliases {
serial0 = &uart0;
};
chosen {
stdout-path = "serial0";
};
memory@100000000 {
device_type = "memory";
reg = <0x1 0x00000000 0x4 0x00000000>;
};
};
&uart0 {
pinctrl-names = "default";
pinctrl-0 = <&uart0_0_cfg>;
status = "okay";
};
@@ -0,0 +1,223 @@
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
/*
* Copyright (c) 2026 SpacemiT (Hangzhou) Technology Co. Ltd
* Copyright (c) 2026 Guodong Xu <guodong@riscstar.com>
*/
#include <dt-bindings/gpio/gpio.h>
#include "k3.dtsi"
#include "k3-pinctrl.dtsi"
/ {
model = "SpacemiT K3 Pico-ITX";
compatible = "spacemit,k3-pico-itx", "spacemit,k3";
aliases {
ethernet0 = &eth0;
serial0 = &uart0;
};
chosen {
stdout-path = "serial0";
};
memory@100000000 {
device_type = "memory";
reg = <0x1 0x00000000 0x4 0x00000000>;
};
reg_aux_vcc3v3: regulator-aux-vcc3v3 {
compatible = "regulator-fixed";
regulator-name = "AUX_VCC3V3";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
reg_aux_vcc5v: regulator-aux-vcc5v {
compatible = "regulator-fixed";
regulator-name = "AUX_VCC5V";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
};
};
&i2c8 {
pinctrl-names = "default";
pinctrl-0 = <&i2c8_cfg>;
status = "okay";
p1@41 {
compatible = "spacemit,p1";
reg = <0x41>;
interrupts = <64 IRQ_TYPE_LEVEL_HIGH>;
vin1-supply = <&reg_aux_vcc5v>;
vin2-supply = <&reg_aux_vcc5v>;
vin3-supply = <&reg_aux_vcc5v>;
vin4-supply = <&reg_aux_vcc5v>;
vin5-supply = <&reg_aux_vcc5v>;
vin6-supply = <&reg_aux_vcc5v>;
aldoin-supply = <&reg_aux_vcc5v>;
dldoin1-supply = <&buck4>;
dldoin2-supply = <&buck4>;
regulators {
buck1: buck1 {
regulator-min-microvolt = <1050000>;
regulator-max-microvolt = <1050000>;
regulator-ramp-delay = <5000>;
regulator-always-on;
};
buck2: buck2 {
regulator-min-microvolt = <1050000>;
regulator-max-microvolt = <1050000>;
regulator-ramp-delay = <5000>;
regulator-always-on;
};
buck3: buck3 {
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <800000>;
regulator-ramp-delay = <5000>;
regulator-always-on;
};
buck4: buck4 {
regulator-min-microvolt = <2100000>;
regulator-max-microvolt = <2100000>;
regulator-ramp-delay = <5000>;
regulator-always-on;
};
buck5: buck5 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-ramp-delay = <5000>;
regulator-always-on;
};
buck6: buck6 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <500000>;
regulator-ramp-delay = <5000>;
regulator-always-on;
};
aldo1: aldo1 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-boot-on;
};
aldo2: aldo2 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
regulator-boot-on;
};
aldo3: aldo3 {
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <3400000>;
};
aldo4: aldo4 {
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-boot-on;
};
dldo1: dldo1 {
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
regulator-always-on;
regulator-boot-on;
};
dldo2: dldo2 {
regulator-min-microvolt = <900000>;
regulator-max-microvolt = <900000>;
regulator-always-on;
regulator-boot-on;
};
dldo3: dldo3 {
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <800000>;
regulator-always-on;
regulator-boot-on;
};
dldo4: dldo4 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-boot-on;
};
dldo5: dldo5 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
regulator-boot-on;
};
dldo6: dldo6 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
regulator-boot-on;
};
dldo7: dldo7 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
regulator-boot-on;
};
};
};
};
&eth0 {
pinctrl-names = "default";
pinctrl-0 = <&gmac0_rgmii_0_cfg>, <&gmac0_phy_0_cfg>;
phy-mode = "rgmii-id";
phy-handle = <&phy0>;
status = "okay";
mdio {
phy0: phy@1 {
compatible = "ethernet-phy-ieee802.3-c22";
reg = <1>;
reset-gpios = <&gpio 0 15 GPIO_ACTIVE_LOW>;
reset-assert-us = <10000>;
reset-deassert-us = <10000>;
};
};
};
&uart0 {
pinctrl-names = "default";
pinctrl-0 = <&uart0_0_cfg>;
status = "okay";
};
&usb2_host {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
hub@1 {
compatible = "usb1a40,0101";
reg = <1>;
vdd-supply = <&reg_aux_vcc3v3>;
};
};
&usb2_phy {
status = "okay";
};
@@ -0,0 +1,692 @@
// SPDX-License-Identifier: GPL-2.0 OR MIT
/*
* Copyright (c) 2026 Yixun Lan <dlan@kernel.org>
*/
#include <dt-bindings/gpio/gpio.h>
#define K3_PADCONF(pin, func) (((pin) << 16) | (func))
/* Map GPIO pin to each bank's <index, offset> */
#define K3_GPIO(x) (x / 32) (x % 32)
&pinctrl {
gmac0_rgmii_0_cfg: gmac0-rgmii-0-cfg {
gmac0-rgmii-0-pins {
pinmux = <K3_PADCONF(0, 1)>, /* gmac0_rxdv */
<K3_PADCONF(1, 1)>, /* gmac0_rx_d0 */
<K3_PADCONF(2, 1)>, /* gmac0_rx_d1 */
<K3_PADCONF(3, 1)>, /* gmac0_rx_clk */
<K3_PADCONF(4, 1)>, /* gmac0_rx_d2 */
<K3_PADCONF(5, 1)>, /* gmac0_rx_d3 */
<K3_PADCONF(6, 1)>, /* gmac0_tx_d0 */
<K3_PADCONF(7, 1)>, /* gmac0_tx_d1 */
<K3_PADCONF(8, 1)>, /* gmac0_tx_clk */
<K3_PADCONF(9, 1)>, /* gmac0_tx_d2 */
<K3_PADCONF(10, 1)>, /* gmac0_tx_d3 */
<K3_PADCONF(11, 1)>, /* gmac0_tx_en */
<K3_PADCONF(12, 1)>, /* gmac0_mdc */
<K3_PADCONF(13, 1)>; /* gmac0_mdio */
bias-disable;
drive-strength = <25>;
power-source = <1800>;
};
};
gmac0_phy_0_cfg: gmac0-phy-0-cfg {
gmac0-phy-0-pins {
pinmux = <K3_PADCONF(14, 1)>; /* gmac0_int */
bias-disable;
drive-strength = <25>;
power-source = <1800>;
};
};
gmac1_rgmii_0_cfg: gmac1-rgmii-0-cfg {
gmac1-rgmii-0-pins {
pinmux = <K3_PADCONF(21, 1)>, /* gmac1_rxdv */
<K3_PADCONF(22, 1)>, /* gmac1 rx d0 */
<K3_PADCONF(23, 1)>, /* gmac1 rx d1 */
<K3_PADCONF(24, 1)>, /* gmac1 rx_clk */
<K3_PADCONF(25, 1)>, /* gmac1 rx d2 */
<K3_PADCONF(26, 1)>, /* gmac1 rx d3 */
<K3_PADCONF(27, 1)>, /* gmac1 tx d0 */
<K3_PADCONF(28, 1)>, /* gmac1 tx d1 */
<K3_PADCONF(29, 1)>, /* gmac1 tx clk */
<K3_PADCONF(30, 1)>, /* gmac1 tx d2 */
<K3_PADCONF(31, 1)>, /* gmac1 tx d3 */
<K3_PADCONF(32, 1)>, /* gmac1 tx_en */
<K3_PADCONF(33, 1)>, /* gmac1 mdc */
<K3_PADCONF(34, 1)>; /* gmac1 mdio */
bias-disable;
drive-strength = <25>;
power-source = <1800>;
};
};
gmac1_phy_0_cfg: gmac1-phy-0-cfg {
gmac1-phy-0-pins {
pinmux = <K3_PADCONF(35, 1)>; /* gmac1 int */
bias-disable;
drive-strength = <25>;
power-source = <1800>;
};
};
/omit-if-no-ref/
i2c8_cfg: i2c8-cfg {
i2c8-pins {
pinmux = <K3_PADCONF(128, 0)>, /* i2c8 scl */
<K3_PADCONF(129, 0)>; /* i2c8 sda */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm0_0_cfg: pwm0-0-cfg {
pwm0-0-pins {
pinmux = <K3_PADCONF(0, 3)>; /* pwm0 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm0_1_cfg: pwm0-1-cfg {
pwm0-1-pins {
pinmux = <K3_PADCONF(42, 6)>; /* pwm0 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm1_0_cfg: pwm1-0-cfg {
pwm1-0-pins {
pinmux = <K3_PADCONF(1, 3)>; /* pwm1 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm1_1_cfg: pwm1-1-cfg {
pwm1-1-pins {
pinmux = <K3_PADCONF(43, 6)>; /* pwm1 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm1_2_cfg: pwm1-2-cfg {
pwm1-2-pins {
pinmux = <K3_PADCONF(95, 6)>; /* pwm1 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm2_0_cfg: pwm2-0-cfg {
pwm2-0-pins {
pinmux = <K3_PADCONF(2, 3)>; /* pwm2 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm2_1_cfg: pwm2-1-cfg {
pwm2-1-pins {
pinmux = <K3_PADCONF(44, 6)>; /* pwm2 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm2_2_cfg: pwm2-2-cfg {
pwm2-2-pins {
pinmux = <K3_PADCONF(96, 6)>; /* pwm2 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm2_3_cfg: pwm2-3-cfg {
pwm2-3-pins {
pinmux = <K3_PADCONF(134, 4)>; /* pwm2 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm3_0_cfg: pwm3-0-cfg {
pwm3-0-pins {
pinmux = <K3_PADCONF(3, 3)>; /* pwm3 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm3_1_cfg: pwm3-1-cfg {
pwm3-1-pins {
pinmux = <K3_PADCONF(45, 6)>; /* pwm3 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm3_2_cfg: pwm3-2-cfg {
pwm3-2-pins {
pinmux = <K3_PADCONF(97, 6)>; /* pwm3 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm3_3_cfg: pwm3-3-cfg {
pwm3-3-pins {
pinmux = <K3_PADCONF(135, 4)>; /* pwm3 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm4_0_cfg: pwm4-0-cfg {
pwm4-0-pins {
pinmux = <K3_PADCONF(4, 3)>; /* pwm4 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm4_1_cfg: pwm4-1-cfg {
pwm4-1-pins {
pinmux = <K3_PADCONF(46, 6)>; /* pwm4 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm4_2_cfg: pwm4-2-cfg {
pwm4-2-pins {
pinmux = <K3_PADCONF(136, 4)>; /* pwm4 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm5_0_cfg: pwm5-0-cfg {
pwm5-0-pins {
pinmux = <K3_PADCONF(5, 3)>; /* pwm5 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm5_1_cfg: pwm5-1-cfg {
pwm5-1-pins {
pinmux = <K3_PADCONF(47, 6)>; /* pwm5 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm5_2_cfg: pwm5-2-cfg {
pwm5-2-pins {
pinmux = <K3_PADCONF(137, 4)>; /* pwm5 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm6_0_cfg: pwm6-0-cfg {
pwm6-0-pins {
pinmux = <K3_PADCONF(6, 3)>; /* pwm6 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm6_1_cfg: pwm6-1-cfg {
pwm6-1-pins {
pinmux = <K3_PADCONF(145, 3)>; /* pwm6 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm6_2_cfg: pwm6-2-cfg {
pwm6-2-pins {
pinmux = <K3_PADCONF(48, 6)>; /* pwm6 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm7_0_cfg: pwm7-0-cfg {
pwm7-0-pins {
pinmux = <K3_PADCONF(7, 3)>; /* pwm7 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm7_1_cfg: pwm7-1-cfg {
pwm7-1-pins {
pinmux = <K3_PADCONF(146, 3)>; /* pwm7 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm7_2_cfg: pwm7-2-cfg {
pwm7-2-pins {
pinmux = <K3_PADCONF(49, 6)>; /* pwm7 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm8_0_cfg: pwm8-0-cfg {
pwm8-0-pins {
pinmux = <K3_PADCONF(8, 3)>; /* pwm8 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm8_1_cfg: pwm8-1-cfg {
pwm8-1-pins {
pinmux = <K3_PADCONF(147, 3)>; /* pwm8 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm8_2_cfg: pwm8-2-cfg {
pwm8-2-pins {
pinmux = <K3_PADCONF(50, 6)>; /* pwm8 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm9_0_cfg: pwm9-0-cfg {
pwm9-0-pins {
pinmux = <K3_PADCONF(9, 3)>; /* pwm9 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm9_1_cfg: pwm9-1-cfg {
pwm9-1-pins {
pinmux = <K3_PADCONF(148, 3)>; /* pwm9 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm9_2_cfg: pwm9-2-cfg {
pwm9-2-pins {
pinmux = <K3_PADCONF(51, 6)>; /* pwm9 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm10_0_cfg: pwm10-0-cfg {
pwm10-0-pins {
pinmux = <K3_PADCONF(10, 3)>; /* pwm10 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm10_1_cfg: pwm10-1-cfg {
pwm10-1-pins {
pinmux = <K3_PADCONF(52, 6)>; /* pwm10 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm10_2_cfg: pwm10-2-cfg {
pwm10-2-pins {
pinmux = <K3_PADCONF(141, 4)>; /* pwm10 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm11_0_cfg: pwm11-0-cfg {
pwm11-0-pins {
pinmux = <K3_PADCONF(53, 6)>; /* pwm11 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm11_1_cfg: pwm11-1-cfg {
pwm11-1-pins {
pinmux = <K3_PADCONF(140, 4)>; /* pwm11 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm12_0_cfg: pwm12-0-cfg {
pwm12-0-pins {
pinmux = <K3_PADCONF(54, 6)>; /* pwm12 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm12_1_cfg: pwm12-1-cfg {
pwm12-1-pins {
pinmux = <K3_PADCONF(139, 4)>; /* pwm12 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm13_0_cfg: pwm13-0-cfg {
pwm13-0-pins {
pinmux = <K3_PADCONF(55, 6)>; /* pwm13 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm13_1_cfg: pwm13-1-cfg {
pwm13-1-pins {
pinmux = <K3_PADCONF(138, 4)>; /* pwm13 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm13_2_cfg: pwm13-2-cfg {
pwm13-2-pins {
pinmux = <K3_PADCONF(13, 3)>; /* pwm13 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm14_0_cfg: pwm14-0-cfg {
pwm14-0-pins {
pinmux = <K3_PADCONF(56, 6)>; /* pwm14 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm14_1_cfg: pwm14-1-cfg {
pwm14-1-pins {
pinmux = <K3_PADCONF(144, 4)>; /* pwm14 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm14_2_cfg: pwm14-2-cfg {
pwm14-2-pins {
pinmux = <K3_PADCONF(14, 3)>; /* pwm14 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm15_0_cfg: pwm15-0-cfg {
pwm15-0-pins {
pinmux = <K3_PADCONF(57, 6)>; /* pwm15 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm15_1_cfg: pwm15-1-cfg {
pwm15-1-pins {
pinmux = <K3_PADCONF(142, 4)>; /* pwm15 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm15_2_cfg: pwm15-2-cfg {
pwm15-2-pins {
pinmux = <K3_PADCONF(21, 3)>; /* pwm15 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm16_0_cfg: pwm16-0-cfg {
pwm16-0-pins {
pinmux = <K3_PADCONF(58, 6)>; /* pwm16 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm16_1_cfg: pwm16-1-cfg {
pwm16-1-pins {
pinmux = <K3_PADCONF(143, 4)>; /* pwm16 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm16_2_cfg: pwm16-2-cfg {
pwm16-2-pins {
pinmux = <K3_PADCONF(22, 3)>; /* pwm16 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm17_0_cfg: pwm17-0-cfg {
pwm17-0-pins {
pinmux = <K3_PADCONF(23, 3)>; /* pwm17 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm17_1_cfg: pwm17-1-cfg {
pwm17-1-pins {
pinmux = <K3_PADCONF(59, 6)>; /* pwm17 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm17_2_cfg: pwm17-2-cfg {
pwm17-2-pins {
pinmux = <K3_PADCONF(105, 6)>; /* pwm17 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm18_0_cfg: pwm18-0-cfg {
pwm18-0-pins {
pinmux = <K3_PADCONF(24, 3)>; /* pwm18 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm18_1_cfg: pwm18-1-cfg {
pwm18-1-pins {
pinmux = <K3_PADCONF(60, 6)>; /* pwm18 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm18_2_cfg: pwm18-2-cfg {
pwm18-2-pins {
pinmux = <K3_PADCONF(106, 6)>; /* pwm18 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm19_0_cfg: pwm19-0-cfg {
pwm19-0-pins {
pinmux = <K3_PADCONF(25, 3)>; /* pwm19 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm19_1_cfg: pwm19-1-cfg {
pwm19-1-pins {
pinmux = <K3_PADCONF(61, 6)>; /* pwm19 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
pwm19_2_cfg: pwm19-2-cfg {
pwm19-2-pins {
pinmux = <K3_PADCONF(107, 6)>; /* pwm19 */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
/omit-if-no-ref/
uart0_0_cfg: uart0-0-cfg {
uart0-0-pins {
pinmux = <K3_PADCONF(149, 2)>, /* uart0 tx */
<K3_PADCONF(150, 2)>; /* uart0 rx */
bias-pull-up = <0>;
drive-strength = <25>;
};
};
};
File diff suppressed because it is too large Load Diff