您好,
如上图,我通过文档中的如下命令:
git clone GitHub - rubikpi-ai/linux
git submodule init
git submodule update
下载了代码之后,通过文档描述,魔方派3的顶层设备树是 rubikpi3.dts ,我就打开了 rubikpi3.dts,然后它包含 #include “turbox-c6490p-devkit.dtsi”,我就打开了这个,查看 SSD相关的设备树描述,如图片中的,再跟硬件手册中去对比,发现不匹配,比如GPIO50 对应 PCIE_RESET_N, GPIO54 对应PCIE_WAKE_N,跟设备树中描述不一致,想问一下,我看的是对的吗,另外这个板子有原理图吗,还有内核设备树中是否添加了SSD的PCIE节点?
请帮忙看下,非常感谢!
下面是设备树的复制,关于SSD挂载的PCIE1
844 &pcie1 {
845 status = “okay”;
846 perst-gpios = <&tlmm 2 GPIO_ACTIVE_LOW>;
847 vdda-supply = <&M2_1p8_vreg>;
848 pinctrl-names = “default”;
849 pinctrl-0 = <&pcie1_clkreq_n>, <&pcie1_wake_n>;
850 pcieport1: pcie@1 {
851 device_type = “pci”;
852 reg = <0x0 0x0 0x0 0x0 0x0>;
853 #address-cells = <5>;
854 #size-cells = <0>;
855 pcie1_bus1_dev0_fn0: pcie1_bus1_dev0_fn0 {
856 reg = <0 0 0 0 0>;
857 };
858 };
859 };
369 pcie1_clkreq_n: pcie1-clkreq-n-state {
370 pins = “gpio79”;
371 function = “pcie1_clkreqn”;
372 drive-strength = <2>;
373 bias-pull-up;
374 };
375
376 pcie1_reset_n: pcie1-reset-n-state {
377 pins = “gpio2”;
378 function = “gpio”;
379 drive-strength = <16>;
380 output-high;
381 bias-disable;
382 };



