arm64: dts: qcom: rubikpi3: Add qcs6490-rubikpi3 board dts
PATCH 1/1 arm64: dts: qcom: rubikpi3: Add qcs6490-rubikpi3 board dts
From: hongyang-rp <[email protected]>
Add DTS for Thundercomm qcs6490-rubikpi3 board which uses QCS6490 SoC.
This will add support for debug uart, usb-typec, wifi, bluetooth, fan, m.2, i2c and uart on the 40-pin connector, and some voltage regulators to the board.
--- arch/arm64/boot/dts/qcom/Makefile | 1 + .../dts/qcom/qcs6490-thundercomm-rubikpi3.dts | 1299 +++++++++++++++++ 2 files changed, 1300 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts
arch/arm64/boot/dts/qcom/Makefile +1 -0
@@ -124,6 +124,7 @@ qcs6490-rb3gen2-industrial-mezzanine-dtbs := qcs6490-rb3gen2.dtb qcs6490-rb3gen2 dtb-$(CONFIG_ARCH_QCOM) += qcs6490-rb3gen2-industrial-mezzanine.dtb dtb-$(CONFIG_ARCH_QCOM) += qcs6490-rb3gen2-vision-mezzanine.dtb +dtb-$(CONFIG_ARCH_QCOM) += qcs6490-thundercomm-rubikpi3.dtb dtb-$(CONFIG_ARCH_QCOM) += qcs8300-ride.dtb dtb-$(CONFIG_ARCH_QCOM) += qcs8550-aim300-aiot.dtb dtb-$(CONFIG_ARCH_QCOM) += qcs9100-ride.dtb
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +1299 -0
1,299 lines not on this page · raw message
Signature · 1 line
2.43.0
Quoted 19 lines · Hongyang Zhao
From: hongyang-rp <[email protected]>
Add DTS for Thundercomm qcs6490-rubikpi3 board which uses QCS6490 SoC.
This will add support for debug uart, usb-typec, wifi, bluetooth, fan, m.2, i2c and uart on the 40-pin connector, and some voltage regulators to the board.Signed-off-by hongyang-rp <[email protected]>Reviewed-by Roger Shimizu <[email protected]>Cc Casey Connolly <[email protected]>Cc Christopher Obbard <[email protected]>Cc Loic Minier <[email protected]>--- arch/arm64/boot/dts/qcom/Makefile | 1 + .../dts/qcom/qcs6490-thundercomm-rubikpi3.dts | 1299 +++++++++++++++++ 2 files changed, 1300 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 173
Quoted 3 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +3
-0+ + pmic-glink { + compatible = "qcom,sm8350-pmic-glink", "qcom,pmic-glink";
It's not SM8350.
Quoted 78 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +78
-0+ + #address-cells = <1>; + #size-cells = <0>; + orientation-gpios = <&tlmm 140 GPIO_ACTIVE_HIGH>; + + connector@0 { + compatible = "usb-c-connector"; + reg = <0>; + power-role = "dual"; + data-role = "dual"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + pmic_glink_hs_in: endpoint { + remote-endpoint = <&usb_1_dwc3_hs>; + }; + }; + + port@1 { + reg = <1>; + + pmic_glink_ss_in: endpoint { + remote-endpoint = <&usb_dp_qmpphy_out>; + }; + }; + + port@2 { + reg = <2>; + + pmic_glink_sbu_in: endpoint { + remote-endpoint = <&usb1_sbu_mux>; + }; + }; + }; + }; + }; + + thermal-zones { + sdm-skin-thermal { + thermal-sensors = <&pmk8350_adc_tm 3>; + + trips { + active-config0 { + temperature = <125000>; + hysteresis = <1000>; + type = "passive"; + }; + }; + }; + + quiet-thermal { + thermal-sensors = <&pmk8350_adc_tm 1>; + + trips { + active-config0 { + temperature = <125000>; + hysteresis = <1000>; + type = "passive"; + }; + }; + }; + + xo-thermal { + thermal-sensors = <&pmk8350_adc_tm 0>; + + trips { + active-config0 { + temperature = <125000>; + hysteresis = <1000>; + type = "passive"; + }; + }; + };
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 261
Quoted 10 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +10
-0+ }; + + vph_pwr: vph-pwr-regulator { + compatible = "regulator-fixed"; + regulator-name = "vph_pwr"; + regulator-min-microvolt = <3700000>; + regulator-max-microvolt = <3700000>; + }; + + fan0: pwm-fan {
Please keep the nodes sorted.
Quoted 15 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +15
-0+ compatible = "pwm-fan"; + pwms = <&pm8350c_pwm 3 1000000>; + pinctrl-names = "default"; + pinctrl-0 = <&fan_pwm_out_default>; + }; + + vreg_m2_1p8: vreg_m2_1p8 { + compatible = "regulator-fixed"; + regulator-name = "vreg_m2_1p8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-enable-ramp-delay = <50000>; + enable-active-high; + gpio = <&tlmm 56 0>; + };
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 286
Quoted 10 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +10
-0+ + vreg_sdio_wifi_1p8: vreg_sdio_wifi_1p8 { + compatible = "regulator-fixed"; + regulator-name = "vreg_sdio_wifi_1p8"; + regulator-enable-ramp-delay = <50000>; + regulator-always-on; + enable-active-high; + gpio = <&tlmm 125 GPIO_ACTIVE_HIGH>; + + pinctrl-0 = <&wifi_reset_active>, <&wifi_host_wake>, <&wifi_power_on>;
One entry per line, align on '<'.
Quoted 365 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +365
-0+ pinctrl-names = "default"; + }; +}; + +&apps_rsc { + regulators-0 { + compatible = "qcom,pm7325-rpmh-regulators"; + qcom,pmic-id = "b"; + + vdd-s1-supply = <&vph_pwr>; + vdd-s2-supply = <&vph_pwr>; + vdd-s3-supply = <&vph_pwr>; + vdd-s4-supply = <&vph_pwr>; + vdd-s5-supply = <&vph_pwr>; + vdd-s6-supply = <&vph_pwr>; + vdd-s7-supply = <&vph_pwr>; + vdd-s8-supply = <&vph_pwr>; + vdd-l1-l4-l12-l15-supply = <&vreg_s7b_0p972>; + vdd-l2-l7-supply = <&vreg_bob_3p296>; + vdd-l3-supply = <&vreg_s2b_0p876>; + vdd-l5-supply = <&vreg_s2b_0p876>; + vdd-l6-l9-l10-supply = <&vreg_s8b_1p272>; + vdd-l8-supply = <&vreg_s7b_0p972>; + vdd-l11-l17-l18-l19-supply = <&vreg_s1b_1p872>; + vdd-l13-supply = <&vreg_s7b_0p972>; + vdd-l14-l16-supply = <&vreg_s8b_1p272>; + + vreg_s1b_1p872: smps1 { + regulator-name = "vreg_s1b_1p872"; + regulator-min-microvolt = <1840000>; + regulator-max-microvolt = <2040000>; + }; + + vreg_s2b_0p876: smps2 { + regulator-name = "vreg_s2b_0p876"; + regulator-min-microvolt = <570070>; + regulator-max-microvolt = <1050000>; + }; + + vreg_s7b_0p972: smps7 { + regulator-name = "vreg_s7b_0p972"; + regulator-min-microvolt = <535000>; + regulator-max-microvolt = <1120000>; + }; + + vreg_s8b_1p272: smps8 { + regulator-name = "vreg_s8b_1p272"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1500000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_RET>; + }; + + vreg_l1b_0p912: ldo1 { + regulator-name = "vreg_l1b_0p912"; + regulator-min-microvolt = <825000>; + regulator-max-microvolt = <925000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l2b_3p072: ldo2 { + regulator-name = "vreg_l2b_3p072"; + regulator-min-microvolt = <2700000>; + regulator-max-microvolt = <3544000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l3b_0p504: ldo3 { + regulator-name = "vreg_l3b_0p504"; + regulator-min-microvolt = <312000>; + regulator-max-microvolt = <910000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l4b_0p752: ldo4 { + regulator-name = "vreg_l4b_0p752"; + regulator-min-microvolt = <752000>; + regulator-max-microvolt = <820000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + reg_l5b_0p752: ldo5 { + regulator-name = "reg_l5b_0p752"; + regulator-min-microvolt = <552000>; + regulator-max-microvolt = <832000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l6b_1p2: ldo6 { + regulator-name = "vreg_l6b_1p2"; + regulator-min-microvolt = <1140000>; + regulator-max-microvolt = <1260000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l7b_2p952: ldo7 { + regulator-name = "vreg_l7b_2p952"; + regulator-min-microvolt = <2952000>; + regulator-max-microvolt = <2952000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l8b_0p904: ldo8 { + regulator-name = "vreg_l8b_0p904"; + regulator-min-microvolt = <870000>; + regulator-max-microvolt = <970000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l9b_1p2: ldo9 { + regulator-name = "vreg_l9b_1p2"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + regulator-allow-set-load; + regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM + RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l11b_1p504: ldo11 { + regulator-name = "vreg_l11b_1p504"; + regulator-min-microvolt = <1504000>; + regulator-max-microvolt = <2000000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l12b_0p751: ldo12 { + regulator-name = "vreg_l12b_0p751"; + regulator-min-microvolt = <751000>; + regulator-max-microvolt = <824000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l13b_0p53: ldo13 { + regulator-name = "vreg_l13b_0p53"; + regulator-min-microvolt = <530000>; + regulator-max-microvolt = <824000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l14b_1p08: ldo14 { + regulator-name = "vreg_l14b_1p08"; + regulator-min-microvolt = <1080000>; + regulator-max-microvolt = <1304000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l15b_0p765: ldo15 { + regulator-name = "vreg_l15b_0p765"; + regulator-min-microvolt = <765000>; + regulator-max-microvolt = <1020000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l16b_1p1: ldo16 { + regulator-name = "vreg_l16b_1p1"; + regulator-min-microvolt = <1100000>; + regulator-max-microvolt = <1300000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l17b_1p7: ldo17 { + regulator-name = "vreg_l17b_1p7"; + regulator-min-microvolt = <1700000>; + regulator-max-microvolt = <1900000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l18b_1p8: ldo18 { + regulator-name = "vreg_l18b_1p8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <2000000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l19b_1p8: ldo19 { + regulator-name = "vreg_l19b_1p8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <2000000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + }; + + regulators-1 { + compatible = "qcom,pm8350c-rpmh-regulators"; + qcom,pmic-id = "c"; + + vdd-s1-supply = <&vph_pwr>; + vdd-s2-supply = <&vph_pwr>; + vdd-s3-supply = <&vph_pwr>; + vdd-s4-supply = <&vph_pwr>; + vdd-s5-supply = <&vph_pwr>; + vdd-s6-supply = <&vph_pwr>; + vdd-s7-supply = <&vph_pwr>; + vdd-s8-supply = <&vph_pwr>; + vdd-s9-supply = <&vph_pwr>; + vdd-s10-supply = <&vph_pwr>; + vdd-l1-l12-supply = <&vreg_s1b_1p872>; + vdd-l2-l8-supply = <&vreg_s1b_1p872>; + vdd-l3-l4-l5-l7-l13-supply = <&vreg_bob_3p296>; + vdd-l6-l9-l11-supply = <&vreg_bob_3p296>; + vdd-l10-supply = <&vreg_s7b_0p972>; + vdd-bob-supply = <&vph_pwr>; + + vreg_s1c_2p19: smps1 { + regulator-name = "vreg_s1c_2p19"; + regulator-min-microvolt = <2190000>; + regulator-max-microvolt = <2210000>; + }; + + vreg_s2c_0p752: smps2 { + regulator-name = "vreg_s2c_0p752"; + regulator-min-microvolt = <750000>; + regulator-max-microvolt = <800000>; + }; + + vreg_s5c_0p752: smps5 { + regulator-name = "vreg_s5c_0p752"; + regulator-min-microvolt = <465000>; + regulator-max-microvolt = <1050000>; + }; + + vreg_s7c_0p752: smps7 { + regulator-name = "vreg_s7c_0p752"; + regulator-min-microvolt = <465000>; + regulator-max-microvolt = <800000>; + }; + + vreg_s9c_1p084: smps9 { + regulator-name = "vreg_s9c_1p084"; + regulator-min-microvolt = <1010000>; + regulator-max-microvolt = <1170000>; + }; + + vreg_l1c_1p8: ldo1 { + regulator-name = "vreg_l1c_1p8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1980000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l2c_1p62: ldo2 { + regulator-name = "vreg_l2c_1p62"; + regulator-min-microvolt = <1620000>; + regulator-max-microvolt = <1980000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l3c_2p8: ldo3 { + regulator-name = "vreg_l3c_2p8"; + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <3540000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l4c_1p62: ldo4 { + regulator-name = "vreg_l4c_1p62"; + regulator-min-microvolt = <1620000>; + regulator-max-microvolt = <3300000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l5c_1p62: ldo5 { + regulator-name = "vreg_l5c_1p62"; + regulator-min-microvolt = <1620000>; + regulator-max-microvolt = <3300000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l6c_2p96: ldo6 { + regulator-name = "vreg_l6c_2p96"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l7c_3p0: ldo7 { + regulator-name = "vreg_l7c_3p0"; + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3544000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l8c_1p62: ldo8 { + regulator-name = "vreg_l8c_1p62"; + regulator-min-microvolt = <1620000>; + regulator-max-microvolt = <2000000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l9c_2p96: ldo9 { + regulator-name = "vreg_l9c_2p96"; + regulator-min-microvolt = <2700000>; + regulator-max-microvolt = <3544000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l10c_0p88: ldo10 { + regulator-name = "vreg_l10c_0p88"; + regulator-min-microvolt = <720000>; + regulator-max-microvolt = <1050000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l11c_2p8: ldo11 { + regulator-name = "vreg_l11c_2p8"; + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <3544000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l12c_1p65: ldo12 { + regulator-name = "vreg_l12c_1p65"; + regulator-min-microvolt = <1650000>; + regulator-max-microvolt = <2000000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l13c_2p7: ldo13 { + regulator-name = "vreg_l13c_2p7"; + regulator-min-microvolt = <2700000>; + regulator-max-microvolt = <3544000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_bob_3p296: bob { + regulator-name = "vreg_bob_3p296"; + regulator-min-microvolt = <3008000>; + regulator-max-microvolt = <3960000>; + }; + }; +}; + +&gcc { + protected-clocks = <GCC_CFG_NOC_LPASS_CLK>, + <GCC_MSS_CFG_AHB_CLK>, + <GCC_MSS_GPLL0_MAIN_DIV_CLK_SRC>, + <GCC_MSS_OFFLINE_AXI_CLK>, + <GCC_MSS_Q6SS_BOOT_CLK_SRC>, + <GCC_MSS_Q6_MEMNOC_AXI_CLK>, + <GCC_MSS_SNOC_AXI_CLK>, + <GCC_QSPI_CNOC_PERIPH_AHB_CLK>, + <GCC_QSPI_CORE_CLK>, + <GCC_QSPI_CORE_CLK_SRC>, + <GCC_SEC_CTRL_CLK_SRC>, + <GCC_WPSS_AHB_BDG_MST_CLK>, + <GCC_WPSS_AHB_CLK>, + <GCC_WPSS_RSCP_CLK>; +}; + +&gpi_dma0 { + status = "okay"; +}; + +&gpi_dma1 { + status = "okay"; +}; + +&gpu { + status = "okay"; +}; + +&gpu_zap_shader { + firmware-name = "qcom/qcs6490/a660_zap.mbn"; +}; +
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 661
Quoted 10 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +10
-0+&i2c1 { + status = "okay"; +}; + +&i2c9 { + clock-frequency = <400000>; + status = "okay"; + + lt9611_codec: hdmi-bridge@39 { + compatible = "lontium,lt9611";
Interesting.
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 671
Quoted 10 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +10
-0+ reg = <0x39>; + + interrupts-extended = <&tlmm 20 IRQ_TYPE_EDGE_FALLING>; + reset-gpios = <&tlmm 21 GPIO_ACTIVE_HIGH>; + enable-gpios = <&tlmm 83 GPIO_ACTIVE_HIGH>; + + pinctrl-names = "default"; + pinctrl-0 = <<9611_irq_pin>, + <<9611_rst_pin>, + <<9611_enable_pin>;
-names after -0
Quoted 24 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +24
-0+ + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + lt9611_a: endpoint { + remote-endpoint = <&mdss_dsi0_out>; + }; + }; + + port@2 { + reg = <2>; + + lt9611_out: endpoint { + remote-endpoint = <&hdmi_con>; + }; + }; + }; + }; +}; +
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 705
Quoted 10 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +10
-0+&mdss { + status = "okay"; +}; + +&mdss_dp { + status = "okay"; +}; + +&mdss_dp_out { + data-lanes = <0 1>;
Without link-frequencies it's limited to HBR2, is this expected?
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 711
Quoted 6 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +6
-0+ remote-endpoint = <&usb_dp_qmpphy_dp_in>; +}; + +&mdss_dsi { + vdda-supply = <&vreg_l6b_1p2>; + status = "okay";
Here and below: empty line before status, please.
Quoted 4 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +4
-0+}; + +&mdss_dsi0_out { + remote-endpoint = <<9611_a>;
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 725
Quoted 10 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +10
-0+ data-lanes = <0 1 2 3>; +}; + +&mdss_dsi_phy { + vdds-supply = <&vreg_l10c_0p88>; + status = "okay"; +}; + +&pcie1 { + perst-gpios = <&tlmm 2 GPIO_ACTIVE_LOW>;
No wake-gpios?
Quoted 9 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +9
-0+ + pinctrl-0 = <&pcie1_reset_n>, <&pcie1_wake_n>, <&pcie1_clkreq_n>; + pinctrl-names = "default"; + + vdda-supply = <&vreg_m2_1p8>; + + status = "okay"; +}; +
[...]
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 821
Quoted 3 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +3
-0+ +&pm8350c_gpios { + fan_pwm_out_default: fan_pwm_out_default {
You should have gotten a warning here.
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 833
Quoted 12 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +12
-0+ pins = "gpio8"; + function = "func1"; + power-source = <1>; + drive-push-pull; + output-high; + qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>; + }; +}; + +&pmk8350_rtc { + status = "okay"; + allow-set-time;
status should be the last property.
Quoted 104 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +104
-0+}; + +&pmk8350_vadc { + channel@3 { + reg = <PMK8350_ADC7_DIE_TEMP>; + label = "pmk8350_die_temp"; + qcom,pre-scaling = <1 1>; + }; + + channel@44 { + reg = <PMK8350_ADC7_AMUX_THM1_100K_PU>; + label = "xo_therm"; + qcom,hw-settle-time = <200>; + qcom,pre-scaling = <1 1>; + qcom,ratiometric; + }; + + channel@103 { + reg = <PM7325_ADC7_DIE_TEMP>; + label = "pm7325_die_temp"; + qcom,pre-scaling = <1 1>; + }; + + channel@144 { + reg = <PM7325_ADC7_AMUX_THM1_100K_PU>; + qcom,ratiometric; + qcom,hw-settle-time = <200>; + qcom,pre-scaling = <1 1>; + label = "pm7325_quiet_therm"; + }; + + channel@146 { + reg = <PM7325_ADC7_AMUX_THM3_100K_PU>; + qcom,ratiometric; + qcom,hw-settle-time = <200>; + qcom,pre-scaling = <1 1>; + label = "pm7325_sdm_skin_therm"; + }; +}; + +&pon_pwrkey { + status = "okay"; +}; + +&pon_resin { + linux,code = <KEY_VOLUMEDOWN>; + + status = "okay"; +}; + +&qup_uart7_cts { + /* + * Configure a bias-bus-hold on CTS to lower power + * usage when Bluetooth is turned off. Bus hold will + * maintain a low power state regardless of whether + * the Bluetooth module drives the pin in either + * direction or leaves the pin fully unpowered. + */ + bias-bus-hold; +}; + +&qup_uart7_rts { + /* We'll drive RTS, so no pull */ + drive-strength = <2>; + bias-disable; +}; + +&qup_uart7_rx { + /* + * Configure a pull-up on RX. This is needed to avoid + * garbage data when the TX pin of the Bluetooth module is + * in tri-state (module powered off or not driving the + * signal yet). + */ + bias-pull-up; +}; + +&qup_uart7_tx { + /* We'll drive TX, so no pull */ + drive-strength = <2>; + bias-disable; +}; + +&qupv3_id_0 { + status = "okay"; +}; + +&qupv3_id_1 { + status = "okay"; +}; + +&remoteproc_adsp { + firmware-name = "qcom/qcs6490/adsp.mbn"; + status = "okay"; +}; + +&remoteproc_cdsp { + firmware-name = "qcom/qcs6490/cdsp.mbn"; + status = "okay"; +}; + +&remoteproc_mpss { + firmware-name = "qcom/qcs6490/modem.mbn"; + status = "okay";
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 947
Quoted 10 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +10
-0+}; + +&remoteproc_wpss { + firmware-name = "qcom/qcs6490/wpss.mbn"; + status = "okay"; +}; + +&sdhc_2 { + pinctrl-0 = <&sdc2_clk>, <&sdc2_cmd>, <&sdc2_data>; + pinctrl-1 = <&sdc2_clk_sleep>, <&sdc2_cmd_sleep>, <&sdc2_data_sleep>;
What's the difference from the defaults here?
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 960
Quoted 13 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +13
-0+ + vmmc-supply = <&vreg_l9c_2p96>; + vqmmc-supply = <&vreg_l6c_2p96>; + + non-removable; + keep-power-in-suspend; + /delete-property/ cd-gpios; + + status = "okay"; +}; + +&tlmm { + bt_device_wake: bt_device_wake {
Please check your DT for schema compliance. Read the documentation for DT writing. There are two mistakes here.
Quoted 86 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +86
-0+ pins = "gpio39"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + }; + + bt_host_wake: bt_host_wake { + pins = "gpio137"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + }; + + bt_reset: bt_reset { + pins = "gpio17"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + }; + + qup_uart7_sleep_cts: qup-uart7-sleep-cts-state { + pins = "gpio28"; + function = "gpio"; + /* + * Configure a bias-bus-hold on CTS to lower power + * usage when Bluetooth is turned off. Bus hold will + * maintain a low power state regardless of whether + * the Bluetooth module drives the pin in either + * direction or leaves the pin fully unpowered. + */ + bias-bus-hold; + }; + + qup_uart7_sleep_rts: qup-uart7-sleep-rts-state { + pins = "gpio29"; + function = "gpio"; + /* + * Configure pull-down on RTS. As RTS is active low + * signal, pull it low to indicate the BT SoC that it + * can wakeup the system anytime from suspend state by + * pulling RX low (by sending wakeup bytes). + */ + bias-pull-down; + }; + + qup_uart7_sleep_rx: qup-uart7-sleep-rx-state { + pins = "gpio31"; + function = "gpio"; + /* + * Configure a pull-up on RX. This is needed to avoid + * garbage data when the TX pin of the Bluetooth module + * is floating which may cause spurious wakeups. + */ + bias-pull-up; + }; + + qup_uart7_sleep_tx: qup-uart7-sleep-tx-state { + pins = "gpio30"; + function = "gpio"; + /* + * Configure pull-up on TX when it isn't actively driven + * to prevent BT SoC from receiving garbage during sleep. + */ + bias-pull-up; + }; +}; + +&uart2 { + status = "okay"; +}; + +&uart5 { + status = "okay"; +}; + +&uart7 { + /delete-property/ interrupts; + interrupts-extended = <&intc GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>, + <&tlmm 31 IRQ_TYPE_EDGE_FALLING>; + pinctrl-1 = <&qup_uart7_sleep_cts>, + <&qup_uart7_sleep_rts>, + <&qup_uart7_sleep_tx>, + <&qup_uart7_sleep_rx>; + pinctrl-names = "default", + "sleep"; +
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 1056
Quoted 10 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +10
-0+ status = "okay"; + + bluetooth { + compatible = "brcm,bcm4345c5"; + clocks = <&sleep_clk>; + clock-names = "lpo"; + device-wakeup-gpios = <&tlmm 39 GPIO_ACTIVE_HIGH>; + host-wakeup-gpios = <&tlmm 137 GPIO_ACTIVE_HIGH>; + shutdown-gpios = <&tlmm 17 GPIO_ACTIVE_HIGH>; + pinctrl-0 = <&bt_device_wake>, <&bt_host_wake>, <&bt_reset>;
one per line
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 1068
Quoted 12 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +12
-0+ pinctrl-names = "default"; + vbat-supply = <&vreg_sdio_wifi_1p8>; + vddio-supply = <&vreg_sdio_wifi_1p8>; + max-speed = <3000000>; + }; +}; + +&usb_1 { + status = "okay"; +}; + +&usb_1_dwc3 {
Please rebase on top of a resent linux-next.
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 1069
Quoted 1 line
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +1
-0+ dr_mode = "otg";
This is the default
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 1070
Quoted 1 line
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +1
-0+ usb-role-switch;
This should be a part of sc7280.dtsi
Quoted 13 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +13
-0+}; + +&usb_1_dwc3_hs { + remote-endpoint = <&pmic_glink_hs_in>; +}; + +&usb_1_dwc3_ss { + remote-endpoint = <&usb_dp_qmpphy_usb_ss_in>; +}; + +&usb_1_hsphy { + vdda-pll-supply = <&vreg_l10c_0p88>; + vdda33-supply = <&vreg_l2b_3p072>;
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 1093
Quoted 10 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +10
-0+ vdda18-supply = <&vreg_l1c_1p8>; + + status = "okay"; +}; + +&usb_1_qmpphy { + vdda-phy-supply = <&vreg_l6b_1p2>; + vdda-pll-supply = <&vreg_l1b_0p912>; + + orientation-switch;
Is it not?
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 1103
Quoted 10 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +10
-0+ + status = "okay"; +}; + +&usb_dp_qmpphy_out { + remote-endpoint = <&pmic_glink_ss_in>; +}; + +&usb_dp_qmpphy_usb_ss_in { + remote-endpoint = <&usb_1_dwc3_ss>;
Is it not?
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 1107
Quoted 4 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +4
-0+}; + +&usb_dp_qmpphy_dp_in { + remote-endpoint = <&mdss_dp_out>;
Is it not?
Quoted 80 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +80
-0+}; + +&ufs_mem_hc { + reset-gpios = <&tlmm 175 GPIO_ACTIVE_LOW>; + vcc-supply = <&vreg_l7b_2p952>; + vcc-max-microamp = <800000>; + vccq-supply = <&vreg_l9b_1p2>; + vccq-max-microamp = <900000>; + vccq2-supply = <&vreg_l9b_1p2>; + vccq2-max-microamp = <900000>; + + status = "okay"; +}; + +&ufs_mem_phy { + vdda-phy-supply = <&vreg_l10c_0p88>; + vdda-pll-supply = <&vreg_l6b_1p2>; + + status = "okay"; +}; + +&venus { + status = "okay"; +}; + +&thermal_zones { + cpu0-thermal { + trips { + cpu_tepid: cpu-tepid { + temperature = <65000>; + hysteresis = <5000>; + type = "active"; + }; + + cpu_warm: cpu-warm { + temperature = <80000>; + hysteresis = <5000>; + type = "active"; + }; + + cpu_hot: cpu-hot { + temperature = <90000>; + hysteresis = <5000>; + type = "active"; + }; + }; + }; + + gpuss0-thermal { + trips { + gpuss0_alert0: trip-point0 { + temperature = <95000>; + hysteresis = <5000>; + type = "passive"; + }; + }; + }; + + gpuss1-thermal { + trips { + gpuss1_alert0: trip-point0 { + temperature = <95000>; + hysteresis = <5000>; + type = "passive"; + }; + }; + }; + + nspss0-thermal { + trips { + nspss0_alert0: trip-point0 { + temperature = <95000>; + hysteresis = <5000>; + type = "hot"; + }; + }; + }; + + nspss1-thermal { + trips {
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 1197
Quoted 10 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +10
-0+ nspss1_alert0: trip-point0 { + temperature = <95000>; + hysteresis = <5000>; + type = "hot"; + }; + }; + }; +}; + +/* PINCTRL - ADDITIONS TO NODES IN PARENT DEVICE TREE FILES */
If you have a separate section for pinctrl, why did you have pinctrl entries for qup_uart7_* earlier?
Quoted 22 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +22
-0+ +&sdc2_clk { + bias-disable; + drive-strength = <16>; +}; + +&sdc2_cmd { + bias-pull-up; + drive-strength = <10>; +}; + +&sdc2_data { + bias-pull-up; + drive-strength = <10>; +}; + +&tlmm { + lt9611_irq_pin: lt9611-irq-state { + pins = "gpio20"; + function = "gpio"; + drive-strength = <2>; + bias-disable;
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 1229
Quoted 10 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +10
-0+ }; + + lt9611_rst_pin: lt9611-rst-state { + pins = "gpio21"; + function = "gpio"; + output-high; + input-disable; + }; + + lt9611_enable_pin: lt9611-enable-pin {
Again, wasn't validated.
Quoted 73 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +70
-0+ pins = "gpio83"; + function = "gpio"; + output-high; + input-disable; + }; + + pcie1_reset_n: pcie1-reset-n-state { + pins = "gpio2"; + function = "gpio"; + drive-strength = <16>; + output-low; + bias-disable; + }; + + pcie1_wake_n: pcie1-wake-n-state { + pins = "gpio3"; + function = "gpio"; + drive-strength = <2>; + bias-pull-up; + }; + + wifi_reset_active: wifi_reset_active { + pins = "gpio16"; + function = "gpio"; + drive-strength = <2>; + output-high; + bias-disable; + }; + + wifi_host_wake: wifi_host_wake { + pins = "gpio38"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + }; + + wifi_power_on: wifi_power_on { + pins = "gpio125"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + }; + + usb1_sbu_default: usb1-sbu-state { + oe-n-pins { + pins = "gpio53"; + function = "gpio"; + bias-disable; + drive-strength = <16>; + output-high; + }; + sel-pins { + pins = "gpio52"; + function = "gpio"; + bias-disable; + drive-strength = <16>; + }; + }; +}; + +/* + * Update the lpassaudio node to support the new compatible as the + * lpassaudio needs to support the reset functionality on the + * QCS6490 RUBIK Pi 3 board and the rest of the Audio functionality would be + * provided from the LPASS firmware. + */ +&lpass_audiocc { + compatible = "qcom,qcm6490-lpassaudiocc"; + /delete-property/ power-domains; +};Signature · 1 line
2.43.0
Signature · 2 lines
With best wishes Dmitry
Quoted 20 lines · Hongyang Zhao
Quoted 19 lines
From: hongyang-rp <[email protected]>
Add DTS for Thundercomm qcs6490-rubikpi3 board which uses QCS6490 SoC.
This will add support for debug uart, usb-typec, wifi, bluetooth, fan, m.2, i2c and uart on the 40-pin connector, and some voltage regulators to the board.Signed-off-by hongyang-rp <[email protected]>Reviewed-by Roger Shimizu <[email protected]>Cc Casey Connolly <[email protected]>Cc Christopher Obbard <[email protected]>Cc Loic Minier <[email protected]>--- arch/arm64/boot/dts/qcom/Makefile | 1 + .../dts/qcom/qcs6490-thundercomm-rubikpi3.dts | 1299 +++++++++++++++++ 2 files changed, 1300 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts
Quoted 5 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 173
Quoted 3 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +3
-0+ + pmic-glink { + compatible = "qcom,sm8350-pmic-glink", "qcom,pmic-glink";It's not SM8350.
In the new patch, change it to qcom,qcm6490-pmic-glink.
Quoted 83 lines
Quoted 83 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +82
-0+ + #address-cells = <1>; + #size-cells = <0>; + orientation-gpios = <&tlmm 140 GPIO_ACTIVE_HIGH>; + + connector@0 { + compatible = "usb-c-connector"; + reg = <0>; + power-role = "dual"; + data-role = "dual"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + pmic_glink_hs_in: endpoint { + remote-endpoint = <&usb_1_dwc3_hs>; + }; + }; + + port@1 { + reg = <1>; + + pmic_glink_ss_in: endpoint { + remote-endpoint = <&usb_dp_qmpphy_out>; + }; + }; + + port@2 { + reg = <2>; + + pmic_glink_sbu_in: endpoint { + remote-endpoint = <&usb1_sbu_mux>; + }; + }; + }; + }; + }; + + thermal-zones { + sdm-skin-thermal { + thermal-sensors = <&pmk8350_adc_tm 3>; + + trips { + active-config0 { + temperature = <125000>; + hysteresis = <1000>; + type = "passive"; + }; + }; + }; + + quiet-thermal { + thermal-sensors = <&pmk8350_adc_tm 1>; + + trips { + active-config0 { + temperature = <125000>; + hysteresis = <1000>; + type = "passive"; + }; + }; + }; + + xo-thermal { + thermal-sensors = <&pmk8350_adc_tm 0>; + + trips { + active-config0 { + temperature = <125000>; + hysteresis = <1000>; + type = "passive"; + }; + }; + }; + }; + + vph_pwr: vph-pwr-regulator { + compatible = "regulator-fixed";
Quoted 8 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 261
Quoted 6 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +6
-0+ regulator-name = "vph_pwr"; + regulator-min-microvolt = <3700000>; + regulator-max-microvolt = <3700000>; + }; + + fan0: pwm-fan {Please keep the nodes sorted.
Adjustments have been made in the new patch.
Quoted 20 lines
Quoted 20 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +19
-0+ compatible = "pwm-fan"; + pwms = <&pm8350c_pwm 3 1000000>; + pinctrl-names = "default"; + pinctrl-0 = <&fan_pwm_out_default>; + }; + + vreg_m2_1p8: vreg_m2_1p8 { + compatible = "regulator-fixed"; + regulator-name = "vreg_m2_1p8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-enable-ramp-delay = <50000>; + enable-active-high; + gpio = <&tlmm 56 0>; + }; + + vreg_sdio_wifi_1p8: vreg_sdio_wifi_1p8 { + compatible = "regulator-fixed"; + regulator-name = "vreg_sdio_wifi_1p8";
Quoted 8 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 286
Quoted 6 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +6
-0+ regulator-enable-ramp-delay = <50000>; + regulator-always-on; + enable-active-high; + gpio = <&tlmm 125 GPIO_ACTIVE_HIGH>; + + pinctrl-0 = <&wifi_reset_active>, <&wifi_host_wake>, <&wifi_power_on>;One entry per line, align on '<'.
Adjustments have been made in the new patch.
Quoted 379 lines
Quoted 366 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +365
-0+ pinctrl-names = "default"; + }; +}; + +&apps_rsc { + regulators-0 { + compatible = "qcom,pm7325-rpmh-regulators"; + qcom,pmic-id = "b"; + + vdd-s1-supply = <&vph_pwr>; + vdd-s2-supply = <&vph_pwr>; + vdd-s3-supply = <&vph_pwr>; + vdd-s4-supply = <&vph_pwr>; + vdd-s5-supply = <&vph_pwr>; + vdd-s6-supply = <&vph_pwr>; + vdd-s7-supply = <&vph_pwr>; + vdd-s8-supply = <&vph_pwr>; + vdd-l1-l4-l12-l15-supply = <&vreg_s7b_0p972>; + vdd-l2-l7-supply = <&vreg_bob_3p296>; + vdd-l3-supply = <&vreg_s2b_0p876>; + vdd-l5-supply = <&vreg_s2b_0p876>; + vdd-l6-l9-l10-supply = <&vreg_s8b_1p272>; + vdd-l8-supply = <&vreg_s7b_0p972>; + vdd-l11-l17-l18-l19-supply = <&vreg_s1b_1p872>; + vdd-l13-supply = <&vreg_s7b_0p972>; + vdd-l14-l16-supply = <&vreg_s8b_1p272>; + + vreg_s1b_1p872: smps1 { + regulator-name = "vreg_s1b_1p872"; + regulator-min-microvolt = <1840000>; + regulator-max-microvolt = <2040000>; + }; + + vreg_s2b_0p876: smps2 { + regulator-name = "vreg_s2b_0p876"; + regulator-min-microvolt = <570070>; + regulator-max-microvolt = <1050000>; + }; + + vreg_s7b_0p972: smps7 { + regulator-name = "vreg_s7b_0p972"; + regulator-min-microvolt = <535000>; + regulator-max-microvolt = <1120000>; + }; + + vreg_s8b_1p272: smps8 { + regulator-name = "vreg_s8b_1p272"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1500000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_RET>; + }; + + vreg_l1b_0p912: ldo1 { + regulator-name = "vreg_l1b_0p912"; + regulator-min-microvolt = <825000>; + regulator-max-microvolt = <925000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l2b_3p072: ldo2 { + regulator-name = "vreg_l2b_3p072"; + regulator-min-microvolt = <2700000>; + regulator-max-microvolt = <3544000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l3b_0p504: ldo3 { + regulator-name = "vreg_l3b_0p504"; + regulator-min-microvolt = <312000>; + regulator-max-microvolt = <910000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l4b_0p752: ldo4 { + regulator-name = "vreg_l4b_0p752"; + regulator-min-microvolt = <752000>; + regulator-max-microvolt = <820000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + reg_l5b_0p752: ldo5 { + regulator-name = "reg_l5b_0p752"; + regulator-min-microvolt = <552000>; + regulator-max-microvolt = <832000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l6b_1p2: ldo6 { + regulator-name = "vreg_l6b_1p2"; + regulator-min-microvolt = <1140000>; + regulator-max-microvolt = <1260000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l7b_2p952: ldo7 { + regulator-name = "vreg_l7b_2p952"; + regulator-min-microvolt = <2952000>; + regulator-max-microvolt = <2952000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l8b_0p904: ldo8 { + regulator-name = "vreg_l8b_0p904"; + regulator-min-microvolt = <870000>; + regulator-max-microvolt = <970000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l9b_1p2: ldo9 { + regulator-name = "vreg_l9b_1p2"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + regulator-allow-set-load; + regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM + RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l11b_1p504: ldo11 { + regulator-name = "vreg_l11b_1p504"; + regulator-min-microvolt = <1504000>; + regulator-max-microvolt = <2000000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l12b_0p751: ldo12 { + regulator-name = "vreg_l12b_0p751"; + regulator-min-microvolt = <751000>; + regulator-max-microvolt = <824000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l13b_0p53: ldo13 { + regulator-name = "vreg_l13b_0p53"; + regulator-min-microvolt = <530000>; + regulator-max-microvolt = <824000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l14b_1p08: ldo14 { + regulator-name = "vreg_l14b_1p08"; + regulator-min-microvolt = <1080000>; + regulator-max-microvolt = <1304000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l15b_0p765: ldo15 { + regulator-name = "vreg_l15b_0p765"; + regulator-min-microvolt = <765000>; + regulator-max-microvolt = <1020000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l16b_1p1: ldo16 { + regulator-name = "vreg_l16b_1p1"; + regulator-min-microvolt = <1100000>; + regulator-max-microvolt = <1300000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l17b_1p7: ldo17 { + regulator-name = "vreg_l17b_1p7"; + regulator-min-microvolt = <1700000>; + regulator-max-microvolt = <1900000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l18b_1p8: ldo18 { + regulator-name = "vreg_l18b_1p8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <2000000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l19b_1p8: ldo19 { + regulator-name = "vreg_l19b_1p8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <2000000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + }; + + regulators-1 { + compatible = "qcom,pm8350c-rpmh-regulators"; + qcom,pmic-id = "c"; + + vdd-s1-supply = <&vph_pwr>; + vdd-s2-supply = <&vph_pwr>; + vdd-s3-supply = <&vph_pwr>; + vdd-s4-supply = <&vph_pwr>; + vdd-s5-supply = <&vph_pwr>; + vdd-s6-supply = <&vph_pwr>; + vdd-s7-supply = <&vph_pwr>; + vdd-s8-supply = <&vph_pwr>; + vdd-s9-supply = <&vph_pwr>; + vdd-s10-supply = <&vph_pwr>; + vdd-l1-l12-supply = <&vreg_s1b_1p872>; + vdd-l2-l8-supply = <&vreg_s1b_1p872>; + vdd-l3-l4-l5-l7-l13-supply = <&vreg_bob_3p296>; + vdd-l6-l9-l11-supply = <&vreg_bob_3p296>; + vdd-l10-supply = <&vreg_s7b_0p972>; + vdd-bob-supply = <&vph_pwr>; + + vreg_s1c_2p19: smps1 { + regulator-name = "vreg_s1c_2p19"; + regulator-min-microvolt = <2190000>; + regulator-max-microvolt = <2210000>; + }; + + vreg_s2c_0p752: smps2 { + regulator-name = "vreg_s2c_0p752"; + regulator-min-microvolt = <750000>; + regulator-max-microvolt = <800000>; + }; + + vreg_s5c_0p752: smps5 { + regulator-name = "vreg_s5c_0p752"; + regulator-min-microvolt = <465000>; + regulator-max-microvolt = <1050000>; + }; + + vreg_s7c_0p752: smps7 { + regulator-name = "vreg_s7c_0p752"; + regulator-min-microvolt = <465000>; + regulator-max-microvolt = <800000>; + }; + + vreg_s9c_1p084: smps9 { + regulator-name = "vreg_s9c_1p084"; + regulator-min-microvolt = <1010000>; + regulator-max-microvolt = <1170000>; + }; + + vreg_l1c_1p8: ldo1 { + regulator-name = "vreg_l1c_1p8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1980000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l2c_1p62: ldo2 { + regulator-name = "vreg_l2c_1p62"; + regulator-min-microvolt = <1620000>; + regulator-max-microvolt = <1980000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l3c_2p8: ldo3 { + regulator-name = "vreg_l3c_2p8"; + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <3540000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l4c_1p62: ldo4 { + regulator-name = "vreg_l4c_1p62"; + regulator-min-microvolt = <1620000>; + regulator-max-microvolt = <3300000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l5c_1p62: ldo5 { + regulator-name = "vreg_l5c_1p62"; + regulator-min-microvolt = <1620000>; + regulator-max-microvolt = <3300000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l6c_2p96: ldo6 { + regulator-name = "vreg_l6c_2p96"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l7c_3p0: ldo7 { + regulator-name = "vreg_l7c_3p0"; + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3544000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l8c_1p62: ldo8 { + regulator-name = "vreg_l8c_1p62"; + regulator-min-microvolt = <1620000>; + regulator-max-microvolt = <2000000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l9c_2p96: ldo9 { + regulator-name = "vreg_l9c_2p96"; + regulator-min-microvolt = <2700000>; + regulator-max-microvolt = <3544000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l10c_0p88: ldo10 { + regulator-name = "vreg_l10c_0p88"; + regulator-min-microvolt = <720000>; + regulator-max-microvolt = <1050000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l11c_2p8: ldo11 { + regulator-name = "vreg_l11c_2p8"; + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <3544000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l12c_1p65: ldo12 { + regulator-name = "vreg_l12c_1p65"; + regulator-min-microvolt = <1650000>; + regulator-max-microvolt = <2000000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_l13c_2p7: ldo13 { + regulator-name = "vreg_l13c_2p7"; + regulator-min-microvolt = <2700000>; + regulator-max-microvolt = <3544000>; + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; + }; + + vreg_bob_3p296: bob { + regulator-name = "vreg_bob_3p296"; + regulator-min-microvolt = <3008000>; + regulator-max-microvolt = <3960000>; + }; + }; +}; + +&gcc { + protected-clocks = <GCC_CFG_NOC_LPASS_CLK>, + <GCC_MSS_CFG_AHB_CLK>, + <GCC_MSS_GPLL0_MAIN_DIV_CLK_SRC>, + <GCC_MSS_OFFLINE_AXI_CLK>, + <GCC_MSS_Q6SS_BOOT_CLK_SRC>, + <GCC_MSS_Q6_MEMNOC_AXI_CLK>, + <GCC_MSS_SNOC_AXI_CLK>, + <GCC_QSPI_CNOC_PERIPH_AHB_CLK>, + <GCC_QSPI_CORE_CLK>, + <GCC_QSPI_CORE_CLK_SRC>, + <GCC_SEC_CTRL_CLK_SRC>, + <GCC_WPSS_AHB_BDG_MST_CLK>, + <GCC_WPSS_AHB_CLK>, + <GCC_WPSS_RSCP_CLK>; +}; + +&gpi_dma0 { + status = "okay"; +}; + +&gpi_dma1 { + status = "okay"; +}; + +&gpu { + status = "okay"; +}; + +&gpu_zap_shader { + firmware-name = "qcom/qcs6490/a660_zap.mbn"; +}; +arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 661
Quoted 10 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +10
-0+&i2c1 { + status = "okay"; +}; + +&i2c9 { + clock-frequency = <400000>; + status = "okay"; + + lt9611_codec: hdmi-bridge@39 { + compatible = "lontium,lt9611";Interesting.
Quoted 12 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 671
Quoted 10 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +10
-0+ reg = <0x39>; + + interrupts-extended = <&tlmm 20 IRQ_TYPE_EDGE_FALLING>; + reset-gpios = <&tlmm 21 GPIO_ACTIVE_HIGH>; + enable-gpios = <&tlmm 83 GPIO_ACTIVE_HIGH>; + + pinctrl-names = "default"; + pinctrl-0 = <<9611_irq_pin>, + <<9611_rst_pin>, + <<9611_enable_pin>;-names after -0
Adjustments have been made in the new patch.
Quoted 29 lines
Quoted 29 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +28
-0+ + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + lt9611_a: endpoint { + remote-endpoint = <&mdss_dsi0_out>; + }; + }; + + port@2 { + reg = <2>; + + lt9611_out: endpoint { + remote-endpoint = <&hdmi_con>; + }; + }; + }; + }; +}; + +&mdss { + status = "okay"; +}; +
Quoted 8 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 705
Quoted 6 lines
+&mdss_dp {
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +5
-0+ status = "okay"; +}; + +&mdss_dp_out { + data-lanes = <0 1>;Without link-frequencies it's limited to HBR2, is this expected?
This is expected. I refer to qcs6490-rb3gen2.dts for the modifications.
Quoted 9 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 711
Quoted 7 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +6
-0+ remote-endpoint = <&usb_dp_qmpphy_dp_in>; +}; + +&mdss_dsi { + vdda-supply = <&vreg_l6b_1p2>; + status = "okay";Here and below: empty line before status, please.
Adjustments have been made in the new patch.
Quoted 17 lines
Quoted 5 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +4
-0+}; + +&mdss_dsi0_out { + remote-endpoint = <<9611_a>;arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 725
Quoted 10 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +10
-0+ data-lanes = <0 1 2 3>; +}; + +&mdss_dsi_phy { + vdds-supply = <&vreg_l10c_0p88>; + status = "okay"; +}; + +&pcie1 { + perst-gpios = <&tlmm 2 GPIO_ACTIVE_LOW>;No wake-gpios?
Yes, this part also refers to qcs6490-rb3gen2.dts, and I checked drivers/pci/controller/dwc/pcie-qcom.c and there is no wake gpio related operations.
Quoted 13 lines
Quoted 10 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +9
-0+ + pinctrl-0 = <&pcie1_reset_n>, <&pcie1_wake_n>, <&pcie1_clkreq_n>; + pinctrl-names = "default"; + + vdda-supply = <&vreg_m2_1p8>; + + status = "okay"; +}; +[...]
Quoted 5 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 821
Quoted 3 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +3
-0+ +&pm8350c_gpios { + fan_pwm_out_default: fan_pwm_out_default {You should have gotten a warning here.
Yes, I have fixed it.
Quoted 15 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 833
Quoted 13 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +12
-0+ pins = "gpio8"; + function = "func1"; + power-source = <1>; + drive-push-pull; + output-high; + qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>; + }; +}; + +&pmk8350_rtc { + status = "okay"; + allow-set-time;status should be the last property.
Adjustments have been made in the new patch.
Quoted 109 lines
Quoted 109 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +108
-0+}; + +&pmk8350_vadc { + channel@3 { + reg = <PMK8350_ADC7_DIE_TEMP>; + label = "pmk8350_die_temp"; + qcom,pre-scaling = <1 1>; + }; + + channel@44 { + reg = <PMK8350_ADC7_AMUX_THM1_100K_PU>; + label = "xo_therm"; + qcom,hw-settle-time = <200>; + qcom,pre-scaling = <1 1>; + qcom,ratiometric; + }; + + channel@103 { + reg = <PM7325_ADC7_DIE_TEMP>; + label = "pm7325_die_temp"; + qcom,pre-scaling = <1 1>; + }; + + channel@144 { + reg = <PM7325_ADC7_AMUX_THM1_100K_PU>; + qcom,ratiometric; + qcom,hw-settle-time = <200>; + qcom,pre-scaling = <1 1>; + label = "pm7325_quiet_therm"; + }; + + channel@146 { + reg = <PM7325_ADC7_AMUX_THM3_100K_PU>; + qcom,ratiometric; + qcom,hw-settle-time = <200>; + qcom,pre-scaling = <1 1>; + label = "pm7325_sdm_skin_therm"; + }; +}; + +&pon_pwrkey { + status = "okay"; +}; + +&pon_resin { + linux,code = <KEY_VOLUMEDOWN>; + + status = "okay"; +}; + +&qup_uart7_cts { + /* + * Configure a bias-bus-hold on CTS to lower power + * usage when Bluetooth is turned off. Bus hold will + * maintain a low power state regardless of whether + * the Bluetooth module drives the pin in either + * direction or leaves the pin fully unpowered. + */ + bias-bus-hold; +}; + +&qup_uart7_rts { + /* We'll drive RTS, so no pull */ + drive-strength = <2>; + bias-disable; +}; + +&qup_uart7_rx { + /* + * Configure a pull-up on RX. This is needed to avoid + * garbage data when the TX pin of the Bluetooth module is + * in tri-state (module powered off or not driving the + * signal yet). + */ + bias-pull-up; +}; + +&qup_uart7_tx { + /* We'll drive TX, so no pull */ + drive-strength = <2>; + bias-disable; +}; + +&qupv3_id_0 { + status = "okay"; +}; + +&qupv3_id_1 { + status = "okay"; +}; + +&remoteproc_adsp { + firmware-name = "qcom/qcs6490/adsp.mbn"; + status = "okay"; +}; + +&remoteproc_cdsp { + firmware-name = "qcom/qcs6490/cdsp.mbn"; + status = "okay"; +}; + +&remoteproc_mpss { + firmware-name = "qcom/qcs6490/modem.mbn"; + status = "okay"; +}; + +&remoteproc_wpss { + firmware-name = "qcom/qcs6490/wpss.mbn";
Quoted 8 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 947
Quoted 6 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +6
-0+ status = "okay"; +}; + +&sdhc_2 { + pinctrl-0 = <&sdc2_clk>, <&sdc2_cmd>, <&sdc2_data>; + pinctrl-1 = <&sdc2_clk_sleep>, <&sdc2_cmd_sleep>, <&sdc2_data_sleep>;What's the difference from the defaults here?
This part is redundant and has been deleted.
Quoted 17 lines
Quoted 4 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +3
-0+ + vmmc-supply = <&vreg_l9c_2p96>; + vqmmc-supply = <&vreg_l6c_2p96>;arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 960
Quoted 10 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +10
-0+ + non-removable; + keep-power-in-suspend; + /delete-property/ cd-gpios; + + status = "okay"; +}; + +&tlmm { + bt_device_wake: bt_device_wake {Please check your DT for schema compliance. Read the documentation for DT writing. There are two mistakes here.
Sorry, this is my first commit.
After running the device tree check, this should be the only issue left, but I checked that the driver vdda-supply was being parsed properly, and I need this node to enable power on the M.2 port, so I didn't delete it.
(qcom,pcie-sc7280): Unevaluated properties are not allowed ('vdda-supply' was unexpected)
Quoted 91 lines
Quoted 91 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +90
-0+ pins = "gpio39"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + }; + + bt_host_wake: bt_host_wake { + pins = "gpio137"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + }; + + bt_reset: bt_reset { + pins = "gpio17"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + }; + + qup_uart7_sleep_cts: qup-uart7-sleep-cts-state { + pins = "gpio28"; + function = "gpio"; + /* + * Configure a bias-bus-hold on CTS to lower power + * usage when Bluetooth is turned off. Bus hold will + * maintain a low power state regardless of whether + * the Bluetooth module drives the pin in either + * direction or leaves the pin fully unpowered. + */ + bias-bus-hold; + }; + + qup_uart7_sleep_rts: qup-uart7-sleep-rts-state { + pins = "gpio29"; + function = "gpio"; + /* + * Configure pull-down on RTS. As RTS is active low + * signal, pull it low to indicate the BT SoC that it + * can wakeup the system anytime from suspend state by + * pulling RX low (by sending wakeup bytes). + */ + bias-pull-down; + }; + + qup_uart7_sleep_rx: qup-uart7-sleep-rx-state { + pins = "gpio31"; + function = "gpio"; + /* + * Configure a pull-up on RX. This is needed to avoid + * garbage data when the TX pin of the Bluetooth module + * is floating which may cause spurious wakeups. + */ + bias-pull-up; + }; + + qup_uart7_sleep_tx: qup-uart7-sleep-tx-state { + pins = "gpio30"; + function = "gpio"; + /* + * Configure pull-up on TX when it isn't actively driven + * to prevent BT SoC from receiving garbage during sleep. + */ + bias-pull-up; + }; +}; + +&uart2 { + status = "okay"; +}; + +&uart5 { + status = "okay"; +}; + +&uart7 { + /delete-property/ interrupts; + interrupts-extended = <&intc GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>, + <&tlmm 31 IRQ_TYPE_EDGE_FALLING>; + pinctrl-1 = <&qup_uart7_sleep_cts>, + <&qup_uart7_sleep_rts>, + <&qup_uart7_sleep_tx>, + <&qup_uart7_sleep_rx>; + pinctrl-names = "default", + "sleep"; + + status = "okay"; + + bluetooth { + compatible = "brcm,bcm4345c5";
Quoted 8 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 1056
Quoted 6 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +6
-0+ clocks = <&sleep_clk>; + clock-names = "lpo"; + device-wakeup-gpios = <&tlmm 39 GPIO_ACTIVE_HIGH>; + host-wakeup-gpios = <&tlmm 137 GPIO_ACTIVE_HIGH>; + shutdown-gpios = <&tlmm 17 GPIO_ACTIVE_HIGH>; + pinctrl-0 = <&bt_device_wake>, <&bt_host_wake>, <&bt_reset>;one per line
Adjustments have been made in the new patch.
Quoted 15 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 1068
Quoted 13 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +12
-0+ pinctrl-names = "default"; + vbat-supply = <&vreg_sdio_wifi_1p8>; + vddio-supply = <&vreg_sdio_wifi_1p8>; + max-speed = <3000000>; + }; +}; + +&usb_1 { + status = "okay"; +}; + +&usb_1_dwc3 {Please rebase on top of a resent linux-next.
I re-made the patch at the next-20250923 tag.
Quoted 4 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 1069
Quoted 2 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +1
-0+ dr_mode = "otg";This is the default
This node has been deleted.
Quoted 4 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 1070
Quoted 2 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +1
-0+ usb-role-switch;This should be a part of
sc7280.dtsi
Sorry, I don't understand here. Should we write usb-role-switch in sc7280.dtsi? I think the changes for RUBIK Pi should be fixed in the current device tree. This part of the changes refers to qcs6490-rb3gen2.dts.
Quoted 132 lines
Quoted 14 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +13
-0+}; + +&usb_1_dwc3_hs { + remote-endpoint = <&pmic_glink_hs_in>; +}; + +&usb_1_dwc3_ss { + remote-endpoint = <&usb_dp_qmpphy_usb_ss_in>; +}; + +&usb_1_hsphy { + vdda-pll-supply = <&vreg_l10c_0p88>; + vdda33-supply = <&vreg_l2b_3p072>;arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 1093
Quoted 10 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +10
-0+ vdda18-supply = <&vreg_l1c_1p8>; + + status = "okay"; +}; + +&usb_1_qmpphy { + vdda-phy-supply = <&vreg_l6b_1p2>; + vdda-pll-supply = <&vreg_l1b_0p912>; + + orientation-switch;Is it not?
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 1103
Quoted 10 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +10
-0+ + status = "okay"; +}; + +&usb_dp_qmpphy_out { + remote-endpoint = <&pmic_glink_ss_in>; +}; + +&usb_dp_qmpphy_usb_ss_in { + remote-endpoint = <&usb_1_dwc3_ss>;Is it not?
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 1107
Quoted 4 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +4
-0+}; + +&usb_dp_qmpphy_dp_in { + remote-endpoint = <&mdss_dp_out>;Is it not?
Quoted 85 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +85
-0+}; + +&ufs_mem_hc { + reset-gpios = <&tlmm 175 GPIO_ACTIVE_LOW>; + vcc-supply = <&vreg_l7b_2p952>; + vcc-max-microamp = <800000>; + vccq-supply = <&vreg_l9b_1p2>; + vccq-max-microamp = <900000>; + vccq2-supply = <&vreg_l9b_1p2>; + vccq2-max-microamp = <900000>; + + status = "okay"; +}; + +&ufs_mem_phy { + vdda-phy-supply = <&vreg_l10c_0p88>; + vdda-pll-supply = <&vreg_l6b_1p2>; + + status = "okay"; +}; + +&venus { + status = "okay"; +}; + +&thermal_zones { + cpu0-thermal { + trips { + cpu_tepid: cpu-tepid { + temperature = <65000>; + hysteresis = <5000>; + type = "active"; + }; + + cpu_warm: cpu-warm { + temperature = <80000>; + hysteresis = <5000>; + type = "active"; + }; + + cpu_hot: cpu-hot { + temperature = <90000>; + hysteresis = <5000>; + type = "active"; + }; + }; + }; + + gpuss0-thermal { + trips { + gpuss0_alert0: trip-point0 { + temperature = <95000>; + hysteresis = <5000>; + type = "passive"; + }; + }; + }; + + gpuss1-thermal { + trips { + gpuss1_alert0: trip-point0 { + temperature = <95000>; + hysteresis = <5000>; + type = "passive"; + }; + }; + }; + + nspss0-thermal { + trips { + nspss0_alert0: trip-point0 { + temperature = <95000>; + hysteresis = <5000>; + type = "hot"; + }; + }; + }; + + nspss1-thermal { + trips { + nspss1_alert0: trip-point0 { + temperature = <95000>; + hysteresis = <5000>; + type = "hot"; + };
Quoted 8 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 1197
Quoted 5 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +5
-0+ }; + }; +}; + +/* PINCTRL - ADDITIONS TO NODES IN PARENT DEVICE TREE FILES */If you have a separate section for pinctrl, why did you have pinctrl entries for qup_uart7_* earlier?
Modified in the new patch.
Quoted 27 lines
Quoted 27 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +26
-0+ +&sdc2_clk { + bias-disable; + drive-strength = <16>; +}; + +&sdc2_cmd { + bias-pull-up; + drive-strength = <10>; +}; + +&sdc2_data { + bias-pull-up; + drive-strength = <10>; +}; + +&tlmm { + lt9611_irq_pin: lt9611-irq-state { + pins = "gpio20"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + }; + + lt9611_rst_pin: lt9611-rst-state { + pins = "gpio21";
Quoted 8 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 1229
Quoted 6 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +6
-0+ function = "gpio"; + output-high; + input-disable; + }; + + lt9611_enable_pin: lt9611-enable-pin {Again, wasn't validated.
Fixed in the new patch.
Quoted 66 lines
Quoted 66 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +65
-0+ pins = "gpio83"; + function = "gpio"; + output-high; + input-disable; + }; + + pcie1_reset_n: pcie1-reset-n-state { + pins = "gpio2"; + function = "gpio"; + drive-strength = <16>; + output-low; + bias-disable; + }; + + pcie1_wake_n: pcie1-wake-n-state { + pins = "gpio3"; + function = "gpio"; + drive-strength = <2>; + bias-pull-up; + }; + + wifi_reset_active: wifi_reset_active { + pins = "gpio16"; + function = "gpio"; + drive-strength = <2>; + output-high; + bias-disable; + }; + + wifi_host_wake: wifi_host_wake { + pins = "gpio38"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + }; + + wifi_power_on: wifi_power_on { + pins = "gpio125"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + }; + + usb1_sbu_default: usb1-sbu-state { + oe-n-pins { + pins = "gpio53"; + function = "gpio"; + bias-disable; + drive-strength = <16>; + output-high; + }; + sel-pins { + pins = "gpio52"; + function = "gpio"; + bias-disable; + drive-strength = <16>; + }; + }; +}; + +/* + * Update the lpassaudio node to support the new compatible as the + * lpassaudio needs to support the reset functionality on the + * QCS6490 RUBIK Pi 3 board and the rest of the Audio functionality would be + * provided from the LPASS firmware.
Quoted 8 lines
Quoted 8 lines
+ */
+&lpass_audiocc {arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +3
-0+ compatible = "qcom,qcm6490-lpassaudiocc"; + /delete-property/ power-domains; +};Signature · 1 line
2.43.0
--
Thanks,
Hongyang
Quoted 21 lines · Hongyang Zhao
Quoted 20 lines · Hongyang Zhao
Quoted 19 lines
From: hongyang-rp <[email protected]>
Add DTS for Thundercomm qcs6490-rubikpi3 board which uses QCS6490 SoC.
This will add support for debug uart, usb-typec, wifi, bluetooth, fan, m.2, i2c and uart on the 40-pin connector, and some voltage regulators to the board.Signed-off-by hongyang-rp <[email protected]>Reviewed-by Roger Shimizu <[email protected]>Cc Casey Connolly <[email protected]>Cc Christopher Obbard <[email protected]>Cc Loic Minier <[email protected]>--- arch/arm64/boot/dts/qcom/Makefile | 1 + .../dts/qcom/qcs6490-thundercomm-rubikpi3.dts | 1299 +++++++++++++++++ 2 files changed, 1300 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts
Quoted 7 lines
Quoted 5 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 705
Quoted 3 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +3
-0+ +&mdss_dp_out { + data-lanes = <0 1>;Without link-frequencies it's limited to HBR2, is this expected?
This is expected. I refer to
qcs6490-rb3gen2.dtsfor the modifications.
Why? Is the board / chip limited to HBR2? Don't just c&p rb3gen2, you have a different board and different configuration.
Quoted 9 lines
Quoted 5 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 725
Quoted 3 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +3
-0+ +&pcie1 { + perst-gpios = <&tlmm 2 GPIO_ACTIVE_LOW>;No wake-gpios?
Yes, this part also refers to
qcs6490-rb3gen2.dts, and I checkeddrivers/pci/controller/dwc/pcie-qcom.cand there is no wake gpio related operations.
DT desribes the hardware. As such, please add wake-gpios if it's rounted on the board.
Quoted 14 lines
Quoted 14 lines
Quoted 11 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +9
-0+ + pinctrl-0 = <&pcie1_reset_n>, <&pcie1_wake_n>, <&pcie1_clkreq_n>; + pinctrl-names = "default"; + + vdda-supply = <&vreg_m2_1p8>; + + status = "okay"; +}; +[...]
Quoted 7 lines
Quoted 5 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 821
Quoted 3 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +3
-0+ +&pm8350c_gpios { + fan_pwm_out_default: fan_pwm_out_default {You should have gotten a warning here.
Yes, I have fixed it.
Can I asusme that you've run make foo.dtb CHECK_DTBS=y now?
Quoted 157 lines
Quoted 16 lines
Quoted 4 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +2
-0+ pins = "gpio8"; + function = "func1";arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 833
Quoted 10 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +10
-0+ power-source = <1>; + drive-push-pull; + output-high; + qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>; + }; +}; + +&pmk8350_rtc { + status = "okay"; + allow-set-time;status should be the last property.
Adjustments have been made in the new patch.
Quoted 109 lines
Quoted 109 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +108
-0+}; + +&pmk8350_vadc { + channel@3 { + reg = <PMK8350_ADC7_DIE_TEMP>; + label = "pmk8350_die_temp"; + qcom,pre-scaling = <1 1>; + }; + + channel@44 { + reg = <PMK8350_ADC7_AMUX_THM1_100K_PU>; + label = "xo_therm"; + qcom,hw-settle-time = <200>; + qcom,pre-scaling = <1 1>; + qcom,ratiometric; + }; + + channel@103 { + reg = <PM7325_ADC7_DIE_TEMP>; + label = "pm7325_die_temp"; + qcom,pre-scaling = <1 1>; + }; + + channel@144 { + reg = <PM7325_ADC7_AMUX_THM1_100K_PU>; + qcom,ratiometric; + qcom,hw-settle-time = <200>; + qcom,pre-scaling = <1 1>; + label = "pm7325_quiet_therm"; + }; + + channel@146 { + reg = <PM7325_ADC7_AMUX_THM3_100K_PU>; + qcom,ratiometric; + qcom,hw-settle-time = <200>; + qcom,pre-scaling = <1 1>; + label = "pm7325_sdm_skin_therm"; + }; +}; + +&pon_pwrkey { + status = "okay"; +}; + +&pon_resin { + linux,code = <KEY_VOLUMEDOWN>; + + status = "okay"; +}; + +&qup_uart7_cts { + /* + * Configure a bias-bus-hold on CTS to lower power + * usage when Bluetooth is turned off. Bus hold will + * maintain a low power state regardless of whether + * the Bluetooth module drives the pin in either + * direction or leaves the pin fully unpowered. + */ + bias-bus-hold; +}; + +&qup_uart7_rts { + /* We'll drive RTS, so no pull */ + drive-strength = <2>; + bias-disable; +}; + +&qup_uart7_rx { + /* + * Configure a pull-up on RX. This is needed to avoid + * garbage data when the TX pin of the Bluetooth module is + * in tri-state (module powered off or not driving the + * signal yet). + */ + bias-pull-up; +}; + +&qup_uart7_tx { + /* We'll drive TX, so no pull */ + drive-strength = <2>; + bias-disable; +}; + +&qupv3_id_0 { + status = "okay"; +}; + +&qupv3_id_1 { + status = "okay"; +}; + +&remoteproc_adsp { + firmware-name = "qcom/qcs6490/adsp.mbn"; + status = "okay"; +}; + +&remoteproc_cdsp { + firmware-name = "qcom/qcs6490/cdsp.mbn"; + status = "okay"; +}; + +&remoteproc_mpss { + firmware-name = "qcom/qcs6490/modem.mbn"; + status = "okay"; +}; + +&remoteproc_wpss { + firmware-name = "qcom/qcs6490/wpss.mbn";Quoted 8 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 947
Quoted 6 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +6
-0+ status = "okay"; +}; + +&sdhc_2 { + pinctrl-0 = <&sdc2_clk>, <&sdc2_cmd>, <&sdc2_data>; + pinctrl-1 = <&sdc2_clk_sleep>, <&sdc2_cmd_sleep>, <&sdc2_data_sleep>;What's the difference from the defaults here?
This part is redundant and has been deleted.
Quoted 17 lines
Quoted 4 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +3
-0+ + vmmc-supply = <&vreg_l9c_2p96>; + vqmmc-supply = <&vreg_l6c_2p96>;arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 960
Quoted 10 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +10
-0+ + non-removable; + keep-power-in-suspend; + /delete-property/ cd-gpios; + + status = "okay"; +}; + +&tlmm { + bt_device_wake: bt_device_wake {Please check your DT for schema compliance. Read the documentation for DT writing. There are two mistakes here.
Quoted 7 lines
Sorry, this is my first commit.
After running the device tree check, this should be the only issue left, but I checked that the driver vdda-supply was being parsed properly, and I need this node to enable power on the M.2 port, so I didn't delete it.(qcom,pcie-sc7280): Unevaluated properties are not allowed ('vdda-supply' was unexpected)
This needs to be fixed.
Quoted 129 lines
Quoted 92 lines
Quoted 92 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +90
-0+ pins = "gpio39"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + }; + + bt_host_wake: bt_host_wake { + pins = "gpio137"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + }; + + bt_reset: bt_reset { + pins = "gpio17"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + }; + + qup_uart7_sleep_cts: qup-uart7-sleep-cts-state { + pins = "gpio28"; + function = "gpio"; + /* + * Configure a bias-bus-hold on CTS to lower power + * usage when Bluetooth is turned off. Bus hold will + * maintain a low power state regardless of whether + * the Bluetooth module drives the pin in either + * direction or leaves the pin fully unpowered. + */ + bias-bus-hold; + }; + + qup_uart7_sleep_rts: qup-uart7-sleep-rts-state { + pins = "gpio29"; + function = "gpio"; + /* + * Configure pull-down on RTS. As RTS is active low + * signal, pull it low to indicate the BT SoC that it + * can wakeup the system anytime from suspend state by + * pulling RX low (by sending wakeup bytes). + */ + bias-pull-down; + }; + + qup_uart7_sleep_rx: qup-uart7-sleep-rx-state { + pins = "gpio31"; + function = "gpio"; + /* + * Configure a pull-up on RX. This is needed to avoid + * garbage data when the TX pin of the Bluetooth module + * is floating which may cause spurious wakeups. + */ + bias-pull-up; + }; + + qup_uart7_sleep_tx: qup-uart7-sleep-tx-state { + pins = "gpio30"; + function = "gpio"; + /* + * Configure pull-up on TX when it isn't actively driven + * to prevent BT SoC from receiving garbage during sleep. + */ + bias-pull-up; + }; +}; + +&uart2 { + status = "okay"; +}; + +&uart5 { + status = "okay"; +}; + +&uart7 { + /delete-property/ interrupts; + interrupts-extended = <&intc GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>, + <&tlmm 31 IRQ_TYPE_EDGE_FALLING>; + pinctrl-1 = <&qup_uart7_sleep_cts>, + <&qup_uart7_sleep_rts>, + <&qup_uart7_sleep_tx>, + <&qup_uart7_sleep_rx>; + pinctrl-names = "default", + "sleep"; + + status = "okay"; + + bluetooth { + compatible = "brcm,bcm4345c5";Quoted 8 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 1056
Quoted 6 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +6
-0+ clocks = <&sleep_clk>; + clock-names = "lpo"; + device-wakeup-gpios = <&tlmm 39 GPIO_ACTIVE_HIGH>; + host-wakeup-gpios = <&tlmm 137 GPIO_ACTIVE_HIGH>; + shutdown-gpios = <&tlmm 17 GPIO_ACTIVE_HIGH>; + pinctrl-0 = <&bt_device_wake>, <&bt_host_wake>, <&bt_reset>;one per line
Adjustments have been made in the new patch.
Quoted 15 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 1068
Quoted 13 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +12
-0+ pinctrl-names = "default"; + vbat-supply = <&vreg_sdio_wifi_1p8>; + vddio-supply = <&vreg_sdio_wifi_1p8>; + max-speed = <3000000>; + }; +}; + +&usb_1 { + status = "okay"; +}; + +&usb_1_dwc3 {Please rebase on top of a resent linux-next.
I re-made the patch at the next-20250923 tag.
Quoted 4 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 1069
Quoted 2 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +1
-0+ dr_mode = "otg";This is the default
This node has been deleted.
Quoted 1 line
Quoted 8 lines
Quoted 3 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 1070
Quoted 1 line
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +1
-0+ usb-role-switch;This should be a part of
sc7280.dtsiSorry, I don't understand here. Should we write usb-role-switch in
sc7280.dtsi? I think the changes for RUBIK Pi should be fixed in the current device tree. This part of the changes refers toqcs6490-rb3gen2.dts.
Yes, the host is supposed to handle USB role-switching, so if the property is not there, add it in the sc7280.dtsi (in a separate commit).
Signature · 2 lines
With best wishes Dmitry
Quoted 28 lines · Hongyang Zhao
Quoted 27 lines
Quoted 26 lines · Hongyang Zhao
Quoted 20 lines
From: hongyang-rp <[email protected]>
Add DTS for Thundercomm qcs6490-rubikpi3 board which uses QCS6490 SoC.
This will add support for debug uart, usb-typec, wifi, bluetooth, fan, m.2, i2c and uart on the 40-pin connector, and some voltage regulators to the board.Signed-off-by hongyang-rp <[email protected]>Reviewed-by Roger Shimizu <[email protected]>Cc Casey Connolly <[email protected]>Cc Christopher Obbard <[email protected]>Cc Loic Minier <[email protected]>--- arch/arm64/boot/dts/qcom/Makefile | 1 + .../dts/qcom/qcs6490-thundercomm-rubikpi3.dts | 1299 +++++++++++++++++ 2 files changed, 1300 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dtsReview
Quoted 3 lines
(quoted diff) +3
-0+ +&mdss_dp_out { + data-lanes = <0 1>;Without link-frequencies it's limited to HBR2, is this expected?
Quoted 5 lines
Quoted 1 line
This is expected. I refer to
qcs6490-rb3gen2.dtsfor the modifications.Why? Is the board / chip limited to HBR2? Don't just c&p rb3gen2, you have a different board and different configuration.
Yes, I understand.
I reviewed our hardware design, and it supports up to HBR3. I made the following changes:
&mdss_dp_out {
data-lanes = <0 1>;
link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
remote-endpoint = <&usb_dp_qmpphy_dp_in>;
};Quoted 6 lines
Quoted 6 lines
Quoted 5 lines
Review
Quoted 3 lines
(quoted diff) +3
-0+ +&pcie1 { + perst-gpios = <&tlmm 2 GPIO_ACTIVE_LOW>;No wake-gpios?
Quoted 7 lines
Quoted 3 lines
Yes, this part also refers to
qcs6490-rb3gen2.dts, and I checkeddrivers/pci/controller/dwc/pcie-qcom.cand there is no wake gpio related operations.DT desribes the hardware. As such, please add wake-gpios if it's rounted on the board.
Got it, thanks for your review, I learned a lot. We have the wake gpio hardware connected, I added it:
&pcie1 {
perst-gpios = <&tlmm 2 GPIO_ACTIVE_LOW>;
wake-gpios = <&tlmm 3 GPIO_ACTIVE_LOW>;
pinctrl-0 = <&pcie1_reset_n>,
<&pcie1_wake_n>,
<&pcie1_clkreq_n>;
pinctrl-names = "default";
status = "okay";
};Quoted 20 lines
Quoted 20 lines
Quoted 19 lines
Quoted 11 lines
(quoted diff) +9
-0+ + pinctrl-0 = <&pcie1_reset_n>, <&pcie1_wake_n>, <&pcie1_clkreq_n>; + pinctrl-names = "default"; + + vdda-supply = <&vreg_m2_1p8>; + + status = "okay"; +}; +[...]
Review
Quoted 3 lines
(quoted diff) +3
-0+ +&pm8350c_gpios { + fan_pwm_out_default: fan_pwm_out_default {You should have gotten a warning here.
Quoted 3 lines
Quoted 1 line
Yes, I have fixed it.
Can I asusme that you've run
make foo.dtb CHECK_DTBS=ynow?
Sorry, I did not run the first commit.
My latest local changes have been run. Here are the results of my run:
(myenv) zhy@ROG:~/QCOM/linux$ make CHECK_DTBS=y qcom/qcs6490-thundercomm-rubikpi3.dtb
UPD include/config/kernel.release
SCHEMA Documentation/devicetree/bindings/processed-schema.json
DTC [C] arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dtb
But I made this modification:
Documentation/devicetree/bindings/arm/qcom.yaml +1 -0
@@ -340,6 +340,7 @@ properties: - particle,tachyon - qcom,qcm6490-idp - qcom,qcs6490-rb3gen2 + - thundercomm,6490p-rubikpi3 - shift,otter - const: qcom,qcm6490
Should I make similar changes?
Quoted 163 lines
Quoted 163 lines
Quoted 17 lines
Quoted 5 lines
(quoted diff) +2
-0+ pins = "gpio8"; + function = "func1";Review
Quoted 10 lines
(quoted diff) +10
-0+ power-source = <1>; + drive-push-pull; + output-high; + qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>; + }; +}; + +&pmk8350_rtc { + status = "okay"; + allow-set-time;status should be the last property.
Adjustments have been made in the new patch.
Quoted 109 lines
Quoted 109 lines
(quoted diff) +108
-0+}; + +&pmk8350_vadc { + channel@3 { + reg = <PMK8350_ADC7_DIE_TEMP>; + label = "pmk8350_die_temp"; + qcom,pre-scaling = <1 1>; + }; + + channel@44 { + reg = <PMK8350_ADC7_AMUX_THM1_100K_PU>; + label = "xo_therm"; + qcom,hw-settle-time = <200>; + qcom,pre-scaling = <1 1>; + qcom,ratiometric; + }; + + channel@103 { + reg = <PM7325_ADC7_DIE_TEMP>; + label = "pm7325_die_temp"; + qcom,pre-scaling = <1 1>; + }; + + channel@144 { + reg = <PM7325_ADC7_AMUX_THM1_100K_PU>; + qcom,ratiometric; + qcom,hw-settle-time = <200>; + qcom,pre-scaling = <1 1>; + label = "pm7325_quiet_therm"; + }; + + channel@146 { + reg = <PM7325_ADC7_AMUX_THM3_100K_PU>; + qcom,ratiometric; + qcom,hw-settle-time = <200>; + qcom,pre-scaling = <1 1>; + label = "pm7325_sdm_skin_therm"; + }; +}; + +&pon_pwrkey { + status = "okay"; +}; + +&pon_resin { + linux,code = <KEY_VOLUMEDOWN>; + + status = "okay"; +}; + +&qup_uart7_cts { + /* + * Configure a bias-bus-hold on CTS to lower power + * usage when Bluetooth is turned off. Bus hold will + * maintain a low power state regardless of whether + * the Bluetooth module drives the pin in either + * direction or leaves the pin fully unpowered. + */ + bias-bus-hold; +}; + +&qup_uart7_rts { + /* We'll drive RTS, so no pull */ + drive-strength = <2>; + bias-disable; +}; + +&qup_uart7_rx { + /* + * Configure a pull-up on RX. This is needed to avoid + * garbage data when the TX pin of the Bluetooth module is + * in tri-state (module powered off or not driving the + * signal yet). + */ + bias-pull-up; +}; + +&qup_uart7_tx { + /* We'll drive TX, so no pull */ + drive-strength = <2>; + bias-disable; +}; + +&qupv3_id_0 { + status = "okay"; +}; + +&qupv3_id_1 { + status = "okay"; +}; + +&remoteproc_adsp { + firmware-name = "qcom/qcs6490/adsp.mbn"; + status = "okay"; +}; + +&remoteproc_cdsp { + firmware-name = "qcom/qcs6490/cdsp.mbn"; + status = "okay"; +}; + +&remoteproc_mpss { + firmware-name = "qcom/qcs6490/modem.mbn"; + status = "okay"; +}; + +&remoteproc_wpss { + firmware-name = "qcom/qcs6490/wpss.mbn";Quoted 8 lines
Review
Quoted 6 lines
(quoted diff) +6
-0+ status = "okay"; +}; + +&sdhc_2 { + pinctrl-0 = <&sdc2_clk>, <&sdc2_cmd>, <&sdc2_data>; + pinctrl-1 = <&sdc2_clk_sleep>, <&sdc2_cmd_sleep>, <&sdc2_data_sleep>;What's the difference from the defaults here?
This part is redundant and has been deleted.
Quoted 17 lines
Quoted 4 lines
(quoted diff) +3
-0+ + vmmc-supply = <&vreg_l9c_2p96>; + vqmmc-supply = <&vreg_l6c_2p96>;Review
Quoted 10 lines
(quoted diff) +10
-0+ + non-removable; + keep-power-in-suspend; + /delete-property/ cd-gpios; + + status = "okay"; +}; + +&tlmm { + bt_device_wake: bt_device_wake {Please check your DT for schema compliance. Read the documentation for DT writing. There are two mistakes here.
Sorry, this is my first commit.
After running the device tree check, this should be the only issue left, but I checked that the driver vdda-supply was being parsed properly, and I need this node to enable power on the M.2 port, so I didn't delete it.
Quoted 5 lines
Quoted 2 lines
(qcom,pcie-sc7280): Unevaluated properties are not allowed ('vdda-supply' was unexpected)
This needs to be fixed.
I have solved it, I used a regulator that turns on startup.
Quoted 133 lines
Quoted 133 lines
Quoted 92 lines
Quoted 92 lines
(quoted diff) +90
-0+ pins = "gpio39"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + }; + + bt_host_wake: bt_host_wake { + pins = "gpio137"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + }; + + bt_reset: bt_reset { + pins = "gpio17"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + }; + + qup_uart7_sleep_cts: qup-uart7-sleep-cts-state { + pins = "gpio28"; + function = "gpio"; + /* + * Configure a bias-bus-hold on CTS to lower power + * usage when Bluetooth is turned off. Bus hold will + * maintain a low power state regardless of whether + * the Bluetooth module drives the pin in either + * direction or leaves the pin fully unpowered. + */ + bias-bus-hold; + }; + + qup_uart7_sleep_rts: qup-uart7-sleep-rts-state { + pins = "gpio29"; + function = "gpio"; + /* + * Configure pull-down on RTS. As RTS is active low + * signal, pull it low to indicate the BT SoC that it + * can wakeup the system anytime from suspend state by + * pulling RX low (by sending wakeup bytes). + */ + bias-pull-down; + }; + + qup_uart7_sleep_rx: qup-uart7-sleep-rx-state { + pins = "gpio31"; + function = "gpio"; + /* + * Configure a pull-up on RX. This is needed to avoid + * garbage data when the TX pin of the Bluetooth module + * is floating which may cause spurious wakeups. + */ + bias-pull-up; + }; + + qup_uart7_sleep_tx: qup-uart7-sleep-tx-state { + pins = "gpio30"; + function = "gpio"; + /* + * Configure pull-up on TX when it isn't actively driven + * to prevent BT SoC from receiving garbage during sleep. + */ + bias-pull-up; + }; +}; + +&uart2 { + status = "okay"; +}; + +&uart5 { + status = "okay"; +}; + +&uart7 { + /delete-property/ interrupts; + interrupts-extended = <&intc GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>, + <&tlmm 31 IRQ_TYPE_EDGE_FALLING>; + pinctrl-1 = <&qup_uart7_sleep_cts>, + <&qup_uart7_sleep_rts>, + <&qup_uart7_sleep_tx>, + <&qup_uart7_sleep_rx>; + pinctrl-names = "default", + "sleep"; + + status = "okay"; + + bluetooth { + compatible = "brcm,bcm4345c5";Quoted 8 lines
Review
Quoted 6 lines
(quoted diff) +6
-0+ clocks = <&sleep_clk>; + clock-names = "lpo"; + device-wakeup-gpios = <&tlmm 39 GPIO_ACTIVE_HIGH>; + host-wakeup-gpios = <&tlmm 137 GPIO_ACTIVE_HIGH>; + shutdown-gpios = <&tlmm 17 GPIO_ACTIVE_HIGH>; + pinctrl-0 = <&bt_device_wake>, <&bt_host_wake>, <&bt_reset>;one per line
Adjustments have been made in the new patch.
Quoted 15 lines
Review
Quoted 13 lines
(quoted diff) +12
-0+ pinctrl-names = "default"; + vbat-supply = <&vreg_sdio_wifi_1p8>; + vddio-supply = <&vreg_sdio_wifi_1p8>; + max-speed = <3000000>; + }; +}; + +&usb_1 { + status = "okay"; +}; + +&usb_1_dwc3 {Please rebase on top of a resent linux-next.
I re-made the patch at the next-20250923 tag.
Quoted 4 lines
Review
Quoted 2 lines
(quoted diff) +1
-0+ dr_mode = "otg";This is the default
This node has been deleted.
Quoted 4 lines
Review
Quoted 2 lines
(quoted diff) +1
-0+ usb-role-switch;This should be a part of
sc7280.dtsi
Quoted 7 lines
Quoted 4 lines
Sorry, I don't understand here. Should we write usb-role-switch in
sc7280.dtsi? I think the changes for RUBIK Pi should be fixed in the current device tree. This part of the changes refers toqcs6490-rb3gen2.dts.Yes, the host is supposed to handle USB role-switching, so if the property is not there, add it in the
sc7280.dtsi(in a separate commit).
I found it has already been added in linux-next.
My local patch has been modified based on your review,
and since the linux-next branch sc7280.dtsi supports pcie0, my latest revision also adds support for Ethernet and USB-Type-A 3.0. Since there are more changes, do I need to send a new V2 patch?
--
Thanks,
Hongyang
Rob Herring (Arm)
maintainerQuoted 13 lines · Hongyang Zhao
From: hongyang-rp <[email protected]>
Add DTS for Thundercomm qcs6490-rubikpi3 board which uses QCS6490 SoC.
This will add support for debug uart, usb-typec, wifi, bluetooth, fan, m.2, i2c and uart on the 40-pin connector, and some voltage regulators to the board.Signed-off-by hongyang-rp <[email protected]>Reviewed-by Roger Shimizu <[email protected]>Cc Casey Connolly <[email protected]>Cc Christopher Obbard <[email protected]>Cc Loic Minier <[email protected]>
Quoted 6 lines
--- arch/arm64/boot/dts/qcom/Makefile | 1 + .../dts/qcom/qcs6490-thundercomm-rubikpi3.dts | 1299 +++++++++++++++++ 2 files changed, 1300 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts
My bot found new DTB warnings on the .dts files added or changed in this series.
Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings are fixed by another series. Ultimately, it is up to the platform maintainer whether these warnings are acceptable or not. No need to reply unless the platform maintainer has comments.
If you already ran DT checks and didn't see these error(s), then make sure dt-schema is up to date:
pip3 install dtschema --upgrade
This patch series was applied (using b4) to base:
Base: attempting to guess base-commit...
Base: failed to guess base
If this is not the correct base, please add 'base-commit' tag (or use b4 which does this automatically)
New warnings running 'make CHECK_DTBS=y for arch/arm64/boot/dts/qcom/' for [email protected]:
Error: arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts:1068.1-12 Label or path usb_1_dwc3 not found FATAL ERROR: Syntax error parsing input tree
make[3]: *** [scripts/Makefile.dtbs:132: arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dtb] Error 1 make[2]: *** [scripts/Makefile.build:556: arch/arm64/boot/dts/qcom] Error 2
make[2]: Target 'arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dtb' not remade because of errors. make[1]: *** [/home/rob/proj/linux-dt-testing/Makefile:1478: qcom/qcs6490-thundercomm-rubikpi3.dtb] Error 2
make: *** [Makefile:248: __sub-make] Error 2
make: Target 'qcom/apq8096-ifc6640.dtb' not remade because of errors.
make: Target 'qcom/msm8916-samsung-j3ltetw.dtb' not remade because of errors.
make: Target 'qcom/msm8998-fxtec-pro1.dtb' not remade because of errors.
make: Target 'qcom/sm7325-nothing-spacewar.dtb' not remade because of errors.
make: Target 'qcom/x1e80100-asus-zenbook-a14.dtb' not remade because of errors.
make: Target 'qcom/sm7125-xiaomi-curtana.dtb' not remade because of errors.
make: Target 'qcom/x1e80100-dell-xps13-9345.dtb' not remade because of errors.
make: Target 'qcom/msm8998-mtp.dtb' not remade because of errors.
make: Target 'qcom/msm8916-samsung-a5u-eur.dtb' not remade because of errors.
make: Target 'qcom/sc8280xp-lenovo-thinkpad-x13s.dtb' not remade because of errors.
make: Target 'qcom/sc7180-trogdor-lazor-r3-lte.dtb' not remade because of errors.
make: Target 'qcom/sc7280-herobrine-crd-pro.dtb' not remade because of errors.
make: Target 'qcom/sm6115p-lenovo-j606f.dtb' not remade because of errors.
make: Target 'qcom/msm8998-sony-xperia-yoshino-maple.dtb' not remade because of errors.
make: Target 'qcom/ipq9574-rdp454.dtb' not remade because of errors.
make: Target 'qcom/qcs6490-rb3gen2.dtb' not remade because of errors.
make: Target 'qcom/msm8992-xiaomi-libra.dtb' not remade because of errors.
make: Target 'qcom/sc7180-trogdor-lazor-limozeen-r4.dtb' not remade because of errors.
make: Target 'qcom/sdm450-motorola-ali.dtb' not remade because of errors.
make: Target 'qcom/x1e78100-lenovo-thinkpad-t14s-oled.dtb' not remade because of errors.
make: Target 'qcom/sc7180-trogdor-quackingstick-r0.dtb' not remade because of errors.
make: Target 'qcom/sc7180-trogdor-pazquel360-wifi.dtb' not remade because of errors.
make: Target 'qcom/sdm630-sony-xperia-ganges-kirin.dtb' not remade because of errors.
make: Target 'qcom/sc7180-trogdor-coachz-r1-lte.dtb' not remade because of errors.
make: Target 'qcom/x1e80100-dell-latitude-7455.dtb' not remade because of errors.
make: Target 'qcom/sdm845-lg-judyp.dtb' not remade because of errors.
make: Target 'qcom/msm8939-wingtech-wt82918.dtb' not remade because of errors.
make: Target 'qcom/qrb2210-rb1.dtb' not remade because of errors.
make: Target 'qcom/msm8996-mtp.dtb' not remade because of errors.
make: Target 'qcom/sm8750-mtp.dtb' not remade because of errors.
make: Target 'qcom/sc7280-herobrine-zombie.dtb' not remade because of errors.
make: Target 'qcom/msm8992-lg-bullhead-rev-10.dtb' not remade because of errors.
make: Target 'qcom/qrb5165-rb5.dtb' not remade because of errors.
make: Target 'qcom/x1e80100-lenovo-yoga-slim7x.dtb' not remade because of errors.
make: Target 'qcom/sm8550-qrd.dtb' not remade because of errors.
make: Target 'qcom/sdm630-sony-xperia-nile-discovery.dtb' not remade because of errors.
make: Target 'qcom/sm8550-sony-xperia-yodo-pdx234.dtb' not remade because of errors.
make: Target 'qcom/msm8939-huawei-kiwi.dtb' not remade because of errors.
make: Target 'qcom/sc7180-trogdor-wormdingler-rev1-inx.dtb' not remade because of errors.
make: Target 'qcom/sc8280xp-microsoft-arcata.dtb' not remade because of errors.
make: Target 'qcom/sdm845-oneplus-fajita.dtb' not remade because of errors.
make: Target 'qcom/sc7180-trogdor-lazor-limozeen-nots-r4.dtb' not remade because of errors.
make: Target 'qcom/sdm660-xiaomi-lavender.dtb' not remade because of errors.
make: Target 'qcom/sc7180-trogdor-coachz-r1.dtb' not remade because of errors.
make: Target 'qcom/sc7180-trogdor-lazor-r10.dtb' not remade because of errors.
make: Target 'qcom/msm8939-wingtech-wt82918hd.dtb' not remade because of errors.
make: Target 'qcom/ipq6018-cp01-c1.dtb' not remade because of errors.
make: Target 'qcom/sm8250-samsung-x1q.dtb' not remade because of errors.
make: Target 'qcom/msm8916-motorola-surnia.dtb' not remade because of errors.
make: Target 'qcom/sm8350-microsoft-surface-duo2.dtb' not remade because of errors.
make: Target 'qcom/qcm6490-idp.dtb' not remade because of errors.
make: Target 'qcom/sm8550-mtp.dtb' not remade because of errors.
make: Target 'qcom/msm8916-samsung-a3u-eur.dtb' not remade because of errors.
make: Target 'qcom/sdm845-sony-xperia-tama-akari.dtb' not remade because of errors.
make: Target 'qcom/x1p42100-crd.dtb' not remade because of errors.
make: Target 'qcom/sm8250-mtp.dtb' not remade because of errors.
make: Target 'qcom/sc7180-trogdor-lazor-limozeen-nots-r9.dtb' not remade because of errors.
make: Target 'qcom/sm8250-xiaomi-elish-csot.dtb' not remade because of errors.
make: Target 'qcom/msm8916-wingtech-wt88047.dtb' not remade because of errors.
make: Target 'qcom/msm8916-thwc-ufi001c.dtb' not remade because of errors.
make: Target 'qcom/msm8998-xiaomi-sagit.dtb' not remade because of errors.
make: Target 'qcom/qcm6490-particle-tachyon.dtb' not remade because of errors.
make: Target 'qcom/qcs8550-aim300-aiot.dtb' not remade because of errors.
make: Target 'qcom/sdm450-lenovo-tbx605f.dtb' not remade because of errors.
make: Target 'qcom/sm8250-xiaomi-elish-boe.dtb' not remade because of errors.
make: Target 'qcom/qcs404-evb-4000.dtb' not remade because of errors.
make: Target 'qcom/qcs9100-ride.dtb' not remade because of errors.
make: Target 'qcom/msm8996-sony-xperia-tone-kagura.dtb' not remade because of errors.
make: Target 'qcom/sm8150-sony-xperia-kumano-griffin.dtb' not remade because of errors.
make: Target 'qcom/sdm670-google-sargo.dtb' not remade because of errors.
make: Target 'qcom/x1e001de-devkit.dtb' not remade because of errors.
make: Target 'qcom/sa8775p-ride.dtb' not remade because of errors.
make: Target 'qcom/sc7280-herobrine-crd.dtb' not remade because of errors.
make: Target 'qcom/ipq5424-rdp466.dtb' not remade because of errors.
make: Target 'qcom/sc8180x-lenovo-flex-5g.dtb' not remade because of errors.
make: Target 'qcom/sdm845-lg-judyln.dtb' not remade because of errors.
make: Target 'qcom/msm8953-flipkart-rimob.dtb' not remade because of errors.
make: Target 'qcom/sm6125-xiaomi-ginkgo.dtb' not remade because of errors.
make: Target 'qcom/sc7180-trogdor-lazor-r3-kb.dtb' not remade because of errors.
make: Target 'qcom/msm8916-motorola-osprey.dtb' not remade because of errors.
make: Target 'qcom/sm8250-xiaomi-pipa.dtb' not remade because of errors.
make: Target 'qcom/sdm845-oneplus-enchilada.dtb' not remade because of errors.
make: Target 'qcom/msm8956-sony-xperia-loire-suzu.dtb' not remade because of errors.
make: Target 'qcom/sc7280-idp.dtb' not remade because of errors.
make: Target 'qcom/sc7280-herobrine-evoker-lte.dtb' not remade because of errors.
make: Target 'qcom/sc7180-trogdor-homestar-r4.dtb' not remade because of errors.
make: Target 'qcom/msm8916-samsung-rossa.dtb' not remade because of errors.
make: Target 'qcom/apq8039-t2.dtb' not remade because of errors.
make: Target 'qcom/msm8916-motorola-harpia.dtb' not remade because of errors.
make: Target 'qcom/msm8916-samsung-e5.dtb' not remade because of errors.
make: Target 'qcom/sc7280-idp2.dtb' not remade because of errors.
make: Target 'qcom/msm8939-sony-xperia-kanuti-tulip.dtb' not remade because of errors.
make: Target 'qcom/sm8250-samsung-r8q.dtb' not remade because of errors.
make: Target 'qcom/ipq8074-hk01.dtb' not remade because of errors.
make: Target 'qcom/sm8150-mtp.dtb' not remade because of errors.
make: Target 'qcom/ipq9574-rdp433.dtb' not remade because of errors.
make: Target 'qcom/sdm845-sony-xperia-tama-apollo.dtb' not remade because of errors.
make: Target 'qcom/msm8998-lenovo-miix-630.dtb' not remade because of errors.
make: Target 'qcom/msm8994-sony-xperia-kitakami-karin.dtb' not remade because of errors.
make: Target 'qcom/sdm630-sony-xperia-nile-pioneer.dtb' not remade because of errors.
make: Target 'qcom/msm8916-samsung-grandmax.dtb' not remade because of errors.
make: Target 'qcom/msm8916-alcatel-idol347.dtb' not remade because of errors.
make: Target 'qcom/ipq9574-rdp453.dtb' not remade because of errors.
make: Target 'qcom/sc7180-acer-aspire1.dtb' not remade because of errors.
make: Target 'qcom/sc7180-trogdor-r1.dtb' not remade because of errors.
make: Target 'qcom/msm8916-samsung-e7.dtb' not remade because of errors.
make: Target 'qcom/ipq5018-rdp432-c2.dtb' not remade because of errors.
make: Target 'qcom/apq8016-schneider-hmibsc.dtb' not remade because of errors.
make: Target 'qcom/qrb4210-rb2.dtb' not remade because of errors.
make: Target 'qcom/x1p42100-hp-omnibook-x14.dtb' not remade because of errors.
make: Target 'qcom/ipq5018-tplink-archer-ax55-v1.dtb' not remade because of errors.
make: Target 'qcom/sc7280-herobrine-evoker.dtb' not remade because of errors.
make: Target 'qcom/sc7180-trogdor-kingoftown.dtb' not remade because of errors.
make: Target 'qcom/sm4450-qrd.dtb' not remade because of errors.
make: Target 'qcom/msm8916-samsung-j5.dtb' not remade because of errors.
make: Target 'qcom/msm8998-asus-novago-tp370ql.dtb' not remade because of errors.
make: Target 'qcom/sc7180-trogdor-pompom-r2-lte.dtb' not remade because of errors.
make: Target 'qcom/msm8992-lg-h815.dtb' not remade because of errors.
make: Target 'qcom/sdx75-idp.dtb' not remade because of errors.
make: Target 'qcom/sm8350-sony-xperia-sagami-pdx215.dtb' not remade because of errors.
make: Target 'qcom/apq8096-db820c.dtb' not remade because of errors.
make: Target 'qcom/msm8996-sony-xperia-tone-keyaki.dtb' not remade because of errors.
make: Target 'qcom/msm8916-longcheer-l8150.dtb' not remade because of errors.
make: Target 'qcom/msm8994-sony-xperia-kitakami-suzuran.dtb' not remade because of errors.
make: Target 'qcom/sdm845-mtp.dtb' not remade because of errors.
make: Target 'qcom/sm6375-sony-xperia-murray-pdx225.dtb' not remade because of errors.
make: Target 'qcom/msm8916-yiming-uz801v3.dtb' not remade because of errors.
make: Target 'qcom/qcs9100-ride-r3.dtb' not remade because of errors.
make: Target 'qcom/x1e80100-hp-omnibook-x14.dtb' not remade because of errors.
make: Target 'qcom/msm8953-xiaomi-vince.dtb' not remade because of errors.
make: Target 'qcom/ipq5332-rdp441.dtb' not remade because of errors.
make: Target 'qcom/msm8992-lg-bullhead-rev-101.dtb' not remade because of errors.
make: Target 'qcom/msm8917-xiaomi-riva.dtb' not remade because of errors.
make: Target 'qcom/msm8996-xiaomi-gemini.dtb' not remade because of errors.
make: Target 'qcom/sc7180-trogdor-lazor-limozeen-r9.dtb' not remade because of errors.
make: Target 'qcom/msm8998-sony-xperia-yoshino-lilac.dtb' not remade because of errors.
make: Target 'qcom/msm8916-samsung-gprimeltecan.dtb' not remade because of errors.
make: Target 'qcom/sc7180-trogdor-pazquel360-lte.dtb' not remade because of errors.
make: Target 'qcom/sdm845-shift-axolotl.dtb' not remade because of errors.
make: Target 'qcom/msm8996-oneplus3t.dtb' not remade because of errors.
make: Target 'qcom/sc7280-herobrine-zombie-lte.dtb' not remade because of errors.
make: Target 'qcom/sc7180-trogdor-lazor-r3.dtb' not remade because of errors.
make: Target 'qcom/monaco-evk.dtb' not remade because of errors.
make: Target 'qcom/sar2130p-qar2130p.dtb' not remade because of errors.
make: Target 'qcom/sm8650-hdk.dtb' not remade because of errors.
make: Target 'qcom/sc7280-herobrine-herobrine-r1.dtb' not remade because of errors.
make: Target 'qcom/msm8916-longcheer-l8910.dtb' not remade because of errors.
make: Target 'qcom/sdm630-sony-xperia-nile-voyager.dtb' not remade because of errors.
make: Target 'qcom/sm8450-hdk.dtb' not remade because of errors.
make: Target 'qcom/msm8929-wingtech-wt82918hd.dtb' not remade because of errors.
make: Target 'qcom/sm8250-sony-xperia-edo-pdx203.dtb' not remade because of errors.
make: Target 'qcom/sm8350-hdk.dtb' not remade because of errors.
make: Target 'qcom/ipq8074-hk10-c1.dtb' not remade because of errors.
make: Target 'qcom/sm8450-qrd.dtb' not remade because of errors.
make: Target 'qcom/msm8916-lg-c50.dtb' not remade because of errors.
make: Target 'qcom/sm8250-sony-xperia-edo-pdx206.dtb' not remade because of errors.
make: Target 'qcom/sm7225-fairphone-fp4.dtb' not remade because of errors.
make: Target 'qcom/sa8155p-adp.dtb' not remade because of errors.
make: Target 'qcom/x1e80100-qcp.dtb' not remade because of errors.
make: Target 'qcom/sc7180-trogdor-lazor-r1-kb.dtb' not remade because of errors.
make: Target 'qcom/msm8916-samsung-grandprimelte.dtb' not remade because of errors.
make: Target 'qcom/sc7280-herobrine-zombie-nvme-lte.dtb' not remade because of errors.
make: Target 'qcom/sc7180-trogdor-homestar-r3.dtb' not remade because of errors.
make: Target 'qcom/ipq5332-rdp474.dtb' not remade because of errors.
make: Target 'qcom/x1e80100-asus-vivobook-s15.dtb' not remade because of errors.
make: Target 'qcom/sm8150-microsoft-surface-duo.dtb' not remade because of errors.
make: Target 'qcom/msm8996pro-xiaomi-scorpio.dtb' not remade because of errors.
make: Target 'qcom/x1e78100-lenovo-thinkpad-t14s.dtb' not remade because of errors.
make: Target 'qcom/sm8150-hdk.dtb' not remade because of errors.
make: Target 'qcom/sc8180x-primus.dtb' not remade because of errors.
make: Target 'qcom/sc7180-trogdor-lazor-r10-lte.dtb' not remade because of errors.
make: Target 'qcom/msm8916-samsung-j5x.dtb' not remade because of errors.
make: Target 'qcom/x1p42100-asus-zenbook-a14.dtb' not remade because of errors.
make: Target 'qcom/sc7180-idp.dtb' not remade because of errors.
make: Target 'qcom/msm8916-mtp.dtb' not remade because of errors.
make: Target 'qcom/x1e80100-hp-elitebook-ultra-g1q.dtb' not remade because of errors.
make: Target 'qcom/sc7180-trogdor-lazor-limozeen-r10.dtb' not remade because of errors.
make: Target 'qcom/sc7280-herobrine-zombie-nvme.dtb' not remade because of errors.
make: Target 'qcom/x1e80100-microsoft-romulus15.dtb' not remade because of errors.
make: Target 'qcom/qru1000-idp.dtb' not remade because of errors.
make: Target 'qcom/msm8998-hp-envy-x2.dtb' not remade because of errors.
make: Target 'qcom/sc7180-trogdor-wormdingler-rev1-boe-rt5682s.dtb' not remade because of errors.
make: Target 'qcom/sc7180-trogdor-pazquel-parade.dtb' not remade because of errors.
make: Target 'qcom/sc7180-trogdor-lazor-r9-kb.dtb' not remade because of errors.
make: Target 'qcom/sc7180-trogdor-wormdingler-rev1-boe.dtb' not remade because of errors.
make: Target 'qcom/qcs615-ride.dtb' not remade because of errors.
make: Target 'qcom/sc7180-trogdor-coachz-r3-lte.dtb' not remade because of errors.
make: Target 'qcom/sc7280-crd-r3.dtb' not remade because of errors.
make: Target 'qcom/msm8916-samsung-gt58.dtb' not remade because of errors.
make: Target 'qcom/sa8775p-ride-r3.dtb' not remade because of errors.
make: Target 'qcom/sm8450-samsung-r0q.dtb' not remade because of errors.
make: Target 'qcom/sc7280-herobrine-villager-r1.dtb' not remade because of errors.
make: Target 'qcom/sc7180-trogdor-pazquel-ti.dtb' not remade because of errors.
make: Target 'qcom/qcm6490-shift-otter.dtb' not remade because of errors.
make: Target 'qcom/hamoa-iot-evk.dtb' not remade because of errors.
make: Target 'qcom/qcs8300-ride.dtb' not remade because of errors.
make: Target 'qcom/apq8016-sbc.dtb' not remade because of errors.
make: Target 'qcom/msm8996pro-xiaomi-natrium.dtb' not remade because of errors.
make: Target 'qcom/sdm845-samsung-starqltechn.dtb' not remade because of errors.
make: Target 'qcom/sc7180-trogdor-pompom-r1-lte.dtb' not remade because of errors.
make: Target 'qcom/msm8953-xiaomi-tissot.dtb' not remade because of errors.
make: Target 'qcom/x1e80100-dell-inspiron-14-plus-7441.dtb' not remade because of errors.
make: Target 'qcom/sc7180-trogdor-lazor-r9.dtb' not remade because of errors.
make: Target 'qcom/sm6125-xiaomi-laurel-sprout.dtb' not remade because of errors.
make: Target 'qcom/msm8994-sony-xperia-kitakami-sumire.dtb' not remade because of errors.
make: Target 'qcom/msm8916-samsung-serranove.dtb' not remade because of errors.
make: Target 'qcom/sc7180-trogdor-coachz-r3.dtb' not remade because of errors.
make: Target 'qcom/sdm845-sony-xperia-tama-akatsuki.dtb' not remade because of errors.
make: Target 'qcom/ipq9574-rdp449.dtb' not remade because of errors.
make: Target 'qcom/sc7180-trogdor-r1-lte.dtb' not remade because of errors.
make: Target 'qcom/msm8916-lg-m216.dtb' not remade because of errors.
make: Target 'qcom/lemans-evk.dtb' not remade because of errors.
make: Target 'qcom/x1e80100-crd.dtb' not remade because of errors.
make: Target 'qcom/x1p42100-lenovo-thinkbook-16.dtb' not remade because of errors.
make: Target 'qcom/apq8094-sony-xperia-kitakami-karin_windy.dtb' not remade because of errors.
make: Target 'qcom/sc7180-trogdor-lazor-r9-lte.dtb' not remade because of errors.
make: Target 'qcom/sc7180-trogdor-pazquel-lte-ti.dtb' not remade because of errors.
make: Target 'qcom/msm8996-sony-xperia-tone-dora.dtb' not remade because of errors.
make: Target 'qcom/sa8295p-adp.dtb' not remade because of errors.
make: Target 'qcom/msm8994-sony-xperia-kitakami-ivy.dtb' not remade because of errors.
make: Target 'qcom/sdm845-xiaomi-beryllium-ebbg.dtb' not remade because of errors.
make: Target 'qcom/sc7180-trogdor-pompom-r3.dtb' not remade because of errors.
make: Target 'qcom/msm8998-oneplus-dumpling.dtb' not remade because of errors.
make: Target 'qcom/sm8650-mtp.dtb' not remade because of errors.
make: Target 'qcom/msm8996-oneplus3.dtb' not remade because of errors.
make: Target 'qcom/sm8550-hdk.dtb' not remade because of errors.
make: Target 'qcom/x1e80100-microsoft-romulus13.dtb' not remade because of errors.
make: Target 'qcom/sc7180-trogdor-lazor-r1-lte.dtb' not remade because of errors.
make: Target 'qcom/msm8939-samsung-a7.dtb' not remade because of errors.
make: Target 'qcom/qcm6490-fairphone-fp5.dtb' not remade because of errors.
make: Target 'qcom/sc8280xp-huawei-gaokun3.dtb' not remade because of errors.
make: Target 'qcom/sc7180-trogdor-wormdingler-rev1-inx-rt5682s.dtb' not remade because of errors.
make: Target 'qcom/msm8953-xiaomi-mido.dtb' not remade because of errors.
make: Target 'qcom/msm8916-asus-z00l.dtb' not remade because of errors.
make: Target 'qcom/qcs6490-thundercomm-rubikpi3.dtb' not remade because of errors.
make: Target 'qcom/sc7180-trogdor-pompom-r2.dtb' not remade because of errors.
make: Target 'qcom/sm6350-sony-xperia-lena-pdx213.dtb' not remade because of errors.
make: Target 'qcom/sdm632-fairphone-fp3.dtb' not remade because of errors.
make: Target 'qcom/msm8953-motorola-potter.dtb' not remade because of errors.
make: Target 'qcom/sda660-inforce-ifc6560.dtb' not remade because of errors.
make: Target 'qcom/sm8150-sony-xperia-kumano-bahamut.dtb' not remade because of errors.
make: Target 'qcom/sc7180-trogdor-pazquel-lte-parade.dtb' not remade because of errors.
make: Target 'qcom/sc7180-trogdor-homestar-r2.dtb' not remade because of errors.
make: Target 'qcom/sm8250-hdk.dtb' not remade because of errors.
make: Target 'qcom/sm8650-qrd.dtb' not remade because of errors.
make: Target 'qcom/sc8280xp-microsoft-blackrock.dtb' not remade because of errors.
make: Target 'qcom/ipq8074-hk10-c2.dtb' not remade because of errors.
make: Target 'qcom/msm8953-xiaomi-daisy.dtb' not remade because of errors.
make: Target 'qcom/sc8280xp-crd.dtb' not remade because of errors.
make: Target 'qcom/sdm850-samsung-w737.dtb' not remade because of errors.
make: Target 'qcom/sc7180-trogdor-lazor-limozeen-nots-r5.dtb' not remade because of errors.
make: Target 'qcom/msm8916-samsung-gt510.dtb' not remade because of errors.
make: Target 'qcom/sdm850-lenovo-yoga-c630.dtb' not remade because of errors.
make: Target 'qcom/msm8916-thwc-uf896.dtb' not remade because of errors.
make: Target 'qcom/sc7180-trogdor-lazor-r10-kb.dtb' not remade because of errors.
make: Target 'qcom/msm8994-sony-xperia-kitakami-satsuki.dtb' not remade because of errors.
make: Target 'qcom/sdm632-motorola-ocean.dtb' not remade because of errors.
make: Target 'qcom/sc7280-herobrine-villager-r1-lte.dtb' not remade because of errors.
make: Target 'qcom/sm6115-fxtec-pro1x.dtb' not remade because of errors.
make: Target 'qcom/sc7180-trogdor-pompom-r3-lte.dtb' not remade because of errors.
make: Target 'qcom/msm8998-sony-xperia-yoshino-poplar.dtb' not remade because of errors.
make: Target 'qcom/msm8916-huawei-g7.dtb' not remade because of errors.
make: Target 'qcom/msm8916-wingtech-wt86518.dtb' not remade because of errors.
make: Target 'qcom/sm8350-sony-xperia-sagami-pdx214.dtb' not remade because of errors.
make: Target 'qcom/msm8916-wingtech-wt86528.dtb' not remade because of errors.
make: Target 'qcom/sdm845-db845c.dtb' not remade because of errors.
make: Target 'qcom/sa8540p-ride.dtb' not remade because of errors.
make: Target 'qcom/msm8939-longcheer-l9100.dtb' not remade because of errors.
make: Target 'qcom/qdu1000-idp.dtb' not remade because of errors.
make: Target 'qcom/sm8550-samsung-q5q.dtb' not remade because of errors.
make: Target 'qcom/msm8992-msft-lumia-octagon-talkman.dtb' not remade because of errors.
make: Target 'qcom/msm8916-gplus-fl8005a.dtb' not remade because of errors.
make: Target 'qcom/sm8350-mtp.dtb' not remade because of errors.
make: Target 'qcom/msm8956-sony-xperia-loire-kugo.dtb' not remade because of errors.
make: Target 'qcom/msm8976-longcheer-l9360.dtb' not remade because of errors.
make: Target 'qcom/sc7180-trogdor-lazor-r1.dtb' not remade because of errors.
make: Target 'qcom/sc7180-trogdor-pompom-r1.dtb' not remade because of errors.
make: Target 'qcom/msm8998-oneplus-cheeseburger.dtb' not remade because of errors.
make: Target 'qcom/sc7280-herobrine-villager-r0.dtb' not remade because of errors.
make: Target 'qcom/sm8750-qrd.dtb' not remade because of errors.
make: Target 'qcom/sm4250-oneplus-billie2.dtb' not remade because of errors.
make: Target 'qcom/sdm636-sony-xperia-ganges-mermaid.dtb' not remade because of errors.
make: Target 'qcom/qcs404-evb-1000.dtb' not remade because of errors.
make: Target 'qcom/ipq5332-rdp442.dtb' not remade because of errors.
make: Target 'qcom/msm8994-msft-lumia-octagon-cityman.dtb' not remade because of errors.
make: Target 'qcom/msm8916-acer-a1-724.dtb' not remade because of errors.
make: Target 'qcom/sdm845-xiaomi-beryllium-tianma.dtb' not remade because of errors.
make: Target 'qcom/sm6125-sony-xperia-seine-pdx201.dtb' not remade because of errors.
make: Target 'qcom/sdm845-xiaomi-polaris.dtb' not remade because of errors.
make: Target 'qcom/ipq9574-rdp418.dtb' not remade because of errors.
make: Target 'qcom/msm8216-samsung-fortuna3g.dtb' not remade because of errors.
make: Target 'qcom/sm8450-sony-xperia-nagara-pdx223.dtb' not remade because of errors.
make: Target 'qcom/sm8450-sony-xperia-nagara-pdx224.dtb' not remade because of errors.
make: Target 'qcom/sm7125-xiaomi-joyeuse.dtb' not remade because of errors.
make: Target 'qcom/msm8994-huawei-angler-rev-101.dtb' not remade because of errors.
make: Target 'qcom/ipq5332-rdp468.dtb' not remade because of errors.
make: Target 'qcom/sc7180-trogdor-lazor-limozeen-nots-r10.dtb' not remade because of errors.
make: Target 'qcom/sc7180-trogdor-quackingstick-r0-lte.dtb' not remade because of errors.
Quoted 9 lines · Hongyang Zhao
From: hongyang-rp <[email protected]>
Add DTS for Thundercomm qcs6490-rubikpi3 board which uses QCS6490 SoC.
This will add support for debug uart, usb-typec, wifi, bluetooth, fan, m.2, i2c and uart on the 40-pin connector, and some voltage regulators to the board.Signed-off-by hongyang-rp <[email protected]>
Please fix your git config, so that it presumably matches your name found in the sender field
Konrad
Quoted 9 lines · Hongyang Zhao
Quoted 8 lines
From: hongyang-rp <[email protected]>
Add DTS for Thundercomm qcs6490-rubikpi3 board which uses QCS6490 SoC.
This will add support for debug uart, usb-typec, wifi, bluetooth, fan, m.2, i2c and uart on the 40-pin connector, and some voltage regulators to the board.
Quoted 4 lines
Quoted 1 line
Signed-off-by hongyang-rp <[email protected]>Please fix your git config, so that it presumably matches your name found in the sender field
Hi Konrad,
Thanks, I should fix that.
Signature · 3 lines
Thanks, Hongyang