ARM: dts: msm: Add initial device tree for Blair

Adding initial device tree support for Blair target.

Change-Id: I9ffe2a86e2a6710968600653fdc7427dacf9b158
This commit is contained in:
Mayank Grover 2021-02-02 15:43:27 +05:30 • committed by Ashish Bhimanpalliwar
commit fcb20cd729
7 changed files with 3593 additions and 0 deletions

View file

@ -101,6 +101,9 @@ SoCs:
- HOLI
compatible = "qcom,holi"
- BLAIR
compatible = "qcom,blair"
- MONACO
compatible = "qcom,monaco"
@ -284,6 +287,7 @@ compatible = "qcom,holi-mtp"
compatible = "qcom,holi-cdp"
compatible = "qcom,holi-qrd"
compatible = "qcom,holi-atp"
compatible = "qcom,blair-rumi"
compatible = "qcom,scuba-idp"
compatible = "qcom,monaco-rumi"
compatible = "qcom,sdxnightjar-mtp"

View file

@ -125,6 +125,14 @@ dtb-$(CONFIG_ARCH_HOLI) += holi-rumi.dtb \
holi-mtp-usbc.dtb
endif
ifeq ($(CONFIG_BUILD_ARM64_DT_OVERLAY),y)
dtbo-$(CONFIG_ARCH_BLAIR) += blair-rumi-overlay.dtbo
blair-rumi-overlay.dtbo-base := blair.dtb
else
dtb-$(CONFIG_ARCH_BLAIR) += blair-rumi.dtb
endif
ifeq ($(CONFIG_BUILD_ARM64_DT_OVERLAY),y)
dtbo-$(CONFIG_ARCH_SHIMA) += \
shima-rumi-overlay.dtbo \

View file

@ -0,0 +1,11 @@
/dts-v1/;
/plugin/;
#include "blair-rumi.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Blair RUMI";
compatible = "qcom,blair-rumi", "qcom,blair", "qcom,rumi";
qcom,msm-id = <507 0x10000>;
qcom,board-id = <15 0>;
};

11
qcom/blair-rumi.dts Normal file
View file

@ -0,0 +1,11 @@
/dts-v1/;
/memreserve/ 0x50000000 0x00000100;
#include "blair.dtsi"
#include "blair-rumi.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Blair RUMI";
compatible = "qcom,blair-rumi", "qcom,blair", "qcom,rumi";
qcom,board-id = <15 0>;
};

122
qcom/blair-rumi.dtsi Normal file
View file

@ -0,0 +1,122 @@
#include <dt-bindings/gpio/gpio.h>
&soc {
timer {
clock-frequency = <500000>;
};
timer@f420000 {
clock-frequency = <500000>;
};
wdog {
status = "disabled";
};
usb_emu_phy_0: usb_emu_phy@0x04f20000 {
compatible = "qcom,usb-emu-phy";
reg = <0x04f20000 0x9500>;
qcom,emu-init-seq = <0xffff 0x4
0xfff0 0x4
0x100000 0x20
0x0 0x20
0x101f0 0x20
0x100000 0x3c
0x0 0x3c
0x10060 0x3c
0x0 0x4>;
};
};
&tsens0 {
status = "disabled";
};
&tsens1 {
status = "disabled";
};
&sdhc_1 {
status = "disabled";
pinctrl-names = "default", "sleep";
pinctrl-0 = <&sdc1_on>;
pinctrl-1 = <&sdc1_off>;
cap-mmc-highspeed;
vdd-supply = <&L7E>;
qcom,vdd-voltage-level = <2960000 2960000>;
qcom,vdd-current-level = <0 570000>;
vdd-io-supply = <&L12A>;
qcom,vdd-io-always-on;
qcom,vdd-io-lpm-sup;
qcom,vdd-io-voltage-level = <1800000 1800000>;
qcom,vdd-io-current-level = <0 325000>;
};
&sdhc_2 {
status = "ok"
pinctrl-names = "default", "sleep";
pinctrl-0 = <&sdc2_on>;
pinctrl-1 = <&sdc2_off>;
cap-sd-highspeed;
vdd-supply = <&L9E>;
qcom,vdd-voltage-level = <2960000 2960000>;
qcom,vdd-current-level = <0 800000>;
vdd-io-supply = <&L6E>;
qcom,vdd-io-voltage-level = <2960000 2960000>;
qcom,vdd-io-current-level = <0 22000>;
cd-gpios = <&tlmm 94 GPIO_ACTIVE_LOW>;
};
&ufsphy_mem {
compatible = "qcom,ufs-phy-qrbtc-sdm845";
vdda-phy-supply = <&L18A>;
vdda-pll-supply = <&L22A>;
vdda-phy-max-microamp = <62900>;
vdda-pll-max-microamp = <18300>;
status = "ok"
};
&ufshc_mem {
limit-tx-hs-gear = <1>;
limit-rx-hs-gear = <1>;
limit-rate = <1>; /* HS Rate-B */
vdd-hba-supply = <&gcc_ufs_phy_gdsc>;
vdd-hba-fixed-regulator;
vcc-supply = <&L7E>;
vcc-max-microamp = <800000>;
vccq2-supply = <&L12A>;
vccq2-max-microamp = <800000>;
qcom,vddp-ref-clk-supply = <&L22A>;
qcom,vddp-ref-clk-max-microamp = <100>;
qcom,disable-lpm;
rpm-level = <0>;
spm-level = <0>;
status = "ok"
};
/* Debug UART Console */
&qupv3_se9_2uart {
qcom,rumi_platform;
};
&qupv3_se10_i2c {
status = "disabled";
};

9
qcom/blair.dts Normal file
View file

@ -0,0 +1,9 @@
/dts-v1/;
#include "blair.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Blair SoC";
compatible = "qcom,blair";
qcom,board-id = <0 0>;
};

3428
qcom/blair.dtsi Normal file

File diff suppressed because it is too large Load diff