Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions arch/arm64/boot/dts/qcom/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,10 @@ dtb-$(CONFIG_ARCH_QCOM) += qcm6490-shift-otter.dtb
dtb-$(CONFIG_ARCH_QCOM) += qcs404-evb-1000.dtb
dtb-$(CONFIG_ARCH_QCOM) += qcs404-evb-4000.dtb
dtb-$(CONFIG_ARCH_QCOM) += qcs615-ride.dtb

qcs615-ride-el2-dtbs := qcs615-ride.dtb talos-el2.dtbo

dtb-$(CONFIG_ARCH_QCOM) += qcs615-ride-el2.dtb
dtb-$(CONFIG_ARCH_QCOM) += qcs6490-radxa-dragon-q6a.dtb
dtb-$(CONFIG_ARCH_QCOM) += qcs6490-rb3gen2.dtb

Expand Down
12 changes: 12 additions & 0 deletions arch/arm64/boot/dts/qcom/qcs615-ride.dts
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,18 @@
};
};

&qspi {
status = "okay";

flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <25000000>;
spi-tx-bus-width = <2>;
spi-rx-bus-width = <2>;
};
};

&qupv3_id_0 {
status = "okay";
};
Expand Down
25 changes: 25 additions & 0 deletions arch/arm64/boot/dts/qcom/talos-el2.dtso
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.

* Talos specific modifications required to boot in EL2.
*/

/dts-v1/;
/plugin/;

&gpu_zap_shader {
status = "disabled";
};

&remoteproc_adsp {
iommus = <&apps_smmu 0x1720 0x0>;
};

&remoteproc_cdsp {
iommus = <&apps_smmu 0x1080 0x0>;
};

&venus {
status = "disabled";
};
8 changes: 8 additions & 0 deletions arch/arm64/boot/dts/qcom/talos-evk-som.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,14 @@
status = "okay";
};

&gpu {
status = "okay";
};

&gpu_zap_shader {
firmware-name = "qcom/qcs615/a612_zap.mbn";
};

&i2c5 {
clock-frequency = <400000>;
status = "okay";
Expand Down
65 changes: 65 additions & 0 deletions arch/arm64/boot/dts/qcom/talos-evk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
/dts-v1/;

#include "talos-evk-som.dtsi"
#include <dt-bindings/sound/qcom,q6afe.h>

/ {
model = "Qualcomm QCS615 IQ 615 EVK";
Expand Down Expand Up @@ -40,6 +41,46 @@
};
};

sound {
compatible = "qcom,qcs615-sndcard";
model = "TALOS-EVK";

pinctrl-0 = <&mi2s1_pins>, <&mi2s_mclk>;
pinctrl-names = "default";

pri-mi2s-capture-dai-link {
link-name = "Primary MI2S Capture";

codec {
sound-dai = <&codec_da7212>;
};

cpu {
sound-dai = <&q6apmbedai PRIMARY_MI2S_TX>;
};

platform {
sound-dai = <&q6apm>;
};
};

pri-mi2s-playback-dai-link {
link-name = "Primary MI2S Playback";

codec {
sound-dai = <&codec_da7212>;
};

cpu {
sound-dai = <&q6apmbedai PRIMARY_MI2S_RX>;
};

platform {
sound-dai = <&q6apm>;
};
};
};

vreg_v1p8_out: regulator-v1p8-out {
compatible = "regulator-fixed";
regulator-name = "vreg-v1p8-out";
Expand Down Expand Up @@ -109,6 +150,19 @@
};
};

&i2c5 {
status = "okay";

codec_da7212: codec@1a {
compatible = "dlg,da7212";
reg = <0x1a>;
#sound-dai-cells = <0>;
VDDA-supply = <&vreg_v1p8_out>;
VDDIO-supply = <&vreg_v1p8_out>;
VDDMIC-supply = <&vreg_v3p3_out>;
};
};

&mdss_dsi0_out {
remote-endpoint = <&adv7535_in>;
data-lanes = <0 1 2 3>;
Expand All @@ -124,6 +178,17 @@
status = "okay";
};

&q6apmbedai {
#address-cells = <1>;
#size-cells = <0>;

dai@17 {
reg = <PRIMARY_MI2S_TX>;
clocks = <&q6prmcc LPASS_CLK_ID_MCLK_2 LPASS_CLK_ATTRIBUTE_COUPLE_NO>;
clock-names = "mclk";
};
};

&sdhc_2 {
pinctrl-0 = <&sdc2_state_on>;
pinctrl-1 = <&sdc2_state_off>;
Expand Down
Loading