Re: [PATCH 5/6] arm64: dts: qcom: sc8180x: Introduce Primus
From: Krzysztof Kozlowski
Date: Sat Sep 17 2022 - 12:36:54 EST
On 16/09/2022 13:12, Vinod Koul wrote:
> From: Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>
>
> Introduce support for the SC8180X reference device, aka Primus, with
> debug UART, regulators, UFS and USB support.
>
> Signed-off-by: Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>
> Signed-off-by: Vinod Koul <vkoul@xxxxxxxxxx>
> ---
(...)
> +&wifi {
> + memory-region = <&wlan_mem>;
> +
> + vdd-0.8-cx-mx-supply = <&vreg_l1e_0p75>;
> + vdd-1.8-xo-supply = <&vreg_l7a_1p8>;
> + vdd-1.3-rfa-supply = <&vreg_l9a_1p3>;
> + vdd-3.3-ch0-supply = <&vreg_l11c_3p3>;
> + vdd-3.3-ch1-supply = <&vreg_l10c_3p3>;
> +
> + status = "okay";
> +};
> +
> +&xo_board_clk {
> + clock-frequency = <38400000>;
> +};
> +
> +/* PINCTRL */
> +
> +&pmc8180c_gpios {
> + bl_pwm_default_state: bl-pwm-default-state {
> + en {
Suffix -pins
> + pins = "gpio8";
> + function = "normal";
> + };
> +
> + pwm {
Suffix -pins
> + pins = "gpio10";
> + function = "func1";
> + };
> + };
> +};
> +
> +&tlmm {
> + gpio-reserved-ranges = <0 4>, <47 4>, <126 4>;
> +
> + aux_i2c_active_state: aux-i2c-active-state {
> + pins = "gpio98", "gpio99";
> + function = "qup7";
> +
> + bias-disable;
> + drive-strength = <16>;
> + };
> +
> + edp_hpd_active: epd-hpd-active-state {
> + pins = "gpio10";
> + function = "edp_hot";
> + };
> +
> + hall_int_active_state: hall-int-active-state {
> + pins = "gpio121";
> + function = "gpio";
> +
> + input-enable;
> + bias-disable;
> + };
> +
> + kb_int_active_state: kb-int-active-state {
> + int-n {
Suffix -pins
> + pins = "gpio37";
> + function = "gpio";
> +
> + bias-pull-up;
> + intput-enable;
> + };
> +
> + kp-disable {
Suffix -pins
> + pins = "gpio135";
> + function = "gpio";
> +
> + output-high;
> + };
> + };
> +
> + kb_tp_3v3_en_active_state: kb-tp-3v3-en-active-state {
> + pins = "gpio4";
> + function = "gpio";
> +
> + bias-disable;
> + };
> +
> + pcie2_default_state: pcie2-default-state {
> + clkreq {
Suffix -pins
> + pins = "gpio176";
> + function = "pci_e2";
> + bias-pull-up;
> + };
> +
> + reset-n {
Suffix -pins
> + pins = "gpio175";
> + function = "gpio";
> +
> + drive-strength = <2>;
> + output-low;
> + bias-pull-down;
> + };
> +
> + wake-n {
Suffix -pins
> + pins = "gpio177";
> + function = "gpio";
> +
> + drive-strength = <2>;
> + bias-pull-up;
> + };
> + };
> +
> + tp_int_active_state: tp-int-active-state {
> + tp-int {
Suffix -pins
> + pins = "gpio24";
> + function = "gpio";
> +
> + bias-disable;
> + input-enable;
> + };
> +
> + tp-close-n {
Suffix -pins
> + pins = "gpio116";
> + function = "gpio";
> +
> + bias-disable;
> + input-enable;
> + };
> + };
> +
> + ts_active_state: ts-active-state {
> + int-n {
Suffix -pins
> + pins = "gpio122";
> + function = "gpio";
> +
> + input-enable;
> + bias-disable;
> + };
> +
> + reset-n {
Suffix -pins
> + pins = "gpio54";
> + function = "gpio";
> +
> + output-high;
> + };
> + };
> +
> + ts_i2c_active_state: ts-i2c-active-state {
> + pins = "gpio114", "gpio115";
> + function = "qup1";
> +
> + /* External pull up */
> + bias-disable;
> + drive-strength = <2>;
> + };
> +
> + uart13_state: uart13-state {
> + cts {
Suffix -pins
> + pins = "gpio43";
> + function = "qup13";
> + bias-pull-down;
> + };
> +
> + rts-tx {
Suffix -pins
> + pins = "gpio44", "gpio45";
> + function = "qup13";
> + drive-strength = <2>;
> + bias-disable;
> + };
> +
> + rx {
Suffix -pins
> + pins = "gpio46";
> + function = "qup13";
> + bias-pull-up;
> + };
> + };
> +};
Best regards,
Krzysztof