Hi, On Sat Jun 21, 2025 at 2:49 PM CEST, John Clark wrote: > Add device tree for FriendlyElec NanoPi M5 with Rockchip RK3576 SoC > (4x Cortex-A72, 4x Cortex-A53, Mali-G52 MC3 GPU, 6 TOPS NPU). Enables > basic booting and connectivity. > ... > diff --git a/arch/arm64/boot/dts/rockchip/rk3576-nanopi-m5.dts b/arch/arm64/boot/dts/rockchip/rk3576-nanopi-m5.dts > new file mode 100644 > index 000000000000..c63be9060651 > --- /dev/null > +++ b/arch/arm64/boot/dts/rockchip/rk3576-nanopi-m5.dts > @@ -0,0 +1,999 @@ > +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) > +/* > + * Copyright (c) 2025 FriendlyElec Computer Tech. Co., Ltd. > + * Copyright (c) 2025 John Clark > + */ > + > +/dts-v1/; > ... > +&pcie0 { > + pinctrl-names = "default"; > + pinctrl-0 = <&pcie_m2_reset>; > + reset-gpios = <&gpio2 RK_PB4 GPIO_ACTIVE_HIGH>; > + vpcie3v3-supply = <&vcc_3v3_m2_keym>; > + status = "okay"; > +}; > + > +&pinctrl { > + gpio-key { > + key1_pin: key1-pin { > + rockchip,pins = <1 RK_PA0 RK_FUNC_GPIO &pcfg_pull_up>; > + }; > + }; > + > + gpio-leds { > + sys_led_pin: sys-led-pin { > + rockchip,pins = <2 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>; > + }; > + lan_led_pin: lan-led-pin { > + rockchip,pins = <2 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>; > + }; > + wan_led_pin: wan-led-pin { > + rockchip,pins = <4 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>; > + }; > + }; > + > + gmac { > + gmac0_int: gmac0-int { > + rockchip,pins = <2 RK_PB1 RK_FUNC_GPIO &pcfg_pull_up>; > + }; > + gmac0_rst: gmac0-rst { > + rockchip,pins = <2 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>; > + }; > + gmac1_int: gmac1-int { > + rockchip,pins = <3 RK_PA2 RK_FUNC_GPIO &pcfg_pull_up>; > + }; > + gmac1_rst: gmac1-rst { > + rockchip,pins = <3 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>; > + }; > + }; > + > + hdmi { > + hdmi_con_en: hdmi-con-en { > + rockchip,pins = <4 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>; > + }; > + }; > + > + headphone { > + hp_det: hp-det { > + rockchip,pins = <2 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>; > + }; > + }; > + > + hym8563 { > + hym8563_int: hym8563-int { > + rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>; > + }; > + }; > + > + pcie { > + pcie_m2_pwren: pcie-m2-pwren { > + rockchip,pins = <0 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>; > + }; > + pcie_m2_reset: pcie-m2-reset { > + rockchip,pins = <2 RK_PB4 RK_FUNC_GPIO &pcfg_pull_up>; > + }; > + }; > + > + sdmmc { > + sd_s0_pwren: sd-s0-pwren { > + rockchip,pins = <0 RK_PB6 RK_FUNC_GPIO &pcfg_pull_up>; > + }; > + }; > + > + usb { > + usb_host_pwren: usb-host-pwren { > + rockchip,pins = <0 RK_PC7 RK_FUNC_GPIO &pcfg_pull_none>; > + }; > + usb_otg0_pwren: usb-otg0-pwren { > + rockchip,pins = <0 RK_PD1 RK_FUNC_GPIO &pcfg_pull_none>; > + }; > + }; > +}; Consider using names/label which are (consistently) close to the labels as used in the schematics. ref: https://lore.kernel.org/linux-rockchip/5461462.0VBMTVartN@phil/ Cheers, Diederik