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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 0 additions & 42 deletions arch/arm64/boot/dts/qcom/monaco-evk-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
ethernet0 = &ethernet0;
i2c1 = &i2c1;
serial0 = &uart7;
serial1 = &uart2;
serial2 = &uart6;
};

Expand Down Expand Up @@ -208,29 +207,6 @@
pinctrl-0 = <&cam2_avdd_2v8_en_default>;
pinctrl-names = "default";
};

vreg_dcin_12v: regulator-dcin-12v {
compatible = "regulator-fixed";

regulator-name = "VREG_DCIN_12V";
regulator-min-microvolt = <12000000>;
regulator-max-microvolt = <12000000>;

regulator-boot-on;
regulator-always-on;
};

vreg_wcn_3p3: regulator-wcn-3p3 {
compatible = "regulator-fixed";

regulator-name = "VREG_WCN_3P3";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;

vin-supply = <&vreg_dcin_12v>;

regulator-boot-on;
};
};

&apps_rsc {
Expand Down Expand Up @@ -967,24 +943,6 @@
};
};

&uart2 {
status = "okay";

bluetooth: bluetooth {
compatible = "qcom,wcn6855-bt";
max-speed = <3200000>;

vddrfacmn-supply = <&vreg_wcn_3p3>;
vddaon-supply = <&vreg_wcn_3p3>;
vddwlcx-supply = <&vreg_wcn_3p3>;
vddwlmx-supply = <&vreg_wcn_3p3>;
vddbtcmx-supply = <&vreg_wcn_3p3>;
vddrfa0p8-supply = <&vreg_wcn_3p3>;
vddrfa1p2-supply = <&vreg_wcn_3p3>;
vddrfa1p8-supply = <&vreg_wcn_3p3>;
};
};

&uart6 {
status = "okay";
};
Expand Down
71 changes: 71 additions & 0 deletions arch/arm64/boot/dts/qcom/monaco-evk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,42 @@
model = "Qualcomm Technologies, Inc. Monaco EVK";
compatible = "qcom,monaco-evk", "qcom,qcs8300";

aliases {
serial1 = &uart2;
};

connector-3 {
compatible = "pcie-m2-e-connector";
vpcie3v3-supply = <&vreg_wcn_3p3>;

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

port@0 {
reg = <0>;
#address-cells = <1>;
#size-cells = <0>;

m2_e_pcie_ep: endpoint@0 {
reg = <0>;
remote-endpoint = <&pcieport0_ep>;
};
};

port@3 {
reg = <3>;
#address-cells = <1>;
#size-cells = <0>;

m2_e_uart_ep: endpoint@0 {
reg = <0>;
remote-endpoint = <&uart2_ep>;
};
};
};
};

/* This comes from a PMIC handled within the SAIL domain */
vreg_s2s: vreg-s2s {
compatible = "regulator-fixed";
Expand All @@ -19,6 +55,33 @@
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
};

vreg_dcin_12v: regulator-dcin-12v {
compatible = "regulator-fixed";

regulator-name = "VREG_DCIN_12V";
regulator-min-microvolt = <12000000>;
regulator-max-microvolt = <12000000>;

regulator-boot-on;
regulator-always-on;
};

vreg_wcn_3p3: regulator-wcn-3p3 {
compatible = "regulator-fixed";

regulator-name = "VREG_WCN_3P3";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;

vin-supply = <&vreg_dcin_12v>;

regulator-boot-on;
};
};

&pcieport0_ep {
remote-endpoint = <&m2_e_pcie_ep>;
};

&sdhc_1 {
Expand All @@ -32,3 +95,11 @@
status = "okay";
};

&uart2 {
status = "okay";
};

&uart2_ep {
remote-endpoint = <&m2_e_uart_ep>;
};

9 changes: 9 additions & 0 deletions arch/arm64/boot/dts/qcom/monaco.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -1244,6 +1244,10 @@
power-domains = <&rpmhpd RPMHPD_CX>;
operating-points-v2 = <&qup_opp_table>;
status = "disabled";

port {
uart2_ep: endpoint {};
};
};

i2c3: i2c@98c000 {
Expand Down Expand Up @@ -2446,6 +2450,7 @@
};

pcieport0: pcie@0 {
compatible = "pciclass,0604";
device_type = "pci";
reg = <0x0 0x0 0x0 0x0 0x0>;
bus-range = <0x01 0xff>;
Expand All @@ -2454,6 +2459,10 @@
#size-cells = <2>;
ranges;
phys = <&pcie0_phy>;

port {
pcieport0_ep: endpoint {};
};
};
};

Expand Down
Loading