Device Tree File Description

2. In addition, during the development process, sources/quectel-src/kernel/qcom-6.6/arch/arm64/boot/dts/qcom/sc7280.dtsi may also be frequently viewed. sc7280.dtsi has commonly used nodes in the development process such as GPIO, SPI, I2C, UART, CPU, GPU, etc.

Taking the device tree of the camera as an example, check the file layers/meta qcom hwe/cipes multimedia/camadtb/camadtb_1.0.bb, which contains the following content:

SRCPROJECT = "git://git.codelinaro.org/clo/le/platform/vendor/opensource/camera-devicetree.git;protocol=https"
SRCBRANCH  = "camera-kernel.qclinux.1.0.r1-rel"
SRCREV     = "08511ff747916576232cc26394bb9c5c6e0ab1f5"



In order to burn the compiled device tree onto the board and ensure its normal operation, QuecPi Alpha placed these independent device tree sub repositories outside the linux kernel source code in the src/vicetree directory:

  • camera:src/devicetree/camera-devicetree

  • display:src/devicetree/display-devicetree

  • graphics:src/devicetree/graphics-devicetree

  • video:src/devicetree/video-devicetree



Recipes And Path Of Devicetree

1. Top Level Devicetree

QuecPi-QCLinux-BL01/sources/quectel-src/kernel/qcom-6.6/arch/arm64/boot/dts/qcom/qcs6490-idp-pi.dts

There is another one with the same name, the path is outside the kernel code, for the convenience of modifying and overwriting:

QuecPi-QCLinux-BL01/src/qcom-6.6-overlay/arch/arm64/boot/dts/qcom/qcs6490-idp-pi.dts

  • In addition, during the development process, sc7280.dtsi in the same level directory may also be frequently viewed. Sc7280.dtsi has commonly used nodes in the development process such as GPIO, SPI, I2C, UART, CPU, GPU, etc.

2. camera

  • camera devicetree

QuecPi-QCLinux-BL01/src/devicetree/camera-devicetree/qcm6490-camera-rb3.dtsi


QuecPi-QCLinux-BL01/src/devicetree/camera-devicetree/qcm6490-camera-sensor-rb3.dtsi

  • The bb file corresponding to the camera devicetree

QuecPi-QCLinux-BL01/layers/meta-qcom-hwe/recipes-multimedia/cameradtb/cameradtb_1.0.bb


QuecPi-QCLinux-BL01/layers/meta-quectel/recipes-multimedia/cameradtb/cameradtb_1.0.bbappend

3. diaplay

  • display devicetree

QuecPi-QCLinux-BL01/src/devicetree/display-devicetree/display/dsi-panel-waveshare-8inch-video.dtsi


QuecPi-QCLinux-BL01/src/devicetree/display-devicetree/display/qcm6490-sde-display-pi.dtsi


QuecPi-QCLinux-BL01/src/devicetree/display-devicetree/display/qcm6490-sde-display-pinctrl.dtsi


QuecPi-QCLinux-BL01/src/devicetree/display-devicetree/display/qcm6490-sde-display.dtsi


QuecPi-QCLinux-BL01/src/qcom-6.6-overlay/arch/arm64/boot/dts/qcom/qcs6490-idp-pi.dts

  • The bb file corresponding to the display devicetree

QuecPi-QCLinux-BL01/layers/meta-qcom-hwe/recipes-multimedia/display/qcom-displaydevicetree_git.bb


QuecPi-QCLinux-BL01/layers/meta-quectel/recipes-multimedia/display/qcom-displaydevicetree_git.bbappend

4. graphics

  • graphics devicetree

QuecPi-QCLinux-BL01/src/devicetree/graphics-devicetree/gpu/qcm6490-graphics.dtsi

  • The bb file corresponding to the graphics devicetree

QuecPi-QCLinux-BL01/layers/meta-qcom-hwe/recipes-graphics/graphicsdevicetree/qcom-graphicsdevicetree_git.bb


QuecPi-QCLinux-BL01/layers/meta-quectel/recipes-graphics/graphicsdevicetree/qcom-graphicsdevicetree_git.bbappend

5. video

  • video devicetree

QuecPi-QCLinux-BL01/src/devicetree/video-devicetree/qcm6490-video.dtsi

  • The bb file corresponding to the video devicetree

QuecPi-QCLinux-BL01/layers/meta-qcom-hwe/recipes-multimedia/video/qcom-videodtb_1.0.bb


QuecPi-QCLinux-BL01/layers/meta-quectel/recipes-multimedia/video/qcom-videodtb_1.0.bbappend