Thread (9 messages) 9 messages, 4 authors, 2025-02-10

Re: [PATCH v7 3/3] arm64: dts: rockchip: add dts for Ariaboard Photonicat RK3568

From: Junhao Xie <hidden>
Date: 2025-01-18 12:58:34
Also in: linux-devicetree, linux-rockchip, lkml

On 2025/1/15 10:30, Chukun Pan wrote:
Hi,
quoted
[1] https://github.com/photonicat/rockchip_rk3568_kernel/blob/novotech-5.10/arch/arm64/boot/dts/rockchip/rk3568-photonicat-base.dtsi
I don't think this link has reference value. I was misled
by this several times when I wrote dts before.
It really helped me, I wrote first dts with reference to it and other devices
in mainline.
Could there be a better reference link here?
quoted
+&pcie3x2 {
+	max-link-speed = <1>;
+	num-lanes = <1>;
I'm not sure about this.
This PCIe3.0 x2 is not split.
In the schematics for that slot I saw that it only has a PCIe3.0 x1 connected.
I think maybe max-link-speed = <1> is wrong.
Now modify it to the following, it should look correct?

/* M.2 E-Key for PCIe WLAN */
&pcie3x2 {
	max-link-speed = <3>;
	num-lanes = <1>;
	pinctrl-names = "default";
	pinctrl-0 = <&pcie30x1m0_pins>;
	reset-gpios = <&gpio0 RK_PC3 GPIO_ACTIVE_HIGH>;
	vpcie3v3-supply = <&vcc3v3_pcie>;
	status = "okay";
};
quoted
+&sdmmc1 {
...
+	pinctrl-names = "default";
+	pinctrl-0 = <&sdmmc1_bus4 &sdmmc1_cmd &sdmmc1_clk>;
pinctrl-0 = <&sdmmc1_bus4 &sdmmc1_clk &sdmmc1_cmd>;
I will correct it.
quoted
+	wifi: wifi@1 {
+		reg = <1>;
No aliases needed.
I will remove it.
Other parts LGTM.
Thanks for your review, I will fix all problems in next version!

Best regards,
Junhao

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help