arm64: dts: qcom: Add Dragonboard 845c
PATCH v2 1/1 arm64: dts: qcom: Add Dragonboard 845c
This adds an initial dts for the Dragonboard 845. Supported functionality includes Debug UART, UFS, USB-C (peripheral), USB-A (host), microSD-card and Bluetooth.
Initializing the SMMU is clearing the mapping used for the splash screen framebuffer, which causes the board to reboot. This can be worked around using:
fastboot oem select-display-panel none
---
Changes since v1:
- Dropped PCIe as this hasn't landed
- Added adsp_pas and cdsp_pas
- Added regulators for wifi
- Updated LED labels to match 96boards specification
arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 556 +++++++++++++++++++++ 2 files changed, 557 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/sdm845-db845c.dts
arch/arm64/boot/dts/qcom/Makefile +1 -0
@@ -7,6 +7,7 @@ dtb-$(CONFIG_ARCH_QCOM) += msm8992-bullhead-rev-101.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8994-angler-rev-101.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8996-mtp.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8998-mtp.dtb +dtb-$(CONFIG_ARCH_QCOM) += sdm845-db845c.dtb dtb-$(CONFIG_ARCH_QCOM) += sdm845-mtp.dtb dtb-$(CONFIG_ARCH_QCOM) += qcs404-evb-1000.dtb dtb-$(CONFIG_ARCH_QCOM) += qcs404-evb-4000.dtb
arch/arm64/boot/dts/qcom/sdm845-db845c.dts new file +556 -0
556 lines not on this page · raw message
Signature · 1 line
2.18.0
Quoted 9 lines · Bjorn Andersson
This adds an initial dts for the Dragonboard 845. Supported functionality includes Debug UART, UFS, USB-C (peripheral), USB-A (host), microSD-card and Bluetooth.
Initializing the SMMU is clearing the mapping used for the splash screen framebuffer, which causes the board to reboot. This can be worked around using:
fastboot oem select-display-panel none
I was able to boot db845c on v5.2-rc1 with this patch :)
I found some nits, nevertheless this looks good, so:
arch/arm64/boot/dts/qcom/sdm845-db845c.dts line 1
Quoted 3 lines
+++
b/arch/arm64/boot/dts/qcom/sdm845-db845c.dtsarch/arm64/boot/dts/qcom/sdm845-db845c.dts new file +1
-0@@ -0,0 +1,556 @@ +// SPDX-License-Identifier: GPL-2.0
No copyright?
Quoted 6 lines
arch/arm64/boot/dts/qcom/sdm845-db845c.dts new file +6
-0+ pcie0_3p3v_dual: vldo-3v3-regulator { + compatible = "regulator-fixed"; + regulator-name = "VLDO_3V3"; + + vin-supply = <&vbat>; + regulator-min-microvolt = <3300000>;
arch/arm64/boot/dts/qcom/sdm845-db845c.dts line 86
Quoted 10 lines
arch/arm64/boot/dts/qcom/sdm845-db845c.dts new file +10
-0+ regulator-max-microvolt = <3300000>; + + gpio = <&tlmm 90 GPIO_ACTIVE_HIGH>; + enable-active-high; + + pinctrl-names = "default"; + pinctrl-0 = <&pcie0_pwren_state>; + }; + + gpio_keys {
Rest of this file is sorted but this isn't, so this should be after dc12v
arch/arm64/boot/dts/qcom/sdm845-db845c.dts line 88
Quoted 2 lines
arch/arm64/boot/dts/qcom/sdm845-db845c.dts new file +2
-0+ compatible = "gpio-keys"; + #address-cells = <1>;
does this require address cell, we don't have range property here?
Quoted 4 lines
arch/arm64/boot/dts/qcom/sdm845-db845c.dts new file +4
-0+ #size-cells = <0>; + autorepeat; + + pinctrl-names = "default";
arch/arm64/boot/dts/qcom/sdm845-db845c.dts line 102
Quoted 10 lines
arch/arm64/boot/dts/qcom/sdm845-db845c.dts new file +10
-0+ pinctrl-0 = <&vol_up_pin_a>; + + vol-up { + label = "Volume Up"; + linux,code = <KEY_VOLUMEUP>; + gpios = <&pm8998_gpio 6 GPIO_ACTIVE_LOW>; + }; + }; + + leds {
This one as well..
Signature · 1 line
~Vinod
Hi Bjorn,
Quoted 10 lines · Bjorn Andersson
This adds an initial dts for the Dragonboard 845. Supported functionality includes Debug UART, UFS, USB-C (peripheral), USB-A (host), microSD-card and Bluetooth.
Initializing the SMMU is clearing the mapping used for the splash screen framebuffer, which causes the board to reboot. This can be worked around using:
fastboot oem select-display-panel none
This works well with your SMR handoff RFC series too?
Quoted 3 lines
Signed-off-by Bjorn Andersson <[email protected]>---
Patch looks good, so
Best Regards
Vivek
Signature · 2 lines
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
Quoted 9 lines · Vivek Gautam
Hi Bjorn,
Quoted 5 lines · Bjorn Andersson
This adds an initial dts for the Dragonboard 845. Supported functionality includes Debug UART, UFS, USB-C (peripheral), USB-A (host), microSD-card and Bluetooth.
Quoted 8 lines
Quoted 5 lines
Initializing the SMMU is clearing the mapping used for the splash screen framebuffer, which causes the board to reboot. This can be worked around using:
fastboot oem select-display-panel none
This works well with your SMR handoff RFC series too?
With the SMR handoff series this is no longer necessary, we can boot the board with boot splash enabled.
Quoted 7 lines
Quoted 3 lines
Signed-off-by Bjorn Andersson <[email protected]>---
Patch looks good, so
Reviewed-by Vivek Gautam <[email protected]>
Thanks,
Bjorn
Quoted 4 lines · Bjorn Andersson
This adds an initial dts for the Dragonboard 845. Supported functionality includes Debug UART, UFS, USB-C (peripheral), USB-A (host), microSD-card and Bluetooth.
Quoted 9 lines
Initializing the SMMU is clearing the mapping used for the splash screen framebuffer, which causes the board to reboot. This can be worked around using:
fastboot oem select-display-panel none
Signed-off-by Bjorn Andersson <[email protected]>---