ARM: dts: msm: Add Nordic support for Halliday RCM

Adding Nordic chip support for Halliday RCM.

Change-Id: Ic447acb4536aeaa6416c17bab83807c87c827269
This commit is contained in:
Rajesh Bharathwaj
2023-05-16 14:19:50 -07:00
parent e5c053276f
commit 886883d1dd

View File

@@ -160,3 +160,175 @@
periph-d44-supply = <&L5N>;
periph-d46-supply = <&L7N>;
};
&tlmm {
nordic_gpio6_suspend: nordic_gpio6_suspend {
mux {
pins = "gpio135";
function = "gpio";
};
config {
pins = "gpio135";
drive-strength = <8>;
bias-disable = <0>;
output-high;
};
};
/* active low due to hmd nordic */
nordic_gpio6_active: nordic_gpio6_active {
mux {
pins = "gpio135";
function = "gpio";
};
config {
pins = "gpio135";
bias-pull-down; /* PULL DOWN */
drive-strength = <2>; /* 2 MA */
output-low;
};
};
nordic_gpio10_active: nordic_gpio10_active {
mux {
pins = "gpio98";
function = "gpio";
};
config {
pins = "gpio98";
drive-strength = <8>;
bias-disable = <0>;
output-high;
};
};
nordic_gpio10_suspend: nordic_gpio10_suspend {
mux {
pins = "gpio98";
function = "gpio";
};
config {
pins = "gpio98";
bias-pull-down; /* PULL DOWN */
drive-strength = <2>; /* 2 MA */
};
};
nordic_gpio11_active: nordic_gpio11_active {
mux {
pins = "gpio99";
function = "gpio";
};
config {
pins = "gpio99";
drive-strength = <8>;
bias-disable = <0>;
output-high;
};
};
nordic_gpio11_suspend: nordic_gpio11_suspend {
mux {
pins = "gpio99";
function = "gpio";
};
config {
pins = "gpio99";
bias-pull-down; /* PULL DOWN */
drive-strength = <2>; /* 2 MA */
};
};
nordic_ctrl_suspend: nordic_ctrl_suspend {
mux {
pins = "gpio134";
function = "gpio";
};
config {
pins = "gpio134";
drive-strength = <8>;
bias-disable = <0>;
output-high;
};
};
/* active low due to hmd nordic */
nordic_ctrl_active: nordic_ctrl_active {
mux {
pins = "gpio134";
function = "gpio";
};
config {
pins = "gpio134";
bias-pull-down; /* PULL DOWN */
drive-strength = <2>; /* 2 MA */
output-low;
};
};
nordic_int_active: nordic_int_active {
mux {
pins = "gpio97";
function = "gpio";
};
config {
pins = "gpio97";
drive-strength = <8>;
bias-disable = <0>;
output-high;
};
};
nordic_int_suspend: nordic_int_suspend {
mux {
pins = "gpio97";
function = "gpio";
};
config {
pins = "gpio97";
bias-pull-down; /* PULL DOWN */
drive-strength = <2>; /* 2 MA */
};
};
};
&pmxr2230_l11 {
regulator-min-microvolt = <1800000>;
qcom,init-voltage = <1800000>;
};
&qupv3_se4_spi {
status = "okay";
nordic@0 {
compatible = "nordic,spicontroller";
reg = <0>;
v1p8-supply = <&L11B>;
spi-max-frequency = <8000000>;
pinctrl-names = "nordic_default", "nordic_sleep";
pinctrl-0 = <&nordic_gpio6_active &nordic_ctrl_active>;
pinctrl-1 = <&nordic_gpio6_suspend &nordic_ctrl_suspend>;
nordic,ledl-gpio = <&tlmm 134 0>;
nordic,ledr-gpio = <&tlmm 135 0>;
interrupt-parent = <&tlmm>;
interrupt-names = "nordicspi_irq";
nordic,irq-gpio = <&tlmm 97 0>;
nordic,irq_pin = <&tlmm 97 0x00>;
interrupts = <64 1>;
};
};